slackapi-sdk 1.0.0
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.
- checksums.yaml +7 -0
- data/LICENSE +28 -0
- data/README.md +221 -0
- data/bin/console +15 -0
- data/lib/slack_web_api/api_helper.rb +10 -0
- data/lib/slack_web_api/client.rb +410 -0
- data/lib/slack_web_api/configuration.rb +173 -0
- data/lib/slack_web_api/controllers/admin_apps_approved_controller.rb +48 -0
- data/lib/slack_web_api/controllers/admin_apps_controller.rb +78 -0
- data/lib/slack_web_api/controllers/admin_apps_requests_controller.rb +44 -0
- data/lib/slack_web_api/controllers/admin_apps_restricted_controller.rb +48 -0
- data/lib/slack_web_api/controllers/admin_conversations_controller.rb +472 -0
- data/lib/slack_web_api/controllers/admin_conversations_ekm_controller.rb +51 -0
- data/lib/slack_web_api/controllers/admin_conversations_restrict_access_controller.rb +129 -0
- data/lib/slack_web_api/controllers/admin_emoji_controller.rb +175 -0
- data/lib/slack_web_api/controllers/admin_invite_requests_approved_controller.rb +46 -0
- data/lib/slack_web_api/controllers/admin_invite_requests_controller.rb +112 -0
- data/lib/slack_web_api/controllers/admin_invite_requests_denied_controller.rb +46 -0
- data/lib/slack_web_api/controllers/admin_teams_admins_controller.rb +45 -0
- data/lib/slack_web_api/controllers/admin_teams_controller.rb +84 -0
- data/lib/slack_web_api/controllers/admin_teams_owners_controller.rb +45 -0
- data/lib/slack_web_api/controllers/admin_teams_settings_controller.rb +206 -0
- data/lib/slack_web_api/controllers/admin_usergroups_controller.rb +161 -0
- data/lib/slack_web_api/controllers/admin_users_controller.rb +333 -0
- data/lib/slack_web_api/controllers/admin_users_session_controller.rb +80 -0
- data/lib/slack_web_api/controllers/api_controller.rb +34 -0
- data/lib/slack_web_api/controllers/apps_controller.rb +40 -0
- data/lib/slack_web_api/controllers/apps_event_authorizations_controller.rb +45 -0
- data/lib/slack_web_api/controllers/apps_permissions_controller.rb +66 -0
- data/lib/slack_web_api/controllers/apps_permissions_resources_controller.rb +44 -0
- data/lib/slack_web_api/controllers/apps_permissions_scopes_controller.rb +33 -0
- data/lib/slack_web_api/controllers/apps_permissions_users_controller.rb +85 -0
- data/lib/slack_web_api/controllers/auth_controller.rb +62 -0
- data/lib/slack_web_api/controllers/base_controller.rb +67 -0
- data/lib/slack_web_api/controllers/bots_controller.rb +36 -0
- data/lib/slack_web_api/controllers/calls_controller.rb +174 -0
- data/lib/slack_web_api/controllers/calls_participants_controller.rb +79 -0
- data/lib/slack_web_api/controllers/chat_controller.rb +528 -0
- data/lib/slack_web_api/controllers/chat_scheduled_messages_controller.rb +54 -0
- data/lib/slack_web_api/controllers/conversations_controller.rb +628 -0
- data/lib/slack_web_api/controllers/dialog_controller.rb +44 -0
- data/lib/slack_web_api/controllers/dnd_controller.rb +141 -0
- data/lib/slack_web_api/controllers/emoji_controller.rb +33 -0
- data/lib/slack_web_api/controllers/files_comments_controller.rb +38 -0
- data/lib/slack_web_api/controllers/files_controller.rb +245 -0
- data/lib/slack_web_api/controllers/files_remote_controller.rb +250 -0
- data/lib/slack_web_api/controllers/migration_controller.rb +47 -0
- data/lib/slack_web_api/controllers/oauth_authorization_controller.rb +87 -0
- data/lib/slack_web_api/controllers/oauth_controller.rb +88 -0
- data/lib/slack_web_api/controllers/oauth_v2_controller.rb +45 -0
- data/lib/slack_web_api/controllers/pins_controller.rb +102 -0
- data/lib/slack_web_api/controllers/reactions_controller.rb +182 -0
- data/lib/slack_web_api/controllers/reminders_controller.rb +151 -0
- data/lib/slack_web_api/controllers/rtm_controller.rb +44 -0
- data/lib/slack_web_api/controllers/search_controller.rb +56 -0
- data/lib/slack_web_api/controllers/stars_controller.rb +130 -0
- data/lib/slack_web_api/controllers/team_controller.rb +148 -0
- data/lib/slack_web_api/controllers/team_profile_controller.rb +36 -0
- data/lib/slack_web_api/controllers/usergroups_controller.rb +205 -0
- data/lib/slack_web_api/controllers/usergroups_users_controller.rb +81 -0
- data/lib/slack_web_api/controllers/users_controller.rb +327 -0
- data/lib/slack_web_api/controllers/users_profile_controller.rb +82 -0
- data/lib/slack_web_api/controllers/views_controller.rb +158 -0
- data/lib/slack_web_api/controllers/workflows_controller.rb +130 -0
- data/lib/slack_web_api/exceptions/admin_conversations_archive_error_schema_exception.rb +50 -0
- data/lib/slack_web_api/exceptions/admin_conversations_convert_to_private_error_schema_exception.rb +50 -0
- data/lib/slack_web_api/exceptions/admin_conversations_create_error_schema_exception.rb +50 -0
- data/lib/slack_web_api/exceptions/admin_conversations_delete_error_schema_exception.rb +50 -0
- data/lib/slack_web_api/exceptions/admin_conversations_disconnect_shared_error_schema_exception.rb +50 -0
- data/lib/slack_web_api/exceptions/admin_conversations_get_teams_error_schema_exception.rb +50 -0
- data/lib/slack_web_api/exceptions/admin_conversations_invite_error_schema_exception.rb +50 -0
- data/lib/slack_web_api/exceptions/admin_conversations_search_error_schema_exception.rb +50 -0
- data/lib/slack_web_api/exceptions/admin_conversations_set_conversation_prefs_error_schema_exception.rb +50 -0
- data/lib/slack_web_api/exceptions/admin_conversations_unarchive_error_schema2_exception.rb +50 -0
- data/lib/slack_web_api/exceptions/admin_conversations_unarchive_error_schema3_exception.rb +50 -0
- data/lib/slack_web_api/exceptions/admin_conversations_unarchive_error_schema_exception.rb +50 -0
- data/lib/slack_web_api/exceptions/api_exception.rb +21 -0
- data/lib/slack_web_api/exceptions/api_test_error_schema_exception.rb +50 -0
- data/lib/slack_web_api/exceptions/apps_permissions_info_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/apps_permissions_request_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/apps_permissions_resources_list_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/apps_permissions_scopes_list_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/apps_uninstall_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/auth_revoke_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/auth_test_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/bots_info_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/chat_delete_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/chat_delete_scheduled_message_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/chat_get_permalink_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/chat_me_message_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/chat_post_ephemeral_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/chat_post_message_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/chat_schedule_message_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/chat_scheduled_messages_list_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/chat_unfurl_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/chat_update_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/conversations_archive_error_schema_exception.rb +67 -0
- data/lib/slack_web_api/exceptions/conversations_close_error_schema_exception.rb +67 -0
- data/lib/slack_web_api/exceptions/conversations_create_error_schema_exception.rb +73 -0
- data/lib/slack_web_api/exceptions/conversations_history_error_schema_exception.rb +67 -0
- data/lib/slack_web_api/exceptions/conversations_info_error_schema_exception.rb +67 -0
- data/lib/slack_web_api/exceptions/conversations_invite_error_schema1_exception.rb +82 -0
- data/lib/slack_web_api/exceptions/conversations_join_error_schema_exception.rb +67 -0
- data/lib/slack_web_api/exceptions/conversations_kick_error_schema_exception.rb +67 -0
- data/lib/slack_web_api/exceptions/conversations_leave_error_schema_exception.rb +67 -0
- data/lib/slack_web_api/exceptions/conversations_list_error_schema_exception.rb +67 -0
- data/lib/slack_web_api/exceptions/conversations_mark_error_schema_exception.rb +67 -0
- data/lib/slack_web_api/exceptions/conversations_members_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/conversations_open_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/conversations_rename_error_schema_exception.rb +67 -0
- data/lib/slack_web_api/exceptions/conversations_replies_error_schema_exception.rb +67 -0
- data/lib/slack_web_api/exceptions/conversations_set_purpose_error_schema_exception.rb +67 -0
- data/lib/slack_web_api/exceptions/conversations_set_topic_error_schema_exception.rb +67 -0
- data/lib/slack_web_api/exceptions/conversations_unarchive_error_schema_exception.rb +67 -0
- data/lib/slack_web_api/exceptions/default_error_template_exception.rb +47 -0
- data/lib/slack_web_api/exceptions/dialog_open_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/dnd_end_dnd_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/dnd_end_snooze_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/dnd_info_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/dnd_set_snooze_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/files_comments_delete_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/files_delete_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/files_info_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/files_list_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/files_revoke_public_url_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/files_shared_public_url_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/files_upload_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/migration_exchange_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/oauth_provider_exception.rb +64 -0
- data/lib/slack_web_api/exceptions/pins_add_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/pins_list_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/pins_remove_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/reactions_add_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/reactions_get_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/reactions_list_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/reactions_remove_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/reminders_add_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/reminders_complete_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/reminders_delete_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/reminders_info_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/reminders_list_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/rtm_connect_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/stars_add_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/stars_list_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/stars_remove_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/team_access_logs_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/team_info_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/team_integration_logs_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/team_profile_get_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/usergroups_create_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/usergroups_disable_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/usergroups_enable_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/usergroups_list_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/usergroups_update_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/usergroups_users_list_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/usergroups_users_update_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/users_conversations_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/users_counts_error_schema_exception.rb +50 -0
- data/lib/slack_web_api/exceptions/users_delete_photo_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/users_identity_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/users_info_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/users_list_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/users_lookup_by_email_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/users_profile_get_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/users_profile_set_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/users_set_active_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/exceptions/users_set_photo_error_schema_exception.rb +73 -0
- data/lib/slack_web_api/exceptions/users_set_presence_error_schema_exception.rb +56 -0
- data/lib/slack_web_api/http/api_response.rb +19 -0
- data/lib/slack_web_api/http/auth/oauth_2.rb +162 -0
- data/lib/slack_web_api/http/http_call_back.rb +10 -0
- data/lib/slack_web_api/http/http_method_enum.rb +10 -0
- data/lib/slack_web_api/http/http_request.rb +10 -0
- data/lib/slack_web_api/http/http_response.rb +10 -0
- data/lib/slack_web_api/http/proxy_settings.rb +22 -0
- data/lib/slack_web_api/logging/configuration/api_logging_configuration.rb +186 -0
- data/lib/slack_web_api/logging/sdk_logger.rb +17 -0
- data/lib/slack_web_api/models/admin_conversations_archive_schema.rb +71 -0
- data/lib/slack_web_api/models/admin_conversations_convert_to_private_schema.rb +71 -0
- data/lib/slack_web_api/models/admin_conversations_create_schema.rb +82 -0
- data/lib/slack_web_api/models/admin_conversations_delete_schema.rb +71 -0
- data/lib/slack_web_api/models/admin_conversations_get_conversation_prefs_schema.rb +82 -0
- data/lib/slack_web_api/models/admin_conversations_get_teams_schema.rb +92 -0
- data/lib/slack_web_api/models/admin_conversations_invite_schema.rb +71 -0
- data/lib/slack_web_api/models/admin_conversations_rename_schema.rb +71 -0
- data/lib/slack_web_api/models/admin_conversations_rename_schema1.rb +71 -0
- data/lib/slack_web_api/models/admin_conversations_search_schema.rb +91 -0
- data/lib/slack_web_api/models/admin_conversations_set_conversation_prefs_schema.rb +71 -0
- data/lib/slack_web_api/models/admin_conversations_unarchive_schema.rb +71 -0
- data/lib/slack_web_api/models/api_method_users_get_presence.rb +133 -0
- data/lib/slack_web_api/models/api_permissions_scopes_list_success_schema.rb +80 -0
- data/lib/slack_web_api/models/api_test_success_schema.rb +71 -0
- data/lib/slack_web_api/models/app_home.rb +86 -0
- data/lib/slack_web_api/models/apps_permissions_info_schema.rb +80 -0
- data/lib/slack_web_api/models/apps_permissions_request_schema.rb +71 -0
- data/lib/slack_web_api/models/apps_permissions_resources_list_success_schema.rb +101 -0
- data/lib/slack_web_api/models/apps_uninstall_schema.rb +71 -0
- data/lib/slack_web_api/models/attachment.rb +125 -0
- data/lib/slack_web_api/models/auth_revoke_schema.rb +80 -0
- data/lib/slack_web_api/models/auth_test_success_schema.rb +136 -0
- data/lib/slack_web_api/models/base_model.rb +110 -0
- data/lib/slack_web_api/models/block_kit_block.rb +72 -0
- data/lib/slack_web_api/models/bot.rb +128 -0
- data/lib/slack_web_api/models/bot_profile_object.rb +126 -0
- data/lib/slack_web_api/models/bots_info_schema.rb +80 -0
- data/lib/slack_web_api/models/can_thread.rb +85 -0
- data/lib/slack_web_api/models/channel.rb +86 -0
- data/lib/slack_web_api/models/channel_object.rb +382 -0
- data/lib/slack_web_api/models/chat_delete_scheduled_message_schema.rb +71 -0
- data/lib/slack_web_api/models/chat_delete_success_schema.rb +88 -0
- data/lib/slack_web_api/models/chat_get_permalink_success_schema.rb +88 -0
- data/lib/slack_web_api/models/chat_me_message_schema.rb +91 -0
- data/lib/slack_web_api/models/chat_post_ephemeral_success_schema.rb +80 -0
- data/lib/slack_web_api/models/chat_post_message_success_schema.rb +96 -0
- data/lib/slack_web_api/models/chat_schedule_message_success_schema.rb +108 -0
- data/lib/slack_web_api/models/chat_scheduled_messages_list_schema.rb +100 -0
- data/lib/slack_web_api/models/chat_unfurl_success_schema.rb +71 -0
- data/lib/slack_web_api/models/chat_update_success_schema.rb +105 -0
- data/lib/slack_web_api/models/conversations_archive_success_schema.rb +71 -0
- data/lib/slack_web_api/models/conversations_close_success_schema.rb +93 -0
- data/lib/slack_web_api/models/conversations_create_success_schema.rb +80 -0
- data/lib/slack_web_api/models/conversations_history_success_schema.rb +127 -0
- data/lib/slack_web_api/models/conversations_info_success_schema.rb +80 -0
- data/lib/slack_web_api/models/conversations_invite_error_schema.rb +80 -0
- data/lib/slack_web_api/models/conversations_join_success_schema.rb +102 -0
- data/lib/slack_web_api/models/conversations_kick_success_schema.rb +71 -0
- data/lib/slack_web_api/models/conversations_leave_success_schema.rb +83 -0
- data/lib/slack_web_api/models/conversations_list_success_schema.rb +92 -0
- data/lib/slack_web_api/models/conversations_mark_success_schema.rb +71 -0
- data/lib/slack_web_api/models/conversations_members_success_schema.rb +89 -0
- data/lib/slack_web_api/models/conversations_open_success_schema.rb +102 -0
- data/lib/slack_web_api/models/conversations_rename_success_schema.rb +80 -0
- data/lib/slack_web_api/models/conversations_replies_success_schema.rb +90 -0
- data/lib/slack_web_api/models/conversations_set_purpose_success_schema.rb +80 -0
- data/lib/slack_web_api/models/conversations_set_topic_success_schema.rb +80 -0
- data/lib/slack_web_api/models/conversations_unarchive_success_schema.rb +71 -0
- data/lib/slack_web_api/models/current.rb +82 -0
- data/lib/slack_web_api/models/default_success_template.rb +72 -0
- data/lib/slack_web_api/models/dialog_open_schema.rb +71 -0
- data/lib/slack_web_api/models/dnd_end_dnd_schema.rb +71 -0
- data/lib/slack_web_api/models/dnd_end_snooze_schema.rb +111 -0
- data/lib/slack_web_api/models/dnd_info_schema.rb +136 -0
- data/lib/slack_web_api/models/dnd_set_snooze_schema.rb +102 -0
- data/lib/slack_web_api/models/error.rb +60 -0
- data/lib/slack_web_api/models/error1.rb +65 -0
- data/lib/slack_web_api/models/error10.rb +60 -0
- data/lib/slack_web_api/models/error11.rb +60 -0
- data/lib/slack_web_api/models/error12.rb +104 -0
- data/lib/slack_web_api/models/error13.rb +120 -0
- data/lib/slack_web_api/models/error14.rb +108 -0
- data/lib/slack_web_api/models/error16.rb +116 -0
- data/lib/slack_web_api/models/error17.rb +100 -0
- data/lib/slack_web_api/models/error18.rb +84 -0
- data/lib/slack_web_api/models/error19.rb +104 -0
- data/lib/slack_web_api/models/error2.rb +60 -0
- data/lib/slack_web_api/models/error20.rb +112 -0
- data/lib/slack_web_api/models/error21.rb +120 -0
- data/lib/slack_web_api/models/error22.rb +108 -0
- data/lib/slack_web_api/models/error23.rb +124 -0
- data/lib/slack_web_api/models/error24.rb +128 -0
- data/lib/slack_web_api/models/error25.rb +92 -0
- data/lib/slack_web_api/models/error26.rb +166 -0
- data/lib/slack_web_api/models/error27.rb +112 -0
- data/lib/slack_web_api/models/error28.rb +120 -0
- data/lib/slack_web_api/models/error29.rb +128 -0
- data/lib/slack_web_api/models/error3.rb +60 -0
- data/lib/slack_web_api/models/error30.rb +133 -0
- data/lib/slack_web_api/models/error31.rb +101 -0
- data/lib/slack_web_api/models/error32.rb +133 -0
- data/lib/slack_web_api/models/error33.rb +96 -0
- data/lib/slack_web_api/models/error34.rb +92 -0
- data/lib/slack_web_api/models/error35.rb +153 -0
- data/lib/slack_web_api/models/error37.rb +121 -0
- data/lib/slack_web_api/models/error38.rb +121 -0
- data/lib/slack_web_api/models/error39.rb +129 -0
- data/lib/slack_web_api/models/error4.rb +80 -0
- data/lib/slack_web_api/models/error40.rb +84 -0
- data/lib/slack_web_api/models/error41.rb +105 -0
- data/lib/slack_web_api/models/error42.rb +100 -0
- data/lib/slack_web_api/models/error43.rb +121 -0
- data/lib/slack_web_api/models/error44.rb +129 -0
- data/lib/slack_web_api/models/error45.rb +96 -0
- data/lib/slack_web_api/models/error46.rb +113 -0
- data/lib/slack_web_api/models/error48.rb +121 -0
- data/lib/slack_web_api/models/error49.rb +136 -0
- data/lib/slack_web_api/models/error5.rb +60 -0
- data/lib/slack_web_api/models/error50.rb +108 -0
- data/lib/slack_web_api/models/error51.rb +112 -0
- data/lib/slack_web_api/models/error52.rb +104 -0
- data/lib/slack_web_api/models/error53.rb +116 -0
- data/lib/slack_web_api/models/error54.rb +92 -0
- data/lib/slack_web_api/models/error55.rb +100 -0
- data/lib/slack_web_api/models/error56.rb +100 -0
- data/lib/slack_web_api/models/error57.rb +100 -0
- data/lib/slack_web_api/models/error58.rb +112 -0
- data/lib/slack_web_api/models/error59.rb +116 -0
- data/lib/slack_web_api/models/error6.rb +60 -0
- data/lib/slack_web_api/models/error60.rb +108 -0
- data/lib/slack_web_api/models/error61.rb +108 -0
- data/lib/slack_web_api/models/error62.rb +120 -0
- data/lib/slack_web_api/models/error63.rb +92 -0
- data/lib/slack_web_api/models/error64.rb +116 -0
- data/lib/slack_web_api/models/error65.rb +116 -0
- data/lib/slack_web_api/models/error66.rb +104 -0
- data/lib/slack_web_api/models/error67.rb +96 -0
- data/lib/slack_web_api/models/error68.rb +120 -0
- data/lib/slack_web_api/models/error69.rb +128 -0
- data/lib/slack_web_api/models/error7.rb +56 -0
- data/lib/slack_web_api/models/error70.rb +116 -0
- data/lib/slack_web_api/models/error71.rb +108 -0
- data/lib/slack_web_api/models/error74.rb +96 -0
- data/lib/slack_web_api/models/error75.rb +128 -0
- data/lib/slack_web_api/models/error77.rb +128 -0
- data/lib/slack_web_api/models/error78.rb +112 -0
- data/lib/slack_web_api/models/error8.rb +56 -0
- data/lib/slack_web_api/models/error81.rb +92 -0
- data/lib/slack_web_api/models/error82.rb +112 -0
- data/lib/slack_web_api/models/error84.rb +116 -0
- data/lib/slack_web_api/models/error86.rb +120 -0
- data/lib/slack_web_api/models/error89.rb +117 -0
- data/lib/slack_web_api/models/error9.rb +68 -0
- data/lib/slack_web_api/models/error92.rb +92 -0
- data/lib/slack_web_api/models/error93.rb +100 -0
- data/lib/slack_web_api/models/error94.rb +100 -0
- data/lib/slack_web_api/models/error95.rb +108 -0
- data/lib/slack_web_api/models/error96.rb +128 -0
- data/lib/slack_web_api/models/error97.rb +100 -0
- data/lib/slack_web_api/models/error98.rb +120 -0
- data/lib/slack_web_api/models/error99.rb +104 -0
- data/lib/slack_web_api/models/errors_is_returned_when_an_error_associates_an_user.rb +90 -0
- data/lib/slack_web_api/models/external_org_migrations.rb +91 -0
- data/lib/slack_web_api/models/file_comment_object.rb +176 -0
- data/lib/slack_web_api/models/file_object.rb +790 -0
- data/lib/slack_web_api/models/files_comments_delete_schema.rb +71 -0
- data/lib/slack_web_api/models/files_delete_schema.rb +71 -0
- data/lib/slack_web_api/models/files_info_schema.rb +133 -0
- data/lib/slack_web_api/models/files_list_schema.rb +97 -0
- data/lib/slack_web_api/models/files_revoke_public_url_schema.rb +80 -0
- data/lib/slack_web_api/models/files_shared_public_url_schema.rb +80 -0
- data/lib/slack_web_api/models/files_upload_schema.rb +80 -0
- data/lib/slack_web_api/models/group.rb +86 -0
- data/lib/slack_web_api/models/icons.rb +90 -0
- data/lib/slack_web_api/models/icons1.rb +85 -0
- data/lib/slack_web_api/models/im.rb +86 -0
- data/lib/slack_web_api/models/info.rb +116 -0
- data/lib/slack_web_api/models/log.rb +168 -0
- data/lib/slack_web_api/models/login.rb +158 -0
- data/lib/slack_web_api/models/message.rb +128 -0
- data/lib/slack_web_api/models/message_object.rb +552 -0
- data/lib/slack_web_api/models/message_object1.rb +94 -0
- data/lib/slack_web_api/models/migration_exchange_success_schema.rb +111 -0
- data/lib/slack_web_api/models/mpim.rb +86 -0
- data/lib/slack_web_api/models/mself.rb +82 -0
- data/lib/slack_web_api/models/oauth_provider_error.rb +62 -0
- data/lib/slack_web_api/models/oauth_scope.rb +296 -0
- data/lib/slack_web_api/models/oauth_token.rb +96 -0
- data/lib/slack_web_api/models/objs_enterprise_user.rb +119 -0
- data/lib/slack_web_api/models/objs_icon.rb +147 -0
- data/lib/slack_web_api/models/objs_primary_owner.rb +82 -0
- data/lib/slack_web_api/models/objs_reminder.rb +129 -0
- data/lib/slack_web_api/models/objs_team_profile_field.rb +154 -0
- data/lib/slack_web_api/models/objs_team_profile_field_option.rb +112 -0
- data/lib/slack_web_api/models/objs_user_profile_short.rb +174 -0
- data/lib/slack_web_api/models/paging_object.rb +121 -0
- data/lib/slack_web_api/models/pins_add_schema.rb +71 -0
- data/lib/slack_web_api/models/pins_remove_schema.rb +71 -0
- data/lib/slack_web_api/models/plan.rb +44 -0
- data/lib/slack_web_api/models/prefs.rb +82 -0
- data/lib/slack_web_api/models/prefs1.rb +86 -0
- data/lib/slack_web_api/models/profile.rb +82 -0
- data/lib/slack_web_api/models/profile1.rb +146 -0
- data/lib/slack_web_api/models/purpose.rb +90 -0
- data/lib/slack_web_api/models/reaction_object.rb +90 -0
- data/lib/slack_web_api/models/reactions_add_schema.rb +71 -0
- data/lib/slack_web_api/models/reactions_list_schema.rb +102 -0
- data/lib/slack_web_api/models/reactions_remove_schema.rb +71 -0
- data/lib/slack_web_api/models/reminders_add_schema.rb +80 -0
- data/lib/slack_web_api/models/reminders_complete_schema.rb +71 -0
- data/lib/slack_web_api/models/reminders_delete_schema.rb +71 -0
- data/lib/slack_web_api/models/reminders_info_schema.rb +80 -0
- data/lib/slack_web_api/models/reminders_list_schema.rb +89 -0
- data/lib/slack_web_api/models/resource.rb +85 -0
- data/lib/slack_web_api/models/resources_in_info_from_apps_permissions_info.rb +94 -0
- data/lib/slack_web_api/models/response_metadata.rb +74 -0
- data/lib/slack_web_api/models/response_metadata3.rb +75 -0
- data/lib/slack_web_api/models/rtm_connect_schema.rb +96 -0
- data/lib/slack_web_api/models/scheduled_message.rb +110 -0
- data/lib/slack_web_api/models/scopes.rb +134 -0
- data/lib/slack_web_api/models/shares.rb +85 -0
- data/lib/slack_web_api/models/sso_provider.rb +95 -0
- data/lib/slack_web_api/models/stars_add_schema.rb +71 -0
- data/lib/slack_web_api/models/stars_list_schema.rb +90 -0
- data/lib/slack_web_api/models/stars_remove_schema.rb +71 -0
- data/lib/slack_web_api/models/subteam_usergroup_object.rb +260 -0
- data/lib/slack_web_api/models/team.rb +83 -0
- data/lib/slack_web_api/models/team1.rb +90 -0
- data/lib/slack_web_api/models/team_access_logs_schema.rb +97 -0
- data/lib/slack_web_api/models/team_info_schema.rb +80 -0
- data/lib/slack_web_api/models/team_integration_logs_schema.rb +97 -0
- data/lib/slack_web_api/models/team_object.rb +368 -0
- data/lib/slack_web_api/models/team_profile_get_success_schema.rb +80 -0
- data/lib/slack_web_api/models/topic.rb +90 -0
- data/lib/slack_web_api/models/type.rb +52 -0
- data/lib/slack_web_api/models/user_profile_object.rb +542 -0
- data/lib/slack_web_api/models/usergroups_create_schema.rb +80 -0
- data/lib/slack_web_api/models/usergroups_disable_schema.rb +80 -0
- data/lib/slack_web_api/models/usergroups_enable_schema.rb +80 -0
- data/lib/slack_web_api/models/usergroups_list_schema.rb +89 -0
- data/lib/slack_web_api/models/usergroups_update_schema.rb +80 -0
- data/lib/slack_web_api/models/usergroups_users_list_schema.rb +80 -0
- data/lib/slack_web_api/models/usergroups_users_update_schema.rb +80 -0
- data/lib/slack_web_api/models/users_conversations_success_schema.rb +93 -0
- data/lib/slack_web_api/models/users_delete_photo_schema.rb +71 -0
- data/lib/slack_web_api/models/users_info_success_schema.rb +80 -0
- data/lib/slack_web_api/models/users_list_schema.rb +102 -0
- data/lib/slack_web_api/models/users_lookup_by_email_success_schema.rb +80 -0
- data/lib/slack_web_api/models/users_profile_get_schema.rb +80 -0
- data/lib/slack_web_api/models/users_profile_set_schema.rb +100 -0
- data/lib/slack_web_api/models/users_set_active_schema.rb +71 -0
- data/lib/slack_web_api/models/users_set_photo_schema.rb +80 -0
- data/lib/slack_web_api/models/users_set_presence_schema.rb +71 -0
- data/lib/slack_web_api/models/who_can_post.rb +85 -0
- data/lib/slack_web_api/utilities/date_time_helper.rb +11 -0
- data/lib/slack_web_api/utilities/file_wrapper.rb +28 -0
- data/lib/slack_web_api.rb +532 -0
- metadata +509 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# slack_web_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module SlackWebApi
|
|
7
|
+
# Message Model.
|
|
8
|
+
class Message < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# TODO: Write general description for this method
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :bot_id
|
|
15
|
+
|
|
16
|
+
# TODO: Write general description for this method
|
|
17
|
+
# @return [BotProfileObject]
|
|
18
|
+
attr_accessor :bot_profile
|
|
19
|
+
|
|
20
|
+
# TODO: Write general description for this method
|
|
21
|
+
# @return [String]
|
|
22
|
+
attr_accessor :team
|
|
23
|
+
|
|
24
|
+
# TODO: Write general description for this method
|
|
25
|
+
# @return [String]
|
|
26
|
+
attr_accessor :text
|
|
27
|
+
|
|
28
|
+
# TODO: Write general description for this method
|
|
29
|
+
# @return [String]
|
|
30
|
+
attr_accessor :type
|
|
31
|
+
|
|
32
|
+
# TODO: Write general description for this method
|
|
33
|
+
# @return [String]
|
|
34
|
+
attr_accessor :user
|
|
35
|
+
|
|
36
|
+
# TODO: Write general description for this method
|
|
37
|
+
# @return [String]
|
|
38
|
+
attr_accessor :username
|
|
39
|
+
|
|
40
|
+
# A mapping from model property names to API property names.
|
|
41
|
+
def self.names
|
|
42
|
+
@_hash = {} if @_hash.nil?
|
|
43
|
+
@_hash['bot_id'] = 'bot_id'
|
|
44
|
+
@_hash['bot_profile'] = 'bot_profile'
|
|
45
|
+
@_hash['team'] = 'team'
|
|
46
|
+
@_hash['text'] = 'text'
|
|
47
|
+
@_hash['type'] = 'type'
|
|
48
|
+
@_hash['user'] = 'user'
|
|
49
|
+
@_hash['username'] = 'username'
|
|
50
|
+
@_hash
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
# An array for optional fields
|
|
54
|
+
def self.optionals
|
|
55
|
+
%w[
|
|
56
|
+
bot_profile
|
|
57
|
+
username
|
|
58
|
+
]
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# An array for nullable fields
|
|
62
|
+
def self.nullables
|
|
63
|
+
[]
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
def initialize(bot_id:, team:, text:, type:, user:, bot_profile: SKIP,
|
|
67
|
+
username: SKIP, additional_properties: nil)
|
|
68
|
+
# Add additional model properties to the instance
|
|
69
|
+
additional_properties = {} if additional_properties.nil?
|
|
70
|
+
|
|
71
|
+
@bot_id = bot_id
|
|
72
|
+
@bot_profile = bot_profile unless bot_profile == SKIP
|
|
73
|
+
@team = team
|
|
74
|
+
@text = text
|
|
75
|
+
@type = type
|
|
76
|
+
@user = user
|
|
77
|
+
@username = username unless username == SKIP
|
|
78
|
+
@additional_properties = additional_properties
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# Creates an instance of the object from a hash.
|
|
82
|
+
def self.from_hash(hash)
|
|
83
|
+
return nil unless hash
|
|
84
|
+
|
|
85
|
+
# Extract variables from the hash.
|
|
86
|
+
bot_id = hash.key?('bot_id') ? hash['bot_id'] : nil
|
|
87
|
+
team = hash.key?('team') ? hash['team'] : nil
|
|
88
|
+
text = hash.key?('text') ? hash['text'] : nil
|
|
89
|
+
type = hash.key?('type') ? hash['type'] : nil
|
|
90
|
+
user = hash.key?('user') ? hash['user'] : nil
|
|
91
|
+
bot_profile = BotProfileObject.from_hash(hash['bot_profile']) if hash['bot_profile']
|
|
92
|
+
username = hash.key?('username') ? hash['username'] : SKIP
|
|
93
|
+
|
|
94
|
+
# Create a new hash for additional properties, removing known properties.
|
|
95
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
96
|
+
|
|
97
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
98
|
+
new_hash, proc { |value| value }
|
|
99
|
+
)
|
|
100
|
+
|
|
101
|
+
# Create object from extracted values.
|
|
102
|
+
Message.new(bot_id: bot_id,
|
|
103
|
+
team: team,
|
|
104
|
+
text: text,
|
|
105
|
+
type: type,
|
|
106
|
+
user: user,
|
|
107
|
+
bot_profile: bot_profile,
|
|
108
|
+
username: username,
|
|
109
|
+
additional_properties: additional_properties)
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
# Provides a human-readable string representation of the object.
|
|
113
|
+
def to_s
|
|
114
|
+
class_name = self.class.name.split('::').last
|
|
115
|
+
"<#{class_name} bot_id: #{@bot_id}, bot_profile: #{@bot_profile}, team: #{@team}, text:"\
|
|
116
|
+
" #{@text}, type: #{@type}, user: #{@user}, username: #{@username}, additional_properties:"\
|
|
117
|
+
" #{@additional_properties}>"
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
121
|
+
def inspect
|
|
122
|
+
class_name = self.class.name.split('::').last
|
|
123
|
+
"<#{class_name} bot_id: #{@bot_id.inspect}, bot_profile: #{@bot_profile.inspect}, team:"\
|
|
124
|
+
" #{@team.inspect}, text: #{@text.inspect}, type: #{@type.inspect}, user: #{@user.inspect},"\
|
|
125
|
+
" username: #{@username.inspect}, additional_properties: #{@additional_properties}>"
|
|
126
|
+
end
|
|
127
|
+
end
|
|
128
|
+
end
|
|
@@ -0,0 +1,552 @@
|
|
|
1
|
+
# slack_web_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module SlackWebApi
|
|
7
|
+
# MessageObject Model.
|
|
8
|
+
class MessageObject < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# TODO: Write general description for this method
|
|
13
|
+
# @return [Array[Attachment]]
|
|
14
|
+
attr_accessor :attachments
|
|
15
|
+
|
|
16
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
17
|
+
# deeper schema in this definition namespace.
|
|
18
|
+
# @return [Array[BlockKitBlock]]
|
|
19
|
+
attr_accessor :blocks
|
|
20
|
+
|
|
21
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
22
|
+
# deeper schema in this definition namespace.
|
|
23
|
+
# @return [Object]
|
|
24
|
+
attr_accessor :bot_id
|
|
25
|
+
|
|
26
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
27
|
+
# deeper schema in this definition namespace.
|
|
28
|
+
# @return [BotProfileObject]
|
|
29
|
+
attr_accessor :bot_profile
|
|
30
|
+
|
|
31
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
32
|
+
# deeper schema in this definition namespace.
|
|
33
|
+
# @return [String]
|
|
34
|
+
attr_accessor :client_msg_id
|
|
35
|
+
|
|
36
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
37
|
+
# deeper schema in this definition namespace.
|
|
38
|
+
# @return [FileCommentObject]
|
|
39
|
+
attr_accessor :comment
|
|
40
|
+
|
|
41
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
42
|
+
# deeper schema in this definition namespace.
|
|
43
|
+
# @return [TrueClass | FalseClass]
|
|
44
|
+
attr_accessor :display_as_bot
|
|
45
|
+
|
|
46
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
47
|
+
# deeper schema in this definition namespace.
|
|
48
|
+
# @return [FileObject]
|
|
49
|
+
attr_accessor :file
|
|
50
|
+
|
|
51
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
52
|
+
# deeper schema in this definition namespace.
|
|
53
|
+
# @return [Array[FileObject]]
|
|
54
|
+
attr_accessor :files
|
|
55
|
+
|
|
56
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
57
|
+
# deeper schema in this definition namespace.
|
|
58
|
+
# @return [Icons1]
|
|
59
|
+
attr_accessor :icons
|
|
60
|
+
|
|
61
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
62
|
+
# deeper schema in this definition namespace.
|
|
63
|
+
# @return [String]
|
|
64
|
+
attr_accessor :inviter
|
|
65
|
+
|
|
66
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
67
|
+
# deeper schema in this definition namespace.
|
|
68
|
+
# @return [TrueClass | FalseClass]
|
|
69
|
+
attr_accessor :is_delayed_message
|
|
70
|
+
|
|
71
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
72
|
+
# deeper schema in this definition namespace.
|
|
73
|
+
# @return [TrueClass | FalseClass]
|
|
74
|
+
attr_accessor :is_intro
|
|
75
|
+
|
|
76
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
77
|
+
# deeper schema in this definition namespace.
|
|
78
|
+
# @return [TrueClass | FalseClass]
|
|
79
|
+
attr_accessor :is_starred
|
|
80
|
+
|
|
81
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
82
|
+
# deeper schema in this definition namespace.
|
|
83
|
+
# @return [String]
|
|
84
|
+
attr_accessor :last_read
|
|
85
|
+
|
|
86
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
87
|
+
# deeper schema in this definition namespace.
|
|
88
|
+
# @return [String]
|
|
89
|
+
attr_accessor :latest_reply
|
|
90
|
+
|
|
91
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
92
|
+
# deeper schema in this definition namespace.
|
|
93
|
+
# @return [String]
|
|
94
|
+
attr_accessor :name
|
|
95
|
+
|
|
96
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
97
|
+
# deeper schema in this definition namespace.
|
|
98
|
+
# @return [String]
|
|
99
|
+
attr_accessor :old_name
|
|
100
|
+
|
|
101
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
102
|
+
# deeper schema in this definition namespace.
|
|
103
|
+
# @return [String]
|
|
104
|
+
attr_accessor :parent_user_id
|
|
105
|
+
|
|
106
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
107
|
+
# deeper schema in this definition namespace.
|
|
108
|
+
# @return [String]
|
|
109
|
+
attr_accessor :permalink
|
|
110
|
+
|
|
111
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
112
|
+
# deeper schema in this definition namespace.
|
|
113
|
+
# @return [Array[String]]
|
|
114
|
+
attr_accessor :pinned_to
|
|
115
|
+
|
|
116
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
117
|
+
# deeper schema in this definition namespace.
|
|
118
|
+
# @return [String]
|
|
119
|
+
attr_accessor :purpose
|
|
120
|
+
|
|
121
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
122
|
+
# deeper schema in this definition namespace.
|
|
123
|
+
# @return [Array[ReactionObject]]
|
|
124
|
+
attr_accessor :reactions
|
|
125
|
+
|
|
126
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
127
|
+
# deeper schema in this definition namespace.
|
|
128
|
+
# @return [Integer]
|
|
129
|
+
attr_accessor :reply_count
|
|
130
|
+
|
|
131
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
132
|
+
# deeper schema in this definition namespace.
|
|
133
|
+
# @return [Array[String]]
|
|
134
|
+
attr_accessor :reply_users
|
|
135
|
+
|
|
136
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
137
|
+
# deeper schema in this definition namespace.
|
|
138
|
+
# @return [Integer]
|
|
139
|
+
attr_accessor :reply_users_count
|
|
140
|
+
|
|
141
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
142
|
+
# deeper schema in this definition namespace.
|
|
143
|
+
# @return [String]
|
|
144
|
+
attr_accessor :source_team
|
|
145
|
+
|
|
146
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
147
|
+
# deeper schema in this definition namespace.
|
|
148
|
+
# @return [TrueClass | FalseClass]
|
|
149
|
+
attr_accessor :subscribed
|
|
150
|
+
|
|
151
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
152
|
+
# deeper schema in this definition namespace.
|
|
153
|
+
# @return [String]
|
|
154
|
+
attr_accessor :subtype
|
|
155
|
+
|
|
156
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
157
|
+
# deeper schema in this definition namespace.
|
|
158
|
+
# @return [String]
|
|
159
|
+
attr_accessor :team
|
|
160
|
+
|
|
161
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
162
|
+
# deeper schema in this definition namespace.
|
|
163
|
+
# @return [String]
|
|
164
|
+
attr_accessor :text
|
|
165
|
+
|
|
166
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
167
|
+
# deeper schema in this definition namespace.
|
|
168
|
+
# @return [String]
|
|
169
|
+
attr_accessor :thread_ts
|
|
170
|
+
|
|
171
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
172
|
+
# deeper schema in this definition namespace.
|
|
173
|
+
# @return [String]
|
|
174
|
+
attr_accessor :topic
|
|
175
|
+
|
|
176
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
177
|
+
# deeper schema in this definition namespace.
|
|
178
|
+
# @return [String]
|
|
179
|
+
attr_accessor :ts
|
|
180
|
+
|
|
181
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
182
|
+
# deeper schema in this definition namespace.
|
|
183
|
+
# @return [String]
|
|
184
|
+
attr_accessor :type
|
|
185
|
+
|
|
186
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
187
|
+
# deeper schema in this definition namespace.
|
|
188
|
+
# @return [Integer]
|
|
189
|
+
attr_accessor :unread_count
|
|
190
|
+
|
|
191
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
192
|
+
# deeper schema in this definition namespace.
|
|
193
|
+
# @return [TrueClass | FalseClass]
|
|
194
|
+
attr_accessor :upload
|
|
195
|
+
|
|
196
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
197
|
+
# deeper schema in this definition namespace.
|
|
198
|
+
# @return [String]
|
|
199
|
+
attr_accessor :user
|
|
200
|
+
|
|
201
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
202
|
+
# deeper schema in this definition namespace.
|
|
203
|
+
# @return [ObjsUserProfileShort]
|
|
204
|
+
attr_accessor :user_profile
|
|
205
|
+
|
|
206
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
207
|
+
# deeper schema in this definition namespace.
|
|
208
|
+
# @return [String]
|
|
209
|
+
attr_accessor :user_team
|
|
210
|
+
|
|
211
|
+
# This is a very loose definition, in the future, we'll populate this with
|
|
212
|
+
# deeper schema in this definition namespace.
|
|
213
|
+
# @return [String]
|
|
214
|
+
attr_accessor :username
|
|
215
|
+
|
|
216
|
+
# A mapping from model property names to API property names.
|
|
217
|
+
def self.names
|
|
218
|
+
@_hash = {} if @_hash.nil?
|
|
219
|
+
@_hash['attachments'] = 'attachments'
|
|
220
|
+
@_hash['blocks'] = 'blocks'
|
|
221
|
+
@_hash['bot_id'] = 'bot_id'
|
|
222
|
+
@_hash['bot_profile'] = 'bot_profile'
|
|
223
|
+
@_hash['client_msg_id'] = 'client_msg_id'
|
|
224
|
+
@_hash['comment'] = 'comment'
|
|
225
|
+
@_hash['display_as_bot'] = 'display_as_bot'
|
|
226
|
+
@_hash['file'] = 'file'
|
|
227
|
+
@_hash['files'] = 'files'
|
|
228
|
+
@_hash['icons'] = 'icons'
|
|
229
|
+
@_hash['inviter'] = 'inviter'
|
|
230
|
+
@_hash['is_delayed_message'] = 'is_delayed_message'
|
|
231
|
+
@_hash['is_intro'] = 'is_intro'
|
|
232
|
+
@_hash['is_starred'] = 'is_starred'
|
|
233
|
+
@_hash['last_read'] = 'last_read'
|
|
234
|
+
@_hash['latest_reply'] = 'latest_reply'
|
|
235
|
+
@_hash['name'] = 'name'
|
|
236
|
+
@_hash['old_name'] = 'old_name'
|
|
237
|
+
@_hash['parent_user_id'] = 'parent_user_id'
|
|
238
|
+
@_hash['permalink'] = 'permalink'
|
|
239
|
+
@_hash['pinned_to'] = 'pinned_to'
|
|
240
|
+
@_hash['purpose'] = 'purpose'
|
|
241
|
+
@_hash['reactions'] = 'reactions'
|
|
242
|
+
@_hash['reply_count'] = 'reply_count'
|
|
243
|
+
@_hash['reply_users'] = 'reply_users'
|
|
244
|
+
@_hash['reply_users_count'] = 'reply_users_count'
|
|
245
|
+
@_hash['source_team'] = 'source_team'
|
|
246
|
+
@_hash['subscribed'] = 'subscribed'
|
|
247
|
+
@_hash['subtype'] = 'subtype'
|
|
248
|
+
@_hash['team'] = 'team'
|
|
249
|
+
@_hash['text'] = 'text'
|
|
250
|
+
@_hash['thread_ts'] = 'thread_ts'
|
|
251
|
+
@_hash['topic'] = 'topic'
|
|
252
|
+
@_hash['ts'] = 'ts'
|
|
253
|
+
@_hash['type'] = 'type'
|
|
254
|
+
@_hash['unread_count'] = 'unread_count'
|
|
255
|
+
@_hash['upload'] = 'upload'
|
|
256
|
+
@_hash['user'] = 'user'
|
|
257
|
+
@_hash['user_profile'] = 'user_profile'
|
|
258
|
+
@_hash['user_team'] = 'user_team'
|
|
259
|
+
@_hash['username'] = 'username'
|
|
260
|
+
@_hash
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
# An array for optional fields
|
|
264
|
+
def self.optionals
|
|
265
|
+
%w[
|
|
266
|
+
attachments
|
|
267
|
+
blocks
|
|
268
|
+
bot_id
|
|
269
|
+
bot_profile
|
|
270
|
+
client_msg_id
|
|
271
|
+
comment
|
|
272
|
+
display_as_bot
|
|
273
|
+
file
|
|
274
|
+
files
|
|
275
|
+
icons
|
|
276
|
+
inviter
|
|
277
|
+
is_delayed_message
|
|
278
|
+
is_intro
|
|
279
|
+
is_starred
|
|
280
|
+
last_read
|
|
281
|
+
latest_reply
|
|
282
|
+
name
|
|
283
|
+
old_name
|
|
284
|
+
parent_user_id
|
|
285
|
+
permalink
|
|
286
|
+
pinned_to
|
|
287
|
+
purpose
|
|
288
|
+
reactions
|
|
289
|
+
reply_count
|
|
290
|
+
reply_users
|
|
291
|
+
reply_users_count
|
|
292
|
+
source_team
|
|
293
|
+
subscribed
|
|
294
|
+
subtype
|
|
295
|
+
team
|
|
296
|
+
thread_ts
|
|
297
|
+
topic
|
|
298
|
+
unread_count
|
|
299
|
+
upload
|
|
300
|
+
user
|
|
301
|
+
user_profile
|
|
302
|
+
user_team
|
|
303
|
+
username
|
|
304
|
+
]
|
|
305
|
+
end
|
|
306
|
+
|
|
307
|
+
# An array for nullable fields
|
|
308
|
+
def self.nullables
|
|
309
|
+
[]
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
def initialize(text:, ts:, type:, attachments: SKIP, blocks: SKIP,
|
|
313
|
+
bot_id: SKIP, bot_profile: SKIP, client_msg_id: SKIP,
|
|
314
|
+
comment: SKIP, display_as_bot: SKIP, file: SKIP, files: SKIP,
|
|
315
|
+
icons: SKIP, inviter: SKIP, is_delayed_message: SKIP,
|
|
316
|
+
is_intro: SKIP, is_starred: SKIP, last_read: SKIP,
|
|
317
|
+
latest_reply: SKIP, name: SKIP, old_name: SKIP,
|
|
318
|
+
parent_user_id: SKIP, permalink: SKIP, pinned_to: SKIP,
|
|
319
|
+
purpose: SKIP, reactions: SKIP, reply_count: SKIP,
|
|
320
|
+
reply_users: SKIP, reply_users_count: SKIP,
|
|
321
|
+
source_team: SKIP, subscribed: SKIP, subtype: SKIP,
|
|
322
|
+
team: SKIP, thread_ts: SKIP, topic: SKIP, unread_count: SKIP,
|
|
323
|
+
upload: SKIP, user: SKIP, user_profile: SKIP,
|
|
324
|
+
user_team: SKIP, username: SKIP, additional_properties: nil)
|
|
325
|
+
# Add additional model properties to the instance
|
|
326
|
+
additional_properties = {} if additional_properties.nil?
|
|
327
|
+
|
|
328
|
+
@attachments = attachments unless attachments == SKIP
|
|
329
|
+
@blocks = blocks unless blocks == SKIP
|
|
330
|
+
@bot_id = bot_id unless bot_id == SKIP
|
|
331
|
+
@bot_profile = bot_profile unless bot_profile == SKIP
|
|
332
|
+
@client_msg_id = client_msg_id unless client_msg_id == SKIP
|
|
333
|
+
@comment = comment unless comment == SKIP
|
|
334
|
+
@display_as_bot = display_as_bot unless display_as_bot == SKIP
|
|
335
|
+
@file = file unless file == SKIP
|
|
336
|
+
@files = files unless files == SKIP
|
|
337
|
+
@icons = icons unless icons == SKIP
|
|
338
|
+
@inviter = inviter unless inviter == SKIP
|
|
339
|
+
@is_delayed_message = is_delayed_message unless is_delayed_message == SKIP
|
|
340
|
+
@is_intro = is_intro unless is_intro == SKIP
|
|
341
|
+
@is_starred = is_starred unless is_starred == SKIP
|
|
342
|
+
@last_read = last_read unless last_read == SKIP
|
|
343
|
+
@latest_reply = latest_reply unless latest_reply == SKIP
|
|
344
|
+
@name = name unless name == SKIP
|
|
345
|
+
@old_name = old_name unless old_name == SKIP
|
|
346
|
+
@parent_user_id = parent_user_id unless parent_user_id == SKIP
|
|
347
|
+
@permalink = permalink unless permalink == SKIP
|
|
348
|
+
@pinned_to = pinned_to unless pinned_to == SKIP
|
|
349
|
+
@purpose = purpose unless purpose == SKIP
|
|
350
|
+
@reactions = reactions unless reactions == SKIP
|
|
351
|
+
@reply_count = reply_count unless reply_count == SKIP
|
|
352
|
+
@reply_users = reply_users unless reply_users == SKIP
|
|
353
|
+
@reply_users_count = reply_users_count unless reply_users_count == SKIP
|
|
354
|
+
@source_team = source_team unless source_team == SKIP
|
|
355
|
+
@subscribed = subscribed unless subscribed == SKIP
|
|
356
|
+
@subtype = subtype unless subtype == SKIP
|
|
357
|
+
@team = team unless team == SKIP
|
|
358
|
+
@text = text
|
|
359
|
+
@thread_ts = thread_ts unless thread_ts == SKIP
|
|
360
|
+
@topic = topic unless topic == SKIP
|
|
361
|
+
@ts = ts
|
|
362
|
+
@type = type
|
|
363
|
+
@unread_count = unread_count unless unread_count == SKIP
|
|
364
|
+
@upload = upload unless upload == SKIP
|
|
365
|
+
@user = user unless user == SKIP
|
|
366
|
+
@user_profile = user_profile unless user_profile == SKIP
|
|
367
|
+
@user_team = user_team unless user_team == SKIP
|
|
368
|
+
@username = username unless username == SKIP
|
|
369
|
+
@additional_properties = additional_properties
|
|
370
|
+
end
|
|
371
|
+
|
|
372
|
+
# Creates an instance of the object from a hash.
|
|
373
|
+
def self.from_hash(hash)
|
|
374
|
+
return nil unless hash
|
|
375
|
+
|
|
376
|
+
# Extract variables from the hash.
|
|
377
|
+
text = hash.key?('text') ? hash['text'] : nil
|
|
378
|
+
ts = hash.key?('ts') ? hash['ts'] : nil
|
|
379
|
+
type = hash.key?('type') ? hash['type'] : nil
|
|
380
|
+
# Parameter is an array, so we need to iterate through it
|
|
381
|
+
attachments = nil
|
|
382
|
+
unless hash['attachments'].nil?
|
|
383
|
+
attachments = []
|
|
384
|
+
hash['attachments'].each do |structure|
|
|
385
|
+
attachments << (Attachment.from_hash(structure) if structure)
|
|
386
|
+
end
|
|
387
|
+
end
|
|
388
|
+
|
|
389
|
+
attachments = SKIP unless hash.key?('attachments')
|
|
390
|
+
# Parameter is an array, so we need to iterate through it
|
|
391
|
+
blocks = nil
|
|
392
|
+
unless hash['blocks'].nil?
|
|
393
|
+
blocks = []
|
|
394
|
+
hash['blocks'].each do |structure|
|
|
395
|
+
blocks << (BlockKitBlock.from_hash(structure) if structure)
|
|
396
|
+
end
|
|
397
|
+
end
|
|
398
|
+
|
|
399
|
+
blocks = SKIP unless hash.key?('blocks')
|
|
400
|
+
bot_id = hash.key?('bot_id') ? hash['bot_id'] : SKIP
|
|
401
|
+
bot_profile = BotProfileObject.from_hash(hash['bot_profile']) if hash['bot_profile']
|
|
402
|
+
client_msg_id = hash.key?('client_msg_id') ? hash['client_msg_id'] : SKIP
|
|
403
|
+
comment = FileCommentObject.from_hash(hash['comment']) if hash['comment']
|
|
404
|
+
display_as_bot =
|
|
405
|
+
hash.key?('display_as_bot') ? hash['display_as_bot'] : SKIP
|
|
406
|
+
file = FileObject.from_hash(hash['file']) if hash['file']
|
|
407
|
+
# Parameter is an array, so we need to iterate through it
|
|
408
|
+
files = nil
|
|
409
|
+
unless hash['files'].nil?
|
|
410
|
+
files = []
|
|
411
|
+
hash['files'].each do |structure|
|
|
412
|
+
files << (FileObject.from_hash(structure) if structure)
|
|
413
|
+
end
|
|
414
|
+
end
|
|
415
|
+
|
|
416
|
+
files = SKIP unless hash.key?('files')
|
|
417
|
+
icons = Icons1.from_hash(hash['icons']) if hash['icons']
|
|
418
|
+
inviter = hash.key?('inviter') ? hash['inviter'] : SKIP
|
|
419
|
+
is_delayed_message =
|
|
420
|
+
hash.key?('is_delayed_message') ? hash['is_delayed_message'] : SKIP
|
|
421
|
+
is_intro = hash.key?('is_intro') ? hash['is_intro'] : SKIP
|
|
422
|
+
is_starred = hash.key?('is_starred') ? hash['is_starred'] : SKIP
|
|
423
|
+
last_read = hash.key?('last_read') ? hash['last_read'] : SKIP
|
|
424
|
+
latest_reply = hash.key?('latest_reply') ? hash['latest_reply'] : SKIP
|
|
425
|
+
name = hash.key?('name') ? hash['name'] : SKIP
|
|
426
|
+
old_name = hash.key?('old_name') ? hash['old_name'] : SKIP
|
|
427
|
+
parent_user_id =
|
|
428
|
+
hash.key?('parent_user_id') ? hash['parent_user_id'] : SKIP
|
|
429
|
+
permalink = hash.key?('permalink') ? hash['permalink'] : SKIP
|
|
430
|
+
pinned_to = hash.key?('pinned_to') ? hash['pinned_to'] : SKIP
|
|
431
|
+
purpose = hash.key?('purpose') ? hash['purpose'] : SKIP
|
|
432
|
+
# Parameter is an array, so we need to iterate through it
|
|
433
|
+
reactions = nil
|
|
434
|
+
unless hash['reactions'].nil?
|
|
435
|
+
reactions = []
|
|
436
|
+
hash['reactions'].each do |structure|
|
|
437
|
+
reactions << (ReactionObject.from_hash(structure) if structure)
|
|
438
|
+
end
|
|
439
|
+
end
|
|
440
|
+
|
|
441
|
+
reactions = SKIP unless hash.key?('reactions')
|
|
442
|
+
reply_count = hash.key?('reply_count') ? hash['reply_count'] : SKIP
|
|
443
|
+
reply_users = hash.key?('reply_users') ? hash['reply_users'] : SKIP
|
|
444
|
+
reply_users_count =
|
|
445
|
+
hash.key?('reply_users_count') ? hash['reply_users_count'] : SKIP
|
|
446
|
+
source_team = hash.key?('source_team') ? hash['source_team'] : SKIP
|
|
447
|
+
subscribed = hash.key?('subscribed') ? hash['subscribed'] : SKIP
|
|
448
|
+
subtype = hash.key?('subtype') ? hash['subtype'] : SKIP
|
|
449
|
+
team = hash.key?('team') ? hash['team'] : SKIP
|
|
450
|
+
thread_ts = hash.key?('thread_ts') ? hash['thread_ts'] : SKIP
|
|
451
|
+
topic = hash.key?('topic') ? hash['topic'] : SKIP
|
|
452
|
+
unread_count = hash.key?('unread_count') ? hash['unread_count'] : SKIP
|
|
453
|
+
upload = hash.key?('upload') ? hash['upload'] : SKIP
|
|
454
|
+
user = hash.key?('user') ? hash['user'] : SKIP
|
|
455
|
+
user_profile = ObjsUserProfileShort.from_hash(hash['user_profile']) if hash['user_profile']
|
|
456
|
+
user_team = hash.key?('user_team') ? hash['user_team'] : SKIP
|
|
457
|
+
username = hash.key?('username') ? hash['username'] : SKIP
|
|
458
|
+
|
|
459
|
+
# Create a new hash for additional properties, removing known properties.
|
|
460
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
461
|
+
|
|
462
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
463
|
+
new_hash, proc { |value| value }
|
|
464
|
+
)
|
|
465
|
+
|
|
466
|
+
# Create object from extracted values.
|
|
467
|
+
MessageObject.new(text: text,
|
|
468
|
+
ts: ts,
|
|
469
|
+
type: type,
|
|
470
|
+
attachments: attachments,
|
|
471
|
+
blocks: blocks,
|
|
472
|
+
bot_id: bot_id,
|
|
473
|
+
bot_profile: bot_profile,
|
|
474
|
+
client_msg_id: client_msg_id,
|
|
475
|
+
comment: comment,
|
|
476
|
+
display_as_bot: display_as_bot,
|
|
477
|
+
file: file,
|
|
478
|
+
files: files,
|
|
479
|
+
icons: icons,
|
|
480
|
+
inviter: inviter,
|
|
481
|
+
is_delayed_message: is_delayed_message,
|
|
482
|
+
is_intro: is_intro,
|
|
483
|
+
is_starred: is_starred,
|
|
484
|
+
last_read: last_read,
|
|
485
|
+
latest_reply: latest_reply,
|
|
486
|
+
name: name,
|
|
487
|
+
old_name: old_name,
|
|
488
|
+
parent_user_id: parent_user_id,
|
|
489
|
+
permalink: permalink,
|
|
490
|
+
pinned_to: pinned_to,
|
|
491
|
+
purpose: purpose,
|
|
492
|
+
reactions: reactions,
|
|
493
|
+
reply_count: reply_count,
|
|
494
|
+
reply_users: reply_users,
|
|
495
|
+
reply_users_count: reply_users_count,
|
|
496
|
+
source_team: source_team,
|
|
497
|
+
subscribed: subscribed,
|
|
498
|
+
subtype: subtype,
|
|
499
|
+
team: team,
|
|
500
|
+
thread_ts: thread_ts,
|
|
501
|
+
topic: topic,
|
|
502
|
+
unread_count: unread_count,
|
|
503
|
+
upload: upload,
|
|
504
|
+
user: user,
|
|
505
|
+
user_profile: user_profile,
|
|
506
|
+
user_team: user_team,
|
|
507
|
+
username: username,
|
|
508
|
+
additional_properties: additional_properties)
|
|
509
|
+
end
|
|
510
|
+
|
|
511
|
+
# Provides a human-readable string representation of the object.
|
|
512
|
+
def to_s
|
|
513
|
+
class_name = self.class.name.split('::').last
|
|
514
|
+
"<#{class_name} attachments: #{@attachments}, blocks: #{@blocks}, bot_id: #{@bot_id},"\
|
|
515
|
+
" bot_profile: #{@bot_profile}, client_msg_id: #{@client_msg_id}, comment: #{@comment},"\
|
|
516
|
+
" display_as_bot: #{@display_as_bot}, file: #{@file}, files: #{@files}, icons: #{@icons},"\
|
|
517
|
+
" inviter: #{@inviter}, is_delayed_message: #{@is_delayed_message}, is_intro: #{@is_intro},"\
|
|
518
|
+
" is_starred: #{@is_starred}, last_read: #{@last_read}, latest_reply: #{@latest_reply},"\
|
|
519
|
+
" name: #{@name}, old_name: #{@old_name}, parent_user_id: #{@parent_user_id}, permalink:"\
|
|
520
|
+
" #{@permalink}, pinned_to: #{@pinned_to}, purpose: #{@purpose}, reactions: #{@reactions},"\
|
|
521
|
+
" reply_count: #{@reply_count}, reply_users: #{@reply_users}, reply_users_count:"\
|
|
522
|
+
" #{@reply_users_count}, source_team: #{@source_team}, subscribed: #{@subscribed}, subtype:"\
|
|
523
|
+
" #{@subtype}, team: #{@team}, text: #{@text}, thread_ts: #{@thread_ts}, topic: #{@topic},"\
|
|
524
|
+
" ts: #{@ts}, type: #{@type}, unread_count: #{@unread_count}, upload: #{@upload}, user:"\
|
|
525
|
+
" #{@user}, user_profile: #{@user_profile}, user_team: #{@user_team}, username:"\
|
|
526
|
+
" #{@username}, additional_properties: #{@additional_properties}>"
|
|
527
|
+
end
|
|
528
|
+
|
|
529
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
530
|
+
def inspect
|
|
531
|
+
class_name = self.class.name.split('::').last
|
|
532
|
+
"<#{class_name} attachments: #{@attachments.inspect}, blocks: #{@blocks.inspect}, bot_id:"\
|
|
533
|
+
" #{@bot_id.inspect}, bot_profile: #{@bot_profile.inspect}, client_msg_id:"\
|
|
534
|
+
" #{@client_msg_id.inspect}, comment: #{@comment.inspect}, display_as_bot:"\
|
|
535
|
+
" #{@display_as_bot.inspect}, file: #{@file.inspect}, files: #{@files.inspect}, icons:"\
|
|
536
|
+
" #{@icons.inspect}, inviter: #{@inviter.inspect}, is_delayed_message:"\
|
|
537
|
+
" #{@is_delayed_message.inspect}, is_intro: #{@is_intro.inspect}, is_starred:"\
|
|
538
|
+
" #{@is_starred.inspect}, last_read: #{@last_read.inspect}, latest_reply:"\
|
|
539
|
+
" #{@latest_reply.inspect}, name: #{@name.inspect}, old_name: #{@old_name.inspect},"\
|
|
540
|
+
" parent_user_id: #{@parent_user_id.inspect}, permalink: #{@permalink.inspect}, pinned_to:"\
|
|
541
|
+
" #{@pinned_to.inspect}, purpose: #{@purpose.inspect}, reactions: #{@reactions.inspect},"\
|
|
542
|
+
" reply_count: #{@reply_count.inspect}, reply_users: #{@reply_users.inspect},"\
|
|
543
|
+
" reply_users_count: #{@reply_users_count.inspect}, source_team: #{@source_team.inspect},"\
|
|
544
|
+
" subscribed: #{@subscribed.inspect}, subtype: #{@subtype.inspect}, team: #{@team.inspect},"\
|
|
545
|
+
" text: #{@text.inspect}, thread_ts: #{@thread_ts.inspect}, topic: #{@topic.inspect}, ts:"\
|
|
546
|
+
" #{@ts.inspect}, type: #{@type.inspect}, unread_count: #{@unread_count.inspect}, upload:"\
|
|
547
|
+
" #{@upload.inspect}, user: #{@user.inspect}, user_profile: #{@user_profile.inspect},"\
|
|
548
|
+
" user_team: #{@user_team.inspect}, username: #{@username.inspect}, additional_properties:"\
|
|
549
|
+
" #{@additional_properties}>"
|
|
550
|
+
end
|
|
551
|
+
end
|
|
552
|
+
end
|