mattermost-api-reference-client 4.0.0.post2__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.
- mattermost_api_reference_client/__init__.py +7 -0
- mattermost_api_reference_client/api/__init__.py +1 -0
- mattermost_api_reference_client/api/bleve/__init__.py +0 -0
- mattermost_api_reference_client/api/bleve/purge_bleve_indexes.py +168 -0
- mattermost_api_reference_client/api/bots/__init__.py +0 -0
- mattermost_api_reference_client/api/bots/assign_bot.py +203 -0
- mattermost_api_reference_client/api/bots/convert_bot_to_user.py +235 -0
- mattermost_api_reference_client/api/bots/convert_user_to_bot.py +199 -0
- mattermost_api_reference_client/api/bots/create_bot.py +192 -0
- mattermost_api_reference_client/api/bots/delete_bot_icon_image.py +197 -0
- mattermost_api_reference_client/api/bots/disable_bot.py +188 -0
- mattermost_api_reference_client/api/bots/enable_bot.py +188 -0
- mattermost_api_reference_client/api/bots/get_bot.py +211 -0
- mattermost_api_reference_client/api/bots/get_bot_icon_image.py +128 -0
- mattermost_api_reference_client/api/bots/get_bots.py +248 -0
- mattermost_api_reference_client/api/bots/patch_bot.py +213 -0
- mattermost_api_reference_client/api/bots/set_bot_icon_image.py +218 -0
- mattermost_api_reference_client/api/brand/__init__.py +0 -0
- mattermost_api_reference_client/api/brand/delete_brand_image.py +167 -0
- mattermost_api_reference_client/api/brand/get_brand_image.py +158 -0
- mattermost_api_reference_client/api/brand/upload_brand_image.py +194 -0
- mattermost_api_reference_client/api/channels/__init__.py +0 -0
- mattermost_api_reference_client/api/channels/add_channel_member.py +193 -0
- mattermost_api_reference_client/api/channels/autocomplete_channels_for_team.py +223 -0
- mattermost_api_reference_client/api/channels/autocomplete_channels_for_team_for_search.py +223 -0
- mattermost_api_reference_client/api/channels/channel_members_minus_group_members.py +167 -0
- mattermost_api_reference_client/api/channels/create_channel.py +192 -0
- mattermost_api_reference_client/api/channels/create_direct_channel.py +191 -0
- mattermost_api_reference_client/api/channels/create_group_channel.py +191 -0
- mattermost_api_reference_client/api/channels/create_sidebar_category_for_team_for_user.py +222 -0
- mattermost_api_reference_client/api/channels/delete_channel.py +228 -0
- mattermost_api_reference_client/api/channels/get_all_channels.py +283 -0
- mattermost_api_reference_client/api/channels/get_channel.py +184 -0
- mattermost_api_reference_client/api/channels/get_channel_by_name.py +218 -0
- mattermost_api_reference_client/api/channels/get_channel_by_name_for_team_name.py +218 -0
- mattermost_api_reference_client/api/channels/get_channel_member.py +199 -0
- mattermost_api_reference_client/api/channels/get_channel_member_counts_by_group.py +137 -0
- mattermost_api_reference_client/api/channels/get_channel_members.py +223 -0
- mattermost_api_reference_client/api/channels/get_channel_members_by_ids.py +208 -0
- mattermost_api_reference_client/api/channels/get_channel_members_for_user.py +212 -0
- mattermost_api_reference_client/api/channels/get_channel_members_timezones.py +195 -0
- mattermost_api_reference_client/api/channels/get_channel_moderations.py +193 -0
- mattermost_api_reference_client/api/channels/get_channel_stats.py +184 -0
- mattermost_api_reference_client/api/channels/get_channel_unread.py +206 -0
- mattermost_api_reference_client/api/channels/get_channels_for_team_for_user.py +243 -0
- mattermost_api_reference_client/api/channels/get_channels_for_user.py +242 -0
- mattermost_api_reference_client/api/channels/get_deleted_channels_for_team.py +230 -0
- mattermost_api_reference_client/api/channels/get_pinned_posts.py +176 -0
- mattermost_api_reference_client/api/channels/get_private_channels_for_team.py +242 -0
- mattermost_api_reference_client/api/channels/get_public_channels_by_ids_for_team.py +205 -0
- mattermost_api_reference_client/api/channels/get_public_channels_for_team.py +226 -0
- mattermost_api_reference_client/api/channels/get_sidebar_categories_for_team_for_user.py +219 -0
- mattermost_api_reference_client/api/channels/get_sidebar_category_for_team_for_user.py +219 -0
- mattermost_api_reference_client/api/channels/get_sidebar_category_order_for_team_for_user.py +205 -0
- mattermost_api_reference_client/api/channels/move_channel.py +220 -0
- mattermost_api_reference_client/api/channels/patch_channel.py +216 -0
- mattermost_api_reference_client/api/channels/patch_channel_moderations.py +210 -0
- mattermost_api_reference_client/api/channels/remove_sidebar_category_for_team_for_user.py +223 -0
- mattermost_api_reference_client/api/channels/remove_user_from_channel.py +215 -0
- mattermost_api_reference_client/api/channels/restore_channel.py +196 -0
- mattermost_api_reference_client/api/channels/search_all_channels.py +232 -0
- mattermost_api_reference_client/api/channels/search_archived_channels.py +233 -0
- mattermost_api_reference_client/api/channels/search_channels.py +221 -0
- mattermost_api_reference_client/api/channels/search_group_channels.py +190 -0
- mattermost_api_reference_client/api/channels/update_channel.py +212 -0
- mattermost_api_reference_client/api/channels/update_channel_member_scheme_roles.py +231 -0
- mattermost_api_reference_client/api/channels/update_channel_notify_props.py +219 -0
- mattermost_api_reference_client/api/channels/update_channel_privacy.py +228 -0
- mattermost_api_reference_client/api/channels/update_channel_roles.py +216 -0
- mattermost_api_reference_client/api/channels/update_channel_scheme.py +216 -0
- mattermost_api_reference_client/api/channels/update_sidebar_categories_for_team_for_user.py +230 -0
- mattermost_api_reference_client/api/channels/update_sidebar_category_for_team_for_user.py +235 -0
- mattermost_api_reference_client/api/channels/update_sidebar_category_order_for_team_for_user.py +225 -0
- mattermost_api_reference_client/api/channels/view_channel.py +213 -0
- mattermost_api_reference_client/api/cloud/__init__.py +0 -0
- mattermost_api_reference_client/api/cloud/confirm_customer_payment.py +130 -0
- mattermost_api_reference_client/api/cloud/create_customer_payment.py +186 -0
- mattermost_api_reference_client/api/cloud/get_cloud_customer.py +174 -0
- mattermost_api_reference_client/api/cloud/get_cloud_limits.py +171 -0
- mattermost_api_reference_client/api/cloud/get_cloud_products.py +179 -0
- mattermost_api_reference_client/api/cloud/get_invoice_for_subscription_as_pdf.py +124 -0
- mattermost_api_reference_client/api/cloud/get_invoices_for_subscription.py +179 -0
- mattermost_api_reference_client/api/cloud/get_subscription.py +174 -0
- mattermost_api_reference_client/api/cloud/post_endpoint_for_cws_webhooks.py +113 -0
- mattermost_api_reference_client/api/cloud/update_cloud_customer.py +199 -0
- mattermost_api_reference_client/api/cloud/update_cloud_customer_address.py +199 -0
- mattermost_api_reference_client/api/cluster/__init__.py +0 -0
- mattermost_api_reference_client/api/cluster/get_cluster_status.py +166 -0
- mattermost_api_reference_client/api/commands/__init__.py +0 -0
- mattermost_api_reference_client/api/commands/create_command.py +191 -0
- mattermost_api_reference_client/api/commands/delete_command.py +187 -0
- mattermost_api_reference_client/api/commands/execute_command.py +191 -0
- mattermost_api_reference_client/api/commands/get_command_by_id.py +192 -0
- mattermost_api_reference_client/api/commands/list_autocomplete_commands.py +189 -0
- mattermost_api_reference_client/api/commands/list_command_autocomplete_suggestions.py +216 -0
- mattermost_api_reference_client/api/commands/list_commands.py +213 -0
- mattermost_api_reference_client/api/commands/move_command.py +216 -0
- mattermost_api_reference_client/api/commands/regen_command_token.py +184 -0
- mattermost_api_reference_client/api/commands/update_command.py +200 -0
- mattermost_api_reference_client/api/compliance/__init__.py +0 -0
- mattermost_api_reference_client/api/compliance/create_compliance_report.py +166 -0
- mattermost_api_reference_client/api/compliance/download_compliance_report.py +122 -0
- mattermost_api_reference_client/api/compliance/get_compliance_report.py +187 -0
- mattermost_api_reference_client/api/compliance/get_compliance_reports.py +217 -0
- mattermost_api_reference_client/api/data_retention/__init__.py +0 -0
- mattermost_api_reference_client/api/data_retention/add_channels_to_retention_policy.py +227 -0
- mattermost_api_reference_client/api/data_retention/add_teams_to_retention_policy.py +227 -0
- mattermost_api_reference_client/api/data_retention/create_data_retention_policy.py +223 -0
- mattermost_api_reference_client/api/data_retention/delete_data_retention_policy.py +211 -0
- mattermost_api_reference_client/api/data_retention/get_channel_policies_for_user.py +245 -0
- mattermost_api_reference_client/api/data_retention/get_channels_for_retention_policy.py +252 -0
- mattermost_api_reference_client/api/data_retention/get_data_retention_policies.py +245 -0
- mattermost_api_reference_client/api/data_retention/get_data_retention_policies_count.py +198 -0
- mattermost_api_reference_client/api/data_retention/get_data_retention_policy.py +198 -0
- mattermost_api_reference_client/api/data_retention/get_data_retention_policy_by_id.py +215 -0
- mattermost_api_reference_client/api/data_retention/get_team_policies_for_user.py +245 -0
- mattermost_api_reference_client/api/data_retention/get_teams_for_retention_policy.py +250 -0
- mattermost_api_reference_client/api/data_retention/patch_data_retention_policy.py +236 -0
- mattermost_api_reference_client/api/data_retention/remove_channels_from_retention_policy.py +227 -0
- mattermost_api_reference_client/api/data_retention/remove_teams_from_retention_policy.py +227 -0
- mattermost_api_reference_client/api/data_retention/search_channels_for_retention_policy.py +235 -0
- mattermost_api_reference_client/api/data_retention/search_teams_for_retention_policy.py +233 -0
- mattermost_api_reference_client/api/elasticsearch/__init__.py +0 -0
- mattermost_api_reference_client/api/elasticsearch/purge_elasticsearch_indexes.py +168 -0
- mattermost_api_reference_client/api/elasticsearch/test_elasticsearch.py +187 -0
- mattermost_api_reference_client/api/emoji/__init__.py +0 -0
- mattermost_api_reference_client/api/emoji/autocomplete_emoji.py +205 -0
- mattermost_api_reference_client/api/emoji/create_emoji.py +194 -0
- mattermost_api_reference_client/api/emoji/delete_emoji.py +187 -0
- mattermost_api_reference_client/api/emoji/get_emoji.py +187 -0
- mattermost_api_reference_client/api/emoji/get_emoji_by_name.py +195 -0
- mattermost_api_reference_client/api/emoji/get_emoji_image.py +124 -0
- mattermost_api_reference_client/api/emoji/get_emoji_list.py +227 -0
- mattermost_api_reference_client/api/emoji/search_emoji.py +208 -0
- mattermost_api_reference_client/api/exports/__init__.py +0 -0
- mattermost_api_reference_client/api/exports/delete_export.py +130 -0
- mattermost_api_reference_client/api/exports/download_export.py +132 -0
- mattermost_api_reference_client/api/exports/list_exports.py +111 -0
- mattermost_api_reference_client/api/files/__init__.py +0 -0
- mattermost_api_reference_client/api/files/get_file.py +187 -0
- mattermost_api_reference_client/api/files/get_file_info.py +192 -0
- mattermost_api_reference_client/api/files/get_file_link.py +196 -0
- mattermost_api_reference_client/api/files/get_file_preview.py +187 -0
- mattermost_api_reference_client/api/files/get_file_public.py +202 -0
- mattermost_api_reference_client/api/files/get_file_thumbnail.py +187 -0
- mattermost_api_reference_client/api/files/upload_file.py +260 -0
- mattermost_api_reference_client/api/groups/__init__.py +0 -0
- mattermost_api_reference_client/api/groups/add_group_members.py +217 -0
- mattermost_api_reference_client/api/groups/create_group.py +130 -0
- mattermost_api_reference_client/api/groups/delete_group.py +196 -0
- mattermost_api_reference_client/api/groups/delete_group_members.py +217 -0
- mattermost_api_reference_client/api/groups/get_group.py +199 -0
- mattermost_api_reference_client/api/groups/get_group_stats.py +202 -0
- mattermost_api_reference_client/api/groups/get_group_syncable_for_channel_id.py +213 -0
- mattermost_api_reference_client/api/groups/get_group_syncable_for_team_id.py +211 -0
- mattermost_api_reference_client/api/groups/get_group_syncables_channels.py +203 -0
- mattermost_api_reference_client/api/groups/get_group_syncables_teams.py +203 -0
- mattermost_api_reference_client/api/groups/get_group_users.py +236 -0
- mattermost_api_reference_client/api/groups/get_groups.py +335 -0
- mattermost_api_reference_client/api/groups/get_groups_associated_to_channels_by_team.py +272 -0
- mattermost_api_reference_client/api/groups/get_groups_by_channel.py +256 -0
- mattermost_api_reference_client/api/groups/get_groups_by_team.py +244 -0
- mattermost_api_reference_client/api/groups/get_groups_by_user_id.py +186 -0
- mattermost_api_reference_client/api/groups/link_group_syncable_for_channel.py +214 -0
- mattermost_api_reference_client/api/groups/link_group_syncable_for_team.py +208 -0
- mattermost_api_reference_client/api/groups/patch_group.py +224 -0
- mattermost_api_reference_client/api/groups/patch_group_syncable_for_channel.py +239 -0
- mattermost_api_reference_client/api/groups/patch_group_syncable_for_team.py +239 -0
- mattermost_api_reference_client/api/groups/unlink_group_syncable_for_channel.py +214 -0
- mattermost_api_reference_client/api/groups/unlink_group_syncable_for_team.py +208 -0
- mattermost_api_reference_client/api/groups/unlink_ldap_group.py +184 -0
- mattermost_api_reference_client/api/imports/__init__.py +0 -0
- mattermost_api_reference_client/api/imports/list_imports.py +113 -0
- mattermost_api_reference_client/api/insights/__init__.py +0 -0
- mattermost_api_reference_client/api/insights/get_new_team_members.py +234 -0
- mattermost_api_reference_client/api/insights/get_top_channels_for_team.py +230 -0
- mattermost_api_reference_client/api/insights/get_top_channels_for_user.py +232 -0
- mattermost_api_reference_client/api/insights/get_top_d_ms_for_user.py +217 -0
- mattermost_api_reference_client/api/insights/get_top_reactions_for_team.py +234 -0
- mattermost_api_reference_client/api/insights/get_top_reactions_for_user.py +244 -0
- mattermost_api_reference_client/api/insights/get_top_threads_for_team.py +234 -0
- mattermost_api_reference_client/api/insights/get_top_threads_for_user.py +236 -0
- mattermost_api_reference_client/api/integration_actions/__init__.py +0 -0
- mattermost_api_reference_client/api/integration_actions/open_interactive_dialog.py +186 -0
- mattermost_api_reference_client/api/integration_actions/submit_interactive_dialog.py +192 -0
- mattermost_api_reference_client/api/internal/__init__.py +0 -0
- mattermost_api_reference_client/api/internal/create_playbook_run_from_dialog.py +188 -0
- mattermost_api_reference_client/api/internal/end_playbook_run_dialog.py +114 -0
- mattermost_api_reference_client/api/internal/get_checklist_autocomplete.py +189 -0
- mattermost_api_reference_client/api/internal/next_stage_dialog.py +127 -0
- mattermost_api_reference_client/api/jobs/__init__.py +0 -0
- mattermost_api_reference_client/api/jobs/cancel_job.py +191 -0
- mattermost_api_reference_client/api/jobs/create_job.py +192 -0
- mattermost_api_reference_client/api/jobs/download_job.py +122 -0
- mattermost_api_reference_client/api/jobs/get_job.py +191 -0
- mattermost_api_reference_client/api/jobs/get_jobs.py +214 -0
- mattermost_api_reference_client/api/jobs/get_jobs_by_type.py +231 -0
- mattermost_api_reference_client/api/ldap/__init__.py +0 -0
- mattermost_api_reference_client/api/ldap/delete_ldap_private_certificate.py +163 -0
- mattermost_api_reference_client/api/ldap/delete_ldap_public_certificate.py +163 -0
- mattermost_api_reference_client/api/ldap/get_ldap_groups.py +225 -0
- mattermost_api_reference_client/api/ldap/link_ldap_group.py +184 -0
- mattermost_api_reference_client/api/ldap/migrate_id_ldap.py +198 -0
- mattermost_api_reference_client/api/ldap/sync_ldap.py +157 -0
- mattermost_api_reference_client/api/ldap/test_ldap.py +160 -0
- mattermost_api_reference_client/api/ldap/upload_ldap_private_certificate.py +195 -0
- mattermost_api_reference_client/api/ldap/upload_ldap_public_certificate.py +195 -0
- mattermost_api_reference_client/api/o_auth/__init__.py +0 -0
- mattermost_api_reference_client/api/o_auth/create_o_auth_app.py +191 -0
- mattermost_api_reference_client/api/o_auth/delete_o_auth_app.py +194 -0
- mattermost_api_reference_client/api/o_auth/get_authorized_o_auth_apps_for_user.py +226 -0
- mattermost_api_reference_client/api/o_auth/get_o_auth_app.py +194 -0
- mattermost_api_reference_client/api/o_auth/get_o_auth_app_info.py +191 -0
- mattermost_api_reference_client/api/o_auth/get_o_auth_apps.py +217 -0
- mattermost_api_reference_client/api/o_auth/regenerate_o_auth_app_secret.py +194 -0
- mattermost_api_reference_client/api/o_auth/update_o_auth_app.py +211 -0
- mattermost_api_reference_client/api/open_graph/__init__.py +0 -0
- mattermost_api_reference_client/api/open_graph/open_graph.py +198 -0
- mattermost_api_reference_client/api/permissions/__init__.py +0 -0
- mattermost_api_reference_client/api/permissions/get_ancillary_permissions.py +187 -0
- mattermost_api_reference_client/api/playbook_autofollows/__init__.py +0 -0
- mattermost_api_reference_client/api/playbook_autofollows/get_auto_follows.py +165 -0
- mattermost_api_reference_client/api/playbook_runs/__init__.py +0 -0
- mattermost_api_reference_client/api/playbook_runs/add_checklist_item.py +132 -0
- mattermost_api_reference_client/api/playbook_runs/change_owner.py +123 -0
- mattermost_api_reference_client/api/playbook_runs/create_playbook_run_from_post.py +184 -0
- mattermost_api_reference_client/api/playbook_runs/end_playbook_run.py +108 -0
- mattermost_api_reference_client/api/playbook_runs/finish.py +108 -0
- mattermost_api_reference_client/api/playbook_runs/get_channels.py +290 -0
- mattermost_api_reference_client/api/playbook_runs/get_owners.py +187 -0
- mattermost_api_reference_client/api/playbook_runs/get_playbook_run.py +165 -0
- mattermost_api_reference_client/api/playbook_runs/get_playbook_run_by_channel_id.py +165 -0
- mattermost_api_reference_client/api/playbook_runs/get_playbook_run_metadata.py +165 -0
- mattermost_api_reference_client/api/playbook_runs/item_delete.py +126 -0
- mattermost_api_reference_client/api/playbook_runs/item_rename.py +141 -0
- mattermost_api_reference_client/api/playbook_runs/item_run.py +193 -0
- mattermost_api_reference_client/api/playbook_runs/item_set_assignee.py +137 -0
- mattermost_api_reference_client/api/playbook_runs/item_set_state.py +137 -0
- mattermost_api_reference_client/api/playbook_runs/list_playbook_runs.py +332 -0
- mattermost_api_reference_client/api/playbook_runs/reoder_checklist_item.py +130 -0
- mattermost_api_reference_client/api/playbook_runs/restart_playbook_run.py +108 -0
- mattermost_api_reference_client/api/playbook_runs/status.py +123 -0
- mattermost_api_reference_client/api/playbook_runs/update_playbook_run.py +121 -0
- mattermost_api_reference_client/api/playbooks/__init__.py +0 -0
- mattermost_api_reference_client/api/playbooks/create_playbook.py +172 -0
- mattermost_api_reference_client/api/playbooks/delete_playbook.py +110 -0
- mattermost_api_reference_client/api/playbooks/get_playbook.py +165 -0
- mattermost_api_reference_client/api/playbooks/get_playbooks.py +275 -0
- mattermost_api_reference_client/api/playbooks/update_playbook.py +123 -0
- mattermost_api_reference_client/api/plugins/__init__.py +0 -0
- mattermost_api_reference_client/api/plugins/disable_plugin.py +202 -0
- mattermost_api_reference_client/api/plugins/enable_plugin.py +202 -0
- mattermost_api_reference_client/api/plugins/get_marketplace_plugins.py +170 -0
- mattermost_api_reference_client/api/plugins/get_marketplace_visited_by_admin.py +168 -0
- mattermost_api_reference_client/api/plugins/get_plugin_statuses.py +183 -0
- mattermost_api_reference_client/api/plugins/get_plugins.py +117 -0
- mattermost_api_reference_client/api/plugins/get_webapp_plugins.py +183 -0
- mattermost_api_reference_client/api/plugins/install_marketplace_plugin.py +132 -0
- mattermost_api_reference_client/api/plugins/install_plugin_from_url.py +221 -0
- mattermost_api_reference_client/api/plugins/remove_plugin.py +206 -0
- mattermost_api_reference_client/api/plugins/upload_plugin.py +210 -0
- mattermost_api_reference_client/api/posts/__init__.py +0 -0
- mattermost_api_reference_client/api/posts/create_post.py +207 -0
- mattermost_api_reference_client/api/posts/create_post_ephemeral.py +188 -0
- mattermost_api_reference_client/api/posts/delete_post.py +188 -0
- mattermost_api_reference_client/api/posts/do_post_action.py +197 -0
- mattermost_api_reference_client/api/posts/get_file_infos_for_post.py +208 -0
- mattermost_api_reference_client/api/posts/get_flagged_posts_for_user.py +257 -0
- mattermost_api_reference_client/api/posts/get_post.py +207 -0
- mattermost_api_reference_client/api/posts/get_post_thread.py +297 -0
- mattermost_api_reference_client/api/posts/get_posts_around_last_unread.py +290 -0
- mattermost_api_reference_client/api/posts/get_posts_by_ids.py +196 -0
- mattermost_api_reference_client/api/posts/get_posts_for_channel.py +302 -0
- mattermost_api_reference_client/api/posts/patch_post.py +209 -0
- mattermost_api_reference_client/api/posts/pin_post.py +184 -0
- mattermost_api_reference_client/api/posts/save_acknowledgement_for_post.py +216 -0
- mattermost_api_reference_client/api/posts/search_posts.py +201 -0
- mattermost_api_reference_client/api/posts/set_post_reminder.py +225 -0
- mattermost_api_reference_client/api/posts/set_post_unread.py +218 -0
- mattermost_api_reference_client/api/posts/unpin_post.py +184 -0
- mattermost_api_reference_client/api/posts/update_post.py +201 -0
- mattermost_api_reference_client/api/preferences/__init__.py +0 -0
- mattermost_api_reference_client/api/preferences/delete_preferences.py +205 -0
- mattermost_api_reference_client/api/preferences/get_preferences.py +189 -0
- mattermost_api_reference_client/api/preferences/get_preferences_by_category.py +202 -0
- mattermost_api_reference_client/api/preferences/get_preferences_by_category_by_name.py +209 -0
- mattermost_api_reference_client/api/preferences/update_preferences.py +208 -0
- mattermost_api_reference_client/api/reactions/__init__.py +0 -0
- mattermost_api_reference_client/api/reactions/delete_reaction.py +212 -0
- mattermost_api_reference_client/api/reactions/get_bulk_reactions.py +195 -0
- mattermost_api_reference_client/api/reactions/get_reactions.py +189 -0
- mattermost_api_reference_client/api/reactions/save_reaction.py +184 -0
- mattermost_api_reference_client/api/roles/__init__.py +0 -0
- mattermost_api_reference_client/api/roles/get_all_roles.py +176 -0
- mattermost_api_reference_client/api/roles/get_role.py +193 -0
- mattermost_api_reference_client/api/roles/get_role_by_name.py +193 -0
- mattermost_api_reference_client/api/roles/get_roles_by_names.py +204 -0
- mattermost_api_reference_client/api/roles/patch_role.py +224 -0
- mattermost_api_reference_client/api/root/__init__.py +0 -0
- mattermost_api_reference_client/api/root/acknowledge_notification.py +157 -0
- mattermost_api_reference_client/api/saml/__init__.py +0 -0
- mattermost_api_reference_client/api/saml/delete_saml_idp_certificate.py +167 -0
- mattermost_api_reference_client/api/saml/delete_saml_private_certificate.py +167 -0
- mattermost_api_reference_client/api/saml/delete_saml_public_certificate.py +167 -0
- mattermost_api_reference_client/api/saml/get_saml_certificate_status.py +160 -0
- mattermost_api_reference_client/api/saml/get_saml_metadata.py +155 -0
- mattermost_api_reference_client/api/saml/get_saml_metadata_from_idp.py +180 -0
- mattermost_api_reference_client/api/saml/reset_saml_auth_data_to_email.py +197 -0
- mattermost_api_reference_client/api/saml/upload_saml_idp_certificate.py +195 -0
- mattermost_api_reference_client/api/saml/upload_saml_private_certificate.py +195 -0
- mattermost_api_reference_client/api/saml/upload_saml_public_certificate.py +195 -0
- mattermost_api_reference_client/api/schemes/__init__.py +0 -0
- mattermost_api_reference_client/api/schemes/create_scheme.py +203 -0
- mattermost_api_reference_client/api/schemes/delete_scheme.py +199 -0
- mattermost_api_reference_client/api/schemes/get_channels_for_scheme.py +246 -0
- mattermost_api_reference_client/api/schemes/get_scheme.py +196 -0
- mattermost_api_reference_client/api/schemes/get_schemes.py +237 -0
- mattermost_api_reference_client/api/schemes/get_teams_for_scheme.py +246 -0
- mattermost_api_reference_client/api/schemes/patch_scheme.py +227 -0
- mattermost_api_reference_client/api/shared_channels/__init__.py +0 -0
- mattermost_api_reference_client/api/shared_channels/get_all_shared_channels.py +235 -0
- mattermost_api_reference_client/api/shared_channels/get_remote_cluster_info.py +199 -0
- mattermost_api_reference_client/api/status/__init__.py +0 -0
- mattermost_api_reference_client/api/status/get_user_status.py +181 -0
- mattermost_api_reference_client/api/status/get_users_statuses_by_ids.py +189 -0
- mattermost_api_reference_client/api/status/post_user_recent_custom_status_delete.py +131 -0
- mattermost_api_reference_client/api/status/remove_recent_custom_status.py +131 -0
- mattermost_api_reference_client/api/status/unset_user_custom_status.py +118 -0
- mattermost_api_reference_client/api/status/update_user_custom_status.py +131 -0
- mattermost_api_reference_client/api/status/update_user_status.py +206 -0
- mattermost_api_reference_client/api/system/__init__.py +0 -0
- mattermost_api_reference_client/api/system/check_integrity.py +191 -0
- mattermost_api_reference_client/api/system/clear_server_busy.py +173 -0
- mattermost_api_reference_client/api/system/database_recycle.py +161 -0
- mattermost_api_reference_client/api/system/generate_support_packet.py +119 -0
- mattermost_api_reference_client/api/system/get_analytics_old.py +147 -0
- mattermost_api_reference_client/api/system/get_audits.py +208 -0
- mattermost_api_reference_client/api/system/get_client_config.py +124 -0
- mattermost_api_reference_client/api/system/get_client_license.py +124 -0
- mattermost_api_reference_client/api/system/get_config.py +160 -0
- mattermost_api_reference_client/api/system/get_environment_config.py +183 -0
- mattermost_api_reference_client/api/system/get_image_by_url.py +105 -0
- mattermost_api_reference_client/api/system/get_logs.py +198 -0
- mattermost_api_reference_client/api/system/get_notices.py +236 -0
- mattermost_api_reference_client/api/system/get_ping.py +247 -0
- mattermost_api_reference_client/api/system/get_prev_trial_license.py +111 -0
- mattermost_api_reference_client/api/system/get_redirect_location.py +120 -0
- mattermost_api_reference_client/api/system/get_server_busy_expires.py +169 -0
- mattermost_api_reference_client/api/system/get_supported_timezone.py +156 -0
- mattermost_api_reference_client/api/system/get_warn_metrics_status.py +199 -0
- mattermost_api_reference_client/api/system/invalidate_caches.py +161 -0
- mattermost_api_reference_client/api/system/mark_notices_viewed.py +185 -0
- mattermost_api_reference_client/api/system/patch_config.py +208 -0
- mattermost_api_reference_client/api/system/post_log.py +198 -0
- mattermost_api_reference_client/api/system/reload_config.py +160 -0
- mattermost_api_reference_client/api/system/remove_license_file.py +113 -0
- mattermost_api_reference_client/api/system/request_license_renewal_link.py +170 -0
- mattermost_api_reference_client/api/system/request_trial_license.py +126 -0
- mattermost_api_reference_client/api/system/restart_server.py +161 -0
- mattermost_api_reference_client/api/system/send_trial_license_warn_metric_ack.py +210 -0
- mattermost_api_reference_client/api/system/send_warn_metric_ack.py +225 -0
- mattermost_api_reference_client/api/system/set_server_busy.py +203 -0
- mattermost_api_reference_client/api/system/test_email.py +193 -0
- mattermost_api_reference_client/api/system/test_s3_connection.py +197 -0
- mattermost_api_reference_client/api/system/test_site_url.py +200 -0
- mattermost_api_reference_client/api/system/update_config.py +204 -0
- mattermost_api_reference_client/api/system/update_marketplace_visited_by_admin.py +193 -0
- mattermost_api_reference_client/api/system/upgrade_to_enterprise.py +168 -0
- mattermost_api_reference_client/api/system/upgrade_to_enterprise_status.py +165 -0
- mattermost_api_reference_client/api/system/upload_license_file.py +203 -0
- mattermost_api_reference_client/api/teams/__init__.py +0 -0
- mattermost_api_reference_client/api/teams/add_team_member.py +208 -0
- mattermost_api_reference_client/api/teams/add_team_member_from_invite.py +193 -0
- mattermost_api_reference_client/api/teams/add_team_members.py +231 -0
- mattermost_api_reference_client/api/teams/create_team.py +188 -0
- mattermost_api_reference_client/api/teams/get_all_teams.py +241 -0
- mattermost_api_reference_client/api/teams/get_team.py +187 -0
- mattermost_api_reference_client/api/teams/get_team_by_name.py +187 -0
- mattermost_api_reference_client/api/teams/get_team_icon.py +132 -0
- mattermost_api_reference_client/api/teams/get_team_invite_info.py +190 -0
- mattermost_api_reference_client/api/teams/get_team_member.py +200 -0
- mattermost_api_reference_client/api/teams/get_team_members.py +226 -0
- mattermost_api_reference_client/api/teams/get_team_members_by_ids.py +205 -0
- mattermost_api_reference_client/api/teams/get_team_members_for_user.py +196 -0
- mattermost_api_reference_client/api/teams/get_team_stats.py +187 -0
- mattermost_api_reference_client/api/teams/get_team_unread.py +200 -0
- mattermost_api_reference_client/api/teams/get_teams_for_user.py +189 -0
- mattermost_api_reference_client/api/teams/get_teams_unread_for_user.py +223 -0
- mattermost_api_reference_client/api/teams/import_team.py +198 -0
- mattermost_api_reference_client/api/teams/invalidate_email_invites.py +163 -0
- mattermost_api_reference_client/api/teams/invite_guests_to_team.py +232 -0
- mattermost_api_reference_client/api/teams/invite_users_to_team.py +219 -0
- mattermost_api_reference_client/api/teams/patch_team.py +209 -0
- mattermost_api_reference_client/api/teams/regenerate_team_invite_id.py +187 -0
- mattermost_api_reference_client/api/teams/remove_team_icon.py +202 -0
- mattermost_api_reference_client/api/teams/remove_team_member.py +200 -0
- mattermost_api_reference_client/api/teams/restore_team.py +196 -0
- mattermost_api_reference_client/api/teams/search_files.py +209 -0
- mattermost_api_reference_client/api/teams/search_teams.py +199 -0
- mattermost_api_reference_client/api/teams/set_team_icon.py +219 -0
- mattermost_api_reference_client/api/teams/soft_delete_team.py +226 -0
- mattermost_api_reference_client/api/teams/team_exists.py +184 -0
- mattermost_api_reference_client/api/teams/team_members_minus_group_members.py +167 -0
- mattermost_api_reference_client/api/teams/update_team.py +208 -0
- mattermost_api_reference_client/api/teams/update_team_member_roles.py +221 -0
- mattermost_api_reference_client/api/teams/update_team_member_scheme_roles.py +239 -0
- mattermost_api_reference_client/api/teams/update_team_privacy.py +220 -0
- mattermost_api_reference_client/api/teams/update_team_scheme.py +216 -0
- mattermost_api_reference_client/api/terms_of_service/__init__.py +0 -0
- mattermost_api_reference_client/api/terms_of_service/create_terms_of_service.py +168 -0
- mattermost_api_reference_client/api/terms_of_service/get_terms_of_service.py +168 -0
- mattermost_api_reference_client/api/threads/__init__.py +0 -0
- mattermost_api_reference_client/api/threads/get_thread_mention_counts_by_channel.py +135 -0
- mattermost_api_reference_client/api/threads/get_user_thread.py +142 -0
- mattermost_api_reference_client/api/threads/get_user_threads.py +318 -0
- mattermost_api_reference_client/api/threads/set_thread_unread_by_post_id.py +155 -0
- mattermost_api_reference_client/api/threads/start_following_thread.py +142 -0
- mattermost_api_reference_client/api/threads/stop_following_thread.py +142 -0
- mattermost_api_reference_client/api/threads/update_thread_read_for_user.py +149 -0
- mattermost_api_reference_client/api/threads/update_threads_read_for_user.py +135 -0
- mattermost_api_reference_client/api/timeline/__init__.py +0 -0
- mattermost_api_reference_client/api/timeline/remove_timeline_event.py +117 -0
- mattermost_api_reference_client/api/uploads/__init__.py +0 -0
- mattermost_api_reference_client/api/uploads/create_upload.py +202 -0
- mattermost_api_reference_client/api/uploads/get_upload.py +124 -0
- mattermost_api_reference_client/api/uploads/upload_data.py +232 -0
- mattermost_api_reference_client/api/usage/__init__.py +0 -0
- mattermost_api_reference_client/api/usage/get_posts_usage.py +164 -0
- mattermost_api_reference_client/api/usage/get_storage_usage.py +168 -0
- mattermost_api_reference_client/api/users/__init__.py +0 -0
- mattermost_api_reference_client/api/users/attach_device_id.py +189 -0
- mattermost_api_reference_client/api/users/autocomplete_users.py +243 -0
- mattermost_api_reference_client/api/users/check_user_mfa.py +186 -0
- mattermost_api_reference_client/api/users/create_user.py +227 -0
- mattermost_api_reference_client/api/users/create_user_access_token.py +217 -0
- mattermost_api_reference_client/api/users/delete_user.py +203 -0
- mattermost_api_reference_client/api/users/demote_user_to_guest.py +210 -0
- mattermost_api_reference_client/api/users/disable_user_access_token.py +208 -0
- mattermost_api_reference_client/api/users/enable_user_access_token.py +204 -0
- mattermost_api_reference_client/api/users/generate_mfa_secret.py +194 -0
- mattermost_api_reference_client/api/users/get_channel_members_with_team_data_for_user.py +239 -0
- mattermost_api_reference_client/api/users/get_default_profile_image.py +126 -0
- mattermost_api_reference_client/api/users/get_known_users.py +111 -0
- mattermost_api_reference_client/api/users/get_profile_image.py +137 -0
- mattermost_api_reference_client/api/users/get_sessions.py +189 -0
- mattermost_api_reference_client/api/users/get_total_users_stats.py +166 -0
- mattermost_api_reference_client/api/users/get_total_users_stats_filtered.py +295 -0
- mattermost_api_reference_client/api/users/get_uploads_for_user.py +201 -0
- mattermost_api_reference_client/api/users/get_user.py +184 -0
- mattermost_api_reference_client/api/users/get_user_access_token.py +203 -0
- mattermost_api_reference_client/api/users/get_user_access_tokens.py +230 -0
- mattermost_api_reference_client/api/users/get_user_access_tokens_for_user.py +247 -0
- mattermost_api_reference_client/api/users/get_user_audits.py +189 -0
- mattermost_api_reference_client/api/users/get_user_by_email.py +191 -0
- mattermost_api_reference_client/api/users/get_user_by_username.py +184 -0
- mattermost_api_reference_client/api/users/get_user_terms_of_service.py +198 -0
- mattermost_api_reference_client/api/users/get_users.py +436 -0
- mattermost_api_reference_client/api/users/get_users_by_group_channel_ids.py +216 -0
- mattermost_api_reference_client/api/users/get_users_by_ids.py +208 -0
- mattermost_api_reference_client/api/users/get_users_by_usernames.py +189 -0
- mattermost_api_reference_client/api/users/login.py +181 -0
- mattermost_api_reference_client/api/users/login_by_cws_token.py +124 -0
- mattermost_api_reference_client/api/users/logout.py +156 -0
- mattermost_api_reference_client/api/users/migrate_auth_to_ldap.py +130 -0
- mattermost_api_reference_client/api/users/migrate_auth_to_saml.py +130 -0
- mattermost_api_reference_client/api/users/patch_user.py +209 -0
- mattermost_api_reference_client/api/users/permanent_delete_all_users.py +109 -0
- mattermost_api_reference_client/api/users/promote_guest_to_user.py +210 -0
- mattermost_api_reference_client/api/users/publish_user_typing.py +133 -0
- mattermost_api_reference_client/api/users/register_terms_of_service_action.py +217 -0
- mattermost_api_reference_client/api/users/reset_password.py +192 -0
- mattermost_api_reference_client/api/users/revoke_all_sessions.py +188 -0
- mattermost_api_reference_client/api/users/revoke_session.py +201 -0
- mattermost_api_reference_client/api/users/revoke_sessions_from_all_users.py +115 -0
- mattermost_api_reference_client/api/users/revoke_user_access_token.py +204 -0
- mattermost_api_reference_client/api/users/search_user_access_tokens.py +200 -0
- mattermost_api_reference_client/api/users/search_users.py +201 -0
- mattermost_api_reference_client/api/users/send_password_reset_email.py +192 -0
- mattermost_api_reference_client/api/users/send_verification_email.py +186 -0
- mattermost_api_reference_client/api/users/set_default_profile_image.py +194 -0
- mattermost_api_reference_client/api/users/set_profile_image.py +207 -0
- mattermost_api_reference_client/api/users/switch_account_type.py +266 -0
- mattermost_api_reference_client/api/users/update_user.py +209 -0
- mattermost_api_reference_client/api/users/update_user_active.py +229 -0
- mattermost_api_reference_client/api/users/update_user_auth.py +215 -0
- mattermost_api_reference_client/api/users/update_user_mfa.py +212 -0
- mattermost_api_reference_client/api/users/update_user_password.py +205 -0
- mattermost_api_reference_client/api/users/update_user_roles.py +205 -0
- mattermost_api_reference_client/api/users/verify_user_email.py +182 -0
- mattermost_api_reference_client/api/users/verify_user_email_without_token.py +200 -0
- mattermost_api_reference_client/api/webhooks/__init__.py +0 -0
- mattermost_api_reference_client/api/webhooks/create_incoming_webhook.py +200 -0
- mattermost_api_reference_client/api/webhooks/create_outgoing_webhook.py +203 -0
- mattermost_api_reference_client/api/webhooks/delete_incoming_webhook.py +191 -0
- mattermost_api_reference_client/api/webhooks/delete_outgoing_webhook.py +191 -0
- mattermost_api_reference_client/api/webhooks/get_incoming_webhook.py +191 -0
- mattermost_api_reference_client/api/webhooks/get_incoming_webhooks.py +229 -0
- mattermost_api_reference_client/api/webhooks/get_outgoing_webhook.py +191 -0
- mattermost_api_reference_client/api/webhooks/get_outgoing_webhooks.py +247 -0
- mattermost_api_reference_client/api/webhooks/regen_outgoing_hook_token.py +191 -0
- mattermost_api_reference_client/api/webhooks/update_incoming_webhook.py +208 -0
- mattermost_api_reference_client/api/webhooks/update_outgoing_webhook.py +208 -0
- mattermost_api_reference_client/client.py +66 -0
- mattermost_api_reference_client/errors.py +14 -0
- mattermost_api_reference_client/models/__init__.py +789 -0
- mattermost_api_reference_client/models/add_channel_member_json_body.py +67 -0
- mattermost_api_reference_client/models/add_checklist_item_json_body.py +134 -0
- mattermost_api_reference_client/models/add_checklist_item_json_body_state.py +10 -0
- mattermost_api_reference_client/models/add_group_members_json_body.py +60 -0
- mattermost_api_reference_client/models/add_on.py +81 -0
- mattermost_api_reference_client/models/add_team_member_json_body.py +65 -0
- mattermost_api_reference_client/models/address.py +97 -0
- mattermost_api_reference_client/models/app_error.py +81 -0
- mattermost_api_reference_client/models/attach_device_id_json_body.py +57 -0
- mattermost_api_reference_client/models/audit.py +105 -0
- mattermost_api_reference_client/models/autocomplete_suggestion.py +89 -0
- mattermost_api_reference_client/models/boards_limits.py +65 -0
- mattermost_api_reference_client/models/bot.py +114 -0
- mattermost_api_reference_client/models/change_owner_json_body.py +57 -0
- mattermost_api_reference_client/models/channel.py +161 -0
- mattermost_api_reference_client/models/channel_data.py +88 -0
- mattermost_api_reference_client/models/channel_member.py +127 -0
- mattermost_api_reference_client/models/channel_member_count_by_group.py +75 -0
- mattermost_api_reference_client/models/channel_member_with_team_data.py +151 -0
- mattermost_api_reference_client/models/channel_moderated_role.py +65 -0
- mattermost_api_reference_client/models/channel_moderated_roles.py +86 -0
- mattermost_api_reference_client/models/channel_moderated_roles_patch.py +65 -0
- mattermost_api_reference_client/models/channel_moderation.py +78 -0
- mattermost_api_reference_client/models/channel_moderation_patch.py +78 -0
- mattermost_api_reference_client/models/channel_notify_props.py +85 -0
- mattermost_api_reference_client/models/channel_stats.py +65 -0
- mattermost_api_reference_client/models/channel_unread.py +81 -0
- mattermost_api_reference_client/models/channel_unread_at.py +89 -0
- mattermost_api_reference_client/models/channel_with_team_data.py +195 -0
- mattermost_api_reference_client/models/check_user_mfa_json_body.py +57 -0
- mattermost_api_reference_client/models/check_user_mfa_response_200.py +57 -0
- mattermost_api_reference_client/models/checklist.py +91 -0
- mattermost_api_reference_client/models/checklist_item.py +141 -0
- mattermost_api_reference_client/models/checklist_item_state.py +10 -0
- mattermost_api_reference_client/models/cloud_customer.py +168 -0
- mattermost_api_reference_client/models/cluster_info.py +105 -0
- mattermost_api_reference_client/models/command.py +185 -0
- mattermost_api_reference_client/models/command_response.py +114 -0
- mattermost_api_reference_client/models/compliance.py +137 -0
- mattermost_api_reference_client/models/config.py +430 -0
- mattermost_api_reference_client/models/config_analytics_settings.py +57 -0
- mattermost_api_reference_client/models/config_cluster_settings.py +75 -0
- mattermost_api_reference_client/models/config_compliance_settings.py +73 -0
- mattermost_api_reference_client/models/config_email_settings.py +217 -0
- mattermost_api_reference_client/models/config_file_settings.py +193 -0
- mattermost_api_reference_client/models/config_git_lab_settings.py +105 -0
- mattermost_api_reference_client/models/config_google_settings.py +105 -0
- mattermost_api_reference_client/models/config_ldap_settings.py +209 -0
- mattermost_api_reference_client/models/config_localization_settings.py +73 -0
- mattermost_api_reference_client/models/config_log_settings.py +105 -0
- mattermost_api_reference_client/models/config_metrics_settings.py +73 -0
- mattermost_api_reference_client/models/config_native_app_settings.py +73 -0
- mattermost_api_reference_client/models/config_office_365_settings.py +105 -0
- mattermost_api_reference_client/models/config_password_settings.py +89 -0
- mattermost_api_reference_client/models/config_privacy_settings.py +65 -0
- mattermost_api_reference_client/models/config_rate_limit_settings.py +97 -0
- mattermost_api_reference_client/models/config_saml_settings.py +185 -0
- mattermost_api_reference_client/models/config_service_settings.py +337 -0
- mattermost_api_reference_client/models/config_sql_settings.py +108 -0
- mattermost_api_reference_client/models/config_support_settings.py +97 -0
- mattermost_api_reference_client/models/config_team_settings.py +209 -0
- mattermost_api_reference_client/models/confirm_customer_payment_multipart_data.py +74 -0
- mattermost_api_reference_client/models/convert_bot_to_user_json_body.py +152 -0
- mattermost_api_reference_client/models/convert_bot_to_user_json_body_props.py +44 -0
- mattermost_api_reference_client/models/create_bot_json_body.py +75 -0
- mattermost_api_reference_client/models/create_channel_json_body.py +96 -0
- mattermost_api_reference_client/models/create_command_json_body.py +78 -0
- mattermost_api_reference_client/models/create_emoji_multipart_data.py +87 -0
- mattermost_api_reference_client/models/create_group_json_body.py +71 -0
- mattermost_api_reference_client/models/create_group_json_body_group.py +79 -0
- mattermost_api_reference_client/models/create_incoming_webhook_json_body.py +100 -0
- mattermost_api_reference_client/models/create_job_json_body.py +80 -0
- mattermost_api_reference_client/models/create_job_json_body_data.py +44 -0
- mattermost_api_reference_client/models/create_o_auth_app_json_body.py +97 -0
- mattermost_api_reference_client/models/create_outgoing_webhook_json_body.py +125 -0
- mattermost_api_reference_client/models/create_playbook_json_body.py +231 -0
- mattermost_api_reference_client/models/create_playbook_json_body_checklists_item.py +83 -0
- mattermost_api_reference_client/models/create_playbook_json_body_checklists_item_items_item.py +77 -0
- mattermost_api_reference_client/models/create_playbook_response_201.py +57 -0
- mattermost_api_reference_client/models/create_playbook_run_from_dialog_json_body.py +140 -0
- mattermost_api_reference_client/models/create_playbook_run_from_dialog_json_body_submission.py +76 -0
- mattermost_api_reference_client/models/create_playbook_run_from_post_json_body.py +101 -0
- mattermost_api_reference_client/models/create_post_ephemeral_json_body.py +70 -0
- mattermost_api_reference_client/models/create_post_ephemeral_json_body_post.py +65 -0
- mattermost_api_reference_client/models/create_post_json_body.py +125 -0
- mattermost_api_reference_client/models/create_post_json_body_metadata.py +71 -0
- mattermost_api_reference_client/models/create_post_json_body_metadata_priority.py +66 -0
- mattermost_api_reference_client/models/create_post_json_body_props.py +44 -0
- mattermost_api_reference_client/models/create_scheme_json_body.py +74 -0
- mattermost_api_reference_client/models/create_team_json_body.py +71 -0
- mattermost_api_reference_client/models/create_upload_json_body.py +71 -0
- mattermost_api_reference_client/models/create_user_access_token_json_body.py +57 -0
- mattermost_api_reference_client/models/create_user_json_body.py +162 -0
- mattermost_api_reference_client/models/create_user_json_body_props.py +44 -0
- mattermost_api_reference_client/models/data_retention_policy.py +74 -0
- mattermost_api_reference_client/models/data_retention_policy_for_channel.py +66 -0
- mattermost_api_reference_client/models/data_retention_policy_for_team.py +66 -0
- mattermost_api_reference_client/models/data_retention_policy_with_team_and_channel_counts.py +90 -0
- mattermost_api_reference_client/models/data_retention_policy_with_team_and_channel_ids.py +87 -0
- mattermost_api_reference_client/models/data_retention_policy_without_id.py +66 -0
- mattermost_api_reference_client/models/delete_group_members_json_body.py +60 -0
- mattermost_api_reference_client/models/disable_user_access_token_json_body.py +57 -0
- mattermost_api_reference_client/models/emoji.py +97 -0
- mattermost_api_reference_client/models/enable_user_access_token_json_body.py +57 -0
- mattermost_api_reference_client/models/environment_config.py +430 -0
- mattermost_api_reference_client/models/environment_config_analytics_settings.py +57 -0
- mattermost_api_reference_client/models/environment_config_cluster_settings.py +73 -0
- mattermost_api_reference_client/models/environment_config_compliance_settings.py +73 -0
- mattermost_api_reference_client/models/environment_config_email_settings.py +217 -0
- mattermost_api_reference_client/models/environment_config_file_settings.py +193 -0
- mattermost_api_reference_client/models/environment_config_git_lab_settings.py +105 -0
- mattermost_api_reference_client/models/environment_config_google_settings.py +105 -0
- mattermost_api_reference_client/models/environment_config_ldap_settings.py +209 -0
- mattermost_api_reference_client/models/environment_config_localization_settings.py +73 -0
- mattermost_api_reference_client/models/environment_config_log_settings.py +105 -0
- mattermost_api_reference_client/models/environment_config_metrics_settings.py +73 -0
- mattermost_api_reference_client/models/environment_config_native_app_settings.py +73 -0
- mattermost_api_reference_client/models/environment_config_office_365_settings.py +105 -0
- mattermost_api_reference_client/models/environment_config_password_settings.py +89 -0
- mattermost_api_reference_client/models/environment_config_privacy_settings.py +65 -0
- mattermost_api_reference_client/models/environment_config_rate_limit_settings.py +97 -0
- mattermost_api_reference_client/models/environment_config_saml_settings.py +185 -0
- mattermost_api_reference_client/models/environment_config_service_settings.py +337 -0
- mattermost_api_reference_client/models/environment_config_sql_settings.py +105 -0
- mattermost_api_reference_client/models/environment_config_support_settings.py +97 -0
- mattermost_api_reference_client/models/environment_config_team_settings.py +209 -0
- mattermost_api_reference_client/models/error.py +65 -0
- mattermost_api_reference_client/models/execute_command_json_body.py +64 -0
- mattermost_api_reference_client/models/file_info.py +153 -0
- mattermost_api_reference_client/models/file_info_list.py +98 -0
- mattermost_api_reference_client/models/file_info_list_file_infos.py +59 -0
- mattermost_api_reference_client/models/files_limits.py +57 -0
- mattermost_api_reference_client/models/generate_mfa_secret_response_200.py +65 -0
- mattermost_api_reference_client/models/get_channels_direction.py +9 -0
- mattermost_api_reference_client/models/get_channels_sort.py +13 -0
- mattermost_api_reference_client/models/get_channels_status.py +10 -0
- mattermost_api_reference_client/models/get_checklist_autocomplete_response_200_item.py +72 -0
- mattermost_api_reference_client/models/get_data_retention_policies_count_response_200.py +57 -0
- mattermost_api_reference_client/models/get_file_link_response_200.py +57 -0
- mattermost_api_reference_client/models/get_group_stats_response_200.py +65 -0
- mattermost_api_reference_client/models/get_group_users_response_200.py +83 -0
- mattermost_api_reference_client/models/get_groups_associated_to_channels_by_team_response_200.py +44 -0
- mattermost_api_reference_client/models/get_playbooks_direction.py +9 -0
- mattermost_api_reference_client/models/get_playbooks_sort.py +10 -0
- mattermost_api_reference_client/models/get_saml_metadata_from_idp_json_body.py +57 -0
- mattermost_api_reference_client/models/get_team_invite_info_response_200.py +81 -0
- mattermost_api_reference_client/models/get_users_by_group_channel_ids_response_200.py +74 -0
- mattermost_api_reference_client/models/global_data_retention_policy.py +84 -0
- mattermost_api_reference_client/models/group.py +129 -0
- mattermost_api_reference_client/models/group_syncable_channel.py +97 -0
- mattermost_api_reference_client/models/group_syncable_channels.py +137 -0
- mattermost_api_reference_client/models/group_syncable_team.py +97 -0
- mattermost_api_reference_client/models/group_syncable_teams.py +113 -0
- mattermost_api_reference_client/models/group_with_scheme_admin.py +80 -0
- mattermost_api_reference_client/models/groups_associated_to_channels.py +68 -0
- mattermost_api_reference_client/models/import_team_multipart_data.py +102 -0
- mattermost_api_reference_client/models/import_team_response_200.py +57 -0
- mattermost_api_reference_client/models/incoming_webhook.py +105 -0
- mattermost_api_reference_client/models/insight_user_information.py +105 -0
- mattermost_api_reference_client/models/install_marketplace_plugin_json_body.py +64 -0
- mattermost_api_reference_client/models/integrations_limits.py +57 -0
- mattermost_api_reference_client/models/integrity_check_result.py +81 -0
- mattermost_api_reference_client/models/invite_guests_to_team_json_body.py +76 -0
- mattermost_api_reference_client/models/invoice.py +146 -0
- mattermost_api_reference_client/models/invoice_line_item.py +99 -0
- mattermost_api_reference_client/models/item_rename_json_body.py +64 -0
- mattermost_api_reference_client/models/item_set_assignee_json_body.py +57 -0
- mattermost_api_reference_client/models/item_set_state_json_body.py +60 -0
- mattermost_api_reference_client/models/item_set_state_json_body_new_state.py +10 -0
- mattermost_api_reference_client/models/job.py +126 -0
- mattermost_api_reference_client/models/job_data.py +44 -0
- mattermost_api_reference_client/models/ldap_group.py +82 -0
- mattermost_api_reference_client/models/ldap_groups_paged.py +83 -0
- mattermost_api_reference_client/models/license_renewal_link.py +57 -0
- mattermost_api_reference_client/models/list_playbook_runs_direction.py +9 -0
- mattermost_api_reference_client/models/list_playbook_runs_sort.py +14 -0
- mattermost_api_reference_client/models/list_playbook_runs_statuses_item.py +9 -0
- mattermost_api_reference_client/models/login_by_cws_token_json_body.py +65 -0
- mattermost_api_reference_client/models/login_json_body.py +97 -0
- mattermost_api_reference_client/models/messages_limits.py +57 -0
- mattermost_api_reference_client/models/migrate_auth_to_ldap_json_body.py +71 -0
- mattermost_api_reference_client/models/migrate_auth_to_saml_json_body.py +78 -0
- mattermost_api_reference_client/models/migrate_auth_to_saml_json_body_matches.py +44 -0
- mattermost_api_reference_client/models/migrate_id_ldap_json_body.py +57 -0
- mattermost_api_reference_client/models/move_channel_json_body.py +67 -0
- mattermost_api_reference_client/models/move_command_json_body.py +57 -0
- mattermost_api_reference_client/models/new_team_member.py +105 -0
- mattermost_api_reference_client/models/new_team_members_list.py +91 -0
- mattermost_api_reference_client/models/next_stage_dialog_json_body.py +57 -0
- mattermost_api_reference_client/models/notice.py +124 -0
- mattermost_api_reference_client/models/o_auth_app.py +132 -0
- mattermost_api_reference_client/models/open_graph.py +241 -0
- mattermost_api_reference_client/models/open_graph_article.py +118 -0
- mattermost_api_reference_client/models/open_graph_article_authors_item.py +81 -0
- mattermost_api_reference_client/models/open_graph_audios_item.py +74 -0
- mattermost_api_reference_client/models/open_graph_book.py +102 -0
- mattermost_api_reference_client/models/open_graph_book_authors_item.py +81 -0
- mattermost_api_reference_client/models/open_graph_images_item.py +90 -0
- mattermost_api_reference_client/models/open_graph_json_body.py +57 -0
- mattermost_api_reference_client/models/open_graph_profile.py +81 -0
- mattermost_api_reference_client/models/open_graph_videos_item.py +90 -0
- mattermost_api_reference_client/models/open_interactive_dialog_json_body.py +77 -0
- mattermost_api_reference_client/models/open_interactive_dialog_json_body_dialog.py +128 -0
- mattermost_api_reference_client/models/open_interactive_dialog_json_body_dialog_elements_item.py +44 -0
- mattermost_api_reference_client/models/ordered_sidebar_categories.py +86 -0
- mattermost_api_reference_client/models/orphaned_record.py +66 -0
- mattermost_api_reference_client/models/outgoing_webhook.py +161 -0
- mattermost_api_reference_client/models/owner_info.py +65 -0
- mattermost_api_reference_client/models/patch_bot_json_body.py +75 -0
- mattermost_api_reference_client/models/patch_channel_json_body.py +81 -0
- mattermost_api_reference_client/models/patch_group_json_body.py +73 -0
- mattermost_api_reference_client/models/patch_group_syncable_for_channel_json_body.py +57 -0
- mattermost_api_reference_client/models/patch_group_syncable_for_team_json_body.py +57 -0
- mattermost_api_reference_client/models/patch_post_json_body.py +92 -0
- mattermost_api_reference_client/models/patch_role_json_body.py +59 -0
- mattermost_api_reference_client/models/patch_scheme_json_body.py +65 -0
- mattermost_api_reference_client/models/patch_team_json_body.py +89 -0
- mattermost_api_reference_client/models/patch_user_json_body.py +144 -0
- mattermost_api_reference_client/models/patch_user_json_body_props.py +44 -0
- mattermost_api_reference_client/models/payment_method.py +97 -0
- mattermost_api_reference_client/models/payment_setup_intent.py +65 -0
- mattermost_api_reference_client/models/playbook.py +164 -0
- mattermost_api_reference_client/models/playbook_autofollows.py +68 -0
- mattermost_api_reference_client/models/playbook_list.py +101 -0
- mattermost_api_reference_client/models/playbook_run.py +196 -0
- mattermost_api_reference_client/models/playbook_run_list.py +101 -0
- mattermost_api_reference_client/models/playbook_run_metadata.py +92 -0
- mattermost_api_reference_client/models/plugin_manifest_webapp_webapp.py +57 -0
- mattermost_api_reference_client/models/plugin_status.py +113 -0
- mattermost_api_reference_client/models/plugin_status_state.py +13 -0
- mattermost_api_reference_client/models/post.py +203 -0
- mattermost_api_reference_client/models/post_acknowledgement.py +73 -0
- mattermost_api_reference_client/models/post_id_to_reactions_map.py +68 -0
- mattermost_api_reference_client/models/post_list.py +106 -0
- mattermost_api_reference_client/models/post_list_posts.py +59 -0
- mattermost_api_reference_client/models/post_list_with_search_matches.py +101 -0
- mattermost_api_reference_client/models/post_list_with_search_matches_matches.py +58 -0
- mattermost_api_reference_client/models/post_list_with_search_matches_posts.py +59 -0
- mattermost_api_reference_client/models/post_log_json_body.py +64 -0
- mattermost_api_reference_client/models/post_log_response_200.py +44 -0
- mattermost_api_reference_client/models/post_metadata.py +207 -0
- mattermost_api_reference_client/models/post_metadata_embeds_item.py +97 -0
- mattermost_api_reference_client/models/post_metadata_embeds_item_data.py +47 -0
- mattermost_api_reference_client/models/post_metadata_embeds_item_type.py +11 -0
- mattermost_api_reference_client/models/post_metadata_images.py +47 -0
- mattermost_api_reference_client/models/post_metadata_priority.py +66 -0
- mattermost_api_reference_client/models/post_props.py +44 -0
- mattermost_api_reference_client/models/post_user_recent_custom_status_delete_json_body.py +79 -0
- mattermost_api_reference_client/models/posts_usage.py +57 -0
- mattermost_api_reference_client/models/preference.py +81 -0
- mattermost_api_reference_client/models/product.py +106 -0
- mattermost_api_reference_client/models/product_limits.py +142 -0
- mattermost_api_reference_client/models/publish_user_typing_json_body.py +68 -0
- mattermost_api_reference_client/models/push_notification.py +225 -0
- mattermost_api_reference_client/models/reaction.py +81 -0
- mattermost_api_reference_client/models/regen_command_token_response_200.py +57 -0
- mattermost_api_reference_client/models/register_terms_of_service_action_json_body.py +64 -0
- mattermost_api_reference_client/models/relational_integrity_check_data.py +107 -0
- mattermost_api_reference_client/models/remote_cluster_info.py +73 -0
- mattermost_api_reference_client/models/remove_recent_custom_status_json_body.py +79 -0
- mattermost_api_reference_client/models/reoder_checklist_item_json_body.py +64 -0
- mattermost_api_reference_client/models/request_trial_license_json_body.py +57 -0
- mattermost_api_reference_client/models/reset_password_json_body.py +64 -0
- mattermost_api_reference_client/models/reset_saml_auth_data_to_email_json_body.py +76 -0
- mattermost_api_reference_client/models/reset_saml_auth_data_to_email_response_200.py +57 -0
- mattermost_api_reference_client/models/retention_policy_for_channel_list.py +83 -0
- mattermost_api_reference_client/models/retention_policy_for_team_list.py +83 -0
- mattermost_api_reference_client/models/revoke_session_json_body.py +57 -0
- mattermost_api_reference_client/models/revoke_user_access_token_json_body.py +57 -0
- mattermost_api_reference_client/models/role.py +101 -0
- mattermost_api_reference_client/models/saml_certificate_status.py +73 -0
- mattermost_api_reference_client/models/scheme.py +137 -0
- mattermost_api_reference_client/models/search_all_channels_json_body.py +181 -0
- mattermost_api_reference_client/models/search_all_channels_response_200.py +83 -0
- mattermost_api_reference_client/models/search_archived_channels_json_body.py +57 -0
- mattermost_api_reference_client/models/search_channels_for_retention_policy_json_body.py +94 -0
- mattermost_api_reference_client/models/search_channels_json_body.py +57 -0
- mattermost_api_reference_client/models/search_emoji_json_body.py +67 -0
- mattermost_api_reference_client/models/search_files_multipart_data.py +144 -0
- mattermost_api_reference_client/models/search_group_channels_json_body.py +57 -0
- mattermost_api_reference_client/models/search_posts_json_body.py +101 -0
- mattermost_api_reference_client/models/search_teams_for_retention_policy_json_body.py +57 -0
- mattermost_api_reference_client/models/search_teams_json_body.py +108 -0
- mattermost_api_reference_client/models/search_teams_response_200.py +83 -0
- mattermost_api_reference_client/models/search_user_access_tokens_json_body.py +57 -0
- mattermost_api_reference_client/models/search_users_json_body.py +138 -0
- mattermost_api_reference_client/models/send_password_reset_email_json_body.py +57 -0
- mattermost_api_reference_client/models/send_verification_email_json_body.py +57 -0
- mattermost_api_reference_client/models/send_warn_metric_ack_json_body.py +58 -0
- mattermost_api_reference_client/models/server_busy.py +65 -0
- mattermost_api_reference_client/models/session.py +165 -0
- mattermost_api_reference_client/models/session_props.py +44 -0
- mattermost_api_reference_client/models/set_bot_icon_image_multipart_data.py +75 -0
- mattermost_api_reference_client/models/set_post_reminder_json_body.py +57 -0
- mattermost_api_reference_client/models/set_profile_image_multipart_data.py +75 -0
- mattermost_api_reference_client/models/set_team_icon_multipart_data.py +75 -0
- mattermost_api_reference_client/models/shared_channel.py +145 -0
- mattermost_api_reference_client/models/sidebar_category.py +98 -0
- mattermost_api_reference_client/models/sidebar_category_type.py +11 -0
- mattermost_api_reference_client/models/sidebar_category_with_channels.py +109 -0
- mattermost_api_reference_client/models/sidebar_category_with_channels_type.py +11 -0
- mattermost_api_reference_client/models/slack_attachment.py +195 -0
- mattermost_api_reference_client/models/slack_attachment_field.py +73 -0
- mattermost_api_reference_client/models/status.py +81 -0
- mattermost_api_reference_client/models/status_json_body.py +68 -0
- mattermost_api_reference_client/models/status_ok.py +57 -0
- mattermost_api_reference_client/models/storage_usage.py +58 -0
- mattermost_api_reference_client/models/submit_interactive_dialog_json_body.py +112 -0
- mattermost_api_reference_client/models/submit_interactive_dialog_json_body_submission.py +44 -0
- mattermost_api_reference_client/models/subscription.py +124 -0
- mattermost_api_reference_client/models/subscription_stats.py +65 -0
- mattermost_api_reference_client/models/switch_account_type_json_body.py +98 -0
- mattermost_api_reference_client/models/switch_account_type_response_200.py +58 -0
- mattermost_api_reference_client/models/system.py +65 -0
- mattermost_api_reference_client/models/system_status_response.py +133 -0
- mattermost_api_reference_client/models/team.py +155 -0
- mattermost_api_reference_client/models/team_exists.py +57 -0
- mattermost_api_reference_client/models/team_map.py +71 -0
- mattermost_api_reference_client/models/team_member.py +110 -0
- mattermost_api_reference_client/models/team_stats.py +73 -0
- mattermost_api_reference_client/models/team_unread.py +73 -0
- mattermost_api_reference_client/models/teams_limits.py +57 -0
- mattermost_api_reference_client/models/terms_of_service.py +81 -0
- mattermost_api_reference_client/models/test_site_url_json_body.py +57 -0
- mattermost_api_reference_client/models/timezone.py +75 -0
- mattermost_api_reference_client/models/top_channel.py +98 -0
- mattermost_api_reference_client/models/top_channel_list.py +82 -0
- mattermost_api_reference_client/models/top_dm.py +86 -0
- mattermost_api_reference_client/models/top_dm_insight_user_information.py +113 -0
- mattermost_api_reference_client/models/top_dm_list.py +82 -0
- mattermost_api_reference_client/models/top_reaction.py +65 -0
- mattermost_api_reference_client/models/top_reaction_list.py +82 -0
- mattermost_api_reference_client/models/top_thread.py +123 -0
- mattermost_api_reference_client/models/top_thread_list.py +82 -0
- mattermost_api_reference_client/models/trigger_id_return.py +57 -0
- mattermost_api_reference_client/models/update_channel_json_body.py +91 -0
- mattermost_api_reference_client/models/update_channel_member_scheme_roles_json_body.py +64 -0
- mattermost_api_reference_client/models/update_channel_privacy_json_body.py +57 -0
- mattermost_api_reference_client/models/update_channel_roles_json_body.py +57 -0
- mattermost_api_reference_client/models/update_channel_scheme_json_body.py +57 -0
- mattermost_api_reference_client/models/update_cloud_customer_json_body.py +89 -0
- mattermost_api_reference_client/models/update_incoming_webhook_json_body.py +96 -0
- mattermost_api_reference_client/models/update_o_auth_app_json_body.py +105 -0
- mattermost_api_reference_client/models/update_outgoing_webhook_json_body.py +78 -0
- mattermost_api_reference_client/models/update_playbook_run_json_body.py +57 -0
- mattermost_api_reference_client/models/update_post_json_body.py +91 -0
- mattermost_api_reference_client/models/update_team_json_body.py +99 -0
- mattermost_api_reference_client/models/update_team_member_roles_json_body.py +57 -0
- mattermost_api_reference_client/models/update_team_member_scheme_roles_json_body.py +64 -0
- mattermost_api_reference_client/models/update_team_privacy_json_body.py +57 -0
- mattermost_api_reference_client/models/update_team_scheme_json_body.py +57 -0
- mattermost_api_reference_client/models/update_user_active_json_body.py +57 -0
- mattermost_api_reference_client/models/update_user_custom_status_json_body.py +83 -0
- mattermost_api_reference_client/models/update_user_json_body.py +170 -0
- mattermost_api_reference_client/models/update_user_json_body_props.py +44 -0
- mattermost_api_reference_client/models/update_user_mfa_json_body.py +67 -0
- mattermost_api_reference_client/models/update_user_password_json_body.py +67 -0
- mattermost_api_reference_client/models/update_user_roles_json_body.py +57 -0
- mattermost_api_reference_client/models/update_user_status_json_body.py +74 -0
- mattermost_api_reference_client/models/upgrade_to_enterprise_status_response_200.py +65 -0
- mattermost_api_reference_client/models/upload_brand_image_multipart_data.py +75 -0
- mattermost_api_reference_client/models/upload_data_data.py +44 -0
- mattermost_api_reference_client/models/upload_file_multipart_data.py +112 -0
- mattermost_api_reference_client/models/upload_file_response_201.py +85 -0
- mattermost_api_reference_client/models/upload_ldap_private_certificate_multipart_data.py +75 -0
- mattermost_api_reference_client/models/upload_ldap_public_certificate_multipart_data.py +75 -0
- mattermost_api_reference_client/models/upload_license_file_multipart_data.py +75 -0
- mattermost_api_reference_client/models/upload_plugin_multipart_data.py +88 -0
- mattermost_api_reference_client/models/upload_saml_idp_certificate_multipart_data.py +75 -0
- mattermost_api_reference_client/models/upload_saml_private_certificate_multipart_data.py +75 -0
- mattermost_api_reference_client/models/upload_saml_public_certificate_multipart_data.py +75 -0
- mattermost_api_reference_client/models/upload_session.py +123 -0
- mattermost_api_reference_client/models/upload_session_type.py +9 -0
- mattermost_api_reference_client/models/user.py +260 -0
- mattermost_api_reference_client/models/user_access_token.py +81 -0
- mattermost_api_reference_client/models/user_access_token_sanitized.py +81 -0
- mattermost_api_reference_client/models/user_auth_data.py +64 -0
- mattermost_api_reference_client/models/user_autocomplete.py +95 -0
- mattermost_api_reference_client/models/user_autocomplete_in_channel.py +94 -0
- mattermost_api_reference_client/models/user_autocomplete_in_team.py +74 -0
- mattermost_api_reference_client/models/user_notify_props.py +111 -0
- mattermost_api_reference_client/models/user_props.py +44 -0
- mattermost_api_reference_client/models/user_terms_of_service.py +74 -0
- mattermost_api_reference_client/models/user_thread.py +124 -0
- mattermost_api_reference_client/models/user_threads.py +82 -0
- mattermost_api_reference_client/models/users_stats.py +57 -0
- mattermost_api_reference_client/models/verify_user_email_json_body.py +57 -0
- mattermost_api_reference_client/models/view_channel_json_body.py +69 -0
- mattermost_api_reference_client/models/view_channel_response_200.py +79 -0
- mattermost_api_reference_client/models/view_channel_response_200_last_viewed_at_times.py +44 -0
- mattermost_api_reference_client/models/webhook_on_creation_payload.py +215 -0
- mattermost_api_reference_client/models/webhook_on_status_update_payload.py +215 -0
- mattermost_api_reference_client/py.typed +1 -0
- mattermost_api_reference_client/types.py +44 -0
- mattermost_api_reference_client-4.0.0.post2.dist-info/LICENSE +17 -0
- mattermost_api_reference_client-4.0.0.post2.dist-info/METADATA +106 -0
- mattermost_api_reference_client-4.0.0.post2.dist-info/RECORD +903 -0
- mattermost_api_reference_client-4.0.0.post2.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
2
|
+
|
|
3
|
+
import attr
|
|
4
|
+
|
|
5
|
+
from ..types import UNSET, Unset
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from ..models.view_channel_response_200_last_viewed_at_times import ViewChannelResponse200LastViewedAtTimes
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
T = TypeVar("T", bound="ViewChannelResponse200")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@attr.s(auto_attribs=True)
|
|
15
|
+
class ViewChannelResponse200:
|
|
16
|
+
"""
|
|
17
|
+
Attributes:
|
|
18
|
+
status (Union[Unset, str]): Value should be "OK" if successful
|
|
19
|
+
last_viewed_at_times (Union[Unset, ViewChannelResponse200LastViewedAtTimes]): A JSON object mapping channel IDs
|
|
20
|
+
to the channel view times
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
status: Union[Unset, str] = UNSET
|
|
24
|
+
last_viewed_at_times: Union[Unset, "ViewChannelResponse200LastViewedAtTimes"] = UNSET
|
|
25
|
+
additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
|
|
26
|
+
|
|
27
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
28
|
+
status = self.status
|
|
29
|
+
last_viewed_at_times: Union[Unset, Dict[str, Any]] = UNSET
|
|
30
|
+
if not isinstance(self.last_viewed_at_times, Unset):
|
|
31
|
+
last_viewed_at_times = self.last_viewed_at_times.to_dict()
|
|
32
|
+
|
|
33
|
+
field_dict: Dict[str, Any] = {}
|
|
34
|
+
field_dict.update(self.additional_properties)
|
|
35
|
+
field_dict.update({})
|
|
36
|
+
if status is not UNSET:
|
|
37
|
+
field_dict["status"] = status
|
|
38
|
+
if last_viewed_at_times is not UNSET:
|
|
39
|
+
field_dict["last_viewed_at_times"] = last_viewed_at_times
|
|
40
|
+
|
|
41
|
+
return field_dict
|
|
42
|
+
|
|
43
|
+
@classmethod
|
|
44
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
45
|
+
from ..models.view_channel_response_200_last_viewed_at_times import ViewChannelResponse200LastViewedAtTimes
|
|
46
|
+
|
|
47
|
+
d = src_dict.copy()
|
|
48
|
+
status = d.pop("status", UNSET)
|
|
49
|
+
|
|
50
|
+
_last_viewed_at_times = d.pop("last_viewed_at_times", UNSET)
|
|
51
|
+
last_viewed_at_times: Union[Unset, ViewChannelResponse200LastViewedAtTimes]
|
|
52
|
+
if isinstance(_last_viewed_at_times, Unset):
|
|
53
|
+
last_viewed_at_times = UNSET
|
|
54
|
+
else:
|
|
55
|
+
last_viewed_at_times = ViewChannelResponse200LastViewedAtTimes.from_dict(_last_viewed_at_times)
|
|
56
|
+
|
|
57
|
+
view_channel_response_200 = cls(
|
|
58
|
+
status=status,
|
|
59
|
+
last_viewed_at_times=last_viewed_at_times,
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
view_channel_response_200.additional_properties = d
|
|
63
|
+
return view_channel_response_200
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def additional_keys(self) -> List[str]:
|
|
67
|
+
return list(self.additional_properties.keys())
|
|
68
|
+
|
|
69
|
+
def __getitem__(self, key: str) -> Any:
|
|
70
|
+
return self.additional_properties[key]
|
|
71
|
+
|
|
72
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
73
|
+
self.additional_properties[key] = value
|
|
74
|
+
|
|
75
|
+
def __delitem__(self, key: str) -> None:
|
|
76
|
+
del self.additional_properties[key]
|
|
77
|
+
|
|
78
|
+
def __contains__(self, key: str) -> bool:
|
|
79
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
from typing import Any, Dict, List, Type, TypeVar
|
|
2
|
+
|
|
3
|
+
import attr
|
|
4
|
+
|
|
5
|
+
T = TypeVar("T", bound="ViewChannelResponse200LastViewedAtTimes")
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
@attr.s(auto_attribs=True)
|
|
9
|
+
class ViewChannelResponse200LastViewedAtTimes:
|
|
10
|
+
"""A JSON object mapping channel IDs to the channel view times"""
|
|
11
|
+
|
|
12
|
+
additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
|
|
13
|
+
|
|
14
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
15
|
+
|
|
16
|
+
field_dict: Dict[str, Any] = {}
|
|
17
|
+
field_dict.update(self.additional_properties)
|
|
18
|
+
field_dict.update({})
|
|
19
|
+
|
|
20
|
+
return field_dict
|
|
21
|
+
|
|
22
|
+
@classmethod
|
|
23
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
24
|
+
d = src_dict.copy()
|
|
25
|
+
view_channel_response_200_last_viewed_at_times = cls()
|
|
26
|
+
|
|
27
|
+
view_channel_response_200_last_viewed_at_times.additional_properties = d
|
|
28
|
+
return view_channel_response_200_last_viewed_at_times
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
def additional_keys(self) -> List[str]:
|
|
32
|
+
return list(self.additional_properties.keys())
|
|
33
|
+
|
|
34
|
+
def __getitem__(self, key: str) -> Any:
|
|
35
|
+
return self.additional_properties[key]
|
|
36
|
+
|
|
37
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
38
|
+
self.additional_properties[key] = value
|
|
39
|
+
|
|
40
|
+
def __delitem__(self, key: str) -> None:
|
|
41
|
+
del self.additional_properties[key]
|
|
42
|
+
|
|
43
|
+
def __contains__(self, key: str) -> bool:
|
|
44
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
2
|
+
|
|
3
|
+
import attr
|
|
4
|
+
|
|
5
|
+
from ..types import UNSET, Unset
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from ..models.checklist import Checklist
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
T = TypeVar("T", bound="WebhookOnCreationPayload")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@attr.s(auto_attribs=True)
|
|
15
|
+
class WebhookOnCreationPayload:
|
|
16
|
+
"""
|
|
17
|
+
Attributes:
|
|
18
|
+
id (Union[Unset, str]): A unique, 26 characters long, alphanumeric identifier for the playbook run. Example:
|
|
19
|
+
mx3xyzdojfgyfdx8sc8of1gdme.
|
|
20
|
+
name (Union[Unset, str]): The name of the playbook run. Example: Server down in EU cluster.
|
|
21
|
+
description (Union[Unset, str]): The description of the playbook run. Example: There is one server in the EU
|
|
22
|
+
cluster that is not responding since April 12..
|
|
23
|
+
is_active (Union[Unset, bool]): True if the playbook run is ongoing; false if the playbook run is ended.
|
|
24
|
+
owner_user_id (Union[Unset, str]): The identifier of the user that is commanding the playbook run. Example:
|
|
25
|
+
bqnbdf8uc0a8yz4i39qrpgkvtg.
|
|
26
|
+
team_id (Union[Unset, str]): The identifier of the team where the playbook run's channel is in. Example:
|
|
27
|
+
61ji2mpflefup3cnuif80r5rde.
|
|
28
|
+
channel_id (Union[Unset, str]): The identifier of the playbook run's channel. Example:
|
|
29
|
+
hwrmiyzj3kadcilh3ukfcnsbt6.
|
|
30
|
+
create_at (Union[Unset, int]): The playbook run creation timestamp, formatted as the number of milliseconds
|
|
31
|
+
since the Unix epoch. Example: 1606807976289.
|
|
32
|
+
end_at (Union[Unset, int]): The playbook run finish timestamp, formatted as the number of milliseconds since the
|
|
33
|
+
Unix epoch. It equals 0 if the playbook run is not finished.
|
|
34
|
+
delete_at (Union[Unset, int]): The playbook run deletion timestamp, formatted as the number of milliseconds
|
|
35
|
+
since the Unix epoch. It equals 0 if the playbook run is not deleted.
|
|
36
|
+
active_stage (Union[Unset, int]): Zero-based index of the currently active stage. Example: 1.
|
|
37
|
+
active_stage_title (Union[Unset, str]): The title of the currently active stage. Example: Triage issue.
|
|
38
|
+
post_id (Union[Unset, str]): If the playbook run was created from a post, this field contains the identifier of
|
|
39
|
+
such post. If not, this field is empty. Example: b2ntfcrl4ujivl456ab4b3aago.
|
|
40
|
+
playbook_id (Union[Unset, str]): The identifier of the playbook with from which this playbook run was created.
|
|
41
|
+
Example: 0y4a0ntte97cxvfont8y84wa7x.
|
|
42
|
+
checklists (Union[Unset, List['Checklist']]):
|
|
43
|
+
channel_url (Union[Unset, str]): Absolute URL to the playbook run's channel. Example:
|
|
44
|
+
https://example.com/ad-1/channels/channel-name.
|
|
45
|
+
details_url (Union[Unset, str]): Absolute URL to the playbook run's details. Example:
|
|
46
|
+
https://example.com/ad-1/playbooks/runs/playbookRunID.
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
id: Union[Unset, str] = UNSET
|
|
50
|
+
name: Union[Unset, str] = UNSET
|
|
51
|
+
description: Union[Unset, str] = UNSET
|
|
52
|
+
is_active: Union[Unset, bool] = UNSET
|
|
53
|
+
owner_user_id: Union[Unset, str] = UNSET
|
|
54
|
+
team_id: Union[Unset, str] = UNSET
|
|
55
|
+
channel_id: Union[Unset, str] = UNSET
|
|
56
|
+
create_at: Union[Unset, int] = UNSET
|
|
57
|
+
end_at: Union[Unset, int] = UNSET
|
|
58
|
+
delete_at: Union[Unset, int] = UNSET
|
|
59
|
+
active_stage: Union[Unset, int] = UNSET
|
|
60
|
+
active_stage_title: Union[Unset, str] = UNSET
|
|
61
|
+
post_id: Union[Unset, str] = UNSET
|
|
62
|
+
playbook_id: Union[Unset, str] = UNSET
|
|
63
|
+
checklists: Union[Unset, List["Checklist"]] = UNSET
|
|
64
|
+
channel_url: Union[Unset, str] = UNSET
|
|
65
|
+
details_url: Union[Unset, str] = UNSET
|
|
66
|
+
additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
|
|
67
|
+
|
|
68
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
69
|
+
id = self.id
|
|
70
|
+
name = self.name
|
|
71
|
+
description = self.description
|
|
72
|
+
is_active = self.is_active
|
|
73
|
+
owner_user_id = self.owner_user_id
|
|
74
|
+
team_id = self.team_id
|
|
75
|
+
channel_id = self.channel_id
|
|
76
|
+
create_at = self.create_at
|
|
77
|
+
end_at = self.end_at
|
|
78
|
+
delete_at = self.delete_at
|
|
79
|
+
active_stage = self.active_stage
|
|
80
|
+
active_stage_title = self.active_stage_title
|
|
81
|
+
post_id = self.post_id
|
|
82
|
+
playbook_id = self.playbook_id
|
|
83
|
+
checklists: Union[Unset, List[Dict[str, Any]]] = UNSET
|
|
84
|
+
if not isinstance(self.checklists, Unset):
|
|
85
|
+
checklists = []
|
|
86
|
+
for checklists_item_data in self.checklists:
|
|
87
|
+
checklists_item = checklists_item_data.to_dict()
|
|
88
|
+
|
|
89
|
+
checklists.append(checklists_item)
|
|
90
|
+
|
|
91
|
+
channel_url = self.channel_url
|
|
92
|
+
details_url = self.details_url
|
|
93
|
+
|
|
94
|
+
field_dict: Dict[str, Any] = {}
|
|
95
|
+
field_dict.update(self.additional_properties)
|
|
96
|
+
field_dict.update({})
|
|
97
|
+
if id is not UNSET:
|
|
98
|
+
field_dict["id"] = id
|
|
99
|
+
if name is not UNSET:
|
|
100
|
+
field_dict["name"] = name
|
|
101
|
+
if description is not UNSET:
|
|
102
|
+
field_dict["description"] = description
|
|
103
|
+
if is_active is not UNSET:
|
|
104
|
+
field_dict["is_active"] = is_active
|
|
105
|
+
if owner_user_id is not UNSET:
|
|
106
|
+
field_dict["owner_user_id"] = owner_user_id
|
|
107
|
+
if team_id is not UNSET:
|
|
108
|
+
field_dict["team_id"] = team_id
|
|
109
|
+
if channel_id is not UNSET:
|
|
110
|
+
field_dict["channel_id"] = channel_id
|
|
111
|
+
if create_at is not UNSET:
|
|
112
|
+
field_dict["create_at"] = create_at
|
|
113
|
+
if end_at is not UNSET:
|
|
114
|
+
field_dict["end_at"] = end_at
|
|
115
|
+
if delete_at is not UNSET:
|
|
116
|
+
field_dict["delete_at"] = delete_at
|
|
117
|
+
if active_stage is not UNSET:
|
|
118
|
+
field_dict["active_stage"] = active_stage
|
|
119
|
+
if active_stage_title is not UNSET:
|
|
120
|
+
field_dict["active_stage_title"] = active_stage_title
|
|
121
|
+
if post_id is not UNSET:
|
|
122
|
+
field_dict["post_id"] = post_id
|
|
123
|
+
if playbook_id is not UNSET:
|
|
124
|
+
field_dict["playbook_id"] = playbook_id
|
|
125
|
+
if checklists is not UNSET:
|
|
126
|
+
field_dict["checklists"] = checklists
|
|
127
|
+
if channel_url is not UNSET:
|
|
128
|
+
field_dict["channel_url"] = channel_url
|
|
129
|
+
if details_url is not UNSET:
|
|
130
|
+
field_dict["details_url"] = details_url
|
|
131
|
+
|
|
132
|
+
return field_dict
|
|
133
|
+
|
|
134
|
+
@classmethod
|
|
135
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
136
|
+
from ..models.checklist import Checklist
|
|
137
|
+
|
|
138
|
+
d = src_dict.copy()
|
|
139
|
+
id = d.pop("id", UNSET)
|
|
140
|
+
|
|
141
|
+
name = d.pop("name", UNSET)
|
|
142
|
+
|
|
143
|
+
description = d.pop("description", UNSET)
|
|
144
|
+
|
|
145
|
+
is_active = d.pop("is_active", UNSET)
|
|
146
|
+
|
|
147
|
+
owner_user_id = d.pop("owner_user_id", UNSET)
|
|
148
|
+
|
|
149
|
+
team_id = d.pop("team_id", UNSET)
|
|
150
|
+
|
|
151
|
+
channel_id = d.pop("channel_id", UNSET)
|
|
152
|
+
|
|
153
|
+
create_at = d.pop("create_at", UNSET)
|
|
154
|
+
|
|
155
|
+
end_at = d.pop("end_at", UNSET)
|
|
156
|
+
|
|
157
|
+
delete_at = d.pop("delete_at", UNSET)
|
|
158
|
+
|
|
159
|
+
active_stage = d.pop("active_stage", UNSET)
|
|
160
|
+
|
|
161
|
+
active_stage_title = d.pop("active_stage_title", UNSET)
|
|
162
|
+
|
|
163
|
+
post_id = d.pop("post_id", UNSET)
|
|
164
|
+
|
|
165
|
+
playbook_id = d.pop("playbook_id", UNSET)
|
|
166
|
+
|
|
167
|
+
checklists = []
|
|
168
|
+
_checklists = d.pop("checklists", UNSET)
|
|
169
|
+
for checklists_item_data in _checklists or []:
|
|
170
|
+
checklists_item = Checklist.from_dict(checklists_item_data)
|
|
171
|
+
|
|
172
|
+
checklists.append(checklists_item)
|
|
173
|
+
|
|
174
|
+
channel_url = d.pop("channel_url", UNSET)
|
|
175
|
+
|
|
176
|
+
details_url = d.pop("details_url", UNSET)
|
|
177
|
+
|
|
178
|
+
webhook_on_creation_payload = cls(
|
|
179
|
+
id=id,
|
|
180
|
+
name=name,
|
|
181
|
+
description=description,
|
|
182
|
+
is_active=is_active,
|
|
183
|
+
owner_user_id=owner_user_id,
|
|
184
|
+
team_id=team_id,
|
|
185
|
+
channel_id=channel_id,
|
|
186
|
+
create_at=create_at,
|
|
187
|
+
end_at=end_at,
|
|
188
|
+
delete_at=delete_at,
|
|
189
|
+
active_stage=active_stage,
|
|
190
|
+
active_stage_title=active_stage_title,
|
|
191
|
+
post_id=post_id,
|
|
192
|
+
playbook_id=playbook_id,
|
|
193
|
+
checklists=checklists,
|
|
194
|
+
channel_url=channel_url,
|
|
195
|
+
details_url=details_url,
|
|
196
|
+
)
|
|
197
|
+
|
|
198
|
+
webhook_on_creation_payload.additional_properties = d
|
|
199
|
+
return webhook_on_creation_payload
|
|
200
|
+
|
|
201
|
+
@property
|
|
202
|
+
def additional_keys(self) -> List[str]:
|
|
203
|
+
return list(self.additional_properties.keys())
|
|
204
|
+
|
|
205
|
+
def __getitem__(self, key: str) -> Any:
|
|
206
|
+
return self.additional_properties[key]
|
|
207
|
+
|
|
208
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
209
|
+
self.additional_properties[key] = value
|
|
210
|
+
|
|
211
|
+
def __delitem__(self, key: str) -> None:
|
|
212
|
+
del self.additional_properties[key]
|
|
213
|
+
|
|
214
|
+
def __contains__(self, key: str) -> bool:
|
|
215
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
|
|
2
|
+
|
|
3
|
+
import attr
|
|
4
|
+
|
|
5
|
+
from ..types import UNSET, Unset
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from ..models.checklist import Checklist
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
T = TypeVar("T", bound="WebhookOnStatusUpdatePayload")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@attr.s(auto_attribs=True)
|
|
15
|
+
class WebhookOnStatusUpdatePayload:
|
|
16
|
+
"""
|
|
17
|
+
Attributes:
|
|
18
|
+
id (Union[Unset, str]): A unique, 26 characters long, alphanumeric identifier for the playbook run. Example:
|
|
19
|
+
mx3xyzdojfgyfdx8sc8of1gdme.
|
|
20
|
+
name (Union[Unset, str]): The name of the playbook run. Example: Server down in EU cluster.
|
|
21
|
+
description (Union[Unset, str]): The description of the playbook run. Example: There is one server in the EU
|
|
22
|
+
cluster that is not responding since April 12..
|
|
23
|
+
is_active (Union[Unset, bool]): True if the playbook run is ongoing; false if the playbook run is ended.
|
|
24
|
+
owner_user_id (Union[Unset, str]): The identifier of the user that is commanding the playbook run. Example:
|
|
25
|
+
bqnbdf8uc0a8yz4i39qrpgkvtg.
|
|
26
|
+
team_id (Union[Unset, str]): The identifier of the team where the playbook run's channel is in. Example:
|
|
27
|
+
61ji2mpflefup3cnuif80r5rde.
|
|
28
|
+
channel_id (Union[Unset, str]): The identifier of the playbook run's channel. Example:
|
|
29
|
+
hwrmiyzj3kadcilh3ukfcnsbt6.
|
|
30
|
+
create_at (Union[Unset, int]): The playbook run creation timestamp, formatted as the number of milliseconds
|
|
31
|
+
since the Unix epoch. Example: 1606807976289.
|
|
32
|
+
end_at (Union[Unset, int]): The playbook run finish timestamp, formatted as the number of milliseconds since the
|
|
33
|
+
Unix epoch. It equals 0 if the playbook run is not finished.
|
|
34
|
+
delete_at (Union[Unset, int]): The playbook run deletion timestamp, formatted as the number of milliseconds
|
|
35
|
+
since the Unix epoch. It equals 0 if the playbook run is not deleted.
|
|
36
|
+
active_stage (Union[Unset, int]): Zero-based index of the currently active stage. Example: 1.
|
|
37
|
+
active_stage_title (Union[Unset, str]): The title of the currently active stage. Example: Triage issue.
|
|
38
|
+
post_id (Union[Unset, str]): If the playbook run was created from a post, this field contains the identifier of
|
|
39
|
+
such post. If not, this field is empty. Example: b2ntfcrl4ujivl456ab4b3aago.
|
|
40
|
+
playbook_id (Union[Unset, str]): The identifier of the playbook with from which this playbook run was created.
|
|
41
|
+
Example: 0y4a0ntte97cxvfont8y84wa7x.
|
|
42
|
+
checklists (Union[Unset, List['Checklist']]):
|
|
43
|
+
channel_url (Union[Unset, str]): Absolute URL to the playbook run's channel. Example:
|
|
44
|
+
https://example.com/ad-1/channels/channel-name.
|
|
45
|
+
details_url (Union[Unset, str]): Absolute URL to the playbook run's details. Example:
|
|
46
|
+
https://example.com/ad-1/playbooks/runs/playbookRunID.
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
id: Union[Unset, str] = UNSET
|
|
50
|
+
name: Union[Unset, str] = UNSET
|
|
51
|
+
description: Union[Unset, str] = UNSET
|
|
52
|
+
is_active: Union[Unset, bool] = UNSET
|
|
53
|
+
owner_user_id: Union[Unset, str] = UNSET
|
|
54
|
+
team_id: Union[Unset, str] = UNSET
|
|
55
|
+
channel_id: Union[Unset, str] = UNSET
|
|
56
|
+
create_at: Union[Unset, int] = UNSET
|
|
57
|
+
end_at: Union[Unset, int] = UNSET
|
|
58
|
+
delete_at: Union[Unset, int] = UNSET
|
|
59
|
+
active_stage: Union[Unset, int] = UNSET
|
|
60
|
+
active_stage_title: Union[Unset, str] = UNSET
|
|
61
|
+
post_id: Union[Unset, str] = UNSET
|
|
62
|
+
playbook_id: Union[Unset, str] = UNSET
|
|
63
|
+
checklists: Union[Unset, List["Checklist"]] = UNSET
|
|
64
|
+
channel_url: Union[Unset, str] = UNSET
|
|
65
|
+
details_url: Union[Unset, str] = UNSET
|
|
66
|
+
additional_properties: Dict[str, Any] = attr.ib(init=False, factory=dict)
|
|
67
|
+
|
|
68
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
69
|
+
id = self.id
|
|
70
|
+
name = self.name
|
|
71
|
+
description = self.description
|
|
72
|
+
is_active = self.is_active
|
|
73
|
+
owner_user_id = self.owner_user_id
|
|
74
|
+
team_id = self.team_id
|
|
75
|
+
channel_id = self.channel_id
|
|
76
|
+
create_at = self.create_at
|
|
77
|
+
end_at = self.end_at
|
|
78
|
+
delete_at = self.delete_at
|
|
79
|
+
active_stage = self.active_stage
|
|
80
|
+
active_stage_title = self.active_stage_title
|
|
81
|
+
post_id = self.post_id
|
|
82
|
+
playbook_id = self.playbook_id
|
|
83
|
+
checklists: Union[Unset, List[Dict[str, Any]]] = UNSET
|
|
84
|
+
if not isinstance(self.checklists, Unset):
|
|
85
|
+
checklists = []
|
|
86
|
+
for checklists_item_data in self.checklists:
|
|
87
|
+
checklists_item = checklists_item_data.to_dict()
|
|
88
|
+
|
|
89
|
+
checklists.append(checklists_item)
|
|
90
|
+
|
|
91
|
+
channel_url = self.channel_url
|
|
92
|
+
details_url = self.details_url
|
|
93
|
+
|
|
94
|
+
field_dict: Dict[str, Any] = {}
|
|
95
|
+
field_dict.update(self.additional_properties)
|
|
96
|
+
field_dict.update({})
|
|
97
|
+
if id is not UNSET:
|
|
98
|
+
field_dict["id"] = id
|
|
99
|
+
if name is not UNSET:
|
|
100
|
+
field_dict["name"] = name
|
|
101
|
+
if description is not UNSET:
|
|
102
|
+
field_dict["description"] = description
|
|
103
|
+
if is_active is not UNSET:
|
|
104
|
+
field_dict["is_active"] = is_active
|
|
105
|
+
if owner_user_id is not UNSET:
|
|
106
|
+
field_dict["owner_user_id"] = owner_user_id
|
|
107
|
+
if team_id is not UNSET:
|
|
108
|
+
field_dict["team_id"] = team_id
|
|
109
|
+
if channel_id is not UNSET:
|
|
110
|
+
field_dict["channel_id"] = channel_id
|
|
111
|
+
if create_at is not UNSET:
|
|
112
|
+
field_dict["create_at"] = create_at
|
|
113
|
+
if end_at is not UNSET:
|
|
114
|
+
field_dict["end_at"] = end_at
|
|
115
|
+
if delete_at is not UNSET:
|
|
116
|
+
field_dict["delete_at"] = delete_at
|
|
117
|
+
if active_stage is not UNSET:
|
|
118
|
+
field_dict["active_stage"] = active_stage
|
|
119
|
+
if active_stage_title is not UNSET:
|
|
120
|
+
field_dict["active_stage_title"] = active_stage_title
|
|
121
|
+
if post_id is not UNSET:
|
|
122
|
+
field_dict["post_id"] = post_id
|
|
123
|
+
if playbook_id is not UNSET:
|
|
124
|
+
field_dict["playbook_id"] = playbook_id
|
|
125
|
+
if checklists is not UNSET:
|
|
126
|
+
field_dict["checklists"] = checklists
|
|
127
|
+
if channel_url is not UNSET:
|
|
128
|
+
field_dict["channel_url"] = channel_url
|
|
129
|
+
if details_url is not UNSET:
|
|
130
|
+
field_dict["details_url"] = details_url
|
|
131
|
+
|
|
132
|
+
return field_dict
|
|
133
|
+
|
|
134
|
+
@classmethod
|
|
135
|
+
def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
|
|
136
|
+
from ..models.checklist import Checklist
|
|
137
|
+
|
|
138
|
+
d = src_dict.copy()
|
|
139
|
+
id = d.pop("id", UNSET)
|
|
140
|
+
|
|
141
|
+
name = d.pop("name", UNSET)
|
|
142
|
+
|
|
143
|
+
description = d.pop("description", UNSET)
|
|
144
|
+
|
|
145
|
+
is_active = d.pop("is_active", UNSET)
|
|
146
|
+
|
|
147
|
+
owner_user_id = d.pop("owner_user_id", UNSET)
|
|
148
|
+
|
|
149
|
+
team_id = d.pop("team_id", UNSET)
|
|
150
|
+
|
|
151
|
+
channel_id = d.pop("channel_id", UNSET)
|
|
152
|
+
|
|
153
|
+
create_at = d.pop("create_at", UNSET)
|
|
154
|
+
|
|
155
|
+
end_at = d.pop("end_at", UNSET)
|
|
156
|
+
|
|
157
|
+
delete_at = d.pop("delete_at", UNSET)
|
|
158
|
+
|
|
159
|
+
active_stage = d.pop("active_stage", UNSET)
|
|
160
|
+
|
|
161
|
+
active_stage_title = d.pop("active_stage_title", UNSET)
|
|
162
|
+
|
|
163
|
+
post_id = d.pop("post_id", UNSET)
|
|
164
|
+
|
|
165
|
+
playbook_id = d.pop("playbook_id", UNSET)
|
|
166
|
+
|
|
167
|
+
checklists = []
|
|
168
|
+
_checklists = d.pop("checklists", UNSET)
|
|
169
|
+
for checklists_item_data in _checklists or []:
|
|
170
|
+
checklists_item = Checklist.from_dict(checklists_item_data)
|
|
171
|
+
|
|
172
|
+
checklists.append(checklists_item)
|
|
173
|
+
|
|
174
|
+
channel_url = d.pop("channel_url", UNSET)
|
|
175
|
+
|
|
176
|
+
details_url = d.pop("details_url", UNSET)
|
|
177
|
+
|
|
178
|
+
webhook_on_status_update_payload = cls(
|
|
179
|
+
id=id,
|
|
180
|
+
name=name,
|
|
181
|
+
description=description,
|
|
182
|
+
is_active=is_active,
|
|
183
|
+
owner_user_id=owner_user_id,
|
|
184
|
+
team_id=team_id,
|
|
185
|
+
channel_id=channel_id,
|
|
186
|
+
create_at=create_at,
|
|
187
|
+
end_at=end_at,
|
|
188
|
+
delete_at=delete_at,
|
|
189
|
+
active_stage=active_stage,
|
|
190
|
+
active_stage_title=active_stage_title,
|
|
191
|
+
post_id=post_id,
|
|
192
|
+
playbook_id=playbook_id,
|
|
193
|
+
checklists=checklists,
|
|
194
|
+
channel_url=channel_url,
|
|
195
|
+
details_url=details_url,
|
|
196
|
+
)
|
|
197
|
+
|
|
198
|
+
webhook_on_status_update_payload.additional_properties = d
|
|
199
|
+
return webhook_on_status_update_payload
|
|
200
|
+
|
|
201
|
+
@property
|
|
202
|
+
def additional_keys(self) -> List[str]:
|
|
203
|
+
return list(self.additional_properties.keys())
|
|
204
|
+
|
|
205
|
+
def __getitem__(self, key: str) -> Any:
|
|
206
|
+
return self.additional_properties[key]
|
|
207
|
+
|
|
208
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
209
|
+
self.additional_properties[key] = value
|
|
210
|
+
|
|
211
|
+
def __delitem__(self, key: str) -> None:
|
|
212
|
+
del self.additional_properties[key]
|
|
213
|
+
|
|
214
|
+
def __contains__(self, key: str) -> bool:
|
|
215
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Marker file for PEP 561
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
""" Contains some shared types for properties """
|
|
2
|
+
from http import HTTPStatus
|
|
3
|
+
from typing import BinaryIO, Generic, Literal, MutableMapping, Optional, Tuple, TypeVar
|
|
4
|
+
|
|
5
|
+
import attr
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class Unset:
|
|
9
|
+
def __bool__(self) -> Literal[False]:
|
|
10
|
+
return False
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
UNSET: Unset = Unset()
|
|
14
|
+
|
|
15
|
+
FileJsonType = Tuple[Optional[str], BinaryIO, Optional[str]]
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
@attr.s(auto_attribs=True)
|
|
19
|
+
class File:
|
|
20
|
+
"""Contains information for file uploads"""
|
|
21
|
+
|
|
22
|
+
payload: BinaryIO
|
|
23
|
+
file_name: Optional[str] = None
|
|
24
|
+
mime_type: Optional[str] = None
|
|
25
|
+
|
|
26
|
+
def to_tuple(self) -> FileJsonType:
|
|
27
|
+
"""Return a tuple representation that httpx will accept for multipart/form-data"""
|
|
28
|
+
return self.file_name, self.payload, self.mime_type
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
T = TypeVar("T")
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
@attr.s(auto_attribs=True)
|
|
35
|
+
class Response(Generic[T]):
|
|
36
|
+
"""A response from an endpoint"""
|
|
37
|
+
|
|
38
|
+
status_code: HTTPStatus
|
|
39
|
+
content: bytes
|
|
40
|
+
headers: MutableMapping[str, str]
|
|
41
|
+
parsed: Optional[T]
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
__all__ = ["File", "Response", "FileJsonType"]
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
2
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
3
|
+
the Software without restriction, including without limitation the rights to
|
|
4
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
5
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
6
|
+
so, subject to the following conditions:
|
|
7
|
+
|
|
8
|
+
The above copyright notice and this permission notice shall be included in all
|
|
9
|
+
copies or substantial portions of the Software.
|
|
10
|
+
|
|
11
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
12
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
13
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
14
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
15
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
16
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
17
|
+
SOFTWARE.
|