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.
- vrchatapi/__init__.py +69 -1
- vrchatapi/api/authentication_api.py +1 -1
- vrchatapi/api/avatars_api.py +1 -1
- vrchatapi/api/calendar_api.py +1 -1
- vrchatapi/api/economy_api.py +1 -1
- vrchatapi/api/favorites_api.py +1 -1
- vrchatapi/api/files_api.py +1 -1
- vrchatapi/api/friends_api.py +1 -1
- vrchatapi/api/groups_api.py +1 -1
- vrchatapi/api/instances_api.py +1 -1
- vrchatapi/api/inventory_api.py +1 -1
- vrchatapi/api/invite_api.py +1 -1
- vrchatapi/api/jams_api.py +1 -1
- vrchatapi/api/miscellaneous_api.py +1 -1
- vrchatapi/api/notifications_api.py +1 -1
- vrchatapi/api/playermoderation_api.py +1 -1
- vrchatapi/api/prints_api.py +1 -1
- vrchatapi/api/props_api.py +1 -1
- vrchatapi/api/users_api.py +1 -1
- vrchatapi/api/worlds_api.py +1 -1
- vrchatapi/api_client.py +1 -1
- vrchatapi/configuration.py +2 -2
- vrchatapi/exceptions.py +1 -1
- vrchatapi/models/__init__.py +69 -1
- vrchatapi/models/account_deletion_log.py +1 -1
- vrchatapi/models/add_favorite_request.py +1 -1
- vrchatapi/models/add_group_gallery_image_request.py +1 -1
- vrchatapi/models/admin_asset_bundle.py +1 -1
- vrchatapi/models/admin_unity_package.py +1 -1
- vrchatapi/models/age_verification_status.py +1 -1
- vrchatapi/models/age_verification_status_result.py +1 -1
- vrchatapi/models/agreement.py +1 -1
- vrchatapi/models/agreement_code.py +1 -1
- vrchatapi/models/agreement_request.py +1 -1
- vrchatapi/models/agreement_status.py +1 -1
- vrchatapi/models/api_config.py +1 -1
- vrchatapi/models/api_config_access_logs_urls.py +1 -1
- vrchatapi/models/api_config_announcement.py +1 -1
- vrchatapi/models/api_config_audio_config.py +1 -1
- vrchatapi/models/api_config_avatar_perf_limiter.py +1 -1
- vrchatapi/models/api_config_constants.py +1 -1
- vrchatapi/models/api_config_constants_groups.py +1 -1
- vrchatapi/models/api_config_constants_instance.py +1 -1
- vrchatapi/models/api_config_constants_instancepopulationbrackets.py +1 -1
- vrchatapi/models/api_config_constants_instancepopulationbracketscrowded.py +1 -1
- vrchatapi/models/api_config_constants_instancepopulationbracketsfew.py +1 -1
- vrchatapi/models/api_config_constants_instancepopulationbracketsmany.py +1 -1
- vrchatapi/models/api_config_constants_language.py +1 -1
- vrchatapi/models/api_config_download_url_list.py +1 -1
- vrchatapi/models/api_config_event_shelf_campaign.py +1 -1
- vrchatapi/models/api_config_events.py +1 -1
- vrchatapi/models/api_config_ios_version.py +1 -1
- vrchatapi/models/api_config_loading_screen_weights.py +1 -1
- vrchatapi/models/api_config_low_memory_go_home_timeout_value.py +1 -1
- vrchatapi/models/api_config_min_supported_client_build_number.py +1 -1
- vrchatapi/models/api_config_offline_analysis.py +1 -1
- vrchatapi/models/api_config_profile_defaults.py +1 -1
- vrchatapi/models/api_health.py +1 -1
- vrchatapi/models/avatar.py +1 -1
- vrchatapi/models/avatar_moderation.py +1 -1
- vrchatapi/models/avatar_moderation_created.py +1 -1
- vrchatapi/models/avatar_moderation_type.py +1 -1
- vrchatapi/models/avatar_performance.py +1 -1
- vrchatapi/models/avatar_published_listings_inner.py +1 -1
- vrchatapi/models/avatar_style.py +1 -1
- vrchatapi/models/avatar_styles.py +1 -1
- vrchatapi/models/avatar_unity_package_url_object.py +1 -1
- vrchatapi/models/badge.py +1 -1
- vrchatapi/models/balance.py +1 -1
- vrchatapi/models/ban_group_member_request.py +1 -1
- vrchatapi/models/bare_error.py +1 -1
- vrchatapi/models/beta.py +1 -1
- vrchatapi/models/beta_registration_not_found_error.py +1 -1
- vrchatapi/models/beta_user_field.py +1 -1
- vrchatapi/models/boop_request.py +1 -1
- vrchatapi/models/calendar_day_of_week.py +1 -1
- vrchatapi/models/calendar_event.py +1 -1
- vrchatapi/models/calendar_event_access.py +1 -1
- vrchatapi/models/calendar_event_category.py +1 -1
- vrchatapi/models/calendar_event_discovery.py +1 -1
- vrchatapi/models/calendar_event_discovery_inclusion.py +1 -1
- vrchatapi/models/calendar_event_discovery_scope.py +1 -1
- vrchatapi/models/calendar_event_frequency.py +1 -1
- vrchatapi/models/calendar_event_occurrence_kind.py +1 -1
- vrchatapi/models/calendar_event_platform.py +1 -1
- vrchatapi/models/calendar_event_recurrence.py +1 -1
- vrchatapi/models/calendar_event_recurrence_end.py +1 -1
- vrchatapi/models/calendar_event_recurrence_end_type.py +1 -1
- vrchatapi/models/calendar_event_user_interest.py +1 -1
- vrchatapi/models/change_user_tags_request.py +1 -1
- vrchatapi/models/change_world_tags_request.py +1 -1
- vrchatapi/models/content_filter.py +1 -1
- vrchatapi/models/create_avatar_moderation_request.py +1 -1
- vrchatapi/models/create_avatar_request.py +1 -1
- vrchatapi/models/create_calendar_event_request.py +1 -1
- vrchatapi/models/create_file_request.py +1 -1
- vrchatapi/models/create_file_version_request.py +1 -1
- vrchatapi/models/create_group_announcement_request.py +1 -1
- vrchatapi/models/create_group_gallery_request.py +1 -1
- vrchatapi/models/create_group_invite_request.py +1 -1
- vrchatapi/models/create_group_post_request.py +1 -1
- vrchatapi/models/create_group_request.py +1 -1
- vrchatapi/models/create_group_role_request.py +1 -1
- vrchatapi/models/create_instance_request.py +1 -1
- vrchatapi/models/create_jam_submission_request.py +1 -1
- vrchatapi/models/create_listing_request.py +1 -1
- vrchatapi/models/create_product_request.py +1 -1
- vrchatapi/models/create_prop_request.py +1 -1
- vrchatapi/models/create_world_request.py +1 -1
- vrchatapi/models/current_user.py +1 -1
- vrchatapi/models/current_user_login_response.py +1 -1
- vrchatapi/models/current_user_presence.py +1 -1
- vrchatapi/models/decline_group_invite_request.py +1 -1
- vrchatapi/models/developer_type.py +1 -1
- vrchatapi/models/disable2_fa_result.py +1 -1
- vrchatapi/models/discord_details.py +1 -1
- vrchatapi/models/dynamic_content_row.py +1 -1
- vrchatapi/models/earnings_metrics.py +1 -1
- vrchatapi/models/earnings_metrics_totals.py +1 -1
- vrchatapi/models/economy_account.py +1 -1
- vrchatapi/models/economy_account_limits.py +1 -1
- vrchatapi/models/economy_balances.py +1 -1
- vrchatapi/models/economy_payout.py +1 -1
- vrchatapi/models/economy_payout_eligibility.py +1 -1
- vrchatapi/models/economy_payout_list.py +1 -1
- vrchatapi/models/economy_payout_status.py +1 -1
- vrchatapi/models/economy_status.py +1 -1
- vrchatapi/models/equip_inventory_item_request.py +1 -1
- vrchatapi/models/error.py +1 -1
- vrchatapi/models/favorite.py +1 -1
- vrchatapi/models/favorite_group.py +1 -1
- vrchatapi/models/favorite_group_contents.py +1 -1
- vrchatapi/models/favorite_group_contents_entry.py +1 -1
- vrchatapi/models/favorite_group_contents_entry_world.py +1 -1
- vrchatapi/models/favorite_group_limits.py +1 -1
- vrchatapi/models/favorite_group_list.py +1 -1
- vrchatapi/models/favorite_group_summary.py +1 -1
- vrchatapi/models/favorite_group_visibility.py +1 -1
- vrchatapi/models/favorite_limits.py +1 -1
- vrchatapi/models/favorite_type.py +1 -1
- vrchatapi/models/favorited_world.py +1 -1
- vrchatapi/models/feedback.py +1 -1
- vrchatapi/models/file.py +1 -1
- vrchatapi/models/file_analysis.py +1 -1
- vrchatapi/models/file_analysis_avatar_stats.py +1 -1
- vrchatapi/models/file_data.py +1 -1
- vrchatapi/models/file_status.py +1 -1
- vrchatapi/models/file_upload_url.py +1 -1
- vrchatapi/models/file_version.py +1 -1
- vrchatapi/models/file_version_upload_status.py +1 -1
- vrchatapi/models/finish_file_data_upload_request.py +1 -1
- vrchatapi/models/follow_calendar_event_request.py +1 -1
- vrchatapi/models/friend_status.py +1 -1
- vrchatapi/models/group.py +1 -1
- vrchatapi/models/group_access_type.py +1 -1
- vrchatapi/models/group_announcement.py +1 -1
- vrchatapi/models/group_audit_log_entry.py +29 -29
- vrchatapi/models/group_audit_log_entry_base.py +2 -31
- vrchatapi/models/group_audit_log_entry_boolean_change.py +1 -1
- vrchatapi/models/group_audit_log_entry_data.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_announcement.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_calendar_event_create.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_calendar_event_delete.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_gallery_create.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_gallery_delete.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_gallery_update.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_instance_announcement.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_instance_close.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_instance_create.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_instance_moderation.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_member_role.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_member_user_update.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_post.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_post_create.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_post_delete.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_post_update.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_role.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_role_create.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_role_delete.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_role_update.py +1 -1
- vrchatapi/models/group_audit_log_entry_data_group_update.py +1 -1
- vrchatapi/models/group_audit_log_entry_file_id_change.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_announcement.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_calendar_event_create.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_calendar_event_delete.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_gallery_create.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_gallery_delete.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_gallery_update.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_instance_announcement.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_instance_close.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_instance_create.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_instance_kick.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_instance_warn.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_invite_cancel.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_invite_create.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_member_join.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_member_leave.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_member_remove.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_member_role_assign.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_member_role_unassign.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_member_user_update.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_post_create.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_post_delete.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_post_update.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_request_block.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_request_create.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_request_reject.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_request_withdraw.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_role_create.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_role_delete.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_role_update.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_update.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_user_ban.py +1 -1
- vrchatapi/models/group_audit_log_entry_group_user_unban.py +1 -1
- vrchatapi/models/group_audit_log_entry_integer_change.py +1 -1
- vrchatapi/models/group_audit_log_entry_join_state_change.py +1 -1
- vrchatapi/models/group_audit_log_entry_string_change.py +1 -1
- vrchatapi/models/group_audit_log_entry_string_list_change.py +1 -1
- vrchatapi/models/group_audit_log_entry_unknown.py +3 -1
- vrchatapi/models/group_audit_log_entry_user_id_change.py +1 -1
- vrchatapi/models/group_gallery.py +1 -1
- vrchatapi/models/group_gallery_file_order.py +1 -1
- vrchatapi/models/group_gallery_file_order_request.py +1 -1
- vrchatapi/models/group_gallery_image.py +1 -1
- vrchatapi/models/group_gallery_image_list.py +1 -1
- vrchatapi/models/group_instance.py +1 -1
- vrchatapi/models/group_join_request_action.py +1 -1
- vrchatapi/models/group_join_state.py +1 -1
- vrchatapi/models/group_member.py +1 -1
- vrchatapi/models/group_member_limited_user.py +1 -1
- vrchatapi/models/group_member_search_response.py +1 -1
- vrchatapi/models/group_member_status.py +1 -1
- vrchatapi/models/group_my_member.py +1 -1
- vrchatapi/models/group_permission.py +1 -1
- vrchatapi/models/group_permissions.py +1 -1
- vrchatapi/models/group_post.py +1 -1
- vrchatapi/models/group_post_visibility.py +1 -1
- vrchatapi/models/group_posts_response.py +1 -1
- vrchatapi/models/group_privacy.py +1 -1
- vrchatapi/models/group_role.py +1 -1
- vrchatapi/models/group_role_template.py +1 -1
- vrchatapi/models/group_role_template_role.py +1 -1
- vrchatapi/models/group_role_template_values.py +1 -1
- vrchatapi/models/group_search_sort.py +1 -1
- vrchatapi/models/group_transferable.py +1 -1
- vrchatapi/models/group_transferable_requirements.py +1 -1
- vrchatapi/models/group_user_visibility.py +1 -1
- vrchatapi/models/image_animation_style.py +1 -1
- vrchatapi/models/image_loop_style.py +1 -1
- vrchatapi/models/image_mask.py +1 -1
- vrchatapi/models/info_push.py +1 -1
- vrchatapi/models/info_push_data.py +1 -1
- vrchatapi/models/info_push_data_article.py +1 -1
- vrchatapi/models/info_push_data_article_content.py +1 -1
- vrchatapi/models/info_push_data_call_to_action.py +1 -1
- vrchatapi/models/info_push_data_category.py +1 -1
- vrchatapi/models/info_push_data_clickable.py +1 -1
- vrchatapi/models/info_push_data_content_source.py +1 -1
- vrchatapi/models/info_push_data_content_source_pagination.py +1 -1
- vrchatapi/models/info_push_data_control.py +1 -1
- vrchatapi/models/info_push_data_control_option.py +1 -1
- vrchatapi/models/info_push_data_delivery_behavior.py +1 -1
- vrchatapi/models/info_push_data_domain_list_inner.py +1 -1
- vrchatapi/models/info_push_data_presentation.py +1 -1
- vrchatapi/models/info_push_data_promotion.py +1 -1
- vrchatapi/models/info_push_data_promotion_notification.py +1 -1
- vrchatapi/models/info_push_data_search.py +1 -1
- vrchatapi/models/info_push_embedded_link.py +1 -1
- vrchatapi/models/info_push_experiment.py +1 -1
- vrchatapi/models/info_push_ips_query.py +1 -1
- vrchatapi/models/instance.py +1 -1
- vrchatapi/models/instance_category.py +1 -1
- vrchatapi/models/instance_content_settings.py +1 -1
- vrchatapi/models/instance_platforms.py +1 -1
- vrchatapi/models/instance_region.py +1 -1
- vrchatapi/models/instance_short_name_response.py +1 -1
- vrchatapi/models/instance_type.py +1 -1
- vrchatapi/models/instance_vibe.py +1 -1
- vrchatapi/models/interests_and_preferences.py +1 -1
- vrchatapi/models/inventory.py +1 -1
- vrchatapi/models/inventory_asset.py +1 -1
- vrchatapi/models/inventory_consumption_results.py +1 -1
- vrchatapi/models/inventory_default_attributes1.py +1 -1
- vrchatapi/models/inventory_default_attributes1_validator.py +1 -1
- vrchatapi/models/inventory_drop.py +1 -1
- vrchatapi/models/inventory_equip_slot.py +1 -1
- vrchatapi/models/inventory_flag.py +1 -1
- vrchatapi/models/inventory_item.py +1 -1
- vrchatapi/models/inventory_item_type.py +1 -1
- vrchatapi/models/inventory_metadata.py +1 -1
- vrchatapi/models/inventory_notification_details.py +1 -1
- vrchatapi/models/inventory_spawn.py +1 -1
- vrchatapi/models/inventory_template.py +1 -1
- vrchatapi/models/inventory_user_attributes.py +1 -1
- vrchatapi/models/invite_message.py +1 -1
- vrchatapi/models/invite_message_type.py +1 -1
- vrchatapi/models/invite_request.py +1 -1
- vrchatapi/models/invite_response.py +1 -1
- vrchatapi/models/jam.py +1 -1
- vrchatapi/models/jam_state_change_dates.py +1 -1
- vrchatapi/models/jam_submission.py +1 -1
- vrchatapi/models/join_group_request.py +1 -1
- vrchatapi/models/license.py +1 -1
- vrchatapi/models/license_action.py +1 -1
- vrchatapi/models/license_group.py +1 -1
- vrchatapi/models/license_type.py +1 -1
- vrchatapi/models/limited_group.py +1 -1
- vrchatapi/models/limited_unity_package.py +1 -1
- vrchatapi/models/limited_user_friend.py +1 -1
- vrchatapi/models/limited_user_groups.py +1 -1
- vrchatapi/models/limited_user_instance.py +1 -1
- vrchatapi/models/limited_user_search.py +1 -1
- vrchatapi/models/limited_world.py +1 -1
- vrchatapi/models/localized_string.py +1 -1
- vrchatapi/models/mime_type.py +1 -1
- vrchatapi/models/model_print.py +1 -1
- vrchatapi/models/moderate_user_request.py +1 -1
- vrchatapi/models/moderation_report.py +1 -1
- vrchatapi/models/mutual_friend.py +1 -1
- vrchatapi/models/mutuals.py +1 -1
- vrchatapi/models/notification.py +34 -34
- vrchatapi/models/notification_base.py +304 -0
- vrchatapi/models/notification_boop.py +366 -0
- vrchatapi/models/notification_detail_boop.py +1 -1
- vrchatapi/models/notification_detail_invite.py +1 -1
- vrchatapi/models/notification_detail_invite_response.py +1 -1
- vrchatapi/models/notification_detail_request_invite.py +1 -1
- vrchatapi/models/notification_detail_request_invite_response.py +1 -1
- vrchatapi/models/notification_detail_vote_to_kick.py +1 -1
- vrchatapi/models/notification_friend_request.py +366 -0
- vrchatapi/models/notification_invite.py +366 -0
- vrchatapi/models/notification_invite_response.py +366 -0
- vrchatapi/models/notification_message.py +366 -0
- vrchatapi/models/notification_request_invite.py +366 -0
- vrchatapi/models/notification_request_invite_response.py +366 -0
- vrchatapi/models/notification_type.py +1 -1
- vrchatapi/models/notification_unknown.py +360 -0
- vrchatapi/models/notification_v2.py +1 -1
- vrchatapi/models/notification_v2_data.py +1 -1
- vrchatapi/models/notification_v2_data_badge_earned.py +1 -1
- vrchatapi/models/notification_v2_data_boop.py +1 -1
- vrchatapi/models/notification_v2_data_event_announcement.py +1 -1
- vrchatapi/models/notification_v2_data_group_announcement.py +1 -1
- vrchatapi/models/notification_v2_data_group_informative.py +1 -1
- vrchatapi/models/notification_v2_data_group_transfer.py +1 -1
- vrchatapi/models/notification_v2_details_boop.py +1 -1
- vrchatapi/models/notification_v2_response.py +1 -1
- vrchatapi/models/notification_v2_type.py +1 -1
- vrchatapi/models/notification_vote_to_kick.py +366 -0
- vrchatapi/models/o_auth_redirect_code.py +1 -1
- vrchatapi/models/ok_status.py +1 -1
- vrchatapi/models/ok_status2.py +1 -1
- vrchatapi/models/order_option.py +1 -1
- vrchatapi/models/order_option_short.py +1 -1
- vrchatapi/models/paginated_calendar_event_list.py +1 -1
- vrchatapi/models/paginated_group_audit_log_entry_list.py +1 -1
- vrchatapi/models/paginated_moderation_report_list.py +1 -1
- vrchatapi/models/past_display_name.py +1 -1
- vrchatapi/models/pending2_fa_result.py +1 -1
- vrchatapi/models/performance_limiter_info.py +1 -1
- vrchatapi/models/performance_ratings.py +1 -1
- vrchatapi/models/permission.py +1 -1
- vrchatapi/models/permission_data.py +1 -1
- vrchatapi/models/platform_build_info.py +1 -1
- vrchatapi/models/platform_history_entry.py +1 -1
- vrchatapi/models/player_moderation.py +1 -1
- vrchatapi/models/player_moderation_type.py +1 -1
- vrchatapi/models/print_files.py +1 -1
- vrchatapi/models/private_profile.py +1 -1
- vrchatapi/models/private_profile_activity.py +1 -1
- vrchatapi/models/product.py +1 -1
- vrchatapi/models/product_listing.py +1 -1
- vrchatapi/models/product_listing_attribution.py +1 -1
- vrchatapi/models/product_listing_attribution_creator.py +1 -1
- vrchatapi/models/product_listing_type.py +1 -1
- vrchatapi/models/product_listing_variant.py +1 -1
- vrchatapi/models/product_purchase.py +1 -1
- vrchatapi/models/product_purchase_history.py +1 -1
- vrchatapi/models/product_purchase_location_type.py +1 -1
- vrchatapi/models/product_purchase_product.py +1 -1
- vrchatapi/models/product_purchase_purchase_context.py +1 -1
- vrchatapi/models/product_purchase_record.py +1 -1
- vrchatapi/models/product_type.py +1 -1
- vrchatapi/models/profile_group.py +1 -1
- vrchatapi/models/profile_groups.py +1 -1
- vrchatapi/models/profile_represented_group.py +1 -1
- vrchatapi/models/prop.py +1 -1
- vrchatapi/models/prop_publish_status.py +1 -1
- vrchatapi/models/prop_unity_package.py +1 -1
- vrchatapi/models/public_profile.py +1 -1
- vrchatapi/models/purchase_context_data.py +1 -1
- vrchatapi/models/purchase_product_listing_request.py +1 -1
- vrchatapi/models/region.py +1 -1
- vrchatapi/models/register_user_account_request.py +1 -1
- vrchatapi/models/release_status.py +1 -1
- vrchatapi/models/report_category.py +1 -1
- vrchatapi/models/report_reason.py +1 -1
- vrchatapi/models/represented_group.py +1 -1
- vrchatapi/models/request_invite_request.py +1 -1
- vrchatapi/models/requires_two_factor_auth.py +1 -1
- vrchatapi/models/respond_group_join_request.py +1 -1
- vrchatapi/models/respond_notification_v2_request.py +1 -1
- vrchatapi/models/response.py +1 -1
- vrchatapi/models/reward_badge.py +1 -1
- vrchatapi/models/reward_redemption.py +1 -1
- vrchatapi/models/reward_redemption_data.py +1 -1
- vrchatapi/models/reward_redemption_request.py +1 -1
- vrchatapi/models/reward_redemption_result.py +1 -1
- vrchatapi/models/route_not_implemented.py +1 -1
- vrchatapi/models/seller_eligibility.py +1 -1
- vrchatapi/models/sent_notification.py +1 -1
- vrchatapi/models/sent_notification_details.py +1 -1
- vrchatapi/models/service_queue_stats.py +1 -1
- vrchatapi/models/service_status.py +1 -1
- vrchatapi/models/share_inventory_item_direct_request.py +1 -1
- vrchatapi/models/sort_option.py +1 -1
- vrchatapi/models/sort_option_product_purchase.py +1 -1
- vrchatapi/models/sso_provider.py +1 -1
- vrchatapi/models/sso_token.py +1 -1
- vrchatapi/models/store.py +1 -1
- vrchatapi/models/store_context.py +1 -1
- vrchatapi/models/store_shelf.py +1 -1
- vrchatapi/models/store_type.py +1 -1
- vrchatapi/models/store_view.py +1 -1
- vrchatapi/models/submit_moderation_report_request.py +1 -1
- vrchatapi/models/submit_moderation_report_request_details.py +1 -1
- vrchatapi/models/subscription.py +1 -1
- vrchatapi/models/subscription_period.py +1 -1
- vrchatapi/models/success.py +1 -1
- vrchatapi/models/success_flag.py +1 -1
- vrchatapi/models/tilia_kyc.py +1 -1
- vrchatapi/models/tilia_status.py +1 -1
- vrchatapi/models/tilia_tos.py +1 -1
- vrchatapi/models/token_bundle.py +1 -1
- vrchatapi/models/transaction.py +1 -1
- vrchatapi/models/transaction_agreement.py +1 -1
- vrchatapi/models/transaction_status.py +1 -1
- vrchatapi/models/transaction_steam_info.py +1 -1
- vrchatapi/models/transaction_steam_wallet_info.py +1 -1
- vrchatapi/models/transfer_group_request.py +1 -1
- vrchatapi/models/tutorial_status.py +1 -1
- vrchatapi/models/two_factor_auth_code.py +1 -1
- vrchatapi/models/two_factor_auth_type.py +1 -1
- vrchatapi/models/two_factor_email_code.py +1 -1
- vrchatapi/models/two_factor_recovery_codes.py +1 -1
- vrchatapi/models/two_factor_recovery_codes_otp_inner.py +1 -1
- vrchatapi/models/unavailable_world.py +1 -1
- vrchatapi/models/unity_package.py +1 -1
- vrchatapi/models/update_asset_review_notes_request.py +1 -1
- vrchatapi/models/update_avatar_request.py +1 -1
- vrchatapi/models/update_calendar_event_request.py +1 -1
- vrchatapi/models/update_favorite_group_request.py +1 -1
- vrchatapi/models/update_group_gallery_request.py +1 -1
- vrchatapi/models/update_group_member_request.py +1 -1
- vrchatapi/models/update_group_representation_request.py +1 -1
- vrchatapi/models/update_group_request.py +1 -1
- vrchatapi/models/update_group_role_request.py +1 -1
- vrchatapi/models/update_instance_request.py +1 -1
- vrchatapi/models/update_inventory_item_request.py +1 -1
- vrchatapi/models/update_invite_message_request.py +1 -1
- vrchatapi/models/update_listing_request.py +1 -1
- vrchatapi/models/update_product_request.py +1 -1
- vrchatapi/models/update_profile_request.py +1 -1
- vrchatapi/models/update_prop_request.py +1 -1
- vrchatapi/models/update_tilia_tos_request.py +1 -1
- vrchatapi/models/update_user_badge_request.py +1 -1
- vrchatapi/models/update_user_client_config_request.py +1 -1
- vrchatapi/models/update_user_note_request.py +1 -1
- vrchatapi/models/update_user_request.py +1 -1
- vrchatapi/models/update_world_request.py +1 -1
- vrchatapi/models/user.py +1 -1
- vrchatapi/models/user_client_config.py +1 -1
- vrchatapi/models/user_cosmetic.py +1 -1
- vrchatapi/models/user_credits_eligible.py +1 -1
- vrchatapi/models/user_exists.py +1 -1
- vrchatapi/models/user_group_instance_list_response.py +1 -1
- vrchatapi/models/user_note.py +1 -1
- vrchatapi/models/user_note_target_user.py +1 -1
- vrchatapi/models/user_response.py +1 -1
- vrchatapi/models/user_state.py +1 -1
- vrchatapi/models/user_status.py +1 -1
- vrchatapi/models/user_subscription.py +1 -1
- vrchatapi/models/user_subscription_eligible.py +1 -1
- vrchatapi/models/verify2_fa_email_code_result.py +1 -1
- vrchatapi/models/verify2_fa_result.py +1 -1
- vrchatapi/models/verify_auth_token_result.py +1 -1
- vrchatapi/models/websocket_clear_notification.py +138 -0
- vrchatapi/models/websocket_content_refresh.py +240 -0
- vrchatapi/models/websocket_content_refresh_action_type.py +113 -0
- vrchatapi/models/websocket_content_refresh_encoded.py +165 -0
- vrchatapi/models/websocket_friend_active.py +190 -0
- vrchatapi/models/websocket_friend_active_encoded.py +165 -0
- vrchatapi/models/websocket_friend_add.py +161 -0
- vrchatapi/models/websocket_friend_add_encoded.py +165 -0
- vrchatapi/models/websocket_friend_delete.py +134 -0
- vrchatapi/models/websocket_friend_delete_encoded.py +165 -0
- vrchatapi/models/websocket_friend_location.py +275 -0
- vrchatapi/models/websocket_friend_location_encoded.py +165 -0
- vrchatapi/models/websocket_friend_offline.py +163 -0
- vrchatapi/models/websocket_friend_offline_encoded.py +165 -0
- vrchatapi/models/websocket_friend_online.py +219 -0
- vrchatapi/models/websocket_friend_online_encoded.py +165 -0
- vrchatapi/models/websocket_friend_update.py +161 -0
- vrchatapi/models/websocket_friend_update_encoded.py +165 -0
- vrchatapi/models/websocket_group_joined.py +132 -0
- vrchatapi/models/websocket_group_joined_encoded.py +165 -0
- vrchatapi/models/websocket_group_left.py +132 -0
- vrchatapi/models/websocket_group_left_encoded.py +165 -0
- vrchatapi/models/websocket_group_member_updated.py +132 -0
- vrchatapi/models/websocket_group_member_updated_encoded.py +165 -0
- vrchatapi/models/websocket_group_role_updated.py +132 -0
- vrchatapi/models/websocket_group_role_updated_encoded.py +165 -0
- vrchatapi/models/websocket_hide_notification.py +165 -0
- vrchatapi/models/websocket_instance_queue_joined.py +161 -0
- vrchatapi/models/websocket_instance_queue_joined_encoded.py +165 -0
- vrchatapi/models/websocket_instance_queue_ready.py +161 -0
- vrchatapi/models/websocket_instance_queue_ready_encoded.py +165 -0
- vrchatapi/models/websocket_message.py +157 -0
- vrchatapi/models/websocket_message_unknown.py +157 -0
- vrchatapi/models/websocket_notification.py +356 -0
- vrchatapi/models/websocket_notification_detail_boop.py +364 -0
- vrchatapi/models/websocket_notification_detail_invite.py +364 -0
- vrchatapi/models/websocket_notification_detail_invite_response.py +364 -0
- vrchatapi/models/websocket_notification_detail_request_invite.py +364 -0
- vrchatapi/models/websocket_notification_detail_request_invite_response.py +364 -0
- vrchatapi/models/websocket_notification_detail_vote_to_kick.py +364 -0
- vrchatapi/models/websocket_notification_encoded.py +165 -0
- vrchatapi/models/websocket_notification_unknown.py +356 -0
- vrchatapi/models/websocket_notification_v2_delete.py +159 -0
- vrchatapi/models/websocket_notification_v2_delete_encoded.py +165 -0
- vrchatapi/models/websocket_notification_v2_encoded.py +165 -0
- vrchatapi/models/websocket_notification_v2_update.py +186 -0
- vrchatapi/models/websocket_notification_v2_update_encoded.py +165 -0
- vrchatapi/models/websocket_response_notification.py +190 -0
- vrchatapi/models/websocket_response_notification_encoded.py +165 -0
- vrchatapi/models/websocket_see_notification.py +165 -0
- vrchatapi/models/websocket_user_badge_assigned.py +132 -0
- vrchatapi/models/websocket_user_badge_assigned_encoded.py +165 -0
- vrchatapi/models/websocket_user_badge_unassigned.py +132 -0
- vrchatapi/models/websocket_user_badge_unassigned_encoded.py +165 -0
- vrchatapi/models/websocket_user_location.py +248 -0
- vrchatapi/models/websocket_user_location_encoded.py +165 -0
- vrchatapi/models/websocket_user_update.py +161 -0
- vrchatapi/models/websocket_user_update_encoded.py +165 -0
- vrchatapi/models/world.py +1 -1
- vrchatapi/models/world_favorite_list.py +1 -1
- vrchatapi/models/world_metadata.py +1 -1
- vrchatapi/models/world_publish_status.py +1 -1
- vrchatapi/rest.py +1 -1
- {vrchatapi-1.22.2.dev2.dist-info → vrchatapi-1.22.2.dev4.dist-info}/METADATA +1 -1
- vrchatapi-1.22.2.dev4.dist-info/RECORD +555 -0
- vrchatapi-1.22.2.dev2.dist-info/RECORD +0 -487
- {vrchatapi-1.22.2.dev2.dist-info → vrchatapi-1.22.2.dev4.dist-info}/WHEEL +0 -0
- {vrchatapi-1.22.2.dev2.dist-info → vrchatapi-1.22.2.dev4.dist-info}/licenses/LICENSE +0 -0
- {vrchatapi-1.22.2.dev2.dist-info → vrchatapi-1.22.2.dev4.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,190 @@
|
|
|
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 WebsocketResponseNotification(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
|
+
'notification_id': 'str',
|
|
40
|
+
'receiver_id': 'str',
|
|
41
|
+
'response_id': 'str'
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
attribute_map = {
|
|
45
|
+
'notification_id': 'notificationId',
|
|
46
|
+
'receiver_id': 'receiverId',
|
|
47
|
+
'response_id': 'responseId'
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
def __init__(self, notification_id=None, receiver_id=None, response_id=None, local_vars_configuration=None): # noqa: E501
|
|
51
|
+
"""WebsocketResponseNotification - a model defined in OpenAPI""" # noqa: E501
|
|
52
|
+
if local_vars_configuration is None:
|
|
53
|
+
local_vars_configuration = Configuration.get_default_copy()
|
|
54
|
+
self.local_vars_configuration = local_vars_configuration
|
|
55
|
+
|
|
56
|
+
self._notification_id = None
|
|
57
|
+
self._receiver_id = None
|
|
58
|
+
self._response_id = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
self.notification_id = notification_id
|
|
62
|
+
self.receiver_id = receiver_id
|
|
63
|
+
self.response_id = response_id
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def notification_id(self):
|
|
67
|
+
"""Gets the notification_id of this WebsocketResponseNotification. # noqa: E501
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:return: The notification_id of this WebsocketResponseNotification. # noqa: E501
|
|
71
|
+
:rtype: str
|
|
72
|
+
"""
|
|
73
|
+
return self._notification_id
|
|
74
|
+
|
|
75
|
+
@notification_id.setter
|
|
76
|
+
def notification_id(self, notification_id):
|
|
77
|
+
"""Sets the notification_id of this WebsocketResponseNotification.
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
:param notification_id: The notification_id of this WebsocketResponseNotification. # noqa: E501
|
|
81
|
+
:type notification_id: str
|
|
82
|
+
"""
|
|
83
|
+
if self.local_vars_configuration.client_side_validation and notification_id is None: # noqa: E501
|
|
84
|
+
raise ValueError("Invalid value for `notification_id`, must not be `None`") # noqa: E501
|
|
85
|
+
|
|
86
|
+
self._notification_id = notification_id
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
def receiver_id(self):
|
|
90
|
+
"""Gets the receiver_id of this WebsocketResponseNotification. # noqa: E501
|
|
91
|
+
|
|
92
|
+
A users unique ID, usually in the form 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
|
|
93
|
+
|
|
94
|
+
:return: The receiver_id of this WebsocketResponseNotification. # noqa: E501
|
|
95
|
+
:rtype: str
|
|
96
|
+
"""
|
|
97
|
+
return self._receiver_id
|
|
98
|
+
|
|
99
|
+
@receiver_id.setter
|
|
100
|
+
def receiver_id(self, receiver_id):
|
|
101
|
+
"""Sets the receiver_id of this WebsocketResponseNotification.
|
|
102
|
+
|
|
103
|
+
A users unique ID, usually in the form 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
|
|
104
|
+
|
|
105
|
+
:param receiver_id: The receiver_id of this WebsocketResponseNotification. # noqa: E501
|
|
106
|
+
:type receiver_id: str
|
|
107
|
+
"""
|
|
108
|
+
if self.local_vars_configuration.client_side_validation and receiver_id is None: # noqa: E501
|
|
109
|
+
raise ValueError("Invalid value for `receiver_id`, must not be `None`") # noqa: E501
|
|
110
|
+
|
|
111
|
+
self._receiver_id = receiver_id
|
|
112
|
+
|
|
113
|
+
@property
|
|
114
|
+
def response_id(self):
|
|
115
|
+
"""Gets the response_id of this WebsocketResponseNotification. # noqa: E501
|
|
116
|
+
|
|
117
|
+
A users unique ID, usually in the form 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
|
|
118
|
+
|
|
119
|
+
:return: The response_id of this WebsocketResponseNotification. # noqa: E501
|
|
120
|
+
:rtype: str
|
|
121
|
+
"""
|
|
122
|
+
return self._response_id
|
|
123
|
+
|
|
124
|
+
@response_id.setter
|
|
125
|
+
def response_id(self, response_id):
|
|
126
|
+
"""Sets the response_id of this WebsocketResponseNotification.
|
|
127
|
+
|
|
128
|
+
A users unique ID, usually in the form 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
|
|
129
|
+
|
|
130
|
+
:param response_id: The response_id of this WebsocketResponseNotification. # noqa: E501
|
|
131
|
+
:type response_id: str
|
|
132
|
+
"""
|
|
133
|
+
if self.local_vars_configuration.client_side_validation and response_id is None: # noqa: E501
|
|
134
|
+
raise ValueError("Invalid value for `response_id`, must not be `None`") # noqa: E501
|
|
135
|
+
|
|
136
|
+
self._response_id = response_id
|
|
137
|
+
|
|
138
|
+
def to_dict(self, serialize=False):
|
|
139
|
+
"""Returns the model properties as a dict"""
|
|
140
|
+
result = {}
|
|
141
|
+
|
|
142
|
+
def convert(x):
|
|
143
|
+
if hasattr(x, "to_dict"):
|
|
144
|
+
args = getfullargspec(x.to_dict).args
|
|
145
|
+
if len(args) == 1:
|
|
146
|
+
return x.to_dict()
|
|
147
|
+
else:
|
|
148
|
+
return x.to_dict(serialize)
|
|
149
|
+
else:
|
|
150
|
+
return x
|
|
151
|
+
|
|
152
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
153
|
+
value = getattr(self, attr)
|
|
154
|
+
attr = self.attribute_map.get(attr, attr) if serialize else attr
|
|
155
|
+
if isinstance(value, list):
|
|
156
|
+
result[attr] = list(map(
|
|
157
|
+
lambda x: convert(x),
|
|
158
|
+
value
|
|
159
|
+
))
|
|
160
|
+
elif isinstance(value, dict):
|
|
161
|
+
result[attr] = dict(map(
|
|
162
|
+
lambda item: (item[0], convert(item[1])),
|
|
163
|
+
value.items()
|
|
164
|
+
))
|
|
165
|
+
else:
|
|
166
|
+
result[attr] = convert(value)
|
|
167
|
+
|
|
168
|
+
return result
|
|
169
|
+
|
|
170
|
+
def to_str(self):
|
|
171
|
+
"""Returns the string representation of the model"""
|
|
172
|
+
return pprint.pformat(self.to_dict())
|
|
173
|
+
|
|
174
|
+
def __repr__(self):
|
|
175
|
+
"""For `print` and `pprint`"""
|
|
176
|
+
return self.to_str()
|
|
177
|
+
|
|
178
|
+
def __eq__(self, other):
|
|
179
|
+
"""Returns true if both objects are equal"""
|
|
180
|
+
if not isinstance(other, WebsocketResponseNotification):
|
|
181
|
+
return False
|
|
182
|
+
|
|
183
|
+
return self.to_dict() == other.to_dict()
|
|
184
|
+
|
|
185
|
+
def __ne__(self, other):
|
|
186
|
+
"""Returns true if both objects are not equal"""
|
|
187
|
+
if not isinstance(other, WebsocketResponseNotification):
|
|
188
|
+
return True
|
|
189
|
+
|
|
190
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,165 @@
|
|
|
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 WebsocketResponseNotificationEncoded(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': 'str',
|
|
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
|
+
"""WebsocketResponseNotificationEncoded - 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 WebsocketResponseNotificationEncoded. # noqa: E501
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
:return: The content of this WebsocketResponseNotificationEncoded. # noqa: E501
|
|
67
|
+
:rtype: str
|
|
68
|
+
"""
|
|
69
|
+
return self._content
|
|
70
|
+
|
|
71
|
+
@content.setter
|
|
72
|
+
def content(self, content):
|
|
73
|
+
"""Sets the content of this WebsocketResponseNotificationEncoded.
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
:param content: The content of this WebsocketResponseNotificationEncoded. # noqa: E501
|
|
77
|
+
:type content: str
|
|
78
|
+
"""
|
|
79
|
+
if self.local_vars_configuration.client_side_validation and content is None: # noqa: E501
|
|
80
|
+
raise ValueError("Invalid value for `content`, must not be `None`") # noqa: E501
|
|
81
|
+
|
|
82
|
+
self._content = content
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def type(self):
|
|
86
|
+
"""Gets the type of this WebsocketResponseNotificationEncoded. # noqa: E501
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
:return: The type of this WebsocketResponseNotificationEncoded. # noqa: E501
|
|
90
|
+
:rtype: str
|
|
91
|
+
"""
|
|
92
|
+
return self._type
|
|
93
|
+
|
|
94
|
+
@type.setter
|
|
95
|
+
def type(self, type):
|
|
96
|
+
"""Sets the type of this WebsocketResponseNotificationEncoded.
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
:param type: The type of this WebsocketResponseNotificationEncoded. # noqa: E501
|
|
100
|
+
:type type: str
|
|
101
|
+
"""
|
|
102
|
+
if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501
|
|
103
|
+
raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501
|
|
104
|
+
allowed_values = ["response-notification"] # noqa: E501
|
|
105
|
+
if self.local_vars_configuration.client_side_validation and type not in allowed_values: # noqa: E501
|
|
106
|
+
raise ValueError(
|
|
107
|
+
"Invalid value for `type` ({0}), must be one of {1}" # noqa: E501
|
|
108
|
+
.format(type, allowed_values)
|
|
109
|
+
)
|
|
110
|
+
|
|
111
|
+
self._type = type
|
|
112
|
+
|
|
113
|
+
def to_dict(self, serialize=False):
|
|
114
|
+
"""Returns the model properties as a dict"""
|
|
115
|
+
result = {}
|
|
116
|
+
|
|
117
|
+
def convert(x):
|
|
118
|
+
if hasattr(x, "to_dict"):
|
|
119
|
+
args = getfullargspec(x.to_dict).args
|
|
120
|
+
if len(args) == 1:
|
|
121
|
+
return x.to_dict()
|
|
122
|
+
else:
|
|
123
|
+
return x.to_dict(serialize)
|
|
124
|
+
else:
|
|
125
|
+
return x
|
|
126
|
+
|
|
127
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
128
|
+
value = getattr(self, attr)
|
|
129
|
+
attr = self.attribute_map.get(attr, attr) if serialize else attr
|
|
130
|
+
if isinstance(value, list):
|
|
131
|
+
result[attr] = list(map(
|
|
132
|
+
lambda x: convert(x),
|
|
133
|
+
value
|
|
134
|
+
))
|
|
135
|
+
elif isinstance(value, dict):
|
|
136
|
+
result[attr] = dict(map(
|
|
137
|
+
lambda item: (item[0], convert(item[1])),
|
|
138
|
+
value.items()
|
|
139
|
+
))
|
|
140
|
+
else:
|
|
141
|
+
result[attr] = convert(value)
|
|
142
|
+
|
|
143
|
+
return result
|
|
144
|
+
|
|
145
|
+
def to_str(self):
|
|
146
|
+
"""Returns the string representation of the model"""
|
|
147
|
+
return pprint.pformat(self.to_dict())
|
|
148
|
+
|
|
149
|
+
def __repr__(self):
|
|
150
|
+
"""For `print` and `pprint`"""
|
|
151
|
+
return self.to_str()
|
|
152
|
+
|
|
153
|
+
def __eq__(self, other):
|
|
154
|
+
"""Returns true if both objects are equal"""
|
|
155
|
+
if not isinstance(other, WebsocketResponseNotificationEncoded):
|
|
156
|
+
return False
|
|
157
|
+
|
|
158
|
+
return self.to_dict() == other.to_dict()
|
|
159
|
+
|
|
160
|
+
def __ne__(self, other):
|
|
161
|
+
"""Returns true if both objects are not equal"""
|
|
162
|
+
if not isinstance(other, WebsocketResponseNotificationEncoded):
|
|
163
|
+
return True
|
|
164
|
+
|
|
165
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,165 @@
|
|
|
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 WebsocketSeeNotification(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': 'str',
|
|
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
|
+
"""WebsocketSeeNotification - 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 WebsocketSeeNotification. # noqa: E501
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
:return: The content of this WebsocketSeeNotification. # noqa: E501
|
|
67
|
+
:rtype: str
|
|
68
|
+
"""
|
|
69
|
+
return self._content
|
|
70
|
+
|
|
71
|
+
@content.setter
|
|
72
|
+
def content(self, content):
|
|
73
|
+
"""Sets the content of this WebsocketSeeNotification.
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
:param content: The content of this WebsocketSeeNotification. # noqa: E501
|
|
77
|
+
:type content: str
|
|
78
|
+
"""
|
|
79
|
+
if self.local_vars_configuration.client_side_validation and content is None: # noqa: E501
|
|
80
|
+
raise ValueError("Invalid value for `content`, must not be `None`") # noqa: E501
|
|
81
|
+
|
|
82
|
+
self._content = content
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def type(self):
|
|
86
|
+
"""Gets the type of this WebsocketSeeNotification. # noqa: E501
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
:return: The type of this WebsocketSeeNotification. # noqa: E501
|
|
90
|
+
:rtype: str
|
|
91
|
+
"""
|
|
92
|
+
return self._type
|
|
93
|
+
|
|
94
|
+
@type.setter
|
|
95
|
+
def type(self, type):
|
|
96
|
+
"""Sets the type of this WebsocketSeeNotification.
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
:param type: The type of this WebsocketSeeNotification. # noqa: E501
|
|
100
|
+
:type type: str
|
|
101
|
+
"""
|
|
102
|
+
if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501
|
|
103
|
+
raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501
|
|
104
|
+
allowed_values = ["see-notification"] # noqa: E501
|
|
105
|
+
if self.local_vars_configuration.client_side_validation and type not in allowed_values: # noqa: E501
|
|
106
|
+
raise ValueError(
|
|
107
|
+
"Invalid value for `type` ({0}), must be one of {1}" # noqa: E501
|
|
108
|
+
.format(type, allowed_values)
|
|
109
|
+
)
|
|
110
|
+
|
|
111
|
+
self._type = type
|
|
112
|
+
|
|
113
|
+
def to_dict(self, serialize=False):
|
|
114
|
+
"""Returns the model properties as a dict"""
|
|
115
|
+
result = {}
|
|
116
|
+
|
|
117
|
+
def convert(x):
|
|
118
|
+
if hasattr(x, "to_dict"):
|
|
119
|
+
args = getfullargspec(x.to_dict).args
|
|
120
|
+
if len(args) == 1:
|
|
121
|
+
return x.to_dict()
|
|
122
|
+
else:
|
|
123
|
+
return x.to_dict(serialize)
|
|
124
|
+
else:
|
|
125
|
+
return x
|
|
126
|
+
|
|
127
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
128
|
+
value = getattr(self, attr)
|
|
129
|
+
attr = self.attribute_map.get(attr, attr) if serialize else attr
|
|
130
|
+
if isinstance(value, list):
|
|
131
|
+
result[attr] = list(map(
|
|
132
|
+
lambda x: convert(x),
|
|
133
|
+
value
|
|
134
|
+
))
|
|
135
|
+
elif isinstance(value, dict):
|
|
136
|
+
result[attr] = dict(map(
|
|
137
|
+
lambda item: (item[0], convert(item[1])),
|
|
138
|
+
value.items()
|
|
139
|
+
))
|
|
140
|
+
else:
|
|
141
|
+
result[attr] = convert(value)
|
|
142
|
+
|
|
143
|
+
return result
|
|
144
|
+
|
|
145
|
+
def to_str(self):
|
|
146
|
+
"""Returns the string representation of the model"""
|
|
147
|
+
return pprint.pformat(self.to_dict())
|
|
148
|
+
|
|
149
|
+
def __repr__(self):
|
|
150
|
+
"""For `print` and `pprint`"""
|
|
151
|
+
return self.to_str()
|
|
152
|
+
|
|
153
|
+
def __eq__(self, other):
|
|
154
|
+
"""Returns true if both objects are equal"""
|
|
155
|
+
if not isinstance(other, WebsocketSeeNotification):
|
|
156
|
+
return False
|
|
157
|
+
|
|
158
|
+
return self.to_dict() == other.to_dict()
|
|
159
|
+
|
|
160
|
+
def __ne__(self, other):
|
|
161
|
+
"""Returns true if both objects are not equal"""
|
|
162
|
+
if not isinstance(other, WebsocketSeeNotification):
|
|
163
|
+
return True
|
|
164
|
+
|
|
165
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,132 @@
|
|
|
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 WebsocketUserBadgeAssigned(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
|
+
'badge': 'Badge'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'badge': 'badge'
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
def __init__(self, badge=None, local_vars_configuration=None): # noqa: E501
|
|
47
|
+
"""WebsocketUserBadgeAssigned - a model defined in OpenAPI""" # noqa: E501
|
|
48
|
+
if local_vars_configuration is None:
|
|
49
|
+
local_vars_configuration = Configuration.get_default_copy()
|
|
50
|
+
self.local_vars_configuration = local_vars_configuration
|
|
51
|
+
|
|
52
|
+
self._badge = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
self.badge = badge
|
|
56
|
+
|
|
57
|
+
@property
|
|
58
|
+
def badge(self):
|
|
59
|
+
"""Gets the badge of this WebsocketUserBadgeAssigned. # noqa: E501
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
:return: The badge of this WebsocketUserBadgeAssigned. # noqa: E501
|
|
63
|
+
:rtype: Badge
|
|
64
|
+
"""
|
|
65
|
+
return self._badge
|
|
66
|
+
|
|
67
|
+
@badge.setter
|
|
68
|
+
def badge(self, badge):
|
|
69
|
+
"""Sets the badge of this WebsocketUserBadgeAssigned.
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
:param badge: The badge of this WebsocketUserBadgeAssigned. # noqa: E501
|
|
73
|
+
:type badge: Badge
|
|
74
|
+
"""
|
|
75
|
+
if self.local_vars_configuration.client_side_validation and badge is None: # noqa: E501
|
|
76
|
+
raise ValueError("Invalid value for `badge`, must not be `None`") # noqa: E501
|
|
77
|
+
|
|
78
|
+
self._badge = badge
|
|
79
|
+
|
|
80
|
+
def to_dict(self, serialize=False):
|
|
81
|
+
"""Returns the model properties as a dict"""
|
|
82
|
+
result = {}
|
|
83
|
+
|
|
84
|
+
def convert(x):
|
|
85
|
+
if hasattr(x, "to_dict"):
|
|
86
|
+
args = getfullargspec(x.to_dict).args
|
|
87
|
+
if len(args) == 1:
|
|
88
|
+
return x.to_dict()
|
|
89
|
+
else:
|
|
90
|
+
return x.to_dict(serialize)
|
|
91
|
+
else:
|
|
92
|
+
return x
|
|
93
|
+
|
|
94
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
95
|
+
value = getattr(self, attr)
|
|
96
|
+
attr = self.attribute_map.get(attr, attr) if serialize else attr
|
|
97
|
+
if isinstance(value, list):
|
|
98
|
+
result[attr] = list(map(
|
|
99
|
+
lambda x: convert(x),
|
|
100
|
+
value
|
|
101
|
+
))
|
|
102
|
+
elif isinstance(value, dict):
|
|
103
|
+
result[attr] = dict(map(
|
|
104
|
+
lambda item: (item[0], convert(item[1])),
|
|
105
|
+
value.items()
|
|
106
|
+
))
|
|
107
|
+
else:
|
|
108
|
+
result[attr] = convert(value)
|
|
109
|
+
|
|
110
|
+
return result
|
|
111
|
+
|
|
112
|
+
def to_str(self):
|
|
113
|
+
"""Returns the string representation of the model"""
|
|
114
|
+
return pprint.pformat(self.to_dict())
|
|
115
|
+
|
|
116
|
+
def __repr__(self):
|
|
117
|
+
"""For `print` and `pprint`"""
|
|
118
|
+
return self.to_str()
|
|
119
|
+
|
|
120
|
+
def __eq__(self, other):
|
|
121
|
+
"""Returns true if both objects are equal"""
|
|
122
|
+
if not isinstance(other, WebsocketUserBadgeAssigned):
|
|
123
|
+
return False
|
|
124
|
+
|
|
125
|
+
return self.to_dict() == other.to_dict()
|
|
126
|
+
|
|
127
|
+
def __ne__(self, other):
|
|
128
|
+
"""Returns true if both objects are not equal"""
|
|
129
|
+
if not isinstance(other, WebsocketUserBadgeAssigned):
|
|
130
|
+
return True
|
|
131
|
+
|
|
132
|
+
return self.to_dict() != other.to_dict()
|