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,1700 @@
|
|
|
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
|
+
from slackwebapi.models.reaction_object import (
|
|
9
|
+
ReactionObject,
|
|
10
|
+
)
|
|
11
|
+
from slackwebapi.models.shares import Shares
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class FileObject(object):
|
|
15
|
+
"""Implementation of the 'file object' model.
|
|
16
|
+
|
|
17
|
+
Attributes:
|
|
18
|
+
channels (List[str]): The model property of type List[str].
|
|
19
|
+
comments_count (int): The model property of type int.
|
|
20
|
+
created (int): The model property of type int.
|
|
21
|
+
date_delete (int): The model property of type int.
|
|
22
|
+
display_as_bot (bool): The model property of type bool.
|
|
23
|
+
editable (bool): The model property of type bool.
|
|
24
|
+
editor (str): The model property of type str.
|
|
25
|
+
external_id (str): The model property of type str.
|
|
26
|
+
external_type (str): The model property of type str.
|
|
27
|
+
external_url (str): The model property of type str.
|
|
28
|
+
filetype (str): The model property of type str.
|
|
29
|
+
groups (List[str]): The model property of type List[str].
|
|
30
|
+
has_rich_preview (bool): The model property of type bool.
|
|
31
|
+
id (str): The model property of type str.
|
|
32
|
+
image_exif_rotation (int): The model property of type int.
|
|
33
|
+
ims (List[str]): The model property of type List[str].
|
|
34
|
+
is_external (bool): The model property of type bool.
|
|
35
|
+
is_public (bool): The model property of type bool.
|
|
36
|
+
is_starred (bool): The model property of type bool.
|
|
37
|
+
is_tombstoned (bool): The model property of type bool.
|
|
38
|
+
last_editor (str): The model property of type str.
|
|
39
|
+
mimetype (str): The model property of type str.
|
|
40
|
+
mode (str): The model property of type str.
|
|
41
|
+
name (str): The model property of type str.
|
|
42
|
+
non_owner_editable (bool): The model property of type bool.
|
|
43
|
+
num_stars (int): The model property of type int.
|
|
44
|
+
original_h (int): The model property of type int.
|
|
45
|
+
original_w (int): The model property of type int.
|
|
46
|
+
permalink (str): The model property of type str.
|
|
47
|
+
permalink_public (str): The model property of type str.
|
|
48
|
+
pinned_info (Any): The model property of type Any.
|
|
49
|
+
pinned_to (List[str]): The model property of type List[str].
|
|
50
|
+
pretty_type (str): The model property of type str.
|
|
51
|
+
preview (str): The model property of type str.
|
|
52
|
+
public_url_shared (bool): The model property of type bool.
|
|
53
|
+
reactions (List[ReactionObject]): The model property of type
|
|
54
|
+
List[ReactionObject].
|
|
55
|
+
shares (Shares): The model property of type Shares.
|
|
56
|
+
size (int): The model property of type int.
|
|
57
|
+
source_team (str): The model property of type str.
|
|
58
|
+
state (str): The model property of type str.
|
|
59
|
+
thumb_1024 (str): The model property of type str.
|
|
60
|
+
thumb_1024_h (int): The model property of type int.
|
|
61
|
+
thumb_1024_w (int): The model property of type int.
|
|
62
|
+
thumb_160 (str): The model property of type str.
|
|
63
|
+
thumb_360 (str): The model property of type str.
|
|
64
|
+
thumb_360_h (int): The model property of type int.
|
|
65
|
+
thumb_360_w (int): The model property of type int.
|
|
66
|
+
thumb_480 (str): The model property of type str.
|
|
67
|
+
thumb_480_h (int): The model property of type int.
|
|
68
|
+
thumb_480_w (int): The model property of type int.
|
|
69
|
+
thumb_64 (str): The model property of type str.
|
|
70
|
+
thumb_720 (str): The model property of type str.
|
|
71
|
+
thumb_720_h (int): The model property of type int.
|
|
72
|
+
thumb_720_w (int): The model property of type int.
|
|
73
|
+
thumb_80 (str): The model property of type str.
|
|
74
|
+
thumb_800 (str): The model property of type str.
|
|
75
|
+
thumb_800_h (int): The model property of type int.
|
|
76
|
+
thumb_800_w (int): The model property of type int.
|
|
77
|
+
thumb_960 (str): The model property of type str.
|
|
78
|
+
thumb_960_h (int): The model property of type int.
|
|
79
|
+
thumb_960_w (int): The model property of type int.
|
|
80
|
+
thumb_tiny (str): The model property of type str.
|
|
81
|
+
timestamp (int): The model property of type int.
|
|
82
|
+
title (str): The model property of type str.
|
|
83
|
+
updated (int): The model property of type int.
|
|
84
|
+
url_private (str): The model property of type str.
|
|
85
|
+
url_private_download (str): The model property of type str.
|
|
86
|
+
user (str): The model property of type str.
|
|
87
|
+
user_team (str): The model property of type str.
|
|
88
|
+
username (str): The model property of type str.
|
|
89
|
+
additional_properties (Dict[str, Any]): The additional properties for the
|
|
90
|
+
model.
|
|
91
|
+
|
|
92
|
+
"""
|
|
93
|
+
|
|
94
|
+
# Create a mapping from Model property names to API property names
|
|
95
|
+
_names = {
|
|
96
|
+
"channels": "channels",
|
|
97
|
+
"comments_count": "comments_count",
|
|
98
|
+
"created": "created",
|
|
99
|
+
"date_delete": "date_delete",
|
|
100
|
+
"display_as_bot": "display_as_bot",
|
|
101
|
+
"editable": "editable",
|
|
102
|
+
"editor": "editor",
|
|
103
|
+
"external_id": "external_id",
|
|
104
|
+
"external_type": "external_type",
|
|
105
|
+
"external_url": "external_url",
|
|
106
|
+
"filetype": "filetype",
|
|
107
|
+
"groups": "groups",
|
|
108
|
+
"has_rich_preview": "has_rich_preview",
|
|
109
|
+
"id": "id",
|
|
110
|
+
"image_exif_rotation": "image_exif_rotation",
|
|
111
|
+
"ims": "ims",
|
|
112
|
+
"is_external": "is_external",
|
|
113
|
+
"is_public": "is_public",
|
|
114
|
+
"is_starred": "is_starred",
|
|
115
|
+
"is_tombstoned": "is_tombstoned",
|
|
116
|
+
"last_editor": "last_editor",
|
|
117
|
+
"mimetype": "mimetype",
|
|
118
|
+
"mode": "mode",
|
|
119
|
+
"name": "name",
|
|
120
|
+
"non_owner_editable": "non_owner_editable",
|
|
121
|
+
"num_stars": "num_stars",
|
|
122
|
+
"original_h": "original_h",
|
|
123
|
+
"original_w": "original_w",
|
|
124
|
+
"permalink": "permalink",
|
|
125
|
+
"permalink_public": "permalink_public",
|
|
126
|
+
"pinned_info": "pinned_info",
|
|
127
|
+
"pinned_to": "pinned_to",
|
|
128
|
+
"pretty_type": "pretty_type",
|
|
129
|
+
"preview": "preview",
|
|
130
|
+
"public_url_shared": "public_url_shared",
|
|
131
|
+
"reactions": "reactions",
|
|
132
|
+
"shares": "shares",
|
|
133
|
+
"size": "size",
|
|
134
|
+
"source_team": "source_team",
|
|
135
|
+
"state": "state",
|
|
136
|
+
"thumb_1024": "thumb_1024",
|
|
137
|
+
"thumb_1024_h": "thumb_1024_h",
|
|
138
|
+
"thumb_1024_w": "thumb_1024_w",
|
|
139
|
+
"thumb_160": "thumb_160",
|
|
140
|
+
"thumb_360": "thumb_360",
|
|
141
|
+
"thumb_360_h": "thumb_360_h",
|
|
142
|
+
"thumb_360_w": "thumb_360_w",
|
|
143
|
+
"thumb_480": "thumb_480",
|
|
144
|
+
"thumb_480_h": "thumb_480_h",
|
|
145
|
+
"thumb_480_w": "thumb_480_w",
|
|
146
|
+
"thumb_64": "thumb_64",
|
|
147
|
+
"thumb_720": "thumb_720",
|
|
148
|
+
"thumb_720_h": "thumb_720_h",
|
|
149
|
+
"thumb_720_w": "thumb_720_w",
|
|
150
|
+
"thumb_80": "thumb_80",
|
|
151
|
+
"thumb_800": "thumb_800",
|
|
152
|
+
"thumb_800_h": "thumb_800_h",
|
|
153
|
+
"thumb_800_w": "thumb_800_w",
|
|
154
|
+
"thumb_960": "thumb_960",
|
|
155
|
+
"thumb_960_h": "thumb_960_h",
|
|
156
|
+
"thumb_960_w": "thumb_960_w",
|
|
157
|
+
"thumb_tiny": "thumb_tiny",
|
|
158
|
+
"timestamp": "timestamp",
|
|
159
|
+
"title": "title",
|
|
160
|
+
"updated": "updated",
|
|
161
|
+
"url_private": "url_private",
|
|
162
|
+
"url_private_download": "url_private_download",
|
|
163
|
+
"user": "user",
|
|
164
|
+
"user_team": "user_team",
|
|
165
|
+
"username": "username",
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
_optionals = [
|
|
169
|
+
"channels",
|
|
170
|
+
"comments_count",
|
|
171
|
+
"created",
|
|
172
|
+
"date_delete",
|
|
173
|
+
"display_as_bot",
|
|
174
|
+
"editable",
|
|
175
|
+
"editor",
|
|
176
|
+
"external_id",
|
|
177
|
+
"external_type",
|
|
178
|
+
"external_url",
|
|
179
|
+
"filetype",
|
|
180
|
+
"groups",
|
|
181
|
+
"has_rich_preview",
|
|
182
|
+
"id",
|
|
183
|
+
"image_exif_rotation",
|
|
184
|
+
"ims",
|
|
185
|
+
"is_external",
|
|
186
|
+
"is_public",
|
|
187
|
+
"is_starred",
|
|
188
|
+
"is_tombstoned",
|
|
189
|
+
"last_editor",
|
|
190
|
+
"mimetype",
|
|
191
|
+
"mode",
|
|
192
|
+
"name",
|
|
193
|
+
"non_owner_editable",
|
|
194
|
+
"num_stars",
|
|
195
|
+
"original_h",
|
|
196
|
+
"original_w",
|
|
197
|
+
"permalink",
|
|
198
|
+
"permalink_public",
|
|
199
|
+
"pinned_info",
|
|
200
|
+
"pinned_to",
|
|
201
|
+
"pretty_type",
|
|
202
|
+
"preview",
|
|
203
|
+
"public_url_shared",
|
|
204
|
+
"reactions",
|
|
205
|
+
"shares",
|
|
206
|
+
"size",
|
|
207
|
+
"source_team",
|
|
208
|
+
"state",
|
|
209
|
+
"thumb_1024",
|
|
210
|
+
"thumb_1024_h",
|
|
211
|
+
"thumb_1024_w",
|
|
212
|
+
"thumb_160",
|
|
213
|
+
"thumb_360",
|
|
214
|
+
"thumb_360_h",
|
|
215
|
+
"thumb_360_w",
|
|
216
|
+
"thumb_480",
|
|
217
|
+
"thumb_480_h",
|
|
218
|
+
"thumb_480_w",
|
|
219
|
+
"thumb_64",
|
|
220
|
+
"thumb_720",
|
|
221
|
+
"thumb_720_h",
|
|
222
|
+
"thumb_720_w",
|
|
223
|
+
"thumb_80",
|
|
224
|
+
"thumb_800",
|
|
225
|
+
"thumb_800_h",
|
|
226
|
+
"thumb_800_w",
|
|
227
|
+
"thumb_960",
|
|
228
|
+
"thumb_960_h",
|
|
229
|
+
"thumb_960_w",
|
|
230
|
+
"thumb_tiny",
|
|
231
|
+
"timestamp",
|
|
232
|
+
"title",
|
|
233
|
+
"updated",
|
|
234
|
+
"url_private",
|
|
235
|
+
"url_private_download",
|
|
236
|
+
"user",
|
|
237
|
+
"user_team",
|
|
238
|
+
"username",
|
|
239
|
+
]
|
|
240
|
+
|
|
241
|
+
def __init__(
|
|
242
|
+
self,
|
|
243
|
+
channels=APIHelper.SKIP,
|
|
244
|
+
comments_count=APIHelper.SKIP,
|
|
245
|
+
created=APIHelper.SKIP,
|
|
246
|
+
date_delete=APIHelper.SKIP,
|
|
247
|
+
display_as_bot=APIHelper.SKIP,
|
|
248
|
+
editable=APIHelper.SKIP,
|
|
249
|
+
editor=APIHelper.SKIP,
|
|
250
|
+
external_id=APIHelper.SKIP,
|
|
251
|
+
external_type=APIHelper.SKIP,
|
|
252
|
+
external_url=APIHelper.SKIP,
|
|
253
|
+
filetype=APIHelper.SKIP,
|
|
254
|
+
groups=APIHelper.SKIP,
|
|
255
|
+
has_rich_preview=APIHelper.SKIP,
|
|
256
|
+
id=APIHelper.SKIP,
|
|
257
|
+
image_exif_rotation=APIHelper.SKIP,
|
|
258
|
+
ims=APIHelper.SKIP,
|
|
259
|
+
is_external=APIHelper.SKIP,
|
|
260
|
+
is_public=APIHelper.SKIP,
|
|
261
|
+
is_starred=APIHelper.SKIP,
|
|
262
|
+
is_tombstoned=APIHelper.SKIP,
|
|
263
|
+
last_editor=APIHelper.SKIP,
|
|
264
|
+
mimetype=APIHelper.SKIP,
|
|
265
|
+
mode=APIHelper.SKIP,
|
|
266
|
+
name=APIHelper.SKIP,
|
|
267
|
+
non_owner_editable=APIHelper.SKIP,
|
|
268
|
+
num_stars=APIHelper.SKIP,
|
|
269
|
+
original_h=APIHelper.SKIP,
|
|
270
|
+
original_w=APIHelper.SKIP,
|
|
271
|
+
permalink=APIHelper.SKIP,
|
|
272
|
+
permalink_public=APIHelper.SKIP,
|
|
273
|
+
pinned_info=APIHelper.SKIP,
|
|
274
|
+
pinned_to=APIHelper.SKIP,
|
|
275
|
+
pretty_type=APIHelper.SKIP,
|
|
276
|
+
preview=APIHelper.SKIP,
|
|
277
|
+
public_url_shared=APIHelper.SKIP,
|
|
278
|
+
reactions=APIHelper.SKIP,
|
|
279
|
+
shares=APIHelper.SKIP,
|
|
280
|
+
size=APIHelper.SKIP,
|
|
281
|
+
source_team=APIHelper.SKIP,
|
|
282
|
+
state=APIHelper.SKIP,
|
|
283
|
+
thumb_1024=APIHelper.SKIP,
|
|
284
|
+
thumb_1024_h=APIHelper.SKIP,
|
|
285
|
+
thumb_1024_w=APIHelper.SKIP,
|
|
286
|
+
thumb_160=APIHelper.SKIP,
|
|
287
|
+
thumb_360=APIHelper.SKIP,
|
|
288
|
+
thumb_360_h=APIHelper.SKIP,
|
|
289
|
+
thumb_360_w=APIHelper.SKIP,
|
|
290
|
+
thumb_480=APIHelper.SKIP,
|
|
291
|
+
thumb_480_h=APIHelper.SKIP,
|
|
292
|
+
thumb_480_w=APIHelper.SKIP,
|
|
293
|
+
thumb_64=APIHelper.SKIP,
|
|
294
|
+
thumb_720=APIHelper.SKIP,
|
|
295
|
+
thumb_720_h=APIHelper.SKIP,
|
|
296
|
+
thumb_720_w=APIHelper.SKIP,
|
|
297
|
+
thumb_80=APIHelper.SKIP,
|
|
298
|
+
thumb_800=APIHelper.SKIP,
|
|
299
|
+
thumb_800_h=APIHelper.SKIP,
|
|
300
|
+
thumb_800_w=APIHelper.SKIP,
|
|
301
|
+
thumb_960=APIHelper.SKIP,
|
|
302
|
+
thumb_960_h=APIHelper.SKIP,
|
|
303
|
+
thumb_960_w=APIHelper.SKIP,
|
|
304
|
+
thumb_tiny=APIHelper.SKIP,
|
|
305
|
+
timestamp=APIHelper.SKIP,
|
|
306
|
+
title=APIHelper.SKIP,
|
|
307
|
+
updated=APIHelper.SKIP,
|
|
308
|
+
url_private=APIHelper.SKIP,
|
|
309
|
+
url_private_download=APIHelper.SKIP,
|
|
310
|
+
user=APIHelper.SKIP,
|
|
311
|
+
user_team=APIHelper.SKIP,
|
|
312
|
+
username=APIHelper.SKIP,
|
|
313
|
+
additional_properties=None):
|
|
314
|
+
"""Initialize a FileObject instance."""
|
|
315
|
+
# Initialize members of the class
|
|
316
|
+
if channels is not APIHelper.SKIP:
|
|
317
|
+
self.channels = channels
|
|
318
|
+
if comments_count is not APIHelper.SKIP:
|
|
319
|
+
self.comments_count = comments_count
|
|
320
|
+
if created is not APIHelper.SKIP:
|
|
321
|
+
self.created = created
|
|
322
|
+
if date_delete is not APIHelper.SKIP:
|
|
323
|
+
self.date_delete = date_delete
|
|
324
|
+
if display_as_bot is not APIHelper.SKIP:
|
|
325
|
+
self.display_as_bot = display_as_bot
|
|
326
|
+
if editable is not APIHelper.SKIP:
|
|
327
|
+
self.editable = editable
|
|
328
|
+
if editor is not APIHelper.SKIP:
|
|
329
|
+
self.editor = editor
|
|
330
|
+
if external_id is not APIHelper.SKIP:
|
|
331
|
+
self.external_id = external_id
|
|
332
|
+
if external_type is not APIHelper.SKIP:
|
|
333
|
+
self.external_type = external_type
|
|
334
|
+
if external_url is not APIHelper.SKIP:
|
|
335
|
+
self.external_url = external_url
|
|
336
|
+
if filetype is not APIHelper.SKIP:
|
|
337
|
+
self.filetype = filetype
|
|
338
|
+
if groups is not APIHelper.SKIP:
|
|
339
|
+
self.groups = groups
|
|
340
|
+
if has_rich_preview is not APIHelper.SKIP:
|
|
341
|
+
self.has_rich_preview = has_rich_preview
|
|
342
|
+
if id is not APIHelper.SKIP:
|
|
343
|
+
self.id = id
|
|
344
|
+
if image_exif_rotation is not APIHelper.SKIP:
|
|
345
|
+
self.image_exif_rotation = image_exif_rotation
|
|
346
|
+
if ims is not APIHelper.SKIP:
|
|
347
|
+
self.ims = ims
|
|
348
|
+
if is_external is not APIHelper.SKIP:
|
|
349
|
+
self.is_external = is_external
|
|
350
|
+
if is_public is not APIHelper.SKIP:
|
|
351
|
+
self.is_public = is_public
|
|
352
|
+
if is_starred is not APIHelper.SKIP:
|
|
353
|
+
self.is_starred = is_starred
|
|
354
|
+
if is_tombstoned is not APIHelper.SKIP:
|
|
355
|
+
self.is_tombstoned = is_tombstoned
|
|
356
|
+
if last_editor is not APIHelper.SKIP:
|
|
357
|
+
self.last_editor = last_editor
|
|
358
|
+
if mimetype is not APIHelper.SKIP:
|
|
359
|
+
self.mimetype = mimetype
|
|
360
|
+
if mode is not APIHelper.SKIP:
|
|
361
|
+
self.mode = mode
|
|
362
|
+
if name is not APIHelper.SKIP:
|
|
363
|
+
self.name = name
|
|
364
|
+
if non_owner_editable is not APIHelper.SKIP:
|
|
365
|
+
self.non_owner_editable = non_owner_editable
|
|
366
|
+
if num_stars is not APIHelper.SKIP:
|
|
367
|
+
self.num_stars = num_stars
|
|
368
|
+
if original_h is not APIHelper.SKIP:
|
|
369
|
+
self.original_h = original_h
|
|
370
|
+
if original_w is not APIHelper.SKIP:
|
|
371
|
+
self.original_w = original_w
|
|
372
|
+
if permalink is not APIHelper.SKIP:
|
|
373
|
+
self.permalink = permalink
|
|
374
|
+
if permalink_public is not APIHelper.SKIP:
|
|
375
|
+
self.permalink_public = permalink_public
|
|
376
|
+
if pinned_info is not APIHelper.SKIP:
|
|
377
|
+
self.pinned_info = pinned_info
|
|
378
|
+
if pinned_to is not APIHelper.SKIP:
|
|
379
|
+
self.pinned_to = pinned_to
|
|
380
|
+
if pretty_type is not APIHelper.SKIP:
|
|
381
|
+
self.pretty_type = pretty_type
|
|
382
|
+
if preview is not APIHelper.SKIP:
|
|
383
|
+
self.preview = preview
|
|
384
|
+
if public_url_shared is not APIHelper.SKIP:
|
|
385
|
+
self.public_url_shared = public_url_shared
|
|
386
|
+
if reactions is not APIHelper.SKIP:
|
|
387
|
+
self.reactions = reactions
|
|
388
|
+
if shares is not APIHelper.SKIP:
|
|
389
|
+
self.shares = shares
|
|
390
|
+
if size is not APIHelper.SKIP:
|
|
391
|
+
self.size = size
|
|
392
|
+
if source_team is not APIHelper.SKIP:
|
|
393
|
+
self.source_team = source_team
|
|
394
|
+
if state is not APIHelper.SKIP:
|
|
395
|
+
self.state = state
|
|
396
|
+
if thumb_1024 is not APIHelper.SKIP:
|
|
397
|
+
self.thumb_1024 = thumb_1024
|
|
398
|
+
if thumb_1024_h is not APIHelper.SKIP:
|
|
399
|
+
self.thumb_1024_h = thumb_1024_h
|
|
400
|
+
if thumb_1024_w is not APIHelper.SKIP:
|
|
401
|
+
self.thumb_1024_w = thumb_1024_w
|
|
402
|
+
if thumb_160 is not APIHelper.SKIP:
|
|
403
|
+
self.thumb_160 = thumb_160
|
|
404
|
+
if thumb_360 is not APIHelper.SKIP:
|
|
405
|
+
self.thumb_360 = thumb_360
|
|
406
|
+
if thumb_360_h is not APIHelper.SKIP:
|
|
407
|
+
self.thumb_360_h = thumb_360_h
|
|
408
|
+
if thumb_360_w is not APIHelper.SKIP:
|
|
409
|
+
self.thumb_360_w = thumb_360_w
|
|
410
|
+
if thumb_480 is not APIHelper.SKIP:
|
|
411
|
+
self.thumb_480 = thumb_480
|
|
412
|
+
if thumb_480_h is not APIHelper.SKIP:
|
|
413
|
+
self.thumb_480_h = thumb_480_h
|
|
414
|
+
if thumb_480_w is not APIHelper.SKIP:
|
|
415
|
+
self.thumb_480_w = thumb_480_w
|
|
416
|
+
if thumb_64 is not APIHelper.SKIP:
|
|
417
|
+
self.thumb_64 = thumb_64
|
|
418
|
+
if thumb_720 is not APIHelper.SKIP:
|
|
419
|
+
self.thumb_720 = thumb_720
|
|
420
|
+
if thumb_720_h is not APIHelper.SKIP:
|
|
421
|
+
self.thumb_720_h = thumb_720_h
|
|
422
|
+
if thumb_720_w is not APIHelper.SKIP:
|
|
423
|
+
self.thumb_720_w = thumb_720_w
|
|
424
|
+
if thumb_80 is not APIHelper.SKIP:
|
|
425
|
+
self.thumb_80 = thumb_80
|
|
426
|
+
if thumb_800 is not APIHelper.SKIP:
|
|
427
|
+
self.thumb_800 = thumb_800
|
|
428
|
+
if thumb_800_h is not APIHelper.SKIP:
|
|
429
|
+
self.thumb_800_h = thumb_800_h
|
|
430
|
+
if thumb_800_w is not APIHelper.SKIP:
|
|
431
|
+
self.thumb_800_w = thumb_800_w
|
|
432
|
+
if thumb_960 is not APIHelper.SKIP:
|
|
433
|
+
self.thumb_960 = thumb_960
|
|
434
|
+
if thumb_960_h is not APIHelper.SKIP:
|
|
435
|
+
self.thumb_960_h = thumb_960_h
|
|
436
|
+
if thumb_960_w is not APIHelper.SKIP:
|
|
437
|
+
self.thumb_960_w = thumb_960_w
|
|
438
|
+
if thumb_tiny is not APIHelper.SKIP:
|
|
439
|
+
self.thumb_tiny = thumb_tiny
|
|
440
|
+
if timestamp is not APIHelper.SKIP:
|
|
441
|
+
self.timestamp = timestamp
|
|
442
|
+
if title is not APIHelper.SKIP:
|
|
443
|
+
self.title = title
|
|
444
|
+
if updated is not APIHelper.SKIP:
|
|
445
|
+
self.updated = updated
|
|
446
|
+
if url_private is not APIHelper.SKIP:
|
|
447
|
+
self.url_private = url_private
|
|
448
|
+
if url_private_download is not APIHelper.SKIP:
|
|
449
|
+
self.url_private_download = url_private_download
|
|
450
|
+
if user is not APIHelper.SKIP:
|
|
451
|
+
self.user = user
|
|
452
|
+
if user_team is not APIHelper.SKIP:
|
|
453
|
+
self.user_team = user_team
|
|
454
|
+
if username is not APIHelper.SKIP:
|
|
455
|
+
self.username = username
|
|
456
|
+
|
|
457
|
+
# Add additional model properties to the instance
|
|
458
|
+
if additional_properties is None:
|
|
459
|
+
additional_properties = {}
|
|
460
|
+
self.additional_properties = additional_properties
|
|
461
|
+
|
|
462
|
+
@classmethod
|
|
463
|
+
def from_dictionary(cls,
|
|
464
|
+
dictionary):
|
|
465
|
+
"""Create an instance of this model from a dictionary
|
|
466
|
+
|
|
467
|
+
Args:
|
|
468
|
+
dictionary (dictionary): A dictionary representation of the object
|
|
469
|
+
as obtained from the deserialization of the server's response. The
|
|
470
|
+
keys MUST match property names in the API description.
|
|
471
|
+
|
|
472
|
+
Returns:
|
|
473
|
+
object: An instance of this structure class.
|
|
474
|
+
|
|
475
|
+
"""
|
|
476
|
+
if not isinstance(dictionary, dict) or dictionary is None:
|
|
477
|
+
return None
|
|
478
|
+
|
|
479
|
+
# Extract variables from the dictionary
|
|
480
|
+
channels =\
|
|
481
|
+
dictionary.get("channels")\
|
|
482
|
+
if dictionary.get("channels")\
|
|
483
|
+
else APIHelper.SKIP
|
|
484
|
+
comments_count =\
|
|
485
|
+
dictionary.get("comments_count")\
|
|
486
|
+
if dictionary.get("comments_count")\
|
|
487
|
+
else APIHelper.SKIP
|
|
488
|
+
created =\
|
|
489
|
+
dictionary.get("created")\
|
|
490
|
+
if dictionary.get("created")\
|
|
491
|
+
else APIHelper.SKIP
|
|
492
|
+
date_delete =\
|
|
493
|
+
dictionary.get("date_delete")\
|
|
494
|
+
if dictionary.get("date_delete")\
|
|
495
|
+
else APIHelper.SKIP
|
|
496
|
+
display_as_bot =\
|
|
497
|
+
dictionary.get("display_as_bot")\
|
|
498
|
+
if "display_as_bot" in dictionary.keys()\
|
|
499
|
+
else APIHelper.SKIP
|
|
500
|
+
editable =\
|
|
501
|
+
dictionary.get("editable")\
|
|
502
|
+
if "editable" in dictionary.keys()\
|
|
503
|
+
else APIHelper.SKIP
|
|
504
|
+
editor =\
|
|
505
|
+
dictionary.get("editor")\
|
|
506
|
+
if dictionary.get("editor")\
|
|
507
|
+
else APIHelper.SKIP
|
|
508
|
+
external_id =\
|
|
509
|
+
dictionary.get("external_id")\
|
|
510
|
+
if dictionary.get("external_id")\
|
|
511
|
+
else APIHelper.SKIP
|
|
512
|
+
external_type =\
|
|
513
|
+
dictionary.get("external_type")\
|
|
514
|
+
if dictionary.get("external_type")\
|
|
515
|
+
else APIHelper.SKIP
|
|
516
|
+
external_url =\
|
|
517
|
+
dictionary.get("external_url")\
|
|
518
|
+
if dictionary.get("external_url")\
|
|
519
|
+
else APIHelper.SKIP
|
|
520
|
+
filetype =\
|
|
521
|
+
dictionary.get("filetype")\
|
|
522
|
+
if dictionary.get("filetype")\
|
|
523
|
+
else APIHelper.SKIP
|
|
524
|
+
groups =\
|
|
525
|
+
dictionary.get("groups")\
|
|
526
|
+
if dictionary.get("groups")\
|
|
527
|
+
else APIHelper.SKIP
|
|
528
|
+
has_rich_preview =\
|
|
529
|
+
dictionary.get("has_rich_preview")\
|
|
530
|
+
if "has_rich_preview" in dictionary.keys()\
|
|
531
|
+
else APIHelper.SKIP
|
|
532
|
+
id =\
|
|
533
|
+
dictionary.get("id")\
|
|
534
|
+
if dictionary.get("id")\
|
|
535
|
+
else APIHelper.SKIP
|
|
536
|
+
image_exif_rotation =\
|
|
537
|
+
dictionary.get("image_exif_rotation")\
|
|
538
|
+
if dictionary.get("image_exif_rotation")\
|
|
539
|
+
else APIHelper.SKIP
|
|
540
|
+
ims =\
|
|
541
|
+
dictionary.get("ims")\
|
|
542
|
+
if dictionary.get("ims")\
|
|
543
|
+
else APIHelper.SKIP
|
|
544
|
+
is_external =\
|
|
545
|
+
dictionary.get("is_external")\
|
|
546
|
+
if "is_external" in dictionary.keys()\
|
|
547
|
+
else APIHelper.SKIP
|
|
548
|
+
is_public =\
|
|
549
|
+
dictionary.get("is_public")\
|
|
550
|
+
if "is_public" in dictionary.keys()\
|
|
551
|
+
else APIHelper.SKIP
|
|
552
|
+
is_starred =\
|
|
553
|
+
dictionary.get("is_starred")\
|
|
554
|
+
if "is_starred" in dictionary.keys()\
|
|
555
|
+
else APIHelper.SKIP
|
|
556
|
+
is_tombstoned =\
|
|
557
|
+
dictionary.get("is_tombstoned")\
|
|
558
|
+
if "is_tombstoned" in dictionary.keys()\
|
|
559
|
+
else APIHelper.SKIP
|
|
560
|
+
last_editor =\
|
|
561
|
+
dictionary.get("last_editor")\
|
|
562
|
+
if dictionary.get("last_editor")\
|
|
563
|
+
else APIHelper.SKIP
|
|
564
|
+
mimetype =\
|
|
565
|
+
dictionary.get("mimetype")\
|
|
566
|
+
if dictionary.get("mimetype")\
|
|
567
|
+
else APIHelper.SKIP
|
|
568
|
+
mode =\
|
|
569
|
+
dictionary.get("mode")\
|
|
570
|
+
if dictionary.get("mode")\
|
|
571
|
+
else APIHelper.SKIP
|
|
572
|
+
name =\
|
|
573
|
+
dictionary.get("name")\
|
|
574
|
+
if dictionary.get("name")\
|
|
575
|
+
else APIHelper.SKIP
|
|
576
|
+
non_owner_editable =\
|
|
577
|
+
dictionary.get("non_owner_editable")\
|
|
578
|
+
if "non_owner_editable" in dictionary.keys()\
|
|
579
|
+
else APIHelper.SKIP
|
|
580
|
+
num_stars =\
|
|
581
|
+
dictionary.get("num_stars")\
|
|
582
|
+
if dictionary.get("num_stars")\
|
|
583
|
+
else APIHelper.SKIP
|
|
584
|
+
original_h =\
|
|
585
|
+
dictionary.get("original_h")\
|
|
586
|
+
if dictionary.get("original_h")\
|
|
587
|
+
else APIHelper.SKIP
|
|
588
|
+
original_w =\
|
|
589
|
+
dictionary.get("original_w")\
|
|
590
|
+
if dictionary.get("original_w")\
|
|
591
|
+
else APIHelper.SKIP
|
|
592
|
+
permalink =\
|
|
593
|
+
dictionary.get("permalink")\
|
|
594
|
+
if dictionary.get("permalink")\
|
|
595
|
+
else APIHelper.SKIP
|
|
596
|
+
permalink_public =\
|
|
597
|
+
dictionary.get("permalink_public")\
|
|
598
|
+
if dictionary.get("permalink_public")\
|
|
599
|
+
else APIHelper.SKIP
|
|
600
|
+
pinned_info =\
|
|
601
|
+
dictionary.get("pinned_info")\
|
|
602
|
+
if dictionary.get("pinned_info")\
|
|
603
|
+
else APIHelper.SKIP
|
|
604
|
+
pinned_to =\
|
|
605
|
+
dictionary.get("pinned_to")\
|
|
606
|
+
if dictionary.get("pinned_to")\
|
|
607
|
+
else APIHelper.SKIP
|
|
608
|
+
pretty_type =\
|
|
609
|
+
dictionary.get("pretty_type")\
|
|
610
|
+
if dictionary.get("pretty_type")\
|
|
611
|
+
else APIHelper.SKIP
|
|
612
|
+
preview =\
|
|
613
|
+
dictionary.get("preview")\
|
|
614
|
+
if dictionary.get("preview")\
|
|
615
|
+
else APIHelper.SKIP
|
|
616
|
+
public_url_shared =\
|
|
617
|
+
dictionary.get("public_url_shared")\
|
|
618
|
+
if "public_url_shared" in dictionary.keys()\
|
|
619
|
+
else APIHelper.SKIP
|
|
620
|
+
reactions = None
|
|
621
|
+
if dictionary.get("reactions") is not None:
|
|
622
|
+
reactions = [
|
|
623
|
+
ReactionObject.from_dictionary(x)
|
|
624
|
+
for x in dictionary.get("reactions")
|
|
625
|
+
]
|
|
626
|
+
else:
|
|
627
|
+
reactions = APIHelper.SKIP
|
|
628
|
+
shares =\
|
|
629
|
+
Shares.from_dictionary(
|
|
630
|
+
dictionary.get("shares"))\
|
|
631
|
+
if "shares" in dictionary.keys()\
|
|
632
|
+
else APIHelper.SKIP
|
|
633
|
+
size =\
|
|
634
|
+
dictionary.get("size")\
|
|
635
|
+
if dictionary.get("size")\
|
|
636
|
+
else APIHelper.SKIP
|
|
637
|
+
source_team =\
|
|
638
|
+
dictionary.get("source_team")\
|
|
639
|
+
if dictionary.get("source_team")\
|
|
640
|
+
else APIHelper.SKIP
|
|
641
|
+
state =\
|
|
642
|
+
dictionary.get("state")\
|
|
643
|
+
if dictionary.get("state")\
|
|
644
|
+
else APIHelper.SKIP
|
|
645
|
+
thumb_1024 =\
|
|
646
|
+
dictionary.get("thumb_1024")\
|
|
647
|
+
if dictionary.get("thumb_1024")\
|
|
648
|
+
else APIHelper.SKIP
|
|
649
|
+
thumb_1024_h =\
|
|
650
|
+
dictionary.get("thumb_1024_h")\
|
|
651
|
+
if dictionary.get("thumb_1024_h")\
|
|
652
|
+
else APIHelper.SKIP
|
|
653
|
+
thumb_1024_w =\
|
|
654
|
+
dictionary.get("thumb_1024_w")\
|
|
655
|
+
if dictionary.get("thumb_1024_w")\
|
|
656
|
+
else APIHelper.SKIP
|
|
657
|
+
thumb_160 =\
|
|
658
|
+
dictionary.get("thumb_160")\
|
|
659
|
+
if dictionary.get("thumb_160")\
|
|
660
|
+
else APIHelper.SKIP
|
|
661
|
+
thumb_360 =\
|
|
662
|
+
dictionary.get("thumb_360")\
|
|
663
|
+
if dictionary.get("thumb_360")\
|
|
664
|
+
else APIHelper.SKIP
|
|
665
|
+
thumb_360_h =\
|
|
666
|
+
dictionary.get("thumb_360_h")\
|
|
667
|
+
if dictionary.get("thumb_360_h")\
|
|
668
|
+
else APIHelper.SKIP
|
|
669
|
+
thumb_360_w =\
|
|
670
|
+
dictionary.get("thumb_360_w")\
|
|
671
|
+
if dictionary.get("thumb_360_w")\
|
|
672
|
+
else APIHelper.SKIP
|
|
673
|
+
thumb_480 =\
|
|
674
|
+
dictionary.get("thumb_480")\
|
|
675
|
+
if dictionary.get("thumb_480")\
|
|
676
|
+
else APIHelper.SKIP
|
|
677
|
+
thumb_480_h =\
|
|
678
|
+
dictionary.get("thumb_480_h")\
|
|
679
|
+
if dictionary.get("thumb_480_h")\
|
|
680
|
+
else APIHelper.SKIP
|
|
681
|
+
thumb_480_w =\
|
|
682
|
+
dictionary.get("thumb_480_w")\
|
|
683
|
+
if dictionary.get("thumb_480_w")\
|
|
684
|
+
else APIHelper.SKIP
|
|
685
|
+
thumb_64 =\
|
|
686
|
+
dictionary.get("thumb_64")\
|
|
687
|
+
if dictionary.get("thumb_64")\
|
|
688
|
+
else APIHelper.SKIP
|
|
689
|
+
thumb_720 =\
|
|
690
|
+
dictionary.get("thumb_720")\
|
|
691
|
+
if dictionary.get("thumb_720")\
|
|
692
|
+
else APIHelper.SKIP
|
|
693
|
+
thumb_720_h =\
|
|
694
|
+
dictionary.get("thumb_720_h")\
|
|
695
|
+
if dictionary.get("thumb_720_h")\
|
|
696
|
+
else APIHelper.SKIP
|
|
697
|
+
thumb_720_w =\
|
|
698
|
+
dictionary.get("thumb_720_w")\
|
|
699
|
+
if dictionary.get("thumb_720_w")\
|
|
700
|
+
else APIHelper.SKIP
|
|
701
|
+
thumb_80 =\
|
|
702
|
+
dictionary.get("thumb_80")\
|
|
703
|
+
if dictionary.get("thumb_80")\
|
|
704
|
+
else APIHelper.SKIP
|
|
705
|
+
thumb_800 =\
|
|
706
|
+
dictionary.get("thumb_800")\
|
|
707
|
+
if dictionary.get("thumb_800")\
|
|
708
|
+
else APIHelper.SKIP
|
|
709
|
+
thumb_800_h =\
|
|
710
|
+
dictionary.get("thumb_800_h")\
|
|
711
|
+
if dictionary.get("thumb_800_h")\
|
|
712
|
+
else APIHelper.SKIP
|
|
713
|
+
thumb_800_w =\
|
|
714
|
+
dictionary.get("thumb_800_w")\
|
|
715
|
+
if dictionary.get("thumb_800_w")\
|
|
716
|
+
else APIHelper.SKIP
|
|
717
|
+
thumb_960 =\
|
|
718
|
+
dictionary.get("thumb_960")\
|
|
719
|
+
if dictionary.get("thumb_960")\
|
|
720
|
+
else APIHelper.SKIP
|
|
721
|
+
thumb_960_h =\
|
|
722
|
+
dictionary.get("thumb_960_h")\
|
|
723
|
+
if dictionary.get("thumb_960_h")\
|
|
724
|
+
else APIHelper.SKIP
|
|
725
|
+
thumb_960_w =\
|
|
726
|
+
dictionary.get("thumb_960_w")\
|
|
727
|
+
if dictionary.get("thumb_960_w")\
|
|
728
|
+
else APIHelper.SKIP
|
|
729
|
+
thumb_tiny =\
|
|
730
|
+
dictionary.get("thumb_tiny")\
|
|
731
|
+
if dictionary.get("thumb_tiny")\
|
|
732
|
+
else APIHelper.SKIP
|
|
733
|
+
timestamp =\
|
|
734
|
+
dictionary.get("timestamp")\
|
|
735
|
+
if dictionary.get("timestamp")\
|
|
736
|
+
else APIHelper.SKIP
|
|
737
|
+
title =\
|
|
738
|
+
dictionary.get("title")\
|
|
739
|
+
if dictionary.get("title")\
|
|
740
|
+
else APIHelper.SKIP
|
|
741
|
+
updated =\
|
|
742
|
+
dictionary.get("updated")\
|
|
743
|
+
if dictionary.get("updated")\
|
|
744
|
+
else APIHelper.SKIP
|
|
745
|
+
url_private =\
|
|
746
|
+
dictionary.get("url_private")\
|
|
747
|
+
if dictionary.get("url_private")\
|
|
748
|
+
else APIHelper.SKIP
|
|
749
|
+
url_private_download =\
|
|
750
|
+
dictionary.get("url_private_download")\
|
|
751
|
+
if dictionary.get("url_private_download")\
|
|
752
|
+
else APIHelper.SKIP
|
|
753
|
+
user =\
|
|
754
|
+
dictionary.get("user")\
|
|
755
|
+
if dictionary.get("user")\
|
|
756
|
+
else APIHelper.SKIP
|
|
757
|
+
user_team =\
|
|
758
|
+
dictionary.get("user_team")\
|
|
759
|
+
if dictionary.get("user_team")\
|
|
760
|
+
else APIHelper.SKIP
|
|
761
|
+
username =\
|
|
762
|
+
dictionary.get("username")\
|
|
763
|
+
if dictionary.get("username")\
|
|
764
|
+
else APIHelper.SKIP
|
|
765
|
+
|
|
766
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
767
|
+
dictionary={k: v for k, v in dictionary.items()
|
|
768
|
+
if k not in cls._names.values()},
|
|
769
|
+
unboxing_function=lambda value: value)
|
|
770
|
+
|
|
771
|
+
# Return an object of this model
|
|
772
|
+
return cls(channels,
|
|
773
|
+
comments_count,
|
|
774
|
+
created,
|
|
775
|
+
date_delete,
|
|
776
|
+
display_as_bot,
|
|
777
|
+
editable,
|
|
778
|
+
editor,
|
|
779
|
+
external_id,
|
|
780
|
+
external_type,
|
|
781
|
+
external_url,
|
|
782
|
+
filetype,
|
|
783
|
+
groups,
|
|
784
|
+
has_rich_preview,
|
|
785
|
+
id,
|
|
786
|
+
image_exif_rotation,
|
|
787
|
+
ims,
|
|
788
|
+
is_external,
|
|
789
|
+
is_public,
|
|
790
|
+
is_starred,
|
|
791
|
+
is_tombstoned,
|
|
792
|
+
last_editor,
|
|
793
|
+
mimetype,
|
|
794
|
+
mode,
|
|
795
|
+
name,
|
|
796
|
+
non_owner_editable,
|
|
797
|
+
num_stars,
|
|
798
|
+
original_h,
|
|
799
|
+
original_w,
|
|
800
|
+
permalink,
|
|
801
|
+
permalink_public,
|
|
802
|
+
pinned_info,
|
|
803
|
+
pinned_to,
|
|
804
|
+
pretty_type,
|
|
805
|
+
preview,
|
|
806
|
+
public_url_shared,
|
|
807
|
+
reactions,
|
|
808
|
+
shares,
|
|
809
|
+
size,
|
|
810
|
+
source_team,
|
|
811
|
+
state,
|
|
812
|
+
thumb_1024,
|
|
813
|
+
thumb_1024_h,
|
|
814
|
+
thumb_1024_w,
|
|
815
|
+
thumb_160,
|
|
816
|
+
thumb_360,
|
|
817
|
+
thumb_360_h,
|
|
818
|
+
thumb_360_w,
|
|
819
|
+
thumb_480,
|
|
820
|
+
thumb_480_h,
|
|
821
|
+
thumb_480_w,
|
|
822
|
+
thumb_64,
|
|
823
|
+
thumb_720,
|
|
824
|
+
thumb_720_h,
|
|
825
|
+
thumb_720_w,
|
|
826
|
+
thumb_80,
|
|
827
|
+
thumb_800,
|
|
828
|
+
thumb_800_h,
|
|
829
|
+
thumb_800_w,
|
|
830
|
+
thumb_960,
|
|
831
|
+
thumb_960_h,
|
|
832
|
+
thumb_960_w,
|
|
833
|
+
thumb_tiny,
|
|
834
|
+
timestamp,
|
|
835
|
+
title,
|
|
836
|
+
updated,
|
|
837
|
+
url_private,
|
|
838
|
+
url_private_download,
|
|
839
|
+
user,
|
|
840
|
+
user_team,
|
|
841
|
+
username,
|
|
842
|
+
additional_properties)
|
|
843
|
+
|
|
844
|
+
def __repr__(self):
|
|
845
|
+
"""Return a unambiguous string representation."""
|
|
846
|
+
_channels=(
|
|
847
|
+
self.channels
|
|
848
|
+
if hasattr(self, "channels")
|
|
849
|
+
else None
|
|
850
|
+
)
|
|
851
|
+
_comments_count=(
|
|
852
|
+
self.comments_count
|
|
853
|
+
if hasattr(self, "comments_count")
|
|
854
|
+
else None
|
|
855
|
+
)
|
|
856
|
+
_created=(
|
|
857
|
+
self.created
|
|
858
|
+
if hasattr(self, "created")
|
|
859
|
+
else None
|
|
860
|
+
)
|
|
861
|
+
_date_delete=(
|
|
862
|
+
self.date_delete
|
|
863
|
+
if hasattr(self, "date_delete")
|
|
864
|
+
else None
|
|
865
|
+
)
|
|
866
|
+
_display_as_bot=(
|
|
867
|
+
self.display_as_bot
|
|
868
|
+
if hasattr(self, "display_as_bot")
|
|
869
|
+
else None
|
|
870
|
+
)
|
|
871
|
+
_editable=(
|
|
872
|
+
self.editable
|
|
873
|
+
if hasattr(self, "editable")
|
|
874
|
+
else None
|
|
875
|
+
)
|
|
876
|
+
_editor=(
|
|
877
|
+
self.editor
|
|
878
|
+
if hasattr(self, "editor")
|
|
879
|
+
else None
|
|
880
|
+
)
|
|
881
|
+
_external_id=(
|
|
882
|
+
self.external_id
|
|
883
|
+
if hasattr(self, "external_id")
|
|
884
|
+
else None
|
|
885
|
+
)
|
|
886
|
+
_external_type=(
|
|
887
|
+
self.external_type
|
|
888
|
+
if hasattr(self, "external_type")
|
|
889
|
+
else None
|
|
890
|
+
)
|
|
891
|
+
_external_url=(
|
|
892
|
+
self.external_url
|
|
893
|
+
if hasattr(self, "external_url")
|
|
894
|
+
else None
|
|
895
|
+
)
|
|
896
|
+
_filetype=(
|
|
897
|
+
self.filetype
|
|
898
|
+
if hasattr(self, "filetype")
|
|
899
|
+
else None
|
|
900
|
+
)
|
|
901
|
+
_groups=(
|
|
902
|
+
self.groups
|
|
903
|
+
if hasattr(self, "groups")
|
|
904
|
+
else None
|
|
905
|
+
)
|
|
906
|
+
_has_rich_preview=(
|
|
907
|
+
self.has_rich_preview
|
|
908
|
+
if hasattr(self, "has_rich_preview")
|
|
909
|
+
else None
|
|
910
|
+
)
|
|
911
|
+
_id=(
|
|
912
|
+
self.id
|
|
913
|
+
if hasattr(self, "id")
|
|
914
|
+
else None
|
|
915
|
+
)
|
|
916
|
+
_image_exif_rotation=(
|
|
917
|
+
self.image_exif_rotation
|
|
918
|
+
if hasattr(self, "image_exif_rotation")
|
|
919
|
+
else None
|
|
920
|
+
)
|
|
921
|
+
_ims=(
|
|
922
|
+
self.ims
|
|
923
|
+
if hasattr(self, "ims")
|
|
924
|
+
else None
|
|
925
|
+
)
|
|
926
|
+
_is_external=(
|
|
927
|
+
self.is_external
|
|
928
|
+
if hasattr(self, "is_external")
|
|
929
|
+
else None
|
|
930
|
+
)
|
|
931
|
+
_is_public=(
|
|
932
|
+
self.is_public
|
|
933
|
+
if hasattr(self, "is_public")
|
|
934
|
+
else None
|
|
935
|
+
)
|
|
936
|
+
_is_starred=(
|
|
937
|
+
self.is_starred
|
|
938
|
+
if hasattr(self, "is_starred")
|
|
939
|
+
else None
|
|
940
|
+
)
|
|
941
|
+
_is_tombstoned=(
|
|
942
|
+
self.is_tombstoned
|
|
943
|
+
if hasattr(self, "is_tombstoned")
|
|
944
|
+
else None
|
|
945
|
+
)
|
|
946
|
+
_last_editor=(
|
|
947
|
+
self.last_editor
|
|
948
|
+
if hasattr(self, "last_editor")
|
|
949
|
+
else None
|
|
950
|
+
)
|
|
951
|
+
_mimetype=(
|
|
952
|
+
self.mimetype
|
|
953
|
+
if hasattr(self, "mimetype")
|
|
954
|
+
else None
|
|
955
|
+
)
|
|
956
|
+
_mode=(
|
|
957
|
+
self.mode
|
|
958
|
+
if hasattr(self, "mode")
|
|
959
|
+
else None
|
|
960
|
+
)
|
|
961
|
+
_name=(
|
|
962
|
+
self.name
|
|
963
|
+
if hasattr(self, "name")
|
|
964
|
+
else None
|
|
965
|
+
)
|
|
966
|
+
_non_owner_editable=(
|
|
967
|
+
self.non_owner_editable
|
|
968
|
+
if hasattr(self, "non_owner_editable")
|
|
969
|
+
else None
|
|
970
|
+
)
|
|
971
|
+
_num_stars=(
|
|
972
|
+
self.num_stars
|
|
973
|
+
if hasattr(self, "num_stars")
|
|
974
|
+
else None
|
|
975
|
+
)
|
|
976
|
+
_original_h=(
|
|
977
|
+
self.original_h
|
|
978
|
+
if hasattr(self, "original_h")
|
|
979
|
+
else None
|
|
980
|
+
)
|
|
981
|
+
_original_w=(
|
|
982
|
+
self.original_w
|
|
983
|
+
if hasattr(self, "original_w")
|
|
984
|
+
else None
|
|
985
|
+
)
|
|
986
|
+
_permalink=(
|
|
987
|
+
self.permalink
|
|
988
|
+
if hasattr(self, "permalink")
|
|
989
|
+
else None
|
|
990
|
+
)
|
|
991
|
+
_permalink_public=(
|
|
992
|
+
self.permalink_public
|
|
993
|
+
if hasattr(self, "permalink_public")
|
|
994
|
+
else None
|
|
995
|
+
)
|
|
996
|
+
_pinned_info=(
|
|
997
|
+
self.pinned_info
|
|
998
|
+
if hasattr(self, "pinned_info")
|
|
999
|
+
else None
|
|
1000
|
+
)
|
|
1001
|
+
_pinned_to=(
|
|
1002
|
+
self.pinned_to
|
|
1003
|
+
if hasattr(self, "pinned_to")
|
|
1004
|
+
else None
|
|
1005
|
+
)
|
|
1006
|
+
_pretty_type=(
|
|
1007
|
+
self.pretty_type
|
|
1008
|
+
if hasattr(self, "pretty_type")
|
|
1009
|
+
else None
|
|
1010
|
+
)
|
|
1011
|
+
_preview=(
|
|
1012
|
+
self.preview
|
|
1013
|
+
if hasattr(self, "preview")
|
|
1014
|
+
else None
|
|
1015
|
+
)
|
|
1016
|
+
_public_url_shared=(
|
|
1017
|
+
self.public_url_shared
|
|
1018
|
+
if hasattr(self, "public_url_shared")
|
|
1019
|
+
else None
|
|
1020
|
+
)
|
|
1021
|
+
_reactions=(
|
|
1022
|
+
self.reactions
|
|
1023
|
+
if hasattr(self, "reactions")
|
|
1024
|
+
else None
|
|
1025
|
+
)
|
|
1026
|
+
_shares=(
|
|
1027
|
+
self.shares
|
|
1028
|
+
if hasattr(self, "shares")
|
|
1029
|
+
else None
|
|
1030
|
+
)
|
|
1031
|
+
_size=(
|
|
1032
|
+
self.size
|
|
1033
|
+
if hasattr(self, "size")
|
|
1034
|
+
else None
|
|
1035
|
+
)
|
|
1036
|
+
_source_team=(
|
|
1037
|
+
self.source_team
|
|
1038
|
+
if hasattr(self, "source_team")
|
|
1039
|
+
else None
|
|
1040
|
+
)
|
|
1041
|
+
_state=(
|
|
1042
|
+
self.state
|
|
1043
|
+
if hasattr(self, "state")
|
|
1044
|
+
else None
|
|
1045
|
+
)
|
|
1046
|
+
_thumb_1024=(
|
|
1047
|
+
self.thumb_1024
|
|
1048
|
+
if hasattr(self, "thumb_1024")
|
|
1049
|
+
else None
|
|
1050
|
+
)
|
|
1051
|
+
_thumb_1024_h=(
|
|
1052
|
+
self.thumb_1024_h
|
|
1053
|
+
if hasattr(self, "thumb_1024_h")
|
|
1054
|
+
else None
|
|
1055
|
+
)
|
|
1056
|
+
_thumb_1024_w=(
|
|
1057
|
+
self.thumb_1024_w
|
|
1058
|
+
if hasattr(self, "thumb_1024_w")
|
|
1059
|
+
else None
|
|
1060
|
+
)
|
|
1061
|
+
_thumb_160=(
|
|
1062
|
+
self.thumb_160
|
|
1063
|
+
if hasattr(self, "thumb_160")
|
|
1064
|
+
else None
|
|
1065
|
+
)
|
|
1066
|
+
_thumb_360=(
|
|
1067
|
+
self.thumb_360
|
|
1068
|
+
if hasattr(self, "thumb_360")
|
|
1069
|
+
else None
|
|
1070
|
+
)
|
|
1071
|
+
_thumb_360_h=(
|
|
1072
|
+
self.thumb_360_h
|
|
1073
|
+
if hasattr(self, "thumb_360_h")
|
|
1074
|
+
else None
|
|
1075
|
+
)
|
|
1076
|
+
_thumb_360_w=(
|
|
1077
|
+
self.thumb_360_w
|
|
1078
|
+
if hasattr(self, "thumb_360_w")
|
|
1079
|
+
else None
|
|
1080
|
+
)
|
|
1081
|
+
_thumb_480=(
|
|
1082
|
+
self.thumb_480
|
|
1083
|
+
if hasattr(self, "thumb_480")
|
|
1084
|
+
else None
|
|
1085
|
+
)
|
|
1086
|
+
_thumb_480_h=(
|
|
1087
|
+
self.thumb_480_h
|
|
1088
|
+
if hasattr(self, "thumb_480_h")
|
|
1089
|
+
else None
|
|
1090
|
+
)
|
|
1091
|
+
_thumb_480_w=(
|
|
1092
|
+
self.thumb_480_w
|
|
1093
|
+
if hasattr(self, "thumb_480_w")
|
|
1094
|
+
else None
|
|
1095
|
+
)
|
|
1096
|
+
_thumb_64=(
|
|
1097
|
+
self.thumb_64
|
|
1098
|
+
if hasattr(self, "thumb_64")
|
|
1099
|
+
else None
|
|
1100
|
+
)
|
|
1101
|
+
_thumb_720=(
|
|
1102
|
+
self.thumb_720
|
|
1103
|
+
if hasattr(self, "thumb_720")
|
|
1104
|
+
else None
|
|
1105
|
+
)
|
|
1106
|
+
_thumb_720_h=(
|
|
1107
|
+
self.thumb_720_h
|
|
1108
|
+
if hasattr(self, "thumb_720_h")
|
|
1109
|
+
else None
|
|
1110
|
+
)
|
|
1111
|
+
_thumb_720_w=(
|
|
1112
|
+
self.thumb_720_w
|
|
1113
|
+
if hasattr(self, "thumb_720_w")
|
|
1114
|
+
else None
|
|
1115
|
+
)
|
|
1116
|
+
_thumb_80=(
|
|
1117
|
+
self.thumb_80
|
|
1118
|
+
if hasattr(self, "thumb_80")
|
|
1119
|
+
else None
|
|
1120
|
+
)
|
|
1121
|
+
_thumb_800=(
|
|
1122
|
+
self.thumb_800
|
|
1123
|
+
if hasattr(self, "thumb_800")
|
|
1124
|
+
else None
|
|
1125
|
+
)
|
|
1126
|
+
_thumb_800_h=(
|
|
1127
|
+
self.thumb_800_h
|
|
1128
|
+
if hasattr(self, "thumb_800_h")
|
|
1129
|
+
else None
|
|
1130
|
+
)
|
|
1131
|
+
_thumb_800_w=(
|
|
1132
|
+
self.thumb_800_w
|
|
1133
|
+
if hasattr(self, "thumb_800_w")
|
|
1134
|
+
else None
|
|
1135
|
+
)
|
|
1136
|
+
_thumb_960=(
|
|
1137
|
+
self.thumb_960
|
|
1138
|
+
if hasattr(self, "thumb_960")
|
|
1139
|
+
else None
|
|
1140
|
+
)
|
|
1141
|
+
_thumb_960_h=(
|
|
1142
|
+
self.thumb_960_h
|
|
1143
|
+
if hasattr(self, "thumb_960_h")
|
|
1144
|
+
else None
|
|
1145
|
+
)
|
|
1146
|
+
_thumb_960_w=(
|
|
1147
|
+
self.thumb_960_w
|
|
1148
|
+
if hasattr(self, "thumb_960_w")
|
|
1149
|
+
else None
|
|
1150
|
+
)
|
|
1151
|
+
_thumb_tiny=(
|
|
1152
|
+
self.thumb_tiny
|
|
1153
|
+
if hasattr(self, "thumb_tiny")
|
|
1154
|
+
else None
|
|
1155
|
+
)
|
|
1156
|
+
_timestamp=(
|
|
1157
|
+
self.timestamp
|
|
1158
|
+
if hasattr(self, "timestamp")
|
|
1159
|
+
else None
|
|
1160
|
+
)
|
|
1161
|
+
_title=(
|
|
1162
|
+
self.title
|
|
1163
|
+
if hasattr(self, "title")
|
|
1164
|
+
else None
|
|
1165
|
+
)
|
|
1166
|
+
_updated=(
|
|
1167
|
+
self.updated
|
|
1168
|
+
if hasattr(self, "updated")
|
|
1169
|
+
else None
|
|
1170
|
+
)
|
|
1171
|
+
_url_private=(
|
|
1172
|
+
self.url_private
|
|
1173
|
+
if hasattr(self, "url_private")
|
|
1174
|
+
else None
|
|
1175
|
+
)
|
|
1176
|
+
_url_private_download=(
|
|
1177
|
+
self.url_private_download
|
|
1178
|
+
if hasattr(self, "url_private_download")
|
|
1179
|
+
else None
|
|
1180
|
+
)
|
|
1181
|
+
_user=(
|
|
1182
|
+
self.user
|
|
1183
|
+
if hasattr(self, "user")
|
|
1184
|
+
else None
|
|
1185
|
+
)
|
|
1186
|
+
_user_team=(
|
|
1187
|
+
self.user_team
|
|
1188
|
+
if hasattr(self, "user_team")
|
|
1189
|
+
else None
|
|
1190
|
+
)
|
|
1191
|
+
_username=(
|
|
1192
|
+
self.username
|
|
1193
|
+
if hasattr(self, "username")
|
|
1194
|
+
else None
|
|
1195
|
+
)
|
|
1196
|
+
_additional_properties=self.additional_properties
|
|
1197
|
+
return (
|
|
1198
|
+
f"{self.__class__.__name__}("
|
|
1199
|
+
f"channels={_channels!r}, "
|
|
1200
|
+
f"comments_count={_comments_count!r}, "
|
|
1201
|
+
f"created={_created!r}, "
|
|
1202
|
+
f"date_delete={_date_delete!r}, "
|
|
1203
|
+
f"display_as_bot={_display_as_bot!r}, "
|
|
1204
|
+
f"editable={_editable!r}, "
|
|
1205
|
+
f"editor={_editor!r}, "
|
|
1206
|
+
f"external_id={_external_id!r}, "
|
|
1207
|
+
f"external_type={_external_type!r}, "
|
|
1208
|
+
f"external_url={_external_url!r}, "
|
|
1209
|
+
f"filetype={_filetype!r}, "
|
|
1210
|
+
f"groups={_groups!r}, "
|
|
1211
|
+
f"has_rich_preview={_has_rich_preview!r}, "
|
|
1212
|
+
f"id={_id!r}, "
|
|
1213
|
+
f"image_exif_rotation={_image_exif_rotation!r}, "
|
|
1214
|
+
f"ims={_ims!r}, "
|
|
1215
|
+
f"is_external={_is_external!r}, "
|
|
1216
|
+
f"is_public={_is_public!r}, "
|
|
1217
|
+
f"is_starred={_is_starred!r}, "
|
|
1218
|
+
f"is_tombstoned={_is_tombstoned!r}, "
|
|
1219
|
+
f"last_editor={_last_editor!r}, "
|
|
1220
|
+
f"mimetype={_mimetype!r}, "
|
|
1221
|
+
f"mode={_mode!r}, "
|
|
1222
|
+
f"name={_name!r}, "
|
|
1223
|
+
f"non_owner_editable={_non_owner_editable!r}, "
|
|
1224
|
+
f"num_stars={_num_stars!r}, "
|
|
1225
|
+
f"original_h={_original_h!r}, "
|
|
1226
|
+
f"original_w={_original_w!r}, "
|
|
1227
|
+
f"permalink={_permalink!r}, "
|
|
1228
|
+
f"permalink_public={_permalink_public!r}, "
|
|
1229
|
+
f"pinned_info={_pinned_info!r}, "
|
|
1230
|
+
f"pinned_to={_pinned_to!r}, "
|
|
1231
|
+
f"pretty_type={_pretty_type!r}, "
|
|
1232
|
+
f"preview={_preview!r}, "
|
|
1233
|
+
f"public_url_shared={_public_url_shared!r}, "
|
|
1234
|
+
f"reactions={_reactions!r}, "
|
|
1235
|
+
f"shares={_shares!r}, "
|
|
1236
|
+
f"size={_size!r}, "
|
|
1237
|
+
f"source_team={_source_team!r}, "
|
|
1238
|
+
f"state={_state!r}, "
|
|
1239
|
+
f"thumb_1024={_thumb_1024!r}, "
|
|
1240
|
+
f"thumb_1024_h={_thumb_1024_h!r}, "
|
|
1241
|
+
f"thumb_1024_w={_thumb_1024_w!r}, "
|
|
1242
|
+
f"thumb_160={_thumb_160!r}, "
|
|
1243
|
+
f"thumb_360={_thumb_360!r}, "
|
|
1244
|
+
f"thumb_360_h={_thumb_360_h!r}, "
|
|
1245
|
+
f"thumb_360_w={_thumb_360_w!r}, "
|
|
1246
|
+
f"thumb_480={_thumb_480!r}, "
|
|
1247
|
+
f"thumb_480_h={_thumb_480_h!r}, "
|
|
1248
|
+
f"thumb_480_w={_thumb_480_w!r}, "
|
|
1249
|
+
f"thumb_64={_thumb_64!r}, "
|
|
1250
|
+
f"thumb_720={_thumb_720!r}, "
|
|
1251
|
+
f"thumb_720_h={_thumb_720_h!r}, "
|
|
1252
|
+
f"thumb_720_w={_thumb_720_w!r}, "
|
|
1253
|
+
f"thumb_80={_thumb_80!r}, "
|
|
1254
|
+
f"thumb_800={_thumb_800!r}, "
|
|
1255
|
+
f"thumb_800_h={_thumb_800_h!r}, "
|
|
1256
|
+
f"thumb_800_w={_thumb_800_w!r}, "
|
|
1257
|
+
f"thumb_960={_thumb_960!r}, "
|
|
1258
|
+
f"thumb_960_h={_thumb_960_h!r}, "
|
|
1259
|
+
f"thumb_960_w={_thumb_960_w!r}, "
|
|
1260
|
+
f"thumb_tiny={_thumb_tiny!r}, "
|
|
1261
|
+
f"timestamp={_timestamp!r}, "
|
|
1262
|
+
f"title={_title!r}, "
|
|
1263
|
+
f"updated={_updated!r}, "
|
|
1264
|
+
f"url_private={_url_private!r}, "
|
|
1265
|
+
f"url_private_download={_url_private_download!r}, "
|
|
1266
|
+
f"user={_user!r}, "
|
|
1267
|
+
f"user_team={_user_team!r}, "
|
|
1268
|
+
f"username={_username!r}, "
|
|
1269
|
+
f"additional_properties={_additional_properties!r}, "
|
|
1270
|
+
f")"
|
|
1271
|
+
)
|
|
1272
|
+
|
|
1273
|
+
def __str__(self):
|
|
1274
|
+
"""Return a human-readable string representation."""
|
|
1275
|
+
_channels=(
|
|
1276
|
+
self.channels
|
|
1277
|
+
if hasattr(self, "channels")
|
|
1278
|
+
else None
|
|
1279
|
+
)
|
|
1280
|
+
_comments_count=(
|
|
1281
|
+
self.comments_count
|
|
1282
|
+
if hasattr(self, "comments_count")
|
|
1283
|
+
else None
|
|
1284
|
+
)
|
|
1285
|
+
_created=(
|
|
1286
|
+
self.created
|
|
1287
|
+
if hasattr(self, "created")
|
|
1288
|
+
else None
|
|
1289
|
+
)
|
|
1290
|
+
_date_delete=(
|
|
1291
|
+
self.date_delete
|
|
1292
|
+
if hasattr(self, "date_delete")
|
|
1293
|
+
else None
|
|
1294
|
+
)
|
|
1295
|
+
_display_as_bot=(
|
|
1296
|
+
self.display_as_bot
|
|
1297
|
+
if hasattr(self, "display_as_bot")
|
|
1298
|
+
else None
|
|
1299
|
+
)
|
|
1300
|
+
_editable=(
|
|
1301
|
+
self.editable
|
|
1302
|
+
if hasattr(self, "editable")
|
|
1303
|
+
else None
|
|
1304
|
+
)
|
|
1305
|
+
_editor=(
|
|
1306
|
+
self.editor
|
|
1307
|
+
if hasattr(self, "editor")
|
|
1308
|
+
else None
|
|
1309
|
+
)
|
|
1310
|
+
_external_id=(
|
|
1311
|
+
self.external_id
|
|
1312
|
+
if hasattr(self, "external_id")
|
|
1313
|
+
else None
|
|
1314
|
+
)
|
|
1315
|
+
_external_type=(
|
|
1316
|
+
self.external_type
|
|
1317
|
+
if hasattr(self, "external_type")
|
|
1318
|
+
else None
|
|
1319
|
+
)
|
|
1320
|
+
_external_url=(
|
|
1321
|
+
self.external_url
|
|
1322
|
+
if hasattr(self, "external_url")
|
|
1323
|
+
else None
|
|
1324
|
+
)
|
|
1325
|
+
_filetype=(
|
|
1326
|
+
self.filetype
|
|
1327
|
+
if hasattr(self, "filetype")
|
|
1328
|
+
else None
|
|
1329
|
+
)
|
|
1330
|
+
_groups=(
|
|
1331
|
+
self.groups
|
|
1332
|
+
if hasattr(self, "groups")
|
|
1333
|
+
else None
|
|
1334
|
+
)
|
|
1335
|
+
_has_rich_preview=(
|
|
1336
|
+
self.has_rich_preview
|
|
1337
|
+
if hasattr(self, "has_rich_preview")
|
|
1338
|
+
else None
|
|
1339
|
+
)
|
|
1340
|
+
_id=(
|
|
1341
|
+
self.id
|
|
1342
|
+
if hasattr(self, "id")
|
|
1343
|
+
else None
|
|
1344
|
+
)
|
|
1345
|
+
_image_exif_rotation=(
|
|
1346
|
+
self.image_exif_rotation
|
|
1347
|
+
if hasattr(self, "image_exif_rotation")
|
|
1348
|
+
else None
|
|
1349
|
+
)
|
|
1350
|
+
_ims=(
|
|
1351
|
+
self.ims
|
|
1352
|
+
if hasattr(self, "ims")
|
|
1353
|
+
else None
|
|
1354
|
+
)
|
|
1355
|
+
_is_external=(
|
|
1356
|
+
self.is_external
|
|
1357
|
+
if hasattr(self, "is_external")
|
|
1358
|
+
else None
|
|
1359
|
+
)
|
|
1360
|
+
_is_public=(
|
|
1361
|
+
self.is_public
|
|
1362
|
+
if hasattr(self, "is_public")
|
|
1363
|
+
else None
|
|
1364
|
+
)
|
|
1365
|
+
_is_starred=(
|
|
1366
|
+
self.is_starred
|
|
1367
|
+
if hasattr(self, "is_starred")
|
|
1368
|
+
else None
|
|
1369
|
+
)
|
|
1370
|
+
_is_tombstoned=(
|
|
1371
|
+
self.is_tombstoned
|
|
1372
|
+
if hasattr(self, "is_tombstoned")
|
|
1373
|
+
else None
|
|
1374
|
+
)
|
|
1375
|
+
_last_editor=(
|
|
1376
|
+
self.last_editor
|
|
1377
|
+
if hasattr(self, "last_editor")
|
|
1378
|
+
else None
|
|
1379
|
+
)
|
|
1380
|
+
_mimetype=(
|
|
1381
|
+
self.mimetype
|
|
1382
|
+
if hasattr(self, "mimetype")
|
|
1383
|
+
else None
|
|
1384
|
+
)
|
|
1385
|
+
_mode=(
|
|
1386
|
+
self.mode
|
|
1387
|
+
if hasattr(self, "mode")
|
|
1388
|
+
else None
|
|
1389
|
+
)
|
|
1390
|
+
_name=(
|
|
1391
|
+
self.name
|
|
1392
|
+
if hasattr(self, "name")
|
|
1393
|
+
else None
|
|
1394
|
+
)
|
|
1395
|
+
_non_owner_editable=(
|
|
1396
|
+
self.non_owner_editable
|
|
1397
|
+
if hasattr(self, "non_owner_editable")
|
|
1398
|
+
else None
|
|
1399
|
+
)
|
|
1400
|
+
_num_stars=(
|
|
1401
|
+
self.num_stars
|
|
1402
|
+
if hasattr(self, "num_stars")
|
|
1403
|
+
else None
|
|
1404
|
+
)
|
|
1405
|
+
_original_h=(
|
|
1406
|
+
self.original_h
|
|
1407
|
+
if hasattr(self, "original_h")
|
|
1408
|
+
else None
|
|
1409
|
+
)
|
|
1410
|
+
_original_w=(
|
|
1411
|
+
self.original_w
|
|
1412
|
+
if hasattr(self, "original_w")
|
|
1413
|
+
else None
|
|
1414
|
+
)
|
|
1415
|
+
_permalink=(
|
|
1416
|
+
self.permalink
|
|
1417
|
+
if hasattr(self, "permalink")
|
|
1418
|
+
else None
|
|
1419
|
+
)
|
|
1420
|
+
_permalink_public=(
|
|
1421
|
+
self.permalink_public
|
|
1422
|
+
if hasattr(self, "permalink_public")
|
|
1423
|
+
else None
|
|
1424
|
+
)
|
|
1425
|
+
_pinned_info=(
|
|
1426
|
+
self.pinned_info
|
|
1427
|
+
if hasattr(self, "pinned_info")
|
|
1428
|
+
else None
|
|
1429
|
+
)
|
|
1430
|
+
_pinned_to=(
|
|
1431
|
+
self.pinned_to
|
|
1432
|
+
if hasattr(self, "pinned_to")
|
|
1433
|
+
else None
|
|
1434
|
+
)
|
|
1435
|
+
_pretty_type=(
|
|
1436
|
+
self.pretty_type
|
|
1437
|
+
if hasattr(self, "pretty_type")
|
|
1438
|
+
else None
|
|
1439
|
+
)
|
|
1440
|
+
_preview=(
|
|
1441
|
+
self.preview
|
|
1442
|
+
if hasattr(self, "preview")
|
|
1443
|
+
else None
|
|
1444
|
+
)
|
|
1445
|
+
_public_url_shared=(
|
|
1446
|
+
self.public_url_shared
|
|
1447
|
+
if hasattr(self, "public_url_shared")
|
|
1448
|
+
else None
|
|
1449
|
+
)
|
|
1450
|
+
_reactions=(
|
|
1451
|
+
self.reactions
|
|
1452
|
+
if hasattr(self, "reactions")
|
|
1453
|
+
else None
|
|
1454
|
+
)
|
|
1455
|
+
_shares=(
|
|
1456
|
+
self.shares
|
|
1457
|
+
if hasattr(self, "shares")
|
|
1458
|
+
else None
|
|
1459
|
+
)
|
|
1460
|
+
_size=(
|
|
1461
|
+
self.size
|
|
1462
|
+
if hasattr(self, "size")
|
|
1463
|
+
else None
|
|
1464
|
+
)
|
|
1465
|
+
_source_team=(
|
|
1466
|
+
self.source_team
|
|
1467
|
+
if hasattr(self, "source_team")
|
|
1468
|
+
else None
|
|
1469
|
+
)
|
|
1470
|
+
_state=(
|
|
1471
|
+
self.state
|
|
1472
|
+
if hasattr(self, "state")
|
|
1473
|
+
else None
|
|
1474
|
+
)
|
|
1475
|
+
_thumb_1024=(
|
|
1476
|
+
self.thumb_1024
|
|
1477
|
+
if hasattr(self, "thumb_1024")
|
|
1478
|
+
else None
|
|
1479
|
+
)
|
|
1480
|
+
_thumb_1024_h=(
|
|
1481
|
+
self.thumb_1024_h
|
|
1482
|
+
if hasattr(self, "thumb_1024_h")
|
|
1483
|
+
else None
|
|
1484
|
+
)
|
|
1485
|
+
_thumb_1024_w=(
|
|
1486
|
+
self.thumb_1024_w
|
|
1487
|
+
if hasattr(self, "thumb_1024_w")
|
|
1488
|
+
else None
|
|
1489
|
+
)
|
|
1490
|
+
_thumb_160=(
|
|
1491
|
+
self.thumb_160
|
|
1492
|
+
if hasattr(self, "thumb_160")
|
|
1493
|
+
else None
|
|
1494
|
+
)
|
|
1495
|
+
_thumb_360=(
|
|
1496
|
+
self.thumb_360
|
|
1497
|
+
if hasattr(self, "thumb_360")
|
|
1498
|
+
else None
|
|
1499
|
+
)
|
|
1500
|
+
_thumb_360_h=(
|
|
1501
|
+
self.thumb_360_h
|
|
1502
|
+
if hasattr(self, "thumb_360_h")
|
|
1503
|
+
else None
|
|
1504
|
+
)
|
|
1505
|
+
_thumb_360_w=(
|
|
1506
|
+
self.thumb_360_w
|
|
1507
|
+
if hasattr(self, "thumb_360_w")
|
|
1508
|
+
else None
|
|
1509
|
+
)
|
|
1510
|
+
_thumb_480=(
|
|
1511
|
+
self.thumb_480
|
|
1512
|
+
if hasattr(self, "thumb_480")
|
|
1513
|
+
else None
|
|
1514
|
+
)
|
|
1515
|
+
_thumb_480_h=(
|
|
1516
|
+
self.thumb_480_h
|
|
1517
|
+
if hasattr(self, "thumb_480_h")
|
|
1518
|
+
else None
|
|
1519
|
+
)
|
|
1520
|
+
_thumb_480_w=(
|
|
1521
|
+
self.thumb_480_w
|
|
1522
|
+
if hasattr(self, "thumb_480_w")
|
|
1523
|
+
else None
|
|
1524
|
+
)
|
|
1525
|
+
_thumb_64=(
|
|
1526
|
+
self.thumb_64
|
|
1527
|
+
if hasattr(self, "thumb_64")
|
|
1528
|
+
else None
|
|
1529
|
+
)
|
|
1530
|
+
_thumb_720=(
|
|
1531
|
+
self.thumb_720
|
|
1532
|
+
if hasattr(self, "thumb_720")
|
|
1533
|
+
else None
|
|
1534
|
+
)
|
|
1535
|
+
_thumb_720_h=(
|
|
1536
|
+
self.thumb_720_h
|
|
1537
|
+
if hasattr(self, "thumb_720_h")
|
|
1538
|
+
else None
|
|
1539
|
+
)
|
|
1540
|
+
_thumb_720_w=(
|
|
1541
|
+
self.thumb_720_w
|
|
1542
|
+
if hasattr(self, "thumb_720_w")
|
|
1543
|
+
else None
|
|
1544
|
+
)
|
|
1545
|
+
_thumb_80=(
|
|
1546
|
+
self.thumb_80
|
|
1547
|
+
if hasattr(self, "thumb_80")
|
|
1548
|
+
else None
|
|
1549
|
+
)
|
|
1550
|
+
_thumb_800=(
|
|
1551
|
+
self.thumb_800
|
|
1552
|
+
if hasattr(self, "thumb_800")
|
|
1553
|
+
else None
|
|
1554
|
+
)
|
|
1555
|
+
_thumb_800_h=(
|
|
1556
|
+
self.thumb_800_h
|
|
1557
|
+
if hasattr(self, "thumb_800_h")
|
|
1558
|
+
else None
|
|
1559
|
+
)
|
|
1560
|
+
_thumb_800_w=(
|
|
1561
|
+
self.thumb_800_w
|
|
1562
|
+
if hasattr(self, "thumb_800_w")
|
|
1563
|
+
else None
|
|
1564
|
+
)
|
|
1565
|
+
_thumb_960=(
|
|
1566
|
+
self.thumb_960
|
|
1567
|
+
if hasattr(self, "thumb_960")
|
|
1568
|
+
else None
|
|
1569
|
+
)
|
|
1570
|
+
_thumb_960_h=(
|
|
1571
|
+
self.thumb_960_h
|
|
1572
|
+
if hasattr(self, "thumb_960_h")
|
|
1573
|
+
else None
|
|
1574
|
+
)
|
|
1575
|
+
_thumb_960_w=(
|
|
1576
|
+
self.thumb_960_w
|
|
1577
|
+
if hasattr(self, "thumb_960_w")
|
|
1578
|
+
else None
|
|
1579
|
+
)
|
|
1580
|
+
_thumb_tiny=(
|
|
1581
|
+
self.thumb_tiny
|
|
1582
|
+
if hasattr(self, "thumb_tiny")
|
|
1583
|
+
else None
|
|
1584
|
+
)
|
|
1585
|
+
_timestamp=(
|
|
1586
|
+
self.timestamp
|
|
1587
|
+
if hasattr(self, "timestamp")
|
|
1588
|
+
else None
|
|
1589
|
+
)
|
|
1590
|
+
_title=(
|
|
1591
|
+
self.title
|
|
1592
|
+
if hasattr(self, "title")
|
|
1593
|
+
else None
|
|
1594
|
+
)
|
|
1595
|
+
_updated=(
|
|
1596
|
+
self.updated
|
|
1597
|
+
if hasattr(self, "updated")
|
|
1598
|
+
else None
|
|
1599
|
+
)
|
|
1600
|
+
_url_private=(
|
|
1601
|
+
self.url_private
|
|
1602
|
+
if hasattr(self, "url_private")
|
|
1603
|
+
else None
|
|
1604
|
+
)
|
|
1605
|
+
_url_private_download=(
|
|
1606
|
+
self.url_private_download
|
|
1607
|
+
if hasattr(self, "url_private_download")
|
|
1608
|
+
else None
|
|
1609
|
+
)
|
|
1610
|
+
_user=(
|
|
1611
|
+
self.user
|
|
1612
|
+
if hasattr(self, "user")
|
|
1613
|
+
else None
|
|
1614
|
+
)
|
|
1615
|
+
_user_team=(
|
|
1616
|
+
self.user_team
|
|
1617
|
+
if hasattr(self, "user_team")
|
|
1618
|
+
else None
|
|
1619
|
+
)
|
|
1620
|
+
_username=(
|
|
1621
|
+
self.username
|
|
1622
|
+
if hasattr(self, "username")
|
|
1623
|
+
else None
|
|
1624
|
+
)
|
|
1625
|
+
_additional_properties=self.additional_properties
|
|
1626
|
+
return (
|
|
1627
|
+
f"{self.__class__.__name__}("
|
|
1628
|
+
f"channels={_channels!s}, "
|
|
1629
|
+
f"comments_count={_comments_count!s}, "
|
|
1630
|
+
f"created={_created!s}, "
|
|
1631
|
+
f"date_delete={_date_delete!s}, "
|
|
1632
|
+
f"display_as_bot={_display_as_bot!s}, "
|
|
1633
|
+
f"editable={_editable!s}, "
|
|
1634
|
+
f"editor={_editor!s}, "
|
|
1635
|
+
f"external_id={_external_id!s}, "
|
|
1636
|
+
f"external_type={_external_type!s}, "
|
|
1637
|
+
f"external_url={_external_url!s}, "
|
|
1638
|
+
f"filetype={_filetype!s}, "
|
|
1639
|
+
f"groups={_groups!s}, "
|
|
1640
|
+
f"has_rich_preview={_has_rich_preview!s}, "
|
|
1641
|
+
f"id={_id!s}, "
|
|
1642
|
+
f"image_exif_rotation={_image_exif_rotation!s}, "
|
|
1643
|
+
f"ims={_ims!s}, "
|
|
1644
|
+
f"is_external={_is_external!s}, "
|
|
1645
|
+
f"is_public={_is_public!s}, "
|
|
1646
|
+
f"is_starred={_is_starred!s}, "
|
|
1647
|
+
f"is_tombstoned={_is_tombstoned!s}, "
|
|
1648
|
+
f"last_editor={_last_editor!s}, "
|
|
1649
|
+
f"mimetype={_mimetype!s}, "
|
|
1650
|
+
f"mode={_mode!s}, "
|
|
1651
|
+
f"name={_name!s}, "
|
|
1652
|
+
f"non_owner_editable={_non_owner_editable!s}, "
|
|
1653
|
+
f"num_stars={_num_stars!s}, "
|
|
1654
|
+
f"original_h={_original_h!s}, "
|
|
1655
|
+
f"original_w={_original_w!s}, "
|
|
1656
|
+
f"permalink={_permalink!s}, "
|
|
1657
|
+
f"permalink_public={_permalink_public!s}, "
|
|
1658
|
+
f"pinned_info={_pinned_info!s}, "
|
|
1659
|
+
f"pinned_to={_pinned_to!s}, "
|
|
1660
|
+
f"pretty_type={_pretty_type!s}, "
|
|
1661
|
+
f"preview={_preview!s}, "
|
|
1662
|
+
f"public_url_shared={_public_url_shared!s}, "
|
|
1663
|
+
f"reactions={_reactions!s}, "
|
|
1664
|
+
f"shares={_shares!s}, "
|
|
1665
|
+
f"size={_size!s}, "
|
|
1666
|
+
f"source_team={_source_team!s}, "
|
|
1667
|
+
f"state={_state!s}, "
|
|
1668
|
+
f"thumb_1024={_thumb_1024!s}, "
|
|
1669
|
+
f"thumb_1024_h={_thumb_1024_h!s}, "
|
|
1670
|
+
f"thumb_1024_w={_thumb_1024_w!s}, "
|
|
1671
|
+
f"thumb_160={_thumb_160!s}, "
|
|
1672
|
+
f"thumb_360={_thumb_360!s}, "
|
|
1673
|
+
f"thumb_360_h={_thumb_360_h!s}, "
|
|
1674
|
+
f"thumb_360_w={_thumb_360_w!s}, "
|
|
1675
|
+
f"thumb_480={_thumb_480!s}, "
|
|
1676
|
+
f"thumb_480_h={_thumb_480_h!s}, "
|
|
1677
|
+
f"thumb_480_w={_thumb_480_w!s}, "
|
|
1678
|
+
f"thumb_64={_thumb_64!s}, "
|
|
1679
|
+
f"thumb_720={_thumb_720!s}, "
|
|
1680
|
+
f"thumb_720_h={_thumb_720_h!s}, "
|
|
1681
|
+
f"thumb_720_w={_thumb_720_w!s}, "
|
|
1682
|
+
f"thumb_80={_thumb_80!s}, "
|
|
1683
|
+
f"thumb_800={_thumb_800!s}, "
|
|
1684
|
+
f"thumb_800_h={_thumb_800_h!s}, "
|
|
1685
|
+
f"thumb_800_w={_thumb_800_w!s}, "
|
|
1686
|
+
f"thumb_960={_thumb_960!s}, "
|
|
1687
|
+
f"thumb_960_h={_thumb_960_h!s}, "
|
|
1688
|
+
f"thumb_960_w={_thumb_960_w!s}, "
|
|
1689
|
+
f"thumb_tiny={_thumb_tiny!s}, "
|
|
1690
|
+
f"timestamp={_timestamp!s}, "
|
|
1691
|
+
f"title={_title!s}, "
|
|
1692
|
+
f"updated={_updated!s}, "
|
|
1693
|
+
f"url_private={_url_private!s}, "
|
|
1694
|
+
f"url_private_download={_url_private_download!s}, "
|
|
1695
|
+
f"user={_user!s}, "
|
|
1696
|
+
f"user_team={_user_team!s}, "
|
|
1697
|
+
f"username={_username!s}, "
|
|
1698
|
+
f"additional_properties={_additional_properties!s}, "
|
|
1699
|
+
f")"
|
|
1700
|
+
)
|