slack-api-sdk-apimatic 1.1.1__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.
- slack_api_sdk_apimatic-1.1.1.dist-info/METADATA +206 -0
- slack_api_sdk_apimatic-1.1.1.dist-info/RECORD +433 -0
- slack_api_sdk_apimatic-1.1.1.dist-info/WHEEL +5 -0
- slack_api_sdk_apimatic-1.1.1.dist-info/licenses/LICENSE +28 -0
- slack_api_sdk_apimatic-1.1.1.dist-info/top_level.txt +1 -0
- slackwebapi/__init__.py +13 -0
- slackwebapi/api_helper.py +19 -0
- slackwebapi/configuration.py +252 -0
- slackwebapi/controllers/__init__.py +61 -0
- slackwebapi/controllers/admin_apps_approved_controller.py +101 -0
- slackwebapi/controllers/admin_apps_controller.py +153 -0
- slackwebapi/controllers/admin_apps_requests_controller.py +96 -0
- slackwebapi/controllers/admin_apps_restricted_controller.py +101 -0
- slackwebapi/controllers/admin_conversations_controller.py +895 -0
- slackwebapi/controllers/admin_conversations_ekm_controller.py +107 -0
- slackwebapi/controllers/admin_conversations_restrict_access_controller.py +231 -0
- slackwebapi/controllers/admin_emoji_controller.py +314 -0
- slackwebapi/controllers/admin_invite_requests_approved_controller.py +97 -0
- slackwebapi/controllers/admin_invite_requests_controller.py +209 -0
- slackwebapi/controllers/admin_invite_requests_denied_controller.py +97 -0
- slackwebapi/controllers/admin_teams_admins_controller.py +96 -0
- slackwebapi/controllers/admin_teams_controller.py +158 -0
- slackwebapi/controllers/admin_teams_owners_controller.py +97 -0
- slackwebapi/controllers/admin_teams_settings_controller.py +367 -0
- slackwebapi/controllers/admin_usergroups_controller.py +282 -0
- slackwebapi/controllers/admin_users_controller.py +555 -0
- slackwebapi/controllers/admin_users_session_controller.py +151 -0
- slackwebapi/controllers/api_controller.py +84 -0
- slackwebapi/controllers/apps_controller.py +88 -0
- slackwebapi/controllers/apps_event_authorizations_controller.py +96 -0
- slackwebapi/controllers/apps_permissions_controller.py +142 -0
- slackwebapi/controllers/apps_permissions_resources_controller.py +94 -0
- slackwebapi/controllers/apps_permissions_scopes_controller.py +80 -0
- slackwebapi/controllers/apps_permissions_users_controller.py +158 -0
- slackwebapi/controllers/auth_controller.py +136 -0
- slackwebapi/controllers/base_controller.py +72 -0
- slackwebapi/controllers/bots_controller.py +85 -0
- slackwebapi/controllers/calls_controller.py +304 -0
- slackwebapi/controllers/calls_participants_controller.py +149 -0
- slackwebapi/controllers/chat_controller.py +896 -0
- slackwebapi/controllers/chat_scheduled_messages_controller.py +107 -0
- slackwebapi/controllers/conversations_controller.py +1217 -0
- slackwebapi/controllers/dialog_controller.py +93 -0
- slackwebapi/controllers/dnd_controller.py +294 -0
- slackwebapi/controllers/emoji_controller.py +79 -0
- slackwebapi/controllers/files_comments_controller.py +90 -0
- slackwebapi/controllers/files_controller.py +470 -0
- slackwebapi/controllers/files_remote_controller.py +440 -0
- slackwebapi/controllers/migration_controller.py +98 -0
- slackwebapi/controllers/oauth_authorization_controller.py +159 -0
- slackwebapi/controllers/oauth_controller.py +168 -0
- slackwebapi/controllers/oauth_v_2_controller.py +96 -0
- slackwebapi/controllers/pins_controller.py +203 -0
- slackwebapi/controllers/reactions_controller.py +334 -0
- slackwebapi/controllers/reminders_controller.py +315 -0
- slackwebapi/controllers/rtm_controller.py +93 -0
- slackwebapi/controllers/search_controller.py +114 -0
- slackwebapi/controllers/stars_controller.py +246 -0
- slackwebapi/controllers/team_controller.py +294 -0
- slackwebapi/controllers/team_profile_controller.py +84 -0
- slackwebapi/controllers/usergroups_controller.py +384 -0
- slackwebapi/controllers/usergroups_users_controller.py +161 -0
- slackwebapi/controllers/users_controller.py +639 -0
- slackwebapi/controllers/users_profile_controller.py +165 -0
- slackwebapi/controllers/views_controller.py +287 -0
- slackwebapi/controllers/workflows_controller.py +237 -0
- slackwebapi/exceptions/__init__.py +108 -0
- slackwebapi/exceptions/admin_conversations_archive_error_schema_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_convert_to_private_error_schema_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_create_error_schema_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_delete_error_schema_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_disconnect_shared_error_schema_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_get_teams_error_schema_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_invite_error_schema_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_search_error_schema_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_set_conversation_prefs_error_schema_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_unarchive_error_schema_2_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_unarchive_error_schema_3_exception.py +56 -0
- slackwebapi/exceptions/admin_conversations_unarchive_error_schema_exception.py +56 -0
- slackwebapi/exceptions/api_exception.py +36 -0
- slackwebapi/exceptions/api_test_error_schema_exception.py +55 -0
- slackwebapi/exceptions/apps_permissions_info_error_schema_exception.py +65 -0
- slackwebapi/exceptions/apps_permissions_request_error_schema_exception.py +66 -0
- slackwebapi/exceptions/apps_permissions_resources_list_error_schema_exception.py +66 -0
- slackwebapi/exceptions/apps_permissions_scopes_list_error_schema_exception.py +66 -0
- slackwebapi/exceptions/apps_uninstall_error_schema_exception.py +65 -0
- slackwebapi/exceptions/auth_revoke_error_schema_exception.py +65 -0
- slackwebapi/exceptions/auth_test_error_schema_exception.py +65 -0
- slackwebapi/exceptions/bots_info_error_schema_exception.py +65 -0
- slackwebapi/exceptions/chat_delete_error_schema_exception.py +65 -0
- slackwebapi/exceptions/chat_delete_scheduled_message_error_schema_exception.py +66 -0
- slackwebapi/exceptions/chat_get_permalink_error_schema_exception.py +65 -0
- slackwebapi/exceptions/chat_me_message_error_schema_exception.py +65 -0
- slackwebapi/exceptions/chat_post_ephemeral_error_schema_exception.py +65 -0
- slackwebapi/exceptions/chat_post_message_error_schema_exception.py +65 -0
- slackwebapi/exceptions/chat_schedule_message_error_schema_exception.py +65 -0
- slackwebapi/exceptions/chat_scheduled_messages_list_error_schema_exception.py +66 -0
- slackwebapi/exceptions/chat_unfurl_error_schema_exception.py +65 -0
- slackwebapi/exceptions/chat_update_error_schema_exception.py +65 -0
- slackwebapi/exceptions/conversations_archive_error_schema_exception.py +86 -0
- slackwebapi/exceptions/conversations_close_error_schema_exception.py +85 -0
- slackwebapi/exceptions/conversations_create_error_schema_exception.py +95 -0
- slackwebapi/exceptions/conversations_history_error_schema_exception.py +86 -0
- slackwebapi/exceptions/conversations_info_error_schema_exception.py +85 -0
- slackwebapi/exceptions/conversations_invite_error_schema_1_exception.py +107 -0
- slackwebapi/exceptions/conversations_join_error_schema_exception.py +85 -0
- slackwebapi/exceptions/conversations_kick_error_schema_exception.py +85 -0
- slackwebapi/exceptions/conversations_leave_error_schema_exception.py +85 -0
- slackwebapi/exceptions/conversations_list_error_schema_exception.py +85 -0
- slackwebapi/exceptions/conversations_mark_error_schema_exception.py +85 -0
- slackwebapi/exceptions/conversations_members_error_schema_exception.py +66 -0
- slackwebapi/exceptions/conversations_open_error_schema_exception.py +65 -0
- slackwebapi/exceptions/conversations_rename_error_schema_exception.py +85 -0
- slackwebapi/exceptions/conversations_replies_error_schema_exception.py +86 -0
- slackwebapi/exceptions/conversations_set_purpose_error_schema_exception.py +86 -0
- slackwebapi/exceptions/conversations_set_topic_error_schema_exception.py +86 -0
- slackwebapi/exceptions/conversations_unarchive_error_schema_exception.py +86 -0
- slackwebapi/exceptions/default_error_template_exception.py +49 -0
- slackwebapi/exceptions/dialog_open_error_schema_exception.py +65 -0
- slackwebapi/exceptions/dnd_end_dnd_error_schema_exception.py +65 -0
- slackwebapi/exceptions/dnd_end_snooze_error_schema_exception.py +65 -0
- slackwebapi/exceptions/dnd_info_error_schema_exception.py +65 -0
- slackwebapi/exceptions/dnd_set_snooze_error_schema_exception.py +65 -0
- slackwebapi/exceptions/files_comments_delete_error_schema_exception.py +65 -0
- slackwebapi/exceptions/files_delete_error_schema_exception.py +65 -0
- slackwebapi/exceptions/files_info_error_schema_exception.py +65 -0
- slackwebapi/exceptions/files_list_error_schema_exception.py +65 -0
- slackwebapi/exceptions/files_revoke_public_url_error_schema_exception.py +66 -0
- slackwebapi/exceptions/files_shared_public_url_error_schema_exception.py +66 -0
- slackwebapi/exceptions/files_upload_error_schema_exception.py +65 -0
- slackwebapi/exceptions/migration_exchange_error_schema_exception.py +65 -0
- slackwebapi/exceptions/oauth_provider_exception.py +73 -0
- slackwebapi/exceptions/pins_add_error_schema_exception.py +65 -0
- slackwebapi/exceptions/pins_list_error_schema_exception.py +65 -0
- slackwebapi/exceptions/pins_remove_error_schema_exception.py +65 -0
- slackwebapi/exceptions/reactions_add_error_schema_exception.py +65 -0
- slackwebapi/exceptions/reactions_get_error_schema_exception.py +65 -0
- slackwebapi/exceptions/reactions_list_error_schema_exception.py +65 -0
- slackwebapi/exceptions/reactions_remove_error_schema_exception.py +65 -0
- slackwebapi/exceptions/reminders_add_error_schema_exception.py +65 -0
- slackwebapi/exceptions/reminders_complete_error_schema_exception.py +65 -0
- slackwebapi/exceptions/reminders_delete_error_schema_exception.py +65 -0
- slackwebapi/exceptions/reminders_info_error_schema_exception.py +65 -0
- slackwebapi/exceptions/reminders_list_error_schema_exception.py +65 -0
- slackwebapi/exceptions/rtm_connect_error_schema_exception.py +65 -0
- slackwebapi/exceptions/stars_add_error_schema_exception.py +65 -0
- slackwebapi/exceptions/stars_list_error_schema_exception.py +65 -0
- slackwebapi/exceptions/stars_remove_error_schema_exception.py +65 -0
- slackwebapi/exceptions/team_access_logs_error_schema_exception.py +65 -0
- slackwebapi/exceptions/team_info_error_schema_exception.py +65 -0
- slackwebapi/exceptions/team_integration_logs_error_schema_exception.py +65 -0
- slackwebapi/exceptions/team_profile_get_error_schema_exception.py +65 -0
- slackwebapi/exceptions/usergroups_create_error_schema_exception.py +65 -0
- slackwebapi/exceptions/usergroups_disable_error_schema_exception.py +65 -0
- slackwebapi/exceptions/usergroups_enable_error_schema_exception.py +65 -0
- slackwebapi/exceptions/usergroups_list_error_schema_exception.py +65 -0
- slackwebapi/exceptions/usergroups_update_error_schema_exception.py +65 -0
- slackwebapi/exceptions/usergroups_users_list_error_schema_exception.py +65 -0
- slackwebapi/exceptions/usergroups_users_update_error_schema_exception.py +66 -0
- slackwebapi/exceptions/users_conversations_error_schema_exception.py +65 -0
- slackwebapi/exceptions/users_counts_error_schema_exception.py +55 -0
- slackwebapi/exceptions/users_delete_photo_error_schema_exception.py +65 -0
- slackwebapi/exceptions/users_identity_error_schema_exception.py +65 -0
- slackwebapi/exceptions/users_info_error_schema_exception.py +65 -0
- slackwebapi/exceptions/users_list_error_schema_exception.py +65 -0
- slackwebapi/exceptions/users_lookup_by_email_error_schema_exception.py +65 -0
- slackwebapi/exceptions/users_profile_get_error_schema_exception.py +65 -0
- slackwebapi/exceptions/users_profile_set_error_schema_exception.py +65 -0
- slackwebapi/exceptions/users_set_active_error_schema_exception.py +65 -0
- slackwebapi/exceptions/users_set_photo_error_schema_exception.py +95 -0
- slackwebapi/exceptions/users_set_presence_error_schema_exception.py +65 -0
- slackwebapi/http/__init__.py +11 -0
- slackwebapi/http/api_response.py +67 -0
- slackwebapi/http/auth/__init__.py +5 -0
- slackwebapi/http/auth/oauth_2.py +333 -0
- slackwebapi/http/http_call_back.py +20 -0
- slackwebapi/http/http_client_provider.py +23 -0
- slackwebapi/http/http_method_enum.py +25 -0
- slackwebapi/http/http_request.py +55 -0
- slackwebapi/http/http_response.py +45 -0
- slackwebapi/http/proxy_settings.py +50 -0
- slackwebapi/logging/__init__.py +6 -0
- slackwebapi/logging/configuration/__init__.py +5 -0
- slackwebapi/logging/configuration/api_logging_configuration.py +398 -0
- slackwebapi/logging/sdk_logger.py +28 -0
- slackwebapi/models/__init__.py +248 -0
- slackwebapi/models/admin_conversations_archive_schema.py +86 -0
- slackwebapi/models/admin_conversations_convert_to_private_schema.py +86 -0
- slackwebapi/models/admin_conversations_create_schema.py +112 -0
- slackwebapi/models/admin_conversations_delete_schema.py +86 -0
- slackwebapi/models/admin_conversations_get_conversation_prefs_schema.py +114 -0
- slackwebapi/models/admin_conversations_get_teams_schema.py +130 -0
- slackwebapi/models/admin_conversations_invite_schema.py +86 -0
- slackwebapi/models/admin_conversations_rename_schema.py +86 -0
- slackwebapi/models/admin_conversations_rename_schema_1.py +86 -0
- slackwebapi/models/admin_conversations_search_schema.py +111 -0
- slackwebapi/models/admin_conversations_set_conversation_prefs_schema.py +86 -0
- slackwebapi/models/admin_conversations_unarchive_schema.py +86 -0
- slackwebapi/models/api_method_users_get_presence.py +218 -0
- slackwebapi/models/api_permissions_scopes_list_success_schema.py +100 -0
- slackwebapi/models/api_test_success_schema.py +86 -0
- slackwebapi/models/app_home.py +131 -0
- slackwebapi/models/apps_permissions_info_schema.py +100 -0
- slackwebapi/models/apps_permissions_request_schema.py +86 -0
- slackwebapi/models/apps_permissions_resources_list_success_schema.py +133 -0
- slackwebapi/models/apps_uninstall_schema.py +86 -0
- slackwebapi/models/attachment.py +208 -0
- slackwebapi/models/auth_revoke_schema.py +99 -0
- slackwebapi/models/auth_test_success_schema.py +200 -0
- slackwebapi/models/block_kit_block.py +90 -0
- slackwebapi/models/bot.py +182 -0
- slackwebapi/models/bot_profile_object.py +169 -0
- slackwebapi/models/bots_info_schema.py +100 -0
- slackwebapi/models/can_thread.py +126 -0
- slackwebapi/models/channel.py +131 -0
- slackwebapi/models/channel_object.py +688 -0
- slackwebapi/models/chat_delete_scheduled_message_schema.py +86 -0
- slackwebapi/models/chat_delete_success_schema.py +112 -0
- slackwebapi/models/chat_get_permalink_success_schema.py +112 -0
- slackwebapi/models/chat_me_message_schema.py +135 -0
- slackwebapi/models/chat_post_ephemeral_success_schema.py +99 -0
- slackwebapi/models/chat_post_message_success_schema.py +128 -0
- slackwebapi/models/chat_schedule_message_success_schema.py +139 -0
- slackwebapi/models/chat_scheduled_messages_list_schema.py +122 -0
- slackwebapi/models/chat_unfurl_success_schema.py +86 -0
- slackwebapi/models/chat_update_success_schema.py +141 -0
- slackwebapi/models/conversations_archive_success_schema.py +86 -0
- slackwebapi/models/conversations_close_success_schema.py +135 -0
- slackwebapi/models/conversations_create_success_schema.py +99 -0
- slackwebapi/models/conversations_history_success_schema.py +157 -0
- slackwebapi/models/conversations_info_success_schema.py +99 -0
- slackwebapi/models/conversations_invite_error_schema.py +99 -0
- slackwebapi/models/conversations_join_success_schema.py +153 -0
- slackwebapi/models/conversations_kick_success_schema.py +86 -0
- slackwebapi/models/conversations_leave_success_schema.py +112 -0
- slackwebapi/models/conversations_list_success_schema.py +130 -0
- slackwebapi/models/conversations_mark_success_schema.py +86 -0
- slackwebapi/models/conversations_members_success_schema.py +116 -0
- slackwebapi/models/conversations_open_success_schema.py +149 -0
- slackwebapi/models/conversations_rename_success_schema.py +99 -0
- slackwebapi/models/conversations_replies_success_schema.py +125 -0
- slackwebapi/models/conversations_set_purpose_success_schema.py +99 -0
- slackwebapi/models/conversations_set_topic_success_schema.py +99 -0
- slackwebapi/models/conversations_unarchive_success_schema.py +86 -0
- slackwebapi/models/current.py +103 -0
- slackwebapi/models/default_success_template.py +87 -0
- slackwebapi/models/dialog_open_schema.py +86 -0
- slackwebapi/models/dnd_end_dnd_schema.py +86 -0
- slackwebapi/models/dnd_end_snooze_schema.py +138 -0
- slackwebapi/models/dnd_info_schema.py +197 -0
- slackwebapi/models/dnd_set_snooze_schema.py +125 -0
- slackwebapi/models/error.py +61 -0
- slackwebapi/models/error_1.py +64 -0
- slackwebapi/models/error_10.py +61 -0
- slackwebapi/models/error_11.py +61 -0
- slackwebapi/models/error_12.py +94 -0
- slackwebapi/models/error_13.py +106 -0
- slackwebapi/models/error_14.py +97 -0
- slackwebapi/models/error_16.py +103 -0
- slackwebapi/models/error_17.py +91 -0
- slackwebapi/models/error_18.py +79 -0
- slackwebapi/models/error_19.py +94 -0
- slackwebapi/models/error_2.py +61 -0
- slackwebapi/models/error_20.py +100 -0
- slackwebapi/models/error_21.py +106 -0
- slackwebapi/models/error_22.py +97 -0
- slackwebapi/models/error_23.py +109 -0
- slackwebapi/models/error_24.py +112 -0
- slackwebapi/models/error_25.py +85 -0
- slackwebapi/models/error_26.py +139 -0
- slackwebapi/models/error_27.py +100 -0
- slackwebapi/models/error_28.py +106 -0
- slackwebapi/models/error_29.py +112 -0
- slackwebapi/models/error_3.py +61 -0
- slackwebapi/models/error_30.py +115 -0
- slackwebapi/models/error_31.py +91 -0
- slackwebapi/models/error_32.py +115 -0
- slackwebapi/models/error_33.py +88 -0
- slackwebapi/models/error_34.py +85 -0
- slackwebapi/models/error_35.py +130 -0
- slackwebapi/models/error_37.py +106 -0
- slackwebapi/models/error_38.py +106 -0
- slackwebapi/models/error_39.py +112 -0
- slackwebapi/models/error_4.py +76 -0
- slackwebapi/models/error_40.py +79 -0
- slackwebapi/models/error_41.py +94 -0
- slackwebapi/models/error_42.py +91 -0
- slackwebapi/models/error_43.py +106 -0
- slackwebapi/models/error_44.py +112 -0
- slackwebapi/models/error_45.py +88 -0
- slackwebapi/models/error_46.py +100 -0
- slackwebapi/models/error_48.py +106 -0
- slackwebapi/models/error_49.py +118 -0
- slackwebapi/models/error_5.py +61 -0
- slackwebapi/models/error_50.py +97 -0
- slackwebapi/models/error_51.py +100 -0
- slackwebapi/models/error_52.py +94 -0
- slackwebapi/models/error_53.py +103 -0
- slackwebapi/models/error_54.py +85 -0
- slackwebapi/models/error_55.py +91 -0
- slackwebapi/models/error_56.py +91 -0
- slackwebapi/models/error_57.py +91 -0
- slackwebapi/models/error_58.py +100 -0
- slackwebapi/models/error_59.py +103 -0
- slackwebapi/models/error_6.py +61 -0
- slackwebapi/models/error_60.py +97 -0
- slackwebapi/models/error_61.py +97 -0
- slackwebapi/models/error_62.py +106 -0
- slackwebapi/models/error_63.py +85 -0
- slackwebapi/models/error_64.py +103 -0
- slackwebapi/models/error_65.py +103 -0
- slackwebapi/models/error_66.py +94 -0
- slackwebapi/models/error_67.py +88 -0
- slackwebapi/models/error_68.py +106 -0
- slackwebapi/models/error_69.py +112 -0
- slackwebapi/models/error_7.py +58 -0
- slackwebapi/models/error_70.py +103 -0
- slackwebapi/models/error_71.py +97 -0
- slackwebapi/models/error_74.py +88 -0
- slackwebapi/models/error_75.py +112 -0
- slackwebapi/models/error_77.py +112 -0
- slackwebapi/models/error_78.py +100 -0
- slackwebapi/models/error_8.py +58 -0
- slackwebapi/models/error_81.py +85 -0
- slackwebapi/models/error_82.py +100 -0
- slackwebapi/models/error_84.py +103 -0
- slackwebapi/models/error_86.py +106 -0
- slackwebapi/models/error_89.py +103 -0
- slackwebapi/models/error_9.py +67 -0
- slackwebapi/models/error_92.py +85 -0
- slackwebapi/models/error_93.py +91 -0
- slackwebapi/models/error_94.py +91 -0
- slackwebapi/models/error_95.py +97 -0
- slackwebapi/models/error_96.py +112 -0
- slackwebapi/models/error_97.py +91 -0
- slackwebapi/models/error_98.py +106 -0
- slackwebapi/models/error_99.py +94 -0
- slackwebapi/models/errors_is_returned_when_an_error_associates_an_user.py +124 -0
- slackwebapi/models/external_org_migrations.py +106 -0
- slackwebapi/models/file_comment_object.py +281 -0
- slackwebapi/models/file_object.py +1700 -0
- slackwebapi/models/files_comments_delete_schema.py +86 -0
- slackwebapi/models/files_delete_schema.py +86 -0
- slackwebapi/models/files_info_schema.py +216 -0
- slackwebapi/models/files_list_schema.py +118 -0
- slackwebapi/models/files_revoke_public_url_schema.py +100 -0
- slackwebapi/models/files_shared_public_url_schema.py +100 -0
- slackwebapi/models/files_upload_schema.py +100 -0
- slackwebapi/models/group.py +131 -0
- slackwebapi/models/icons.py +116 -0
- slackwebapi/models/icons_1.py +126 -0
- slackwebapi/models/im.py +131 -0
- slackwebapi/models/info.py +161 -0
- slackwebapi/models/log.py +263 -0
- slackwebapi/models/login.py +214 -0
- slackwebapi/models/message.py +195 -0
- slackwebapi/models/message_object.py +1035 -0
- slackwebapi/models/message_object_1.py +139 -0
- slackwebapi/models/migration_exchange_success_schema.py +161 -0
- slackwebapi/models/mpim.py +131 -0
- slackwebapi/models/mself.py +103 -0
- slackwebapi/models/mtype.py +55 -0
- slackwebapi/models/oauth_provider_error.py +67 -0
- slackwebapi/models/oauth_scope.py +240 -0
- slackwebapi/models/oauth_token.py +113 -0
- slackwebapi/models/objs_enterprise_user.py +155 -0
- slackwebapi/models/objs_icon.py +264 -0
- slackwebapi/models/objs_primary_owner.py +103 -0
- slackwebapi/models/objs_reminder.py +191 -0
- slackwebapi/models/objs_team_profile_field.py +242 -0
- slackwebapi/models/objs_team_profile_field_option.py +179 -0
- slackwebapi/models/objs_user_profile_short.py +247 -0
- slackwebapi/models/paging_object.py +198 -0
- slackwebapi/models/pins_add_schema.py +86 -0
- slackwebapi/models/pins_remove_schema.py +86 -0
- slackwebapi/models/plan.py +49 -0
- slackwebapi/models/prefs.py +103 -0
- slackwebapi/models/prefs_1.py +132 -0
- slackwebapi/models/profile.py +96 -0
- slackwebapi/models/profile_1.py +194 -0
- slackwebapi/models/purpose.py +116 -0
- slackwebapi/models/reaction_object.py +116 -0
- slackwebapi/models/reactions_add_schema.py +86 -0
- slackwebapi/models/reactions_list_schema.py +152 -0
- slackwebapi/models/reactions_remove_schema.py +86 -0
- slackwebapi/models/reminders_add_schema.py +102 -0
- slackwebapi/models/reminders_complete_schema.py +86 -0
- slackwebapi/models/reminders_delete_schema.py +86 -0
- slackwebapi/models/reminders_info_schema.py +102 -0
- slackwebapi/models/reminders_list_schema.py +104 -0
- slackwebapi/models/resource.py +126 -0
- slackwebapi/models/resources_in_info_from_apps_permissions_info.py +139 -0
- slackwebapi/models/response_metadata.py +90 -0
- slackwebapi/models/response_metadata_3.py +103 -0
- slackwebapi/models/rtm_connect_schema.py +127 -0
- slackwebapi/models/scheduled_message.py +155 -0
- slackwebapi/models/scopes.py +241 -0
- slackwebapi/models/shares.py +126 -0
- slackwebapi/models/sso_provider.py +149 -0
- slackwebapi/models/stars_add_schema.py +86 -0
- slackwebapi/models/stars_list_schema.py +129 -0
- slackwebapi/models/stars_remove_schema.py +86 -0
- slackwebapi/models/subteam_usergroup_object.py +384 -0
- slackwebapi/models/team.py +107 -0
- slackwebapi/models/team_1.py +116 -0
- slackwebapi/models/team_access_logs_schema.py +118 -0
- slackwebapi/models/team_info_schema.py +100 -0
- slackwebapi/models/team_integration_logs_schema.py +118 -0
- slackwebapi/models/team_object.py +715 -0
- slackwebapi/models/team_profile_get_success_schema.py +100 -0
- slackwebapi/models/topic.py +116 -0
- slackwebapi/models/user_profile_object.py +1005 -0
- slackwebapi/models/usergroups_create_schema.py +103 -0
- slackwebapi/models/usergroups_disable_schema.py +103 -0
- slackwebapi/models/usergroups_enable_schema.py +103 -0
- slackwebapi/models/usergroups_list_schema.py +105 -0
- slackwebapi/models/usergroups_update_schema.py +103 -0
- slackwebapi/models/usergroups_users_list_schema.py +99 -0
- slackwebapi/models/usergroups_users_update_schema.py +103 -0
- slackwebapi/models/users_conversations_success_schema.py +131 -0
- slackwebapi/models/users_delete_photo_schema.py +86 -0
- slackwebapi/models/users_info_success_schema.py +99 -0
- slackwebapi/models/users_list_schema.py +138 -0
- slackwebapi/models/users_lookup_by_email_success_schema.py +99 -0
- slackwebapi/models/users_profile_get_schema.py +102 -0
- slackwebapi/models/users_profile_set_schema.py +141 -0
- slackwebapi/models/users_set_active_schema.py +86 -0
- slackwebapi/models/users_set_photo_schema.py +100 -0
- slackwebapi/models/users_set_presence_schema.py +86 -0
- slackwebapi/models/who_can_post.py +126 -0
- slackwebapi/slackwebapi_client.py +522 -0
- slackwebapi/utilities/__init__.py +6 -0
- slackwebapi/utilities/file_wrapper.py +45 -0
|
@@ -0,0 +1,1005 @@
|
|
|
1
|
+
"""slackwebapi.
|
|
2
|
+
|
|
3
|
+
This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
# ruff: noqa: E501
|
|
7
|
+
from slackwebapi.api_helper import APIHelper
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UserProfileObject(object):
|
|
11
|
+
"""Implementation of the 'User profile object' model.
|
|
12
|
+
|
|
13
|
+
Attributes:
|
|
14
|
+
always_active (bool): The model property of type bool.
|
|
15
|
+
api_app_id (str): The model property of type str.
|
|
16
|
+
avatar_hash (str): The model property of type str.
|
|
17
|
+
bot_id (str): The model property of type str.
|
|
18
|
+
display_name (str): The model property of type str.
|
|
19
|
+
display_name_normalized (str): The model property of type str.
|
|
20
|
+
email (str): The model property of type str.
|
|
21
|
+
fields (List[Any]): The model property of type List[Any].
|
|
22
|
+
first_name (str): The model property of type str.
|
|
23
|
+
guest_expiration_ts (int): The model property of type int.
|
|
24
|
+
guest_invited_by (str): The model property of type str.
|
|
25
|
+
image_1024 (str): The model property of type str.
|
|
26
|
+
image_192 (str): The model property of type str.
|
|
27
|
+
image_24 (str): The model property of type str.
|
|
28
|
+
image_32 (str): The model property of type str.
|
|
29
|
+
image_48 (str): The model property of type str.
|
|
30
|
+
image_512 (str): The model property of type str.
|
|
31
|
+
image_72 (str): The model property of type str.
|
|
32
|
+
image_original (str): The model property of type str.
|
|
33
|
+
is_app_user (bool): The model property of type bool.
|
|
34
|
+
is_custom_image (bool): The model property of type bool.
|
|
35
|
+
is_restricted (bool): The model property of type bool.
|
|
36
|
+
is_ultra_restricted (bool): The model property of type bool.
|
|
37
|
+
last_avatar_image_hash (str): The model property of type str.
|
|
38
|
+
last_name (str): The model property of type str.
|
|
39
|
+
memberships_count (int): The model property of type int.
|
|
40
|
+
name (str): The model property of type str.
|
|
41
|
+
phone (str): The model property of type str.
|
|
42
|
+
pronouns (str): The model property of type str.
|
|
43
|
+
real_name (str): The model property of type str.
|
|
44
|
+
real_name_normalized (str): The model property of type str.
|
|
45
|
+
skype (str): The model property of type str.
|
|
46
|
+
status_default_emoji (str): The model property of type str.
|
|
47
|
+
status_default_text (str): The model property of type str.
|
|
48
|
+
status_default_text_canonical (str): The model property of type str.
|
|
49
|
+
status_emoji (str): The model property of type str.
|
|
50
|
+
status_expiration (int): The model property of type int.
|
|
51
|
+
status_text (str): The model property of type str.
|
|
52
|
+
status_text_canonical (str): The model property of type str.
|
|
53
|
+
team (str): The model property of type str.
|
|
54
|
+
title (str): The model property of type str.
|
|
55
|
+
updated (int): The model property of type int.
|
|
56
|
+
user_id (str): The model property of type str.
|
|
57
|
+
username (str): The model property of type str.
|
|
58
|
+
additional_properties (Dict[str, Any]): The additional properties for the
|
|
59
|
+
model.
|
|
60
|
+
|
|
61
|
+
"""
|
|
62
|
+
|
|
63
|
+
# Create a mapping from Model property names to API property names
|
|
64
|
+
_names = {
|
|
65
|
+
"avatar_hash": "avatar_hash",
|
|
66
|
+
"display_name": "display_name",
|
|
67
|
+
"display_name_normalized": "display_name_normalized",
|
|
68
|
+
"fields": "fields",
|
|
69
|
+
"phone": "phone",
|
|
70
|
+
"real_name": "real_name",
|
|
71
|
+
"real_name_normalized": "real_name_normalized",
|
|
72
|
+
"skype": "skype",
|
|
73
|
+
"status_emoji": "status_emoji",
|
|
74
|
+
"status_text": "status_text",
|
|
75
|
+
"title": "title",
|
|
76
|
+
"always_active": "always_active",
|
|
77
|
+
"api_app_id": "api_app_id",
|
|
78
|
+
"bot_id": "bot_id",
|
|
79
|
+
"email": "email",
|
|
80
|
+
"first_name": "first_name",
|
|
81
|
+
"guest_expiration_ts": "guest_expiration_ts",
|
|
82
|
+
"guest_invited_by": "guest_invited_by",
|
|
83
|
+
"image_1024": "image_1024",
|
|
84
|
+
"image_192": "image_192",
|
|
85
|
+
"image_24": "image_24",
|
|
86
|
+
"image_32": "image_32",
|
|
87
|
+
"image_48": "image_48",
|
|
88
|
+
"image_512": "image_512",
|
|
89
|
+
"image_72": "image_72",
|
|
90
|
+
"image_original": "image_original",
|
|
91
|
+
"is_app_user": "is_app_user",
|
|
92
|
+
"is_custom_image": "is_custom_image",
|
|
93
|
+
"is_restricted": "is_restricted",
|
|
94
|
+
"is_ultra_restricted": "is_ultra_restricted",
|
|
95
|
+
"last_avatar_image_hash": "last_avatar_image_hash",
|
|
96
|
+
"last_name": "last_name",
|
|
97
|
+
"memberships_count": "memberships_count",
|
|
98
|
+
"name": "name",
|
|
99
|
+
"pronouns": "pronouns",
|
|
100
|
+
"status_default_emoji": "status_default_emoji",
|
|
101
|
+
"status_default_text": "status_default_text",
|
|
102
|
+
"status_default_text_canonical": "status_default_text_canonical",
|
|
103
|
+
"status_expiration": "status_expiration",
|
|
104
|
+
"status_text_canonical": "status_text_canonical",
|
|
105
|
+
"team": "team",
|
|
106
|
+
"updated": "updated",
|
|
107
|
+
"user_id": "user_id",
|
|
108
|
+
"username": "username",
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
_optionals = [
|
|
112
|
+
"always_active",
|
|
113
|
+
"api_app_id",
|
|
114
|
+
"bot_id",
|
|
115
|
+
"email",
|
|
116
|
+
"first_name",
|
|
117
|
+
"guest_expiration_ts",
|
|
118
|
+
"guest_invited_by",
|
|
119
|
+
"image_1024",
|
|
120
|
+
"image_192",
|
|
121
|
+
"image_24",
|
|
122
|
+
"image_32",
|
|
123
|
+
"image_48",
|
|
124
|
+
"image_512",
|
|
125
|
+
"image_72",
|
|
126
|
+
"image_original",
|
|
127
|
+
"is_app_user",
|
|
128
|
+
"is_custom_image",
|
|
129
|
+
"is_restricted",
|
|
130
|
+
"is_ultra_restricted",
|
|
131
|
+
"last_avatar_image_hash",
|
|
132
|
+
"last_name",
|
|
133
|
+
"memberships_count",
|
|
134
|
+
"name",
|
|
135
|
+
"pronouns",
|
|
136
|
+
"status_default_emoji",
|
|
137
|
+
"status_default_text",
|
|
138
|
+
"status_default_text_canonical",
|
|
139
|
+
"status_expiration",
|
|
140
|
+
"status_text_canonical",
|
|
141
|
+
"team",
|
|
142
|
+
"updated",
|
|
143
|
+
"user_id",
|
|
144
|
+
"username",
|
|
145
|
+
]
|
|
146
|
+
|
|
147
|
+
_nullables = [
|
|
148
|
+
"email",
|
|
149
|
+
"fields",
|
|
150
|
+
"first_name",
|
|
151
|
+
"guest_expiration_ts",
|
|
152
|
+
"guest_invited_by",
|
|
153
|
+
"image_1024",
|
|
154
|
+
"image_192",
|
|
155
|
+
"image_24",
|
|
156
|
+
"image_32",
|
|
157
|
+
"image_48",
|
|
158
|
+
"image_512",
|
|
159
|
+
"image_72",
|
|
160
|
+
"image_original",
|
|
161
|
+
"is_restricted",
|
|
162
|
+
"is_ultra_restricted",
|
|
163
|
+
"last_name",
|
|
164
|
+
"name",
|
|
165
|
+
"status_default_text_canonical",
|
|
166
|
+
"status_text_canonical",
|
|
167
|
+
"username",
|
|
168
|
+
]
|
|
169
|
+
|
|
170
|
+
def __init__(
|
|
171
|
+
self,
|
|
172
|
+
avatar_hash=None,
|
|
173
|
+
display_name=None,
|
|
174
|
+
display_name_normalized=None,
|
|
175
|
+
fields=None,
|
|
176
|
+
phone=None,
|
|
177
|
+
real_name=None,
|
|
178
|
+
real_name_normalized=None,
|
|
179
|
+
skype=None,
|
|
180
|
+
status_emoji=None,
|
|
181
|
+
status_text=None,
|
|
182
|
+
title=None,
|
|
183
|
+
always_active=APIHelper.SKIP,
|
|
184
|
+
api_app_id=APIHelper.SKIP,
|
|
185
|
+
bot_id=APIHelper.SKIP,
|
|
186
|
+
email=APIHelper.SKIP,
|
|
187
|
+
first_name=APIHelper.SKIP,
|
|
188
|
+
guest_expiration_ts=APIHelper.SKIP,
|
|
189
|
+
guest_invited_by=APIHelper.SKIP,
|
|
190
|
+
image_1024=APIHelper.SKIP,
|
|
191
|
+
image_192=APIHelper.SKIP,
|
|
192
|
+
image_24=APIHelper.SKIP,
|
|
193
|
+
image_32=APIHelper.SKIP,
|
|
194
|
+
image_48=APIHelper.SKIP,
|
|
195
|
+
image_512=APIHelper.SKIP,
|
|
196
|
+
image_72=APIHelper.SKIP,
|
|
197
|
+
image_original=APIHelper.SKIP,
|
|
198
|
+
is_app_user=APIHelper.SKIP,
|
|
199
|
+
is_custom_image=APIHelper.SKIP,
|
|
200
|
+
is_restricted=APIHelper.SKIP,
|
|
201
|
+
is_ultra_restricted=APIHelper.SKIP,
|
|
202
|
+
last_avatar_image_hash=APIHelper.SKIP,
|
|
203
|
+
last_name=APIHelper.SKIP,
|
|
204
|
+
memberships_count=APIHelper.SKIP,
|
|
205
|
+
name=APIHelper.SKIP,
|
|
206
|
+
pronouns=APIHelper.SKIP,
|
|
207
|
+
status_default_emoji=APIHelper.SKIP,
|
|
208
|
+
status_default_text=APIHelper.SKIP,
|
|
209
|
+
status_default_text_canonical=APIHelper.SKIP,
|
|
210
|
+
status_expiration=APIHelper.SKIP,
|
|
211
|
+
status_text_canonical=APIHelper.SKIP,
|
|
212
|
+
team=APIHelper.SKIP,
|
|
213
|
+
updated=APIHelper.SKIP,
|
|
214
|
+
user_id=APIHelper.SKIP,
|
|
215
|
+
username=APIHelper.SKIP,
|
|
216
|
+
additional_properties=None):
|
|
217
|
+
"""Initialize a UserProfileObject instance."""
|
|
218
|
+
# Initialize members of the class
|
|
219
|
+
if always_active is not APIHelper.SKIP:
|
|
220
|
+
self.always_active = always_active
|
|
221
|
+
if api_app_id is not APIHelper.SKIP:
|
|
222
|
+
self.api_app_id = api_app_id
|
|
223
|
+
self.avatar_hash = avatar_hash
|
|
224
|
+
if bot_id is not APIHelper.SKIP:
|
|
225
|
+
self.bot_id = bot_id
|
|
226
|
+
self.display_name = display_name
|
|
227
|
+
self.display_name_normalized = display_name_normalized
|
|
228
|
+
if email is not APIHelper.SKIP:
|
|
229
|
+
self.email = email
|
|
230
|
+
self.fields = fields
|
|
231
|
+
if first_name is not APIHelper.SKIP:
|
|
232
|
+
self.first_name = first_name
|
|
233
|
+
if guest_expiration_ts is not APIHelper.SKIP:
|
|
234
|
+
self.guest_expiration_ts = guest_expiration_ts
|
|
235
|
+
if guest_invited_by is not APIHelper.SKIP:
|
|
236
|
+
self.guest_invited_by = guest_invited_by
|
|
237
|
+
if image_1024 is not APIHelper.SKIP:
|
|
238
|
+
self.image_1024 = image_1024
|
|
239
|
+
if image_192 is not APIHelper.SKIP:
|
|
240
|
+
self.image_192 = image_192
|
|
241
|
+
if image_24 is not APIHelper.SKIP:
|
|
242
|
+
self.image_24 = image_24
|
|
243
|
+
if image_32 is not APIHelper.SKIP:
|
|
244
|
+
self.image_32 = image_32
|
|
245
|
+
if image_48 is not APIHelper.SKIP:
|
|
246
|
+
self.image_48 = image_48
|
|
247
|
+
if image_512 is not APIHelper.SKIP:
|
|
248
|
+
self.image_512 = image_512
|
|
249
|
+
if image_72 is not APIHelper.SKIP:
|
|
250
|
+
self.image_72 = image_72
|
|
251
|
+
if image_original is not APIHelper.SKIP:
|
|
252
|
+
self.image_original = image_original
|
|
253
|
+
if is_app_user is not APIHelper.SKIP:
|
|
254
|
+
self.is_app_user = is_app_user
|
|
255
|
+
if is_custom_image is not APIHelper.SKIP:
|
|
256
|
+
self.is_custom_image = is_custom_image
|
|
257
|
+
if is_restricted is not APIHelper.SKIP:
|
|
258
|
+
self.is_restricted = is_restricted
|
|
259
|
+
if is_ultra_restricted is not APIHelper.SKIP:
|
|
260
|
+
self.is_ultra_restricted = is_ultra_restricted
|
|
261
|
+
if last_avatar_image_hash is not APIHelper.SKIP:
|
|
262
|
+
self.last_avatar_image_hash = last_avatar_image_hash
|
|
263
|
+
if last_name is not APIHelper.SKIP:
|
|
264
|
+
self.last_name = last_name
|
|
265
|
+
if memberships_count is not APIHelper.SKIP:
|
|
266
|
+
self.memberships_count = memberships_count
|
|
267
|
+
if name is not APIHelper.SKIP:
|
|
268
|
+
self.name = name
|
|
269
|
+
self.phone = phone
|
|
270
|
+
if pronouns is not APIHelper.SKIP:
|
|
271
|
+
self.pronouns = pronouns
|
|
272
|
+
self.real_name = real_name
|
|
273
|
+
self.real_name_normalized = real_name_normalized
|
|
274
|
+
self.skype = skype
|
|
275
|
+
if status_default_emoji is not APIHelper.SKIP:
|
|
276
|
+
self.status_default_emoji = status_default_emoji
|
|
277
|
+
if status_default_text is not APIHelper.SKIP:
|
|
278
|
+
self.status_default_text = status_default_text
|
|
279
|
+
if status_default_text_canonical is not APIHelper.SKIP:
|
|
280
|
+
self.status_default_text_canonical = status_default_text_canonical
|
|
281
|
+
self.status_emoji = status_emoji
|
|
282
|
+
if status_expiration is not APIHelper.SKIP:
|
|
283
|
+
self.status_expiration = status_expiration
|
|
284
|
+
self.status_text = status_text
|
|
285
|
+
if status_text_canonical is not APIHelper.SKIP:
|
|
286
|
+
self.status_text_canonical = status_text_canonical
|
|
287
|
+
if team is not APIHelper.SKIP:
|
|
288
|
+
self.team = team
|
|
289
|
+
self.title = title
|
|
290
|
+
if updated is not APIHelper.SKIP:
|
|
291
|
+
self.updated = updated
|
|
292
|
+
if user_id is not APIHelper.SKIP:
|
|
293
|
+
self.user_id = user_id
|
|
294
|
+
if username is not APIHelper.SKIP:
|
|
295
|
+
self.username = username
|
|
296
|
+
|
|
297
|
+
# Add additional model properties to the instance
|
|
298
|
+
if additional_properties is None:
|
|
299
|
+
additional_properties = {}
|
|
300
|
+
self.additional_properties = additional_properties
|
|
301
|
+
|
|
302
|
+
@classmethod
|
|
303
|
+
def from_dictionary(cls,
|
|
304
|
+
dictionary):
|
|
305
|
+
"""Create an instance of this model from a dictionary
|
|
306
|
+
|
|
307
|
+
Args:
|
|
308
|
+
dictionary (dictionary): A dictionary representation of the object
|
|
309
|
+
as obtained from the deserialization of the server's response. The
|
|
310
|
+
keys MUST match property names in the API description.
|
|
311
|
+
|
|
312
|
+
Returns:
|
|
313
|
+
object: An instance of this structure class.
|
|
314
|
+
|
|
315
|
+
"""
|
|
316
|
+
if not isinstance(dictionary, dict) or dictionary is None:
|
|
317
|
+
return None
|
|
318
|
+
|
|
319
|
+
# Extract variables from the dictionary
|
|
320
|
+
avatar_hash =\
|
|
321
|
+
dictionary.get("avatar_hash")\
|
|
322
|
+
if dictionary.get("avatar_hash")\
|
|
323
|
+
else None
|
|
324
|
+
display_name =\
|
|
325
|
+
dictionary.get("display_name")\
|
|
326
|
+
if dictionary.get("display_name")\
|
|
327
|
+
else None
|
|
328
|
+
display_name_normalized =\
|
|
329
|
+
dictionary.get("display_name_normalized")\
|
|
330
|
+
if dictionary.get("display_name_normalized")\
|
|
331
|
+
else None
|
|
332
|
+
fields =\
|
|
333
|
+
dictionary.get("fields")\
|
|
334
|
+
if dictionary.get("fields")\
|
|
335
|
+
else None
|
|
336
|
+
phone =\
|
|
337
|
+
dictionary.get("phone")\
|
|
338
|
+
if dictionary.get("phone")\
|
|
339
|
+
else None
|
|
340
|
+
real_name =\
|
|
341
|
+
dictionary.get("real_name")\
|
|
342
|
+
if dictionary.get("real_name")\
|
|
343
|
+
else None
|
|
344
|
+
real_name_normalized =\
|
|
345
|
+
dictionary.get("real_name_normalized")\
|
|
346
|
+
if dictionary.get("real_name_normalized")\
|
|
347
|
+
else None
|
|
348
|
+
skype =\
|
|
349
|
+
dictionary.get("skype")\
|
|
350
|
+
if dictionary.get("skype")\
|
|
351
|
+
else None
|
|
352
|
+
status_emoji =\
|
|
353
|
+
dictionary.get("status_emoji")\
|
|
354
|
+
if dictionary.get("status_emoji")\
|
|
355
|
+
else None
|
|
356
|
+
status_text =\
|
|
357
|
+
dictionary.get("status_text")\
|
|
358
|
+
if dictionary.get("status_text")\
|
|
359
|
+
else None
|
|
360
|
+
title =\
|
|
361
|
+
dictionary.get("title")\
|
|
362
|
+
if dictionary.get("title")\
|
|
363
|
+
else None
|
|
364
|
+
always_active =\
|
|
365
|
+
dictionary.get("always_active")\
|
|
366
|
+
if "always_active" in dictionary.keys()\
|
|
367
|
+
else APIHelper.SKIP
|
|
368
|
+
api_app_id =\
|
|
369
|
+
dictionary.get("api_app_id")\
|
|
370
|
+
if dictionary.get("api_app_id")\
|
|
371
|
+
else APIHelper.SKIP
|
|
372
|
+
bot_id =\
|
|
373
|
+
dictionary.get("bot_id")\
|
|
374
|
+
if dictionary.get("bot_id")\
|
|
375
|
+
else APIHelper.SKIP
|
|
376
|
+
email =\
|
|
377
|
+
dictionary.get("email")\
|
|
378
|
+
if "email" in dictionary.keys()\
|
|
379
|
+
else APIHelper.SKIP
|
|
380
|
+
first_name =\
|
|
381
|
+
dictionary.get("first_name")\
|
|
382
|
+
if "first_name" in dictionary.keys()\
|
|
383
|
+
else APIHelper.SKIP
|
|
384
|
+
guest_expiration_ts =\
|
|
385
|
+
dictionary.get("guest_expiration_ts")\
|
|
386
|
+
if "guest_expiration_ts" in dictionary.keys()\
|
|
387
|
+
else APIHelper.SKIP
|
|
388
|
+
guest_invited_by =\
|
|
389
|
+
dictionary.get("guest_invited_by")\
|
|
390
|
+
if "guest_invited_by" in dictionary.keys()\
|
|
391
|
+
else APIHelper.SKIP
|
|
392
|
+
image_1024 =\
|
|
393
|
+
dictionary.get("image_1024")\
|
|
394
|
+
if "image_1024" in dictionary.keys()\
|
|
395
|
+
else APIHelper.SKIP
|
|
396
|
+
image_192 =\
|
|
397
|
+
dictionary.get("image_192")\
|
|
398
|
+
if "image_192" in dictionary.keys()\
|
|
399
|
+
else APIHelper.SKIP
|
|
400
|
+
image_24 =\
|
|
401
|
+
dictionary.get("image_24")\
|
|
402
|
+
if "image_24" in dictionary.keys()\
|
|
403
|
+
else APIHelper.SKIP
|
|
404
|
+
image_32 =\
|
|
405
|
+
dictionary.get("image_32")\
|
|
406
|
+
if "image_32" in dictionary.keys()\
|
|
407
|
+
else APIHelper.SKIP
|
|
408
|
+
image_48 =\
|
|
409
|
+
dictionary.get("image_48")\
|
|
410
|
+
if "image_48" in dictionary.keys()\
|
|
411
|
+
else APIHelper.SKIP
|
|
412
|
+
image_512 =\
|
|
413
|
+
dictionary.get("image_512")\
|
|
414
|
+
if "image_512" in dictionary.keys()\
|
|
415
|
+
else APIHelper.SKIP
|
|
416
|
+
image_72 =\
|
|
417
|
+
dictionary.get("image_72")\
|
|
418
|
+
if "image_72" in dictionary.keys()\
|
|
419
|
+
else APIHelper.SKIP
|
|
420
|
+
image_original =\
|
|
421
|
+
dictionary.get("image_original")\
|
|
422
|
+
if "image_original" in dictionary.keys()\
|
|
423
|
+
else APIHelper.SKIP
|
|
424
|
+
is_app_user =\
|
|
425
|
+
dictionary.get("is_app_user")\
|
|
426
|
+
if "is_app_user" in dictionary.keys()\
|
|
427
|
+
else APIHelper.SKIP
|
|
428
|
+
is_custom_image =\
|
|
429
|
+
dictionary.get("is_custom_image")\
|
|
430
|
+
if "is_custom_image" in dictionary.keys()\
|
|
431
|
+
else APIHelper.SKIP
|
|
432
|
+
is_restricted =\
|
|
433
|
+
dictionary.get("is_restricted")\
|
|
434
|
+
if "is_restricted" in dictionary.keys()\
|
|
435
|
+
else APIHelper.SKIP
|
|
436
|
+
is_ultra_restricted =\
|
|
437
|
+
dictionary.get("is_ultra_restricted")\
|
|
438
|
+
if "is_ultra_restricted" in dictionary.keys()\
|
|
439
|
+
else APIHelper.SKIP
|
|
440
|
+
last_avatar_image_hash =\
|
|
441
|
+
dictionary.get("last_avatar_image_hash")\
|
|
442
|
+
if dictionary.get("last_avatar_image_hash")\
|
|
443
|
+
else APIHelper.SKIP
|
|
444
|
+
last_name =\
|
|
445
|
+
dictionary.get("last_name")\
|
|
446
|
+
if "last_name" in dictionary.keys()\
|
|
447
|
+
else APIHelper.SKIP
|
|
448
|
+
memberships_count =\
|
|
449
|
+
dictionary.get("memberships_count")\
|
|
450
|
+
if dictionary.get("memberships_count")\
|
|
451
|
+
else APIHelper.SKIP
|
|
452
|
+
name =\
|
|
453
|
+
dictionary.get("name")\
|
|
454
|
+
if "name" in dictionary.keys()\
|
|
455
|
+
else APIHelper.SKIP
|
|
456
|
+
pronouns =\
|
|
457
|
+
dictionary.get("pronouns")\
|
|
458
|
+
if dictionary.get("pronouns")\
|
|
459
|
+
else APIHelper.SKIP
|
|
460
|
+
status_default_emoji =\
|
|
461
|
+
dictionary.get("status_default_emoji")\
|
|
462
|
+
if dictionary.get("status_default_emoji")\
|
|
463
|
+
else APIHelper.SKIP
|
|
464
|
+
status_default_text =\
|
|
465
|
+
dictionary.get("status_default_text")\
|
|
466
|
+
if dictionary.get("status_default_text")\
|
|
467
|
+
else APIHelper.SKIP
|
|
468
|
+
status_default_text_canonical =\
|
|
469
|
+
dictionary.get("status_default_text_canonical")\
|
|
470
|
+
if "status_default_text_canonical" in dictionary.keys()\
|
|
471
|
+
else APIHelper.SKIP
|
|
472
|
+
status_expiration =\
|
|
473
|
+
dictionary.get("status_expiration")\
|
|
474
|
+
if dictionary.get("status_expiration")\
|
|
475
|
+
else APIHelper.SKIP
|
|
476
|
+
status_text_canonical =\
|
|
477
|
+
dictionary.get("status_text_canonical")\
|
|
478
|
+
if "status_text_canonical" in dictionary.keys()\
|
|
479
|
+
else APIHelper.SKIP
|
|
480
|
+
team =\
|
|
481
|
+
dictionary.get("team")\
|
|
482
|
+
if dictionary.get("team")\
|
|
483
|
+
else APIHelper.SKIP
|
|
484
|
+
updated =\
|
|
485
|
+
dictionary.get("updated")\
|
|
486
|
+
if dictionary.get("updated")\
|
|
487
|
+
else APIHelper.SKIP
|
|
488
|
+
user_id =\
|
|
489
|
+
dictionary.get("user_id")\
|
|
490
|
+
if dictionary.get("user_id")\
|
|
491
|
+
else APIHelper.SKIP
|
|
492
|
+
username =\
|
|
493
|
+
dictionary.get("username")\
|
|
494
|
+
if "username" in dictionary.keys()\
|
|
495
|
+
else APIHelper.SKIP
|
|
496
|
+
|
|
497
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
498
|
+
dictionary={k: v for k, v in dictionary.items()
|
|
499
|
+
if k not in cls._names.values()},
|
|
500
|
+
unboxing_function=lambda value: value)
|
|
501
|
+
|
|
502
|
+
# Return an object of this model
|
|
503
|
+
return cls(avatar_hash,
|
|
504
|
+
display_name,
|
|
505
|
+
display_name_normalized,
|
|
506
|
+
fields,
|
|
507
|
+
phone,
|
|
508
|
+
real_name,
|
|
509
|
+
real_name_normalized,
|
|
510
|
+
skype,
|
|
511
|
+
status_emoji,
|
|
512
|
+
status_text,
|
|
513
|
+
title,
|
|
514
|
+
always_active,
|
|
515
|
+
api_app_id,
|
|
516
|
+
bot_id,
|
|
517
|
+
email,
|
|
518
|
+
first_name,
|
|
519
|
+
guest_expiration_ts,
|
|
520
|
+
guest_invited_by,
|
|
521
|
+
image_1024,
|
|
522
|
+
image_192,
|
|
523
|
+
image_24,
|
|
524
|
+
image_32,
|
|
525
|
+
image_48,
|
|
526
|
+
image_512,
|
|
527
|
+
image_72,
|
|
528
|
+
image_original,
|
|
529
|
+
is_app_user,
|
|
530
|
+
is_custom_image,
|
|
531
|
+
is_restricted,
|
|
532
|
+
is_ultra_restricted,
|
|
533
|
+
last_avatar_image_hash,
|
|
534
|
+
last_name,
|
|
535
|
+
memberships_count,
|
|
536
|
+
name,
|
|
537
|
+
pronouns,
|
|
538
|
+
status_default_emoji,
|
|
539
|
+
status_default_text,
|
|
540
|
+
status_default_text_canonical,
|
|
541
|
+
status_expiration,
|
|
542
|
+
status_text_canonical,
|
|
543
|
+
team,
|
|
544
|
+
updated,
|
|
545
|
+
user_id,
|
|
546
|
+
username,
|
|
547
|
+
additional_properties)
|
|
548
|
+
|
|
549
|
+
def __repr__(self):
|
|
550
|
+
"""Return a unambiguous string representation."""
|
|
551
|
+
_always_active=(
|
|
552
|
+
self.always_active
|
|
553
|
+
if hasattr(self, "always_active")
|
|
554
|
+
else None
|
|
555
|
+
)
|
|
556
|
+
_api_app_id=(
|
|
557
|
+
self.api_app_id
|
|
558
|
+
if hasattr(self, "api_app_id")
|
|
559
|
+
else None
|
|
560
|
+
)
|
|
561
|
+
_avatar_hash=self.avatar_hash
|
|
562
|
+
_bot_id=(
|
|
563
|
+
self.bot_id
|
|
564
|
+
if hasattr(self, "bot_id")
|
|
565
|
+
else None
|
|
566
|
+
)
|
|
567
|
+
_display_name=self.display_name
|
|
568
|
+
_display_name_normalized=self.display_name_normalized
|
|
569
|
+
_email=(
|
|
570
|
+
self.email
|
|
571
|
+
if hasattr(self, "email")
|
|
572
|
+
else None
|
|
573
|
+
)
|
|
574
|
+
_fields=self.fields
|
|
575
|
+
_first_name=(
|
|
576
|
+
self.first_name
|
|
577
|
+
if hasattr(self, "first_name")
|
|
578
|
+
else None
|
|
579
|
+
)
|
|
580
|
+
_guest_expiration_ts=(
|
|
581
|
+
self.guest_expiration_ts
|
|
582
|
+
if hasattr(self, "guest_expiration_ts")
|
|
583
|
+
else None
|
|
584
|
+
)
|
|
585
|
+
_guest_invited_by=(
|
|
586
|
+
self.guest_invited_by
|
|
587
|
+
if hasattr(self, "guest_invited_by")
|
|
588
|
+
else None
|
|
589
|
+
)
|
|
590
|
+
_image_1024=(
|
|
591
|
+
self.image_1024
|
|
592
|
+
if hasattr(self, "image_1024")
|
|
593
|
+
else None
|
|
594
|
+
)
|
|
595
|
+
_image_192=(
|
|
596
|
+
self.image_192
|
|
597
|
+
if hasattr(self, "image_192")
|
|
598
|
+
else None
|
|
599
|
+
)
|
|
600
|
+
_image_24=(
|
|
601
|
+
self.image_24
|
|
602
|
+
if hasattr(self, "image_24")
|
|
603
|
+
else None
|
|
604
|
+
)
|
|
605
|
+
_image_32=(
|
|
606
|
+
self.image_32
|
|
607
|
+
if hasattr(self, "image_32")
|
|
608
|
+
else None
|
|
609
|
+
)
|
|
610
|
+
_image_48=(
|
|
611
|
+
self.image_48
|
|
612
|
+
if hasattr(self, "image_48")
|
|
613
|
+
else None
|
|
614
|
+
)
|
|
615
|
+
_image_512=(
|
|
616
|
+
self.image_512
|
|
617
|
+
if hasattr(self, "image_512")
|
|
618
|
+
else None
|
|
619
|
+
)
|
|
620
|
+
_image_72=(
|
|
621
|
+
self.image_72
|
|
622
|
+
if hasattr(self, "image_72")
|
|
623
|
+
else None
|
|
624
|
+
)
|
|
625
|
+
_image_original=(
|
|
626
|
+
self.image_original
|
|
627
|
+
if hasattr(self, "image_original")
|
|
628
|
+
else None
|
|
629
|
+
)
|
|
630
|
+
_is_app_user=(
|
|
631
|
+
self.is_app_user
|
|
632
|
+
if hasattr(self, "is_app_user")
|
|
633
|
+
else None
|
|
634
|
+
)
|
|
635
|
+
_is_custom_image=(
|
|
636
|
+
self.is_custom_image
|
|
637
|
+
if hasattr(self, "is_custom_image")
|
|
638
|
+
else None
|
|
639
|
+
)
|
|
640
|
+
_is_restricted=(
|
|
641
|
+
self.is_restricted
|
|
642
|
+
if hasattr(self, "is_restricted")
|
|
643
|
+
else None
|
|
644
|
+
)
|
|
645
|
+
_is_ultra_restricted=(
|
|
646
|
+
self.is_ultra_restricted
|
|
647
|
+
if hasattr(self, "is_ultra_restricted")
|
|
648
|
+
else None
|
|
649
|
+
)
|
|
650
|
+
_last_avatar_image_hash=(
|
|
651
|
+
self.last_avatar_image_hash
|
|
652
|
+
if hasattr(self, "last_avatar_image_hash")
|
|
653
|
+
else None
|
|
654
|
+
)
|
|
655
|
+
_last_name=(
|
|
656
|
+
self.last_name
|
|
657
|
+
if hasattr(self, "last_name")
|
|
658
|
+
else None
|
|
659
|
+
)
|
|
660
|
+
_memberships_count=(
|
|
661
|
+
self.memberships_count
|
|
662
|
+
if hasattr(self, "memberships_count")
|
|
663
|
+
else None
|
|
664
|
+
)
|
|
665
|
+
_name=(
|
|
666
|
+
self.name
|
|
667
|
+
if hasattr(self, "name")
|
|
668
|
+
else None
|
|
669
|
+
)
|
|
670
|
+
_phone=self.phone
|
|
671
|
+
_pronouns=(
|
|
672
|
+
self.pronouns
|
|
673
|
+
if hasattr(self, "pronouns")
|
|
674
|
+
else None
|
|
675
|
+
)
|
|
676
|
+
_real_name=self.real_name
|
|
677
|
+
_real_name_normalized=self.real_name_normalized
|
|
678
|
+
_skype=self.skype
|
|
679
|
+
_status_default_emoji=(
|
|
680
|
+
self.status_default_emoji
|
|
681
|
+
if hasattr(self, "status_default_emoji")
|
|
682
|
+
else None
|
|
683
|
+
)
|
|
684
|
+
_status_default_text=(
|
|
685
|
+
self.status_default_text
|
|
686
|
+
if hasattr(self, "status_default_text")
|
|
687
|
+
else None
|
|
688
|
+
)
|
|
689
|
+
_status_default_text_canonical=(
|
|
690
|
+
self.status_default_text_canonical
|
|
691
|
+
if hasattr(self, "status_default_text_canonical")
|
|
692
|
+
else None
|
|
693
|
+
)
|
|
694
|
+
_status_emoji=self.status_emoji
|
|
695
|
+
_status_expiration=(
|
|
696
|
+
self.status_expiration
|
|
697
|
+
if hasattr(self, "status_expiration")
|
|
698
|
+
else None
|
|
699
|
+
)
|
|
700
|
+
_status_text=self.status_text
|
|
701
|
+
_status_text_canonical=(
|
|
702
|
+
self.status_text_canonical
|
|
703
|
+
if hasattr(self, "status_text_canonical")
|
|
704
|
+
else None
|
|
705
|
+
)
|
|
706
|
+
_team=(
|
|
707
|
+
self.team
|
|
708
|
+
if hasattr(self, "team")
|
|
709
|
+
else None
|
|
710
|
+
)
|
|
711
|
+
_title=self.title
|
|
712
|
+
_updated=(
|
|
713
|
+
self.updated
|
|
714
|
+
if hasattr(self, "updated")
|
|
715
|
+
else None
|
|
716
|
+
)
|
|
717
|
+
_user_id=(
|
|
718
|
+
self.user_id
|
|
719
|
+
if hasattr(self, "user_id")
|
|
720
|
+
else None
|
|
721
|
+
)
|
|
722
|
+
_username=(
|
|
723
|
+
self.username
|
|
724
|
+
if hasattr(self, "username")
|
|
725
|
+
else None
|
|
726
|
+
)
|
|
727
|
+
_additional_properties=self.additional_properties
|
|
728
|
+
return (
|
|
729
|
+
f"{self.__class__.__name__}("
|
|
730
|
+
f"always_active={_always_active!r}, "
|
|
731
|
+
f"api_app_id={_api_app_id!r}, "
|
|
732
|
+
f"avatar_hash={_avatar_hash!r}, "
|
|
733
|
+
f"bot_id={_bot_id!r}, "
|
|
734
|
+
f"display_name={_display_name!r}, "
|
|
735
|
+
f"display_name_normalized={_display_name_normalized!r}, "
|
|
736
|
+
f"email={_email!r}, "
|
|
737
|
+
f"fields={_fields!r}, "
|
|
738
|
+
f"first_name={_first_name!r}, "
|
|
739
|
+
f"guest_expiration_ts={_guest_expiration_ts!r}, "
|
|
740
|
+
f"guest_invited_by={_guest_invited_by!r}, "
|
|
741
|
+
f"image_1024={_image_1024!r}, "
|
|
742
|
+
f"image_192={_image_192!r}, "
|
|
743
|
+
f"image_24={_image_24!r}, "
|
|
744
|
+
f"image_32={_image_32!r}, "
|
|
745
|
+
f"image_48={_image_48!r}, "
|
|
746
|
+
f"image_512={_image_512!r}, "
|
|
747
|
+
f"image_72={_image_72!r}, "
|
|
748
|
+
f"image_original={_image_original!r}, "
|
|
749
|
+
f"is_app_user={_is_app_user!r}, "
|
|
750
|
+
f"is_custom_image={_is_custom_image!r}, "
|
|
751
|
+
f"is_restricted={_is_restricted!r}, "
|
|
752
|
+
f"is_ultra_restricted={_is_ultra_restricted!r}, "
|
|
753
|
+
f"last_avatar_image_hash={_last_avatar_image_hash!r}, "
|
|
754
|
+
f"last_name={_last_name!r}, "
|
|
755
|
+
f"memberships_count={_memberships_count!r}, "
|
|
756
|
+
f"name={_name!r}, "
|
|
757
|
+
f"phone={_phone!r}, "
|
|
758
|
+
f"pronouns={_pronouns!r}, "
|
|
759
|
+
f"real_name={_real_name!r}, "
|
|
760
|
+
f"real_name_normalized={_real_name_normalized!r}, "
|
|
761
|
+
f"skype={_skype!r}, "
|
|
762
|
+
f"status_default_emoji={_status_default_emoji!r}, "
|
|
763
|
+
f"status_default_text={_status_default_text!r}, "
|
|
764
|
+
f"status_default_text_canonical={_status_default_text_canonical!r}, "
|
|
765
|
+
f"status_emoji={_status_emoji!r}, "
|
|
766
|
+
f"status_expiration={_status_expiration!r}, "
|
|
767
|
+
f"status_text={_status_text!r}, "
|
|
768
|
+
f"status_text_canonical={_status_text_canonical!r}, "
|
|
769
|
+
f"team={_team!r}, "
|
|
770
|
+
f"title={_title!r}, "
|
|
771
|
+
f"updated={_updated!r}, "
|
|
772
|
+
f"user_id={_user_id!r}, "
|
|
773
|
+
f"username={_username!r}, "
|
|
774
|
+
f"additional_properties={_additional_properties!r}, "
|
|
775
|
+
f")"
|
|
776
|
+
)
|
|
777
|
+
|
|
778
|
+
def __str__(self):
|
|
779
|
+
"""Return a human-readable string representation."""
|
|
780
|
+
_always_active=(
|
|
781
|
+
self.always_active
|
|
782
|
+
if hasattr(self, "always_active")
|
|
783
|
+
else None
|
|
784
|
+
)
|
|
785
|
+
_api_app_id=(
|
|
786
|
+
self.api_app_id
|
|
787
|
+
if hasattr(self, "api_app_id")
|
|
788
|
+
else None
|
|
789
|
+
)
|
|
790
|
+
_avatar_hash=self.avatar_hash
|
|
791
|
+
_bot_id=(
|
|
792
|
+
self.bot_id
|
|
793
|
+
if hasattr(self, "bot_id")
|
|
794
|
+
else None
|
|
795
|
+
)
|
|
796
|
+
_display_name=self.display_name
|
|
797
|
+
_display_name_normalized=self.display_name_normalized
|
|
798
|
+
_email=(
|
|
799
|
+
self.email
|
|
800
|
+
if hasattr(self, "email")
|
|
801
|
+
else None
|
|
802
|
+
)
|
|
803
|
+
_fields=self.fields
|
|
804
|
+
_first_name=(
|
|
805
|
+
self.first_name
|
|
806
|
+
if hasattr(self, "first_name")
|
|
807
|
+
else None
|
|
808
|
+
)
|
|
809
|
+
_guest_expiration_ts=(
|
|
810
|
+
self.guest_expiration_ts
|
|
811
|
+
if hasattr(self, "guest_expiration_ts")
|
|
812
|
+
else None
|
|
813
|
+
)
|
|
814
|
+
_guest_invited_by=(
|
|
815
|
+
self.guest_invited_by
|
|
816
|
+
if hasattr(self, "guest_invited_by")
|
|
817
|
+
else None
|
|
818
|
+
)
|
|
819
|
+
_image_1024=(
|
|
820
|
+
self.image_1024
|
|
821
|
+
if hasattr(self, "image_1024")
|
|
822
|
+
else None
|
|
823
|
+
)
|
|
824
|
+
_image_192=(
|
|
825
|
+
self.image_192
|
|
826
|
+
if hasattr(self, "image_192")
|
|
827
|
+
else None
|
|
828
|
+
)
|
|
829
|
+
_image_24=(
|
|
830
|
+
self.image_24
|
|
831
|
+
if hasattr(self, "image_24")
|
|
832
|
+
else None
|
|
833
|
+
)
|
|
834
|
+
_image_32=(
|
|
835
|
+
self.image_32
|
|
836
|
+
if hasattr(self, "image_32")
|
|
837
|
+
else None
|
|
838
|
+
)
|
|
839
|
+
_image_48=(
|
|
840
|
+
self.image_48
|
|
841
|
+
if hasattr(self, "image_48")
|
|
842
|
+
else None
|
|
843
|
+
)
|
|
844
|
+
_image_512=(
|
|
845
|
+
self.image_512
|
|
846
|
+
if hasattr(self, "image_512")
|
|
847
|
+
else None
|
|
848
|
+
)
|
|
849
|
+
_image_72=(
|
|
850
|
+
self.image_72
|
|
851
|
+
if hasattr(self, "image_72")
|
|
852
|
+
else None
|
|
853
|
+
)
|
|
854
|
+
_image_original=(
|
|
855
|
+
self.image_original
|
|
856
|
+
if hasattr(self, "image_original")
|
|
857
|
+
else None
|
|
858
|
+
)
|
|
859
|
+
_is_app_user=(
|
|
860
|
+
self.is_app_user
|
|
861
|
+
if hasattr(self, "is_app_user")
|
|
862
|
+
else None
|
|
863
|
+
)
|
|
864
|
+
_is_custom_image=(
|
|
865
|
+
self.is_custom_image
|
|
866
|
+
if hasattr(self, "is_custom_image")
|
|
867
|
+
else None
|
|
868
|
+
)
|
|
869
|
+
_is_restricted=(
|
|
870
|
+
self.is_restricted
|
|
871
|
+
if hasattr(self, "is_restricted")
|
|
872
|
+
else None
|
|
873
|
+
)
|
|
874
|
+
_is_ultra_restricted=(
|
|
875
|
+
self.is_ultra_restricted
|
|
876
|
+
if hasattr(self, "is_ultra_restricted")
|
|
877
|
+
else None
|
|
878
|
+
)
|
|
879
|
+
_last_avatar_image_hash=(
|
|
880
|
+
self.last_avatar_image_hash
|
|
881
|
+
if hasattr(self, "last_avatar_image_hash")
|
|
882
|
+
else None
|
|
883
|
+
)
|
|
884
|
+
_last_name=(
|
|
885
|
+
self.last_name
|
|
886
|
+
if hasattr(self, "last_name")
|
|
887
|
+
else None
|
|
888
|
+
)
|
|
889
|
+
_memberships_count=(
|
|
890
|
+
self.memberships_count
|
|
891
|
+
if hasattr(self, "memberships_count")
|
|
892
|
+
else None
|
|
893
|
+
)
|
|
894
|
+
_name=(
|
|
895
|
+
self.name
|
|
896
|
+
if hasattr(self, "name")
|
|
897
|
+
else None
|
|
898
|
+
)
|
|
899
|
+
_phone=self.phone
|
|
900
|
+
_pronouns=(
|
|
901
|
+
self.pronouns
|
|
902
|
+
if hasattr(self, "pronouns")
|
|
903
|
+
else None
|
|
904
|
+
)
|
|
905
|
+
_real_name=self.real_name
|
|
906
|
+
_real_name_normalized=self.real_name_normalized
|
|
907
|
+
_skype=self.skype
|
|
908
|
+
_status_default_emoji=(
|
|
909
|
+
self.status_default_emoji
|
|
910
|
+
if hasattr(self, "status_default_emoji")
|
|
911
|
+
else None
|
|
912
|
+
)
|
|
913
|
+
_status_default_text=(
|
|
914
|
+
self.status_default_text
|
|
915
|
+
if hasattr(self, "status_default_text")
|
|
916
|
+
else None
|
|
917
|
+
)
|
|
918
|
+
_status_default_text_canonical=(
|
|
919
|
+
self.status_default_text_canonical
|
|
920
|
+
if hasattr(self, "status_default_text_canonical")
|
|
921
|
+
else None
|
|
922
|
+
)
|
|
923
|
+
_status_emoji=self.status_emoji
|
|
924
|
+
_status_expiration=(
|
|
925
|
+
self.status_expiration
|
|
926
|
+
if hasattr(self, "status_expiration")
|
|
927
|
+
else None
|
|
928
|
+
)
|
|
929
|
+
_status_text=self.status_text
|
|
930
|
+
_status_text_canonical=(
|
|
931
|
+
self.status_text_canonical
|
|
932
|
+
if hasattr(self, "status_text_canonical")
|
|
933
|
+
else None
|
|
934
|
+
)
|
|
935
|
+
_team=(
|
|
936
|
+
self.team
|
|
937
|
+
if hasattr(self, "team")
|
|
938
|
+
else None
|
|
939
|
+
)
|
|
940
|
+
_title=self.title
|
|
941
|
+
_updated=(
|
|
942
|
+
self.updated
|
|
943
|
+
if hasattr(self, "updated")
|
|
944
|
+
else None
|
|
945
|
+
)
|
|
946
|
+
_user_id=(
|
|
947
|
+
self.user_id
|
|
948
|
+
if hasattr(self, "user_id")
|
|
949
|
+
else None
|
|
950
|
+
)
|
|
951
|
+
_username=(
|
|
952
|
+
self.username
|
|
953
|
+
if hasattr(self, "username")
|
|
954
|
+
else None
|
|
955
|
+
)
|
|
956
|
+
_additional_properties=self.additional_properties
|
|
957
|
+
return (
|
|
958
|
+
f"{self.__class__.__name__}("
|
|
959
|
+
f"always_active={_always_active!s}, "
|
|
960
|
+
f"api_app_id={_api_app_id!s}, "
|
|
961
|
+
f"avatar_hash={_avatar_hash!s}, "
|
|
962
|
+
f"bot_id={_bot_id!s}, "
|
|
963
|
+
f"display_name={_display_name!s}, "
|
|
964
|
+
f"display_name_normalized={_display_name_normalized!s}, "
|
|
965
|
+
f"email={_email!s}, "
|
|
966
|
+
f"fields={_fields!s}, "
|
|
967
|
+
f"first_name={_first_name!s}, "
|
|
968
|
+
f"guest_expiration_ts={_guest_expiration_ts!s}, "
|
|
969
|
+
f"guest_invited_by={_guest_invited_by!s}, "
|
|
970
|
+
f"image_1024={_image_1024!s}, "
|
|
971
|
+
f"image_192={_image_192!s}, "
|
|
972
|
+
f"image_24={_image_24!s}, "
|
|
973
|
+
f"image_32={_image_32!s}, "
|
|
974
|
+
f"image_48={_image_48!s}, "
|
|
975
|
+
f"image_512={_image_512!s}, "
|
|
976
|
+
f"image_72={_image_72!s}, "
|
|
977
|
+
f"image_original={_image_original!s}, "
|
|
978
|
+
f"is_app_user={_is_app_user!s}, "
|
|
979
|
+
f"is_custom_image={_is_custom_image!s}, "
|
|
980
|
+
f"is_restricted={_is_restricted!s}, "
|
|
981
|
+
f"is_ultra_restricted={_is_ultra_restricted!s}, "
|
|
982
|
+
f"last_avatar_image_hash={_last_avatar_image_hash!s}, "
|
|
983
|
+
f"last_name={_last_name!s}, "
|
|
984
|
+
f"memberships_count={_memberships_count!s}, "
|
|
985
|
+
f"name={_name!s}, "
|
|
986
|
+
f"phone={_phone!s}, "
|
|
987
|
+
f"pronouns={_pronouns!s}, "
|
|
988
|
+
f"real_name={_real_name!s}, "
|
|
989
|
+
f"real_name_normalized={_real_name_normalized!s}, "
|
|
990
|
+
f"skype={_skype!s}, "
|
|
991
|
+
f"status_default_emoji={_status_default_emoji!s}, "
|
|
992
|
+
f"status_default_text={_status_default_text!s}, "
|
|
993
|
+
f"status_default_text_canonical={_status_default_text_canonical!s}, "
|
|
994
|
+
f"status_emoji={_status_emoji!s}, "
|
|
995
|
+
f"status_expiration={_status_expiration!s}, "
|
|
996
|
+
f"status_text={_status_text!s}, "
|
|
997
|
+
f"status_text_canonical={_status_text_canonical!s}, "
|
|
998
|
+
f"team={_team!s}, "
|
|
999
|
+
f"title={_title!s}, "
|
|
1000
|
+
f"updated={_updated!s}, "
|
|
1001
|
+
f"user_id={_user_id!s}, "
|
|
1002
|
+
f"username={_username!s}, "
|
|
1003
|
+
f"additional_properties={_additional_properties!s}, "
|
|
1004
|
+
f")"
|
|
1005
|
+
)
|