vrchatapi 1.22.2.dev2__py3-none-any.whl → 1.22.2.dev4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (555) hide show
  1. vrchatapi/__init__.py +69 -1
  2. vrchatapi/api/authentication_api.py +1 -1
  3. vrchatapi/api/avatars_api.py +1 -1
  4. vrchatapi/api/calendar_api.py +1 -1
  5. vrchatapi/api/economy_api.py +1 -1
  6. vrchatapi/api/favorites_api.py +1 -1
  7. vrchatapi/api/files_api.py +1 -1
  8. vrchatapi/api/friends_api.py +1 -1
  9. vrchatapi/api/groups_api.py +1 -1
  10. vrchatapi/api/instances_api.py +1 -1
  11. vrchatapi/api/inventory_api.py +1 -1
  12. vrchatapi/api/invite_api.py +1 -1
  13. vrchatapi/api/jams_api.py +1 -1
  14. vrchatapi/api/miscellaneous_api.py +1 -1
  15. vrchatapi/api/notifications_api.py +1 -1
  16. vrchatapi/api/playermoderation_api.py +1 -1
  17. vrchatapi/api/prints_api.py +1 -1
  18. vrchatapi/api/props_api.py +1 -1
  19. vrchatapi/api/users_api.py +1 -1
  20. vrchatapi/api/worlds_api.py +1 -1
  21. vrchatapi/api_client.py +1 -1
  22. vrchatapi/configuration.py +2 -2
  23. vrchatapi/exceptions.py +1 -1
  24. vrchatapi/models/__init__.py +69 -1
  25. vrchatapi/models/account_deletion_log.py +1 -1
  26. vrchatapi/models/add_favorite_request.py +1 -1
  27. vrchatapi/models/add_group_gallery_image_request.py +1 -1
  28. vrchatapi/models/admin_asset_bundle.py +1 -1
  29. vrchatapi/models/admin_unity_package.py +1 -1
  30. vrchatapi/models/age_verification_status.py +1 -1
  31. vrchatapi/models/age_verification_status_result.py +1 -1
  32. vrchatapi/models/agreement.py +1 -1
  33. vrchatapi/models/agreement_code.py +1 -1
  34. vrchatapi/models/agreement_request.py +1 -1
  35. vrchatapi/models/agreement_status.py +1 -1
  36. vrchatapi/models/api_config.py +1 -1
  37. vrchatapi/models/api_config_access_logs_urls.py +1 -1
  38. vrchatapi/models/api_config_announcement.py +1 -1
  39. vrchatapi/models/api_config_audio_config.py +1 -1
  40. vrchatapi/models/api_config_avatar_perf_limiter.py +1 -1
  41. vrchatapi/models/api_config_constants.py +1 -1
  42. vrchatapi/models/api_config_constants_groups.py +1 -1
  43. vrchatapi/models/api_config_constants_instance.py +1 -1
  44. vrchatapi/models/api_config_constants_instancepopulationbrackets.py +1 -1
  45. vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +1 -1
  46. vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +1 -1
  47. vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +1 -1
  48. vrchatapi/models/api_config_constants_language.py +1 -1
  49. vrchatapi/models/api_config_download_url_list.py +1 -1
  50. vrchatapi/models/api_config_event_shelf_campaign.py +1 -1
  51. vrchatapi/models/api_config_events.py +1 -1
  52. vrchatapi/models/api_config_ios_version.py +1 -1
  53. vrchatapi/models/api_config_loading_screen_weights.py +1 -1
  54. vrchatapi/models/api_config_low_memory_go_home_timeout_value.py +1 -1
  55. vrchatapi/models/api_config_min_supported_client_build_number.py +1 -1
  56. vrchatapi/models/api_config_offline_analysis.py +1 -1
  57. vrchatapi/models/api_config_profile_defaults.py +1 -1
  58. vrchatapi/models/api_health.py +1 -1
  59. vrchatapi/models/avatar.py +1 -1
  60. vrchatapi/models/avatar_moderation.py +1 -1
  61. vrchatapi/models/avatar_moderation_created.py +1 -1
  62. vrchatapi/models/avatar_moderation_type.py +1 -1
  63. vrchatapi/models/avatar_performance.py +1 -1
  64. vrchatapi/models/avatar_published_listings_inner.py +1 -1
  65. vrchatapi/models/avatar_style.py +1 -1
  66. vrchatapi/models/avatar_styles.py +1 -1
  67. vrchatapi/models/avatar_unity_package_url_object.py +1 -1
  68. vrchatapi/models/badge.py +1 -1
  69. vrchatapi/models/balance.py +1 -1
  70. vrchatapi/models/ban_group_member_request.py +1 -1
  71. vrchatapi/models/bare_error.py +1 -1
  72. vrchatapi/models/beta.py +1 -1
  73. vrchatapi/models/beta_registration_not_found_error.py +1 -1
  74. vrchatapi/models/beta_user_field.py +1 -1
  75. vrchatapi/models/boop_request.py +1 -1
  76. vrchatapi/models/calendar_day_of_week.py +1 -1
  77. vrchatapi/models/calendar_event.py +1 -1
  78. vrchatapi/models/calendar_event_access.py +1 -1
  79. vrchatapi/models/calendar_event_category.py +1 -1
  80. vrchatapi/models/calendar_event_discovery.py +1 -1
  81. vrchatapi/models/calendar_event_discovery_inclusion.py +1 -1
  82. vrchatapi/models/calendar_event_discovery_scope.py +1 -1
  83. vrchatapi/models/calendar_event_frequency.py +1 -1
  84. vrchatapi/models/calendar_event_occurrence_kind.py +1 -1
  85. vrchatapi/models/calendar_event_platform.py +1 -1
  86. vrchatapi/models/calendar_event_recurrence.py +1 -1
  87. vrchatapi/models/calendar_event_recurrence_end.py +1 -1
  88. vrchatapi/models/calendar_event_recurrence_end_type.py +1 -1
  89. vrchatapi/models/calendar_event_user_interest.py +1 -1
  90. vrchatapi/models/change_user_tags_request.py +1 -1
  91. vrchatapi/models/change_world_tags_request.py +1 -1
  92. vrchatapi/models/content_filter.py +1 -1
  93. vrchatapi/models/create_avatar_moderation_request.py +1 -1
  94. vrchatapi/models/create_avatar_request.py +1 -1
  95. vrchatapi/models/create_calendar_event_request.py +1 -1
  96. vrchatapi/models/create_file_request.py +1 -1
  97. vrchatapi/models/create_file_version_request.py +1 -1
  98. vrchatapi/models/create_group_announcement_request.py +1 -1
  99. vrchatapi/models/create_group_gallery_request.py +1 -1
  100. vrchatapi/models/create_group_invite_request.py +1 -1
  101. vrchatapi/models/create_group_post_request.py +1 -1
  102. vrchatapi/models/create_group_request.py +1 -1
  103. vrchatapi/models/create_group_role_request.py +1 -1
  104. vrchatapi/models/create_instance_request.py +1 -1
  105. vrchatapi/models/create_jam_submission_request.py +1 -1
  106. vrchatapi/models/create_listing_request.py +1 -1
  107. vrchatapi/models/create_product_request.py +1 -1
  108. vrchatapi/models/create_prop_request.py +1 -1
  109. vrchatapi/models/create_world_request.py +1 -1
  110. vrchatapi/models/current_user.py +1 -1
  111. vrchatapi/models/current_user_login_response.py +1 -1
  112. vrchatapi/models/current_user_presence.py +1 -1
  113. vrchatapi/models/decline_group_invite_request.py +1 -1
  114. vrchatapi/models/developer_type.py +1 -1
  115. vrchatapi/models/disable2_fa_result.py +1 -1
  116. vrchatapi/models/discord_details.py +1 -1
  117. vrchatapi/models/dynamic_content_row.py +1 -1
  118. vrchatapi/models/earnings_metrics.py +1 -1
  119. vrchatapi/models/earnings_metrics_totals.py +1 -1
  120. vrchatapi/models/economy_account.py +1 -1
  121. vrchatapi/models/economy_account_limits.py +1 -1
  122. vrchatapi/models/economy_balances.py +1 -1
  123. vrchatapi/models/economy_payout.py +1 -1
  124. vrchatapi/models/economy_payout_eligibility.py +1 -1
  125. vrchatapi/models/economy_payout_list.py +1 -1
  126. vrchatapi/models/economy_payout_status.py +1 -1
  127. vrchatapi/models/economy_status.py +1 -1
  128. vrchatapi/models/equip_inventory_item_request.py +1 -1
  129. vrchatapi/models/error.py +1 -1
  130. vrchatapi/models/favorite.py +1 -1
  131. vrchatapi/models/favorite_group.py +1 -1
  132. vrchatapi/models/favorite_group_contents.py +1 -1
  133. vrchatapi/models/favorite_group_contents_entry.py +1 -1
  134. vrchatapi/models/favorite_group_contents_entry_world.py +1 -1
  135. vrchatapi/models/favorite_group_limits.py +1 -1
  136. vrchatapi/models/favorite_group_list.py +1 -1
  137. vrchatapi/models/favorite_group_summary.py +1 -1
  138. vrchatapi/models/favorite_group_visibility.py +1 -1
  139. vrchatapi/models/favorite_limits.py +1 -1
  140. vrchatapi/models/favorite_type.py +1 -1
  141. vrchatapi/models/favorited_world.py +1 -1
  142. vrchatapi/models/feedback.py +1 -1
  143. vrchatapi/models/file.py +1 -1
  144. vrchatapi/models/file_analysis.py +1 -1
  145. vrchatapi/models/file_analysis_avatar_stats.py +1 -1
  146. vrchatapi/models/file_data.py +1 -1
  147. vrchatapi/models/file_status.py +1 -1
  148. vrchatapi/models/file_upload_url.py +1 -1
  149. vrchatapi/models/file_version.py +1 -1
  150. vrchatapi/models/file_version_upload_status.py +1 -1
  151. vrchatapi/models/finish_file_data_upload_request.py +1 -1
  152. vrchatapi/models/follow_calendar_event_request.py +1 -1
  153. vrchatapi/models/friend_status.py +1 -1
  154. vrchatapi/models/group.py +1 -1
  155. vrchatapi/models/group_access_type.py +1 -1
  156. vrchatapi/models/group_announcement.py +1 -1
  157. vrchatapi/models/group_audit_log_entry.py +29 -29
  158. vrchatapi/models/group_audit_log_entry_base.py +2 -31
  159. vrchatapi/models/group_audit_log_entry_boolean_change.py +1 -1
  160. vrchatapi/models/group_audit_log_entry_data.py +1 -1
  161. vrchatapi/models/group_audit_log_entry_data_group_announcement.py +1 -1
  162. vrchatapi/models/group_audit_log_entry_data_group_calendar_event_create.py +1 -1
  163. vrchatapi/models/group_audit_log_entry_data_group_calendar_event_delete.py +1 -1
  164. vrchatapi/models/group_audit_log_entry_data_group_gallery_create.py +1 -1
  165. vrchatapi/models/group_audit_log_entry_data_group_gallery_delete.py +1 -1
  166. vrchatapi/models/group_audit_log_entry_data_group_gallery_update.py +1 -1
  167. vrchatapi/models/group_audit_log_entry_data_group_instance_announcement.py +1 -1
  168. vrchatapi/models/group_audit_log_entry_data_group_instance_close.py +1 -1
  169. vrchatapi/models/group_audit_log_entry_data_group_instance_create.py +1 -1
  170. vrchatapi/models/group_audit_log_entry_data_group_instance_moderation.py +1 -1
  171. vrchatapi/models/group_audit_log_entry_data_group_member_role.py +1 -1
  172. vrchatapi/models/group_audit_log_entry_data_group_member_user_update.py +1 -1
  173. vrchatapi/models/group_audit_log_entry_data_group_post.py +1 -1
  174. vrchatapi/models/group_audit_log_entry_data_group_post_create.py +1 -1
  175. vrchatapi/models/group_audit_log_entry_data_group_post_delete.py +1 -1
  176. vrchatapi/models/group_audit_log_entry_data_group_post_update.py +1 -1
  177. vrchatapi/models/group_audit_log_entry_data_group_role.py +1 -1
  178. vrchatapi/models/group_audit_log_entry_data_group_role_create.py +1 -1
  179. vrchatapi/models/group_audit_log_entry_data_group_role_delete.py +1 -1
  180. vrchatapi/models/group_audit_log_entry_data_group_role_update.py +1 -1
  181. vrchatapi/models/group_audit_log_entry_data_group_update.py +1 -1
  182. vrchatapi/models/group_audit_log_entry_file_id_change.py +1 -1
  183. vrchatapi/models/group_audit_log_entry_group_announcement.py +1 -1
  184. vrchatapi/models/group_audit_log_entry_group_calendar_event_create.py +1 -1
  185. vrchatapi/models/group_audit_log_entry_group_calendar_event_delete.py +1 -1
  186. vrchatapi/models/group_audit_log_entry_group_gallery_create.py +1 -1
  187. vrchatapi/models/group_audit_log_entry_group_gallery_delete.py +1 -1
  188. vrchatapi/models/group_audit_log_entry_group_gallery_update.py +1 -1
  189. vrchatapi/models/group_audit_log_entry_group_instance_announcement.py +1 -1
  190. vrchatapi/models/group_audit_log_entry_group_instance_close.py +1 -1
  191. vrchatapi/models/group_audit_log_entry_group_instance_create.py +1 -1
  192. vrchatapi/models/group_audit_log_entry_group_instance_kick.py +1 -1
  193. vrchatapi/models/group_audit_log_entry_group_instance_warn.py +1 -1
  194. vrchatapi/models/group_audit_log_entry_group_invite_cancel.py +1 -1
  195. vrchatapi/models/group_audit_log_entry_group_invite_create.py +1 -1
  196. vrchatapi/models/group_audit_log_entry_group_member_join.py +1 -1
  197. vrchatapi/models/group_audit_log_entry_group_member_leave.py +1 -1
  198. vrchatapi/models/group_audit_log_entry_group_member_remove.py +1 -1
  199. vrchatapi/models/group_audit_log_entry_group_member_role_assign.py +1 -1
  200. vrchatapi/models/group_audit_log_entry_group_member_role_unassign.py +1 -1
  201. vrchatapi/models/group_audit_log_entry_group_member_user_update.py +1 -1
  202. vrchatapi/models/group_audit_log_entry_group_post_create.py +1 -1
  203. vrchatapi/models/group_audit_log_entry_group_post_delete.py +1 -1
  204. vrchatapi/models/group_audit_log_entry_group_post_update.py +1 -1
  205. vrchatapi/models/group_audit_log_entry_group_request_block.py +1 -1
  206. vrchatapi/models/group_audit_log_entry_group_request_create.py +1 -1
  207. vrchatapi/models/group_audit_log_entry_group_request_reject.py +1 -1
  208. vrchatapi/models/group_audit_log_entry_group_request_withdraw.py +1 -1
  209. vrchatapi/models/group_audit_log_entry_group_role_create.py +1 -1
  210. vrchatapi/models/group_audit_log_entry_group_role_delete.py +1 -1
  211. vrchatapi/models/group_audit_log_entry_group_role_update.py +1 -1
  212. vrchatapi/models/group_audit_log_entry_group_update.py +1 -1
  213. vrchatapi/models/group_audit_log_entry_group_user_ban.py +1 -1
  214. vrchatapi/models/group_audit_log_entry_group_user_unban.py +1 -1
  215. vrchatapi/models/group_audit_log_entry_integer_change.py +1 -1
  216. vrchatapi/models/group_audit_log_entry_join_state_change.py +1 -1
  217. vrchatapi/models/group_audit_log_entry_string_change.py +1 -1
  218. vrchatapi/models/group_audit_log_entry_string_list_change.py +1 -1
  219. vrchatapi/models/group_audit_log_entry_unknown.py +3 -1
  220. vrchatapi/models/group_audit_log_entry_user_id_change.py +1 -1
  221. vrchatapi/models/group_gallery.py +1 -1
  222. vrchatapi/models/group_gallery_file_order.py +1 -1
  223. vrchatapi/models/group_gallery_file_order_request.py +1 -1
  224. vrchatapi/models/group_gallery_image.py +1 -1
  225. vrchatapi/models/group_gallery_image_list.py +1 -1
  226. vrchatapi/models/group_instance.py +1 -1
  227. vrchatapi/models/group_join_request_action.py +1 -1
  228. vrchatapi/models/group_join_state.py +1 -1
  229. vrchatapi/models/group_member.py +1 -1
  230. vrchatapi/models/group_member_limited_user.py +1 -1
  231. vrchatapi/models/group_member_search_response.py +1 -1
  232. vrchatapi/models/group_member_status.py +1 -1
  233. vrchatapi/models/group_my_member.py +1 -1
  234. vrchatapi/models/group_permission.py +1 -1
  235. vrchatapi/models/group_permissions.py +1 -1
  236. vrchatapi/models/group_post.py +1 -1
  237. vrchatapi/models/group_post_visibility.py +1 -1
  238. vrchatapi/models/group_posts_response.py +1 -1
  239. vrchatapi/models/group_privacy.py +1 -1
  240. vrchatapi/models/group_role.py +1 -1
  241. vrchatapi/models/group_role_template.py +1 -1
  242. vrchatapi/models/group_role_template_role.py +1 -1
  243. vrchatapi/models/group_role_template_values.py +1 -1
  244. vrchatapi/models/group_search_sort.py +1 -1
  245. vrchatapi/models/group_transferable.py +1 -1
  246. vrchatapi/models/group_transferable_requirements.py +1 -1
  247. vrchatapi/models/group_user_visibility.py +1 -1
  248. vrchatapi/models/image_animation_style.py +1 -1
  249. vrchatapi/models/image_loop_style.py +1 -1
  250. vrchatapi/models/image_mask.py +1 -1
  251. vrchatapi/models/info_push.py +1 -1
  252. vrchatapi/models/info_push_data.py +1 -1
  253. vrchatapi/models/info_push_data_article.py +1 -1
  254. vrchatapi/models/info_push_data_article_content.py +1 -1
  255. vrchatapi/models/info_push_data_call_to_action.py +1 -1
  256. vrchatapi/models/info_push_data_category.py +1 -1
  257. vrchatapi/models/info_push_data_clickable.py +1 -1
  258. vrchatapi/models/info_push_data_content_source.py +1 -1
  259. vrchatapi/models/info_push_data_content_source_pagination.py +1 -1
  260. vrchatapi/models/info_push_data_control.py +1 -1
  261. vrchatapi/models/info_push_data_control_option.py +1 -1
  262. vrchatapi/models/info_push_data_delivery_behavior.py +1 -1
  263. vrchatapi/models/info_push_data_domain_list_inner.py +1 -1
  264. vrchatapi/models/info_push_data_presentation.py +1 -1
  265. vrchatapi/models/info_push_data_promotion.py +1 -1
  266. vrchatapi/models/info_push_data_promotion_notification.py +1 -1
  267. vrchatapi/models/info_push_data_search.py +1 -1
  268. vrchatapi/models/info_push_embedded_link.py +1 -1
  269. vrchatapi/models/info_push_experiment.py +1 -1
  270. vrchatapi/models/info_push_ips_query.py +1 -1
  271. vrchatapi/models/instance.py +1 -1
  272. vrchatapi/models/instance_category.py +1 -1
  273. vrchatapi/models/instance_content_settings.py +1 -1
  274. vrchatapi/models/instance_platforms.py +1 -1
  275. vrchatapi/models/instance_region.py +1 -1
  276. vrchatapi/models/instance_short_name_response.py +1 -1
  277. vrchatapi/models/instance_type.py +1 -1
  278. vrchatapi/models/instance_vibe.py +1 -1
  279. vrchatapi/models/interests_and_preferences.py +1 -1
  280. vrchatapi/models/inventory.py +1 -1
  281. vrchatapi/models/inventory_asset.py +1 -1
  282. vrchatapi/models/inventory_consumption_results.py +1 -1
  283. vrchatapi/models/inventory_default_attributes1.py +1 -1
  284. vrchatapi/models/inventory_default_attributes1_validator.py +1 -1
  285. vrchatapi/models/inventory_drop.py +1 -1
  286. vrchatapi/models/inventory_equip_slot.py +1 -1
  287. vrchatapi/models/inventory_flag.py +1 -1
  288. vrchatapi/models/inventory_item.py +1 -1
  289. vrchatapi/models/inventory_item_type.py +1 -1
  290. vrchatapi/models/inventory_metadata.py +1 -1
  291. vrchatapi/models/inventory_notification_details.py +1 -1
  292. vrchatapi/models/inventory_spawn.py +1 -1
  293. vrchatapi/models/inventory_template.py +1 -1
  294. vrchatapi/models/inventory_user_attributes.py +1 -1
  295. vrchatapi/models/invite_message.py +1 -1
  296. vrchatapi/models/invite_message_type.py +1 -1
  297. vrchatapi/models/invite_request.py +1 -1
  298. vrchatapi/models/invite_response.py +1 -1
  299. vrchatapi/models/jam.py +1 -1
  300. vrchatapi/models/jam_state_change_dates.py +1 -1
  301. vrchatapi/models/jam_submission.py +1 -1
  302. vrchatapi/models/join_group_request.py +1 -1
  303. vrchatapi/models/license.py +1 -1
  304. vrchatapi/models/license_action.py +1 -1
  305. vrchatapi/models/license_group.py +1 -1
  306. vrchatapi/models/license_type.py +1 -1
  307. vrchatapi/models/limited_group.py +1 -1
  308. vrchatapi/models/limited_unity_package.py +1 -1
  309. vrchatapi/models/limited_user_friend.py +1 -1
  310. vrchatapi/models/limited_user_groups.py +1 -1
  311. vrchatapi/models/limited_user_instance.py +1 -1
  312. vrchatapi/models/limited_user_search.py +1 -1
  313. vrchatapi/models/limited_world.py +1 -1
  314. vrchatapi/models/localized_string.py +1 -1
  315. vrchatapi/models/mime_type.py +1 -1
  316. vrchatapi/models/model_print.py +1 -1
  317. vrchatapi/models/moderate_user_request.py +1 -1
  318. vrchatapi/models/moderation_report.py +1 -1
  319. vrchatapi/models/mutual_friend.py +1 -1
  320. vrchatapi/models/mutuals.py +1 -1
  321. vrchatapi/models/notification.py +34 -34
  322. vrchatapi/models/notification_base.py +304 -0
  323. vrchatapi/models/notification_boop.py +366 -0
  324. vrchatapi/models/notification_detail_boop.py +1 -1
  325. vrchatapi/models/notification_detail_invite.py +1 -1
  326. vrchatapi/models/notification_detail_invite_response.py +1 -1
  327. vrchatapi/models/notification_detail_request_invite.py +1 -1
  328. vrchatapi/models/notification_detail_request_invite_response.py +1 -1
  329. vrchatapi/models/notification_detail_vote_to_kick.py +1 -1
  330. vrchatapi/models/notification_friend_request.py +366 -0
  331. vrchatapi/models/notification_invite.py +366 -0
  332. vrchatapi/models/notification_invite_response.py +366 -0
  333. vrchatapi/models/notification_message.py +366 -0
  334. vrchatapi/models/notification_request_invite.py +366 -0
  335. vrchatapi/models/notification_request_invite_response.py +366 -0
  336. vrchatapi/models/notification_type.py +1 -1
  337. vrchatapi/models/notification_unknown.py +360 -0
  338. vrchatapi/models/notification_v2.py +1 -1
  339. vrchatapi/models/notification_v2_data.py +1 -1
  340. vrchatapi/models/notification_v2_data_badge_earned.py +1 -1
  341. vrchatapi/models/notification_v2_data_boop.py +1 -1
  342. vrchatapi/models/notification_v2_data_event_announcement.py +1 -1
  343. vrchatapi/models/notification_v2_data_group_announcement.py +1 -1
  344. vrchatapi/models/notification_v2_data_group_informative.py +1 -1
  345. vrchatapi/models/notification_v2_data_group_transfer.py +1 -1
  346. vrchatapi/models/notification_v2_details_boop.py +1 -1
  347. vrchatapi/models/notification_v2_response.py +1 -1
  348. vrchatapi/models/notification_v2_type.py +1 -1
  349. vrchatapi/models/notification_vote_to_kick.py +366 -0
  350. vrchatapi/models/o_auth_redirect_code.py +1 -1
  351. vrchatapi/models/ok_status.py +1 -1
  352. vrchatapi/models/ok_status2.py +1 -1
  353. vrchatapi/models/order_option.py +1 -1
  354. vrchatapi/models/order_option_short.py +1 -1
  355. vrchatapi/models/paginated_calendar_event_list.py +1 -1
  356. vrchatapi/models/paginated_group_audit_log_entry_list.py +1 -1
  357. vrchatapi/models/paginated_moderation_report_list.py +1 -1
  358. vrchatapi/models/past_display_name.py +1 -1
  359. vrchatapi/models/pending2_fa_result.py +1 -1
  360. vrchatapi/models/performance_limiter_info.py +1 -1
  361. vrchatapi/models/performance_ratings.py +1 -1
  362. vrchatapi/models/permission.py +1 -1
  363. vrchatapi/models/permission_data.py +1 -1
  364. vrchatapi/models/platform_build_info.py +1 -1
  365. vrchatapi/models/platform_history_entry.py +1 -1
  366. vrchatapi/models/player_moderation.py +1 -1
  367. vrchatapi/models/player_moderation_type.py +1 -1
  368. vrchatapi/models/print_files.py +1 -1
  369. vrchatapi/models/private_profile.py +1 -1
  370. vrchatapi/models/private_profile_activity.py +1 -1
  371. vrchatapi/models/product.py +1 -1
  372. vrchatapi/models/product_listing.py +1 -1
  373. vrchatapi/models/product_listing_attribution.py +1 -1
  374. vrchatapi/models/product_listing_attribution_creator.py +1 -1
  375. vrchatapi/models/product_listing_type.py +1 -1
  376. vrchatapi/models/product_listing_variant.py +1 -1
  377. vrchatapi/models/product_purchase.py +1 -1
  378. vrchatapi/models/product_purchase_history.py +1 -1
  379. vrchatapi/models/product_purchase_location_type.py +1 -1
  380. vrchatapi/models/product_purchase_product.py +1 -1
  381. vrchatapi/models/product_purchase_purchase_context.py +1 -1
  382. vrchatapi/models/product_purchase_record.py +1 -1
  383. vrchatapi/models/product_type.py +1 -1
  384. vrchatapi/models/profile_group.py +1 -1
  385. vrchatapi/models/profile_groups.py +1 -1
  386. vrchatapi/models/profile_represented_group.py +1 -1
  387. vrchatapi/models/prop.py +1 -1
  388. vrchatapi/models/prop_publish_status.py +1 -1
  389. vrchatapi/models/prop_unity_package.py +1 -1
  390. vrchatapi/models/public_profile.py +1 -1
  391. vrchatapi/models/purchase_context_data.py +1 -1
  392. vrchatapi/models/purchase_product_listing_request.py +1 -1
  393. vrchatapi/models/region.py +1 -1
  394. vrchatapi/models/register_user_account_request.py +1 -1
  395. vrchatapi/models/release_status.py +1 -1
  396. vrchatapi/models/report_category.py +1 -1
  397. vrchatapi/models/report_reason.py +1 -1
  398. vrchatapi/models/represented_group.py +1 -1
  399. vrchatapi/models/request_invite_request.py +1 -1
  400. vrchatapi/models/requires_two_factor_auth.py +1 -1
  401. vrchatapi/models/respond_group_join_request.py +1 -1
  402. vrchatapi/models/respond_notification_v2_request.py +1 -1
  403. vrchatapi/models/response.py +1 -1
  404. vrchatapi/models/reward_badge.py +1 -1
  405. vrchatapi/models/reward_redemption.py +1 -1
  406. vrchatapi/models/reward_redemption_data.py +1 -1
  407. vrchatapi/models/reward_redemption_request.py +1 -1
  408. vrchatapi/models/reward_redemption_result.py +1 -1
  409. vrchatapi/models/route_not_implemented.py +1 -1
  410. vrchatapi/models/seller_eligibility.py +1 -1
  411. vrchatapi/models/sent_notification.py +1 -1
  412. vrchatapi/models/sent_notification_details.py +1 -1
  413. vrchatapi/models/service_queue_stats.py +1 -1
  414. vrchatapi/models/service_status.py +1 -1
  415. vrchatapi/models/share_inventory_item_direct_request.py +1 -1
  416. vrchatapi/models/sort_option.py +1 -1
  417. vrchatapi/models/sort_option_product_purchase.py +1 -1
  418. vrchatapi/models/sso_provider.py +1 -1
  419. vrchatapi/models/sso_token.py +1 -1
  420. vrchatapi/models/store.py +1 -1
  421. vrchatapi/models/store_context.py +1 -1
  422. vrchatapi/models/store_shelf.py +1 -1
  423. vrchatapi/models/store_type.py +1 -1
  424. vrchatapi/models/store_view.py +1 -1
  425. vrchatapi/models/submit_moderation_report_request.py +1 -1
  426. vrchatapi/models/submit_moderation_report_request_details.py +1 -1
  427. vrchatapi/models/subscription.py +1 -1
  428. vrchatapi/models/subscription_period.py +1 -1
  429. vrchatapi/models/success.py +1 -1
  430. vrchatapi/models/success_flag.py +1 -1
  431. vrchatapi/models/tilia_kyc.py +1 -1
  432. vrchatapi/models/tilia_status.py +1 -1
  433. vrchatapi/models/tilia_tos.py +1 -1
  434. vrchatapi/models/token_bundle.py +1 -1
  435. vrchatapi/models/transaction.py +1 -1
  436. vrchatapi/models/transaction_agreement.py +1 -1
  437. vrchatapi/models/transaction_status.py +1 -1
  438. vrchatapi/models/transaction_steam_info.py +1 -1
  439. vrchatapi/models/transaction_steam_wallet_info.py +1 -1
  440. vrchatapi/models/transfer_group_request.py +1 -1
  441. vrchatapi/models/tutorial_status.py +1 -1
  442. vrchatapi/models/two_factor_auth_code.py +1 -1
  443. vrchatapi/models/two_factor_auth_type.py +1 -1
  444. vrchatapi/models/two_factor_email_code.py +1 -1
  445. vrchatapi/models/two_factor_recovery_codes.py +1 -1
  446. vrchatapi/models/two_factor_recovery_codes_otp_inner.py +1 -1
  447. vrchatapi/models/unavailable_world.py +1 -1
  448. vrchatapi/models/unity_package.py +1 -1
  449. vrchatapi/models/update_asset_review_notes_request.py +1 -1
  450. vrchatapi/models/update_avatar_request.py +1 -1
  451. vrchatapi/models/update_calendar_event_request.py +1 -1
  452. vrchatapi/models/update_favorite_group_request.py +1 -1
  453. vrchatapi/models/update_group_gallery_request.py +1 -1
  454. vrchatapi/models/update_group_member_request.py +1 -1
  455. vrchatapi/models/update_group_representation_request.py +1 -1
  456. vrchatapi/models/update_group_request.py +1 -1
  457. vrchatapi/models/update_group_role_request.py +1 -1
  458. vrchatapi/models/update_instance_request.py +1 -1
  459. vrchatapi/models/update_inventory_item_request.py +1 -1
  460. vrchatapi/models/update_invite_message_request.py +1 -1
  461. vrchatapi/models/update_listing_request.py +1 -1
  462. vrchatapi/models/update_product_request.py +1 -1
  463. vrchatapi/models/update_profile_request.py +1 -1
  464. vrchatapi/models/update_prop_request.py +1 -1
  465. vrchatapi/models/update_tilia_tos_request.py +1 -1
  466. vrchatapi/models/update_user_badge_request.py +1 -1
  467. vrchatapi/models/update_user_client_config_request.py +1 -1
  468. vrchatapi/models/update_user_note_request.py +1 -1
  469. vrchatapi/models/update_user_request.py +1 -1
  470. vrchatapi/models/update_world_request.py +1 -1
  471. vrchatapi/models/user.py +1 -1
  472. vrchatapi/models/user_client_config.py +1 -1
  473. vrchatapi/models/user_cosmetic.py +1 -1
  474. vrchatapi/models/user_credits_eligible.py +1 -1
  475. vrchatapi/models/user_exists.py +1 -1
  476. vrchatapi/models/user_group_instance_list_response.py +1 -1
  477. vrchatapi/models/user_note.py +1 -1
  478. vrchatapi/models/user_note_target_user.py +1 -1
  479. vrchatapi/models/user_response.py +1 -1
  480. vrchatapi/models/user_state.py +1 -1
  481. vrchatapi/models/user_status.py +1 -1
  482. vrchatapi/models/user_subscription.py +1 -1
  483. vrchatapi/models/user_subscription_eligible.py +1 -1
  484. vrchatapi/models/verify2_fa_email_code_result.py +1 -1
  485. vrchatapi/models/verify2_fa_result.py +1 -1
  486. vrchatapi/models/verify_auth_token_result.py +1 -1
  487. vrchatapi/models/websocket_clear_notification.py +138 -0
  488. vrchatapi/models/websocket_content_refresh.py +240 -0
  489. vrchatapi/models/websocket_content_refresh_action_type.py +113 -0
  490. vrchatapi/models/websocket_content_refresh_encoded.py +165 -0
  491. vrchatapi/models/websocket_friend_active.py +190 -0
  492. vrchatapi/models/websocket_friend_active_encoded.py +165 -0
  493. vrchatapi/models/websocket_friend_add.py +161 -0
  494. vrchatapi/models/websocket_friend_add_encoded.py +165 -0
  495. vrchatapi/models/websocket_friend_delete.py +134 -0
  496. vrchatapi/models/websocket_friend_delete_encoded.py +165 -0
  497. vrchatapi/models/websocket_friend_location.py +275 -0
  498. vrchatapi/models/websocket_friend_location_encoded.py +165 -0
  499. vrchatapi/models/websocket_friend_offline.py +163 -0
  500. vrchatapi/models/websocket_friend_offline_encoded.py +165 -0
  501. vrchatapi/models/websocket_friend_online.py +219 -0
  502. vrchatapi/models/websocket_friend_online_encoded.py +165 -0
  503. vrchatapi/models/websocket_friend_update.py +161 -0
  504. vrchatapi/models/websocket_friend_update_encoded.py +165 -0
  505. vrchatapi/models/websocket_group_joined.py +132 -0
  506. vrchatapi/models/websocket_group_joined_encoded.py +165 -0
  507. vrchatapi/models/websocket_group_left.py +132 -0
  508. vrchatapi/models/websocket_group_left_encoded.py +165 -0
  509. vrchatapi/models/websocket_group_member_updated.py +132 -0
  510. vrchatapi/models/websocket_group_member_updated_encoded.py +165 -0
  511. vrchatapi/models/websocket_group_role_updated.py +132 -0
  512. vrchatapi/models/websocket_group_role_updated_encoded.py +165 -0
  513. vrchatapi/models/websocket_hide_notification.py +165 -0
  514. vrchatapi/models/websocket_instance_queue_joined.py +161 -0
  515. vrchatapi/models/websocket_instance_queue_joined_encoded.py +165 -0
  516. vrchatapi/models/websocket_instance_queue_ready.py +161 -0
  517. vrchatapi/models/websocket_instance_queue_ready_encoded.py +165 -0
  518. vrchatapi/models/websocket_message.py +157 -0
  519. vrchatapi/models/websocket_message_unknown.py +157 -0
  520. vrchatapi/models/websocket_notification.py +356 -0
  521. vrchatapi/models/websocket_notification_detail_boop.py +364 -0
  522. vrchatapi/models/websocket_notification_detail_invite.py +364 -0
  523. vrchatapi/models/websocket_notification_detail_invite_response.py +364 -0
  524. vrchatapi/models/websocket_notification_detail_request_invite.py +364 -0
  525. vrchatapi/models/websocket_notification_detail_request_invite_response.py +364 -0
  526. vrchatapi/models/websocket_notification_detail_vote_to_kick.py +364 -0
  527. vrchatapi/models/websocket_notification_encoded.py +165 -0
  528. vrchatapi/models/websocket_notification_unknown.py +356 -0
  529. vrchatapi/models/websocket_notification_v2_delete.py +159 -0
  530. vrchatapi/models/websocket_notification_v2_delete_encoded.py +165 -0
  531. vrchatapi/models/websocket_notification_v2_encoded.py +165 -0
  532. vrchatapi/models/websocket_notification_v2_update.py +186 -0
  533. vrchatapi/models/websocket_notification_v2_update_encoded.py +165 -0
  534. vrchatapi/models/websocket_response_notification.py +190 -0
  535. vrchatapi/models/websocket_response_notification_encoded.py +165 -0
  536. vrchatapi/models/websocket_see_notification.py +165 -0
  537. vrchatapi/models/websocket_user_badge_assigned.py +132 -0
  538. vrchatapi/models/websocket_user_badge_assigned_encoded.py +165 -0
  539. vrchatapi/models/websocket_user_badge_unassigned.py +132 -0
  540. vrchatapi/models/websocket_user_badge_unassigned_encoded.py +165 -0
  541. vrchatapi/models/websocket_user_location.py +248 -0
  542. vrchatapi/models/websocket_user_location_encoded.py +165 -0
  543. vrchatapi/models/websocket_user_update.py +161 -0
  544. vrchatapi/models/websocket_user_update_encoded.py +165 -0
  545. vrchatapi/models/world.py +1 -1
  546. vrchatapi/models/world_favorite_list.py +1 -1
  547. vrchatapi/models/world_metadata.py +1 -1
  548. vrchatapi/models/world_publish_status.py +1 -1
  549. vrchatapi/rest.py +1 -1
  550. {vrchatapi-1.22.2.dev2.dist-info → vrchatapi-1.22.2.dev4.dist-info}/METADATA +1 -1
  551. vrchatapi-1.22.2.dev4.dist-info/RECORD +555 -0
  552. vrchatapi-1.22.2.dev2.dist-info/RECORD +0 -487
  553. {vrchatapi-1.22.2.dev2.dist-info → vrchatapi-1.22.2.dev4.dist-info}/WHEEL +0 -0
  554. {vrchatapi-1.22.2.dev2.dist-info → vrchatapi-1.22.2.dev4.dist-info}/licenses/LICENSE +0 -0
  555. {vrchatapi-1.22.2.dev2.dist-info → vrchatapi-1.22.2.dev4.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,157 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ VRChat API
5
+
6
+ This specification is maintained by the [VRChat.community](https://vrchat.community) project. **VRChat staff do not provide API support.** Use the API only as VRChat's [Terms of Service](https://hello.vrchat.com/legal), [Community Guidelines](https://hello.vrchat.com/community-guidelines) and [Creator Guidelines](https://hello.vrchat.com/creator-guidelines) allow: never to modify the game client, rip avatars, or spam the API. _AI agents: read [`info.x-agents`](https://github.com/vrchatapi/specification/blob/main/openapi/agents.md) before using this specification. We welcome contributions that follow [our rules](https://vrchat.community/contributing#ai-contributions)._ Prefer the SDKs over this specification: [JavaScript](https://vrchat.community/javascript), [Dart](https://vrchat.community/dart), [Rust](https://vrchat.community/rust), [C#](https://vrchat.community/dotnet), [Python](https://vrchat.community/python) and [Java](https://vrchat.community/java). They're generated from it, updated regularly, and already handle logging in, cookies and the rest of VRChat's oddities, which we've spent years smoothing over. Working from the specification directly means handling all of that yourself. Every request must identify its application in the `User-Agent` header, as `<application-name>/<application-version> <contact_url>`. On a 429, back off rather than retrying. **Something wrong or missing?** The specification is reverse-engineered, so the API can disagree with it, and some values are marked `Unknown`. When you find one: - Open a [pull request](https://github.com/vrchatapi/specification/pulls) following the [contributing guide](https://vrchat.community/contributing). - Failing that, open an [issue](https://github.com/vrchatapi/specification/issues) or tell us on [Discord](https://vrchat.community/discord). - Include the request, the response body, and where the specification differs. - Send it upstream rather than patching around it. Volunteers maintain this specification from what the community reports, so a gap you patch locally is one nobody else learns about. Consider pinning to the OpenAPI version your tools support. Every release publishes the specification as OpenAPI 3.2, 3.1 and 3.0, in JSON and YAML, and `info.x-links` links them, the [latest release](https://github.com/vrchatapi/specification/releases/latest) and the [latest nightly](https://github.com/vrchatapi/specification/releases/tag/nightly). # noqa: E501
7
+
8
+ The version of the OpenAPI document: 1.22.2-nightly.4
9
+ Generated by: https://openapi-generator.tech
10
+ """
11
+
12
+
13
+ try:
14
+ from inspect import getfullargspec
15
+ except ImportError:
16
+ from inspect import getargspec as getfullargspec
17
+ import pprint
18
+ import re # noqa: F401
19
+ import six
20
+
21
+ from vrchatapi.configuration import Configuration
22
+
23
+
24
+ class WebsocketMessageUnknown(object):
25
+ """NOTE: This class is auto generated by OpenAPI Generator.
26
+ Ref: https://openapi-generator.tech
27
+
28
+ Do not edit the class manually.
29
+ """
30
+
31
+ """
32
+ Attributes:
33
+ openapi_types (dict): The key is attribute name
34
+ and the value is attribute type.
35
+ attribute_map (dict): The key is attribute name
36
+ and the value is json key in definition.
37
+ """
38
+ openapi_types = {
39
+ 'content': 'object',
40
+ 'type': 'str'
41
+ }
42
+
43
+ attribute_map = {
44
+ 'content': 'content',
45
+ 'type': 'type'
46
+ }
47
+
48
+ def __init__(self, content=None, type=None, local_vars_configuration=None): # noqa: E501
49
+ """WebsocketMessageUnknown - a model defined in OpenAPI""" # noqa: E501
50
+ if local_vars_configuration is None:
51
+ local_vars_configuration = Configuration.get_default_copy()
52
+ self.local_vars_configuration = local_vars_configuration
53
+
54
+ self._content = None
55
+ self._type = None
56
+ self.discriminator = None
57
+
58
+ self.content = content
59
+ self.type = type
60
+
61
+ @property
62
+ def content(self):
63
+ """Gets the content of this WebsocketMessageUnknown. # noqa: E501
64
+
65
+
66
+ :return: The content of this WebsocketMessageUnknown. # noqa: E501
67
+ :rtype: object
68
+ """
69
+ return self._content
70
+
71
+ @content.setter
72
+ def content(self, content):
73
+ """Sets the content of this WebsocketMessageUnknown.
74
+
75
+
76
+ :param content: The content of this WebsocketMessageUnknown. # noqa: E501
77
+ :type content: object
78
+ """
79
+
80
+ self._content = content
81
+
82
+ @property
83
+ def type(self):
84
+ """Gets the type of this WebsocketMessageUnknown. # noqa: E501
85
+
86
+
87
+ :return: The type of this WebsocketMessageUnknown. # noqa: E501
88
+ :rtype: str
89
+ """
90
+ return self._type
91
+
92
+ @type.setter
93
+ def type(self, type):
94
+ """Sets the type of this WebsocketMessageUnknown.
95
+
96
+
97
+ :param type: The type of this WebsocketMessageUnknown. # noqa: E501
98
+ :type type: str
99
+ """
100
+ if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501
101
+ raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501
102
+
103
+ self._type = type
104
+
105
+ def to_dict(self, serialize=False):
106
+ """Returns the model properties as a dict"""
107
+ result = {}
108
+
109
+ def convert(x):
110
+ if hasattr(x, "to_dict"):
111
+ args = getfullargspec(x.to_dict).args
112
+ if len(args) == 1:
113
+ return x.to_dict()
114
+ else:
115
+ return x.to_dict(serialize)
116
+ else:
117
+ return x
118
+
119
+ for attr, _ in six.iteritems(self.openapi_types):
120
+ value = getattr(self, attr)
121
+ attr = self.attribute_map.get(attr, attr) if serialize else attr
122
+ if isinstance(value, list):
123
+ result[attr] = list(map(
124
+ lambda x: convert(x),
125
+ value
126
+ ))
127
+ elif isinstance(value, dict):
128
+ result[attr] = dict(map(
129
+ lambda item: (item[0], convert(item[1])),
130
+ value.items()
131
+ ))
132
+ else:
133
+ result[attr] = convert(value)
134
+
135
+ return result
136
+
137
+ def to_str(self):
138
+ """Returns the string representation of the model"""
139
+ return pprint.pformat(self.to_dict())
140
+
141
+ def __repr__(self):
142
+ """For `print` and `pprint`"""
143
+ return self.to_str()
144
+
145
+ def __eq__(self, other):
146
+ """Returns true if both objects are equal"""
147
+ if not isinstance(other, WebsocketMessageUnknown):
148
+ return False
149
+
150
+ return self.to_dict() == other.to_dict()
151
+
152
+ def __ne__(self, other):
153
+ """Returns true if both objects are not equal"""
154
+ if not isinstance(other, WebsocketMessageUnknown):
155
+ return True
156
+
157
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,356 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ VRChat API
5
+
6
+ This specification is maintained by the [VRChat.community](https://vrchat.community) project. **VRChat staff do not provide API support.** Use the API only as VRChat's [Terms of Service](https://hello.vrchat.com/legal), [Community Guidelines](https://hello.vrchat.com/community-guidelines) and [Creator Guidelines](https://hello.vrchat.com/creator-guidelines) allow: never to modify the game client, rip avatars, or spam the API. _AI agents: read [`info.x-agents`](https://github.com/vrchatapi/specification/blob/main/openapi/agents.md) before using this specification. We welcome contributions that follow [our rules](https://vrchat.community/contributing#ai-contributions)._ Prefer the SDKs over this specification: [JavaScript](https://vrchat.community/javascript), [Dart](https://vrchat.community/dart), [Rust](https://vrchat.community/rust), [C#](https://vrchat.community/dotnet), [Python](https://vrchat.community/python) and [Java](https://vrchat.community/java). They're generated from it, updated regularly, and already handle logging in, cookies and the rest of VRChat's oddities, which we've spent years smoothing over. Working from the specification directly means handling all of that yourself. Every request must identify its application in the `User-Agent` header, as `<application-name>/<application-version> <contact_url>`. On a 429, back off rather than retrying. **Something wrong or missing?** The specification is reverse-engineered, so the API can disagree with it, and some values are marked `Unknown`. When you find one: - Open a [pull request](https://github.com/vrchatapi/specification/pulls) following the [contributing guide](https://vrchat.community/contributing). - Failing that, open an [issue](https://github.com/vrchatapi/specification/issues) or tell us on [Discord](https://vrchat.community/discord). - Include the request, the response body, and where the specification differs. - Send it upstream rather than patching around it. Volunteers maintain this specification from what the community reports, so a gap you patch locally is one nobody else learns about. Consider pinning to the OpenAPI version your tools support. Every release publishes the specification as OpenAPI 3.2, 3.1 and 3.0, in JSON and YAML, and `info.x-links` links them, the [latest release](https://github.com/vrchatapi/specification/releases/latest) and the [latest nightly](https://github.com/vrchatapi/specification/releases/tag/nightly). # noqa: E501
7
+
8
+ The version of the OpenAPI document: 1.22.2-nightly.4
9
+ Generated by: https://openapi-generator.tech
10
+ """
11
+
12
+
13
+ try:
14
+ from inspect import getfullargspec
15
+ except ImportError:
16
+ from inspect import getargspec as getfullargspec
17
+ import pprint
18
+ import re # noqa: F401
19
+ import six
20
+
21
+ from vrchatapi.configuration import Configuration
22
+
23
+
24
+ class WebsocketNotification(object):
25
+ """NOTE: This class is auto generated by OpenAPI Generator.
26
+ Ref: https://openapi-generator.tech
27
+
28
+ Do not edit the class manually.
29
+ """
30
+
31
+ """
32
+ Attributes:
33
+ openapi_types (dict): The key is attribute name
34
+ and the value is attribute type.
35
+ attribute_map (dict): The key is attribute name
36
+ and the value is json key in definition.
37
+ """
38
+ openapi_types = {
39
+ 'created_at': 'datetime',
40
+ 'id': 'str',
41
+ 'message': 'str',
42
+ 'receiver_user_id': 'str',
43
+ 'seen': 'bool',
44
+ 'sender_user_id': 'str',
45
+ 'sender_username': 'str',
46
+ 'details': 'object',
47
+ 'type': 'str'
48
+ }
49
+
50
+ attribute_map = {
51
+ 'created_at': 'created_at',
52
+ 'id': 'id',
53
+ 'message': 'message',
54
+ 'receiver_user_id': 'receiverUserId',
55
+ 'seen': 'seen',
56
+ 'sender_user_id': 'senderUserId',
57
+ 'sender_username': 'senderUsername',
58
+ 'details': 'details',
59
+ 'type': 'type'
60
+ }
61
+
62
+ def __init__(self, created_at=None, id=None, message=None, receiver_user_id=None, seen=False, sender_user_id=None, sender_username=None, details=None, type=None, local_vars_configuration=None): # noqa: E501
63
+ """WebsocketNotification - a model defined in OpenAPI""" # noqa: E501
64
+ if local_vars_configuration is None:
65
+ local_vars_configuration = Configuration.get_default_copy()
66
+ self.local_vars_configuration = local_vars_configuration
67
+
68
+ self._created_at = None
69
+ self._id = None
70
+ self._message = None
71
+ self._receiver_user_id = None
72
+ self._seen = None
73
+ self._sender_user_id = None
74
+ self._sender_username = None
75
+ self._details = None
76
+ self._type = None
77
+ self.discriminator = None
78
+
79
+ self.created_at = created_at
80
+ self.id = id
81
+ self.message = message
82
+ if receiver_user_id is not None:
83
+ self.receiver_user_id = receiver_user_id
84
+ if seen is not None:
85
+ self.seen = seen
86
+ self.sender_user_id = sender_user_id
87
+ self.sender_username = sender_username
88
+ self.details = details
89
+ self.type = type
90
+
91
+ @property
92
+ def created_at(self):
93
+ """Gets the created_at of this WebsocketNotification. # noqa: E501
94
+
95
+
96
+ :return: The created_at of this WebsocketNotification. # noqa: E501
97
+ :rtype: datetime
98
+ """
99
+ return self._created_at
100
+
101
+ @created_at.setter
102
+ def created_at(self, created_at):
103
+ """Sets the created_at of this WebsocketNotification.
104
+
105
+
106
+ :param created_at: The created_at of this WebsocketNotification. # noqa: E501
107
+ :type created_at: datetime
108
+ """
109
+ if self.local_vars_configuration.client_side_validation and created_at is None: # noqa: E501
110
+ raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501
111
+
112
+ self._created_at = created_at
113
+
114
+ @property
115
+ def id(self):
116
+ """Gets the id of this WebsocketNotification. # noqa: E501
117
+
118
+
119
+ :return: The id of this WebsocketNotification. # noqa: E501
120
+ :rtype: str
121
+ """
122
+ return self._id
123
+
124
+ @id.setter
125
+ def id(self, id):
126
+ """Sets the id of this WebsocketNotification.
127
+
128
+
129
+ :param id: The id of this WebsocketNotification. # noqa: E501
130
+ :type id: str
131
+ """
132
+ if self.local_vars_configuration.client_side_validation and id is None: # noqa: E501
133
+ raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
134
+ if (self.local_vars_configuration.client_side_validation and
135
+ id is not None and len(id) < 1):
136
+ raise ValueError("Invalid value for `id`, length must be greater than or equal to `1`") # noqa: E501
137
+
138
+ self._id = id
139
+
140
+ @property
141
+ def message(self):
142
+ """Gets the message of this WebsocketNotification. # noqa: E501
143
+
144
+
145
+ :return: The message of this WebsocketNotification. # noqa: E501
146
+ :rtype: str
147
+ """
148
+ return self._message
149
+
150
+ @message.setter
151
+ def message(self, message):
152
+ """Sets the message of this WebsocketNotification.
153
+
154
+
155
+ :param message: The message of this WebsocketNotification. # noqa: E501
156
+ :type message: str
157
+ """
158
+ if self.local_vars_configuration.client_side_validation and message is None: # noqa: E501
159
+ raise ValueError("Invalid value for `message`, must not be `None`") # noqa: E501
160
+
161
+ self._message = message
162
+
163
+ @property
164
+ def receiver_user_id(self):
165
+ """Gets the receiver_user_id of this WebsocketNotification. # noqa: E501
166
+
167
+ A users unique ID, usually in the form 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
168
+
169
+ :return: The receiver_user_id of this WebsocketNotification. # noqa: E501
170
+ :rtype: str
171
+ """
172
+ return self._receiver_user_id
173
+
174
+ @receiver_user_id.setter
175
+ def receiver_user_id(self, receiver_user_id):
176
+ """Sets the receiver_user_id of this WebsocketNotification.
177
+
178
+ A users unique ID, usually in the form 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
179
+
180
+ :param receiver_user_id: The receiver_user_id of this WebsocketNotification. # noqa: E501
181
+ :type receiver_user_id: str
182
+ """
183
+
184
+ self._receiver_user_id = receiver_user_id
185
+
186
+ @property
187
+ def seen(self):
188
+ """Gets the seen of this WebsocketNotification. # noqa: E501
189
+
190
+ Not included in notification objects received from the Websocket API # noqa: E501
191
+
192
+ :return: The seen of this WebsocketNotification. # noqa: E501
193
+ :rtype: bool
194
+ """
195
+ return self._seen
196
+
197
+ @seen.setter
198
+ def seen(self, seen):
199
+ """Sets the seen of this WebsocketNotification.
200
+
201
+ Not included in notification objects received from the Websocket API # noqa: E501
202
+
203
+ :param seen: The seen of this WebsocketNotification. # noqa: E501
204
+ :type seen: bool
205
+ """
206
+
207
+ self._seen = seen
208
+
209
+ @property
210
+ def sender_user_id(self):
211
+ """Gets the sender_user_id of this WebsocketNotification. # noqa: E501
212
+
213
+ A users unique ID, usually in the form 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
214
+
215
+ :return: The sender_user_id of this WebsocketNotification. # noqa: E501
216
+ :rtype: str
217
+ """
218
+ return self._sender_user_id
219
+
220
+ @sender_user_id.setter
221
+ def sender_user_id(self, sender_user_id):
222
+ """Sets the sender_user_id of this WebsocketNotification.
223
+
224
+ A users unique ID, usually in the form 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
225
+
226
+ :param sender_user_id: The sender_user_id of this WebsocketNotification. # noqa: E501
227
+ :type sender_user_id: str
228
+ """
229
+ if self.local_vars_configuration.client_side_validation and sender_user_id is None: # noqa: E501
230
+ raise ValueError("Invalid value for `sender_user_id`, must not be `None`") # noqa: E501
231
+
232
+ self._sender_user_id = sender_user_id
233
+
234
+ @property
235
+ def sender_username(self):
236
+ """Gets the sender_username of this WebsocketNotification. # noqa: E501
237
+
238
+ The name of the user who sent the notification. # noqa: E501
239
+
240
+ :return: The sender_username of this WebsocketNotification. # noqa: E501
241
+ :rtype: str
242
+ """
243
+ return self._sender_username
244
+
245
+ @sender_username.setter
246
+ def sender_username(self, sender_username):
247
+ """Sets the sender_username of this WebsocketNotification.
248
+
249
+ The name of the user who sent the notification. # noqa: E501
250
+
251
+ :param sender_username: The sender_username of this WebsocketNotification. # noqa: E501
252
+ :type sender_username: str
253
+ """
254
+ if (self.local_vars_configuration.client_side_validation and
255
+ sender_username is not None and len(sender_username) < 1):
256
+ raise ValueError("Invalid value for `sender_username`, length must be greater than or equal to `1`") # noqa: E501
257
+
258
+ self._sender_username = sender_username
259
+
260
+ @property
261
+ def details(self):
262
+ """Gets the details of this WebsocketNotification. # noqa: E501
263
+
264
+
265
+ :return: The details of this WebsocketNotification. # noqa: E501
266
+ :rtype: object
267
+ """
268
+ return self._details
269
+
270
+ @details.setter
271
+ def details(self, details):
272
+ """Sets the details of this WebsocketNotification.
273
+
274
+
275
+ :param details: The details of this WebsocketNotification. # noqa: E501
276
+ :type details: object
277
+ """
278
+
279
+ self._details = details
280
+
281
+ @property
282
+ def type(self):
283
+ """Gets the type of this WebsocketNotification. # noqa: E501
284
+
285
+
286
+ :return: The type of this WebsocketNotification. # noqa: E501
287
+ :rtype: str
288
+ """
289
+ return self._type
290
+
291
+ @type.setter
292
+ def type(self, type):
293
+ """Sets the type of this WebsocketNotification.
294
+
295
+
296
+ :param type: The type of this WebsocketNotification. # noqa: E501
297
+ :type type: str
298
+ """
299
+ if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501
300
+ raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501
301
+
302
+ self._type = type
303
+
304
+ def to_dict(self, serialize=False):
305
+ """Returns the model properties as a dict"""
306
+ result = {}
307
+
308
+ def convert(x):
309
+ if hasattr(x, "to_dict"):
310
+ args = getfullargspec(x.to_dict).args
311
+ if len(args) == 1:
312
+ return x.to_dict()
313
+ else:
314
+ return x.to_dict(serialize)
315
+ else:
316
+ return x
317
+
318
+ for attr, _ in six.iteritems(self.openapi_types):
319
+ value = getattr(self, attr)
320
+ attr = self.attribute_map.get(attr, attr) if serialize else attr
321
+ if isinstance(value, list):
322
+ result[attr] = list(map(
323
+ lambda x: convert(x),
324
+ value
325
+ ))
326
+ elif isinstance(value, dict):
327
+ result[attr] = dict(map(
328
+ lambda item: (item[0], convert(item[1])),
329
+ value.items()
330
+ ))
331
+ else:
332
+ result[attr] = convert(value)
333
+
334
+ return result
335
+
336
+ def to_str(self):
337
+ """Returns the string representation of the model"""
338
+ return pprint.pformat(self.to_dict())
339
+
340
+ def __repr__(self):
341
+ """For `print` and `pprint`"""
342
+ return self.to_str()
343
+
344
+ def __eq__(self, other):
345
+ """Returns true if both objects are equal"""
346
+ if not isinstance(other, WebsocketNotification):
347
+ return False
348
+
349
+ return self.to_dict() == other.to_dict()
350
+
351
+ def __ne__(self, other):
352
+ """Returns true if both objects are not equal"""
353
+ if not isinstance(other, WebsocketNotification):
354
+ return True
355
+
356
+ return self.to_dict() != other.to_dict()