volcengine-python-sdk 4.0.21__py2.py3-none-any.whl → 4.0.23__py2.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.
Potentially problematic release.
This version of volcengine-python-sdk might be problematic. Click here for more details.
- {volcengine_python_sdk-4.0.21.dist-info → volcengine_python_sdk-4.0.23.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.21.dist-info → volcengine_python_sdk-4.0.23.dist-info}/RECORD +489 -115
- {volcengine_python_sdk-4.0.21.dist-info → volcengine_python_sdk-4.0.23.dist-info}/top_level.txt +1 -0
- volcenginesdkarkruntime/_utils/_key_agreement.py +23 -0
- volcenginesdkarkruntime/resources/chat/completions.py +13 -3
- volcenginesdkarkruntime/resources/responses/responses.py +5 -1
- volcenginesdkcloudmonitor/__init__.py +309 -0
- volcenginesdkcloudmonitor/api/__init__.py +6 -0
- volcenginesdkcloudmonitor/api/cloudmonitor_api.py +6048 -0
- volcenginesdkcloudmonitor/models/__init__.py +305 -0
- volcenginesdkcloudmonitor/models/alert_notification_for_list_preset_alert_templates_output.py +305 -0
- volcenginesdkcloudmonitor/models/applied_rule_for_list_alert_templates_output.py +201 -0
- volcenginesdkcloudmonitor/models/applied_rule_for_list_preset_alert_templates_output.py +149 -0
- volcenginesdkcloudmonitor/models/apply_object_for_apply_object_groups_by_alert_template_input.py +331 -0
- volcenginesdkcloudmonitor/models/apply_object_groups_by_alert_template_request.py +177 -0
- volcenginesdkcloudmonitor/models/apply_object_groups_by_alert_template_response.py +123 -0
- volcenginesdkcloudmonitor/models/condition_for_create_alert_template_input.py +227 -0
- volcenginesdkcloudmonitor/models/condition_for_create_rule_input.py +253 -0
- volcenginesdkcloudmonitor/models/condition_for_list_alert_templates_output.py +227 -0
- volcenginesdkcloudmonitor/models/condition_for_list_preset_alert_templates_output.py +227 -0
- volcenginesdkcloudmonitor/models/condition_for_list_rules_by_ids_output.py +279 -0
- volcenginesdkcloudmonitor/models/condition_for_list_rules_output.py +279 -0
- volcenginesdkcloudmonitor/models/condition_for_update_alert_template_input.py +227 -0
- volcenginesdkcloudmonitor/models/condition_for_update_rule_input.py +253 -0
- volcenginesdkcloudmonitor/models/contact_for_list_contact_group_by_ids_output.py +201 -0
- volcenginesdkcloudmonitor/models/contact_for_list_contact_groups_output.py +201 -0
- volcenginesdkcloudmonitor/models/contact_group_for_list_contacts_output.py +253 -0
- volcenginesdkcloudmonitor/models/convert_tag_for_create_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/convert_tag_for_list_rules_by_ids_output.py +149 -0
- volcenginesdkcloudmonitor/models/convert_tag_for_list_rules_output.py +149 -0
- volcenginesdkcloudmonitor/models/convert_tag_for_update_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/create_alert_template_request.py +282 -0
- volcenginesdkcloudmonitor/models/create_alert_template_response.py +123 -0
- volcenginesdkcloudmonitor/models/create_contact_group_request.py +176 -0
- volcenginesdkcloudmonitor/models/create_contact_group_response.py +123 -0
- volcenginesdkcloudmonitor/models/create_contacts_request.py +177 -0
- volcenginesdkcloudmonitor/models/create_contacts_response.py +123 -0
- volcenginesdkcloudmonitor/models/create_event_rule_request.py +537 -0
- volcenginesdkcloudmonitor/models/create_event_rule_response.py +123 -0
- volcenginesdkcloudmonitor/models/create_notification_request.py +204 -0
- volcenginesdkcloudmonitor/models/create_notification_response.py +123 -0
- volcenginesdkcloudmonitor/models/create_notify_template_request.py +277 -0
- volcenginesdkcloudmonitor/models/create_notify_template_response.py +123 -0
- volcenginesdkcloudmonitor/models/create_object_group_request.py +150 -0
- volcenginesdkcloudmonitor/models/create_object_group_response.py +123 -0
- volcenginesdkcloudmonitor/models/create_rule_request.py +850 -0
- volcenginesdkcloudmonitor/models/create_rule_response.py +123 -0
- volcenginesdkcloudmonitor/models/create_silence_policy_request.py +256 -0
- volcenginesdkcloudmonitor/models/create_silence_policy_response.py +123 -0
- volcenginesdkcloudmonitor/models/create_webhook_request.py +191 -0
- volcenginesdkcloudmonitor/models/create_webhook_response.py +123 -0
- volcenginesdkcloudmonitor/models/data_for_create_event_rule_output.py +123 -0
- volcenginesdkcloudmonitor/models/data_for_delete_event_rule_output.py +123 -0
- volcenginesdkcloudmonitor/models/data_for_disable_event_rule_output.py +123 -0
- volcenginesdkcloudmonitor/models/data_for_enable_event_rule_output.py +123 -0
- volcenginesdkcloudmonitor/models/data_for_get_metric_data_output.py +331 -0
- volcenginesdkcloudmonitor/models/data_for_get_top_data_output.py +175 -0
- volcenginesdkcloudmonitor/models/data_for_list_alert_group_output.py +513 -0
- volcenginesdkcloudmonitor/models/data_for_list_alert_templates_output.py +409 -0
- volcenginesdkcloudmonitor/models/data_for_list_contact_group_by_ids_output.py +279 -0
- volcenginesdkcloudmonitor/models/data_for_list_contact_groups_output.py +279 -0
- volcenginesdkcloudmonitor/models/data_for_list_contacts_by_ids_output.py +201 -0
- volcenginesdkcloudmonitor/models/data_for_list_contacts_output.py +227 -0
- volcenginesdkcloudmonitor/models/data_for_list_default_notify_templates_output.py +227 -0
- volcenginesdkcloudmonitor/models/data_for_list_event_rules_output.py +669 -0
- volcenginesdkcloudmonitor/models/data_for_list_events_output.py +279 -0
- volcenginesdkcloudmonitor/models/data_for_list_notifications_output.py +305 -0
- volcenginesdkcloudmonitor/models/data_for_list_notify_templates_output.py +331 -0
- volcenginesdkcloudmonitor/models/data_for_list_object_groups_output.py +305 -0
- volcenginesdkcloudmonitor/models/data_for_list_preset_alert_templates_output.py +435 -0
- volcenginesdkcloudmonitor/models/data_for_list_rules_by_ids_output.py +929 -0
- volcenginesdkcloudmonitor/models/data_for_list_rules_output.py +929 -0
- volcenginesdkcloudmonitor/models/data_for_list_send_alert_output.py +253 -0
- volcenginesdkcloudmonitor/models/data_for_list_silence_policy_output.py +409 -0
- volcenginesdkcloudmonitor/models/data_for_list_webhooks_by_ids_output.py +305 -0
- volcenginesdkcloudmonitor/models/data_for_list_webhooks_output.py +305 -0
- volcenginesdkcloudmonitor/models/data_for_tag_resources_output.py +149 -0
- volcenginesdkcloudmonitor/models/data_for_update_event_rule_output.py +123 -0
- volcenginesdkcloudmonitor/models/data_point_for_get_metric_data_output.py +149 -0
- volcenginesdkcloudmonitor/models/delete_alert_templates_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/delete_alert_templates_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/delete_contact_group_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/delete_contact_group_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/delete_contacts_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/delete_contacts_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/delete_event_rule_request.py +123 -0
- volcenginesdkcloudmonitor/models/delete_event_rule_response.py +123 -0
- volcenginesdkcloudmonitor/models/delete_notifications_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/delete_notifications_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/delete_notify_templates_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/delete_notify_templates_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/delete_object_group_request.py +124 -0
- volcenginesdkcloudmonitor/models/delete_object_group_response.py +123 -0
- volcenginesdkcloudmonitor/models/delete_rules_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/delete_rules_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/delete_silence_policy_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/delete_silence_policy_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/delete_webhooks_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/delete_webhooks_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/dimension_conditions_for_create_object_group_input.py +201 -0
- volcenginesdkcloudmonitor/models/dimension_conditions_for_create_rule_input.py +201 -0
- volcenginesdkcloudmonitor/models/dimension_conditions_for_list_rules_by_ids_output.py +201 -0
- volcenginesdkcloudmonitor/models/dimension_conditions_for_list_rules_output.py +201 -0
- volcenginesdkcloudmonitor/models/dimension_conditions_for_update_object_group_input.py +201 -0
- volcenginesdkcloudmonitor/models/dimension_conditions_for_update_rule_input.py +201 -0
- volcenginesdkcloudmonitor/models/dimension_for_get_metric_data_input.py +149 -0
- volcenginesdkcloudmonitor/models/dimension_for_get_metric_data_output.py +149 -0
- volcenginesdkcloudmonitor/models/dimension_for_get_top_data_input.py +149 -0
- volcenginesdkcloudmonitor/models/disable_event_rule_request.py +123 -0
- volcenginesdkcloudmonitor/models/disable_event_rule_response.py +123 -0
- volcenginesdktransitrouter/models/accept_shared_transit_router_request.py → volcenginesdkcloudmonitor/models/disable_preset_alert_template_request.py +22 -22
- volcenginesdkcloudmonitor/models/disable_preset_alert_template_response.py +123 -0
- volcenginesdkcloudmonitor/models/effect_time_for_create_silence_policy_input.py +149 -0
- volcenginesdkcloudmonitor/models/effect_time_for_list_silence_policy_output.py +149 -0
- volcenginesdkcloudmonitor/models/effect_time_for_update_silence_policy_input.py +149 -0
- volcenginesdkcloudmonitor/models/effective_time_for_create_event_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/effective_time_for_update_event_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/enable_event_rule_request.py +123 -0
- volcenginesdkcloudmonitor/models/enable_event_rule_response.py +123 -0
- volcenginesdkcloudmonitor/models/enable_preset_alert_template_request.py +387 -0
- volcenginesdkcloudmonitor/models/enable_preset_alert_template_response.py +123 -0
- volcenginesdkcloudmonitor/models/get_metric_data_request.py +308 -0
- volcenginesdkcloudmonitor/models/get_metric_data_response.py +123 -0
- volcenginesdkcloudmonitor/models/get_top_data_request.py +357 -0
- volcenginesdkcloudmonitor/models/get_top_data_response.py +123 -0
- volcenginesdkcloudmonitor/models/instance_for_get_metric_data_input.py +123 -0
- volcenginesdkcloudmonitor/models/instance_for_get_top_data_input.py +123 -0
- volcenginesdkcloudmonitor/models/level_condition_for_create_alert_template_input.py +156 -0
- volcenginesdkcloudmonitor/models/level_condition_for_create_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/level_condition_for_list_alert_templates_output.py +149 -0
- volcenginesdkcloudmonitor/models/level_condition_for_list_preset_alert_templates_output.py +149 -0
- volcenginesdkcloudmonitor/models/level_condition_for_list_rules_by_ids_output.py +149 -0
- volcenginesdkcloudmonitor/models/level_condition_for_list_rules_output.py +149 -0
- volcenginesdkcloudmonitor/models/level_condition_for_update_alert_template_input.py +156 -0
- volcenginesdkcloudmonitor/models/level_condition_for_update_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/list_alert_group_request.py +357 -0
- volcenginesdkcloudmonitor/models/list_alert_group_response.py +253 -0
- volcenginesdkcloudmonitor/models/list_alert_templates_request.py +253 -0
- volcenginesdkcloudmonitor/models/list_alert_templates_response.py +201 -0
- volcenginesdkcloudmonitor/models/list_contact_group_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/list_contact_group_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/list_contact_groups_request.py +175 -0
- volcenginesdkcloudmonitor/models/list_contact_groups_response.py +201 -0
- volcenginesdkcloudmonitor/models/list_contacts_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/list_contacts_by_ids_response.py +123 -0
- volcenginesdktransitrouter/models/describe_transit_router_grant_rules_request.py → volcenginesdkcloudmonitor/models/list_contacts_request.py +69 -44
- volcenginesdkcloudmonitor/models/list_contacts_response.py +201 -0
- volcenginesdkcloudmonitor/models/list_default_notify_templates_request.py +198 -0
- volcenginesdkcloudmonitor/models/list_default_notify_templates_response.py +123 -0
- volcenginesdkcloudmonitor/models/list_event_rules_request.py +279 -0
- volcenginesdkcloudmonitor/models/list_event_rules_response.py +253 -0
- volcenginesdkcloudmonitor/models/list_events_request.py +364 -0
- volcenginesdkcloudmonitor/models/list_events_response.py +253 -0
- volcenginesdkcloudmonitor/models/list_notifications_request.py +261 -0
- volcenginesdkcloudmonitor/models/list_notifications_response.py +201 -0
- volcenginesdkcloudmonitor/models/list_notify_templates_request.py +275 -0
- volcenginesdkcloudmonitor/models/list_notify_templates_response.py +201 -0
- volcenginesdkcloudmonitor/models/list_object_groups_request.py +227 -0
- volcenginesdktransitrouter/models/describe_transit_router_grant_rules_response.py → volcenginesdkcloudmonitor/models/list_object_groups_response.py +47 -47
- volcenginesdkcloudmonitor/models/list_preset_alert_templates_request.py +227 -0
- volcenginesdkcloudmonitor/models/list_preset_alert_templates_response.py +201 -0
- volcenginesdkcloudmonitor/models/list_rules_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/list_rules_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/list_rules_request.py +357 -0
- volcenginesdkcloudmonitor/models/list_rules_response.py +201 -0
- volcenginesdkcloudmonitor/models/list_send_alert_request.py +176 -0
- volcenginesdkcloudmonitor/models/list_send_alert_response.py +201 -0
- volcenginesdkcloudmonitor/models/list_silence_policy_request.py +305 -0
- volcenginesdkcloudmonitor/models/list_silence_policy_response.py +201 -0
- volcenginesdkcloudmonitor/models/list_webhooks_by_ids_request.py +123 -0
- volcenginesdkcloudmonitor/models/list_webhooks_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/list_webhooks_request.py +331 -0
- volcenginesdkcloudmonitor/models/list_webhooks_response.py +253 -0
- volcenginesdkcloudmonitor/models/message_queue_for_create_event_rule_input.py +331 -0
- volcenginesdkcloudmonitor/models/message_queue_for_list_event_rules_output.py +227 -0
- volcenginesdkcloudmonitor/models/message_queue_for_update_event_rule_input.py +331 -0
- volcenginesdkcloudmonitor/models/meta_condition_for_create_object_group_input.py +175 -0
- volcenginesdkcloudmonitor/models/meta_condition_for_create_rule_input.py +175 -0
- volcenginesdkcloudmonitor/models/meta_condition_for_create_silence_policy_input.py +149 -0
- volcenginesdkcloudmonitor/models/meta_condition_for_list_rules_by_ids_output.py +175 -0
- volcenginesdkcloudmonitor/models/meta_condition_for_list_rules_output.py +175 -0
- volcenginesdkcloudmonitor/models/meta_condition_for_list_silence_policy_output.py +149 -0
- volcenginesdkcloudmonitor/models/meta_condition_for_update_object_group_input.py +175 -0
- volcenginesdkcloudmonitor/models/meta_condition_for_update_rule_input.py +175 -0
- volcenginesdkcloudmonitor/models/meta_condition_for_update_silence_policy_input.py +149 -0
- volcenginesdkcloudmonitor/models/meta_for_create_object_group_input.py +175 -0
- volcenginesdkcloudmonitor/models/meta_for_create_rule_input.py +175 -0
- volcenginesdkcloudmonitor/models/meta_for_create_silence_policy_input.py +175 -0
- volcenginesdkcloudmonitor/models/meta_for_list_rules_by_ids_output.py +175 -0
- volcenginesdkcloudmonitor/models/meta_for_list_rules_output.py +175 -0
- volcenginesdktransitrouter/models/delete_transit_router_grant_rule_request.py → volcenginesdkcloudmonitor/models/meta_for_list_silence_policy_output.py +61 -37
- volcenginesdkcloudmonitor/models/meta_for_update_object_group_input.py +175 -0
- volcenginesdkcloudmonitor/models/meta_for_update_rule_input.py +175 -0
- volcenginesdkcloudmonitor/models/meta_for_update_silence_policy_input.py +175 -0
- volcenginesdkcloudmonitor/models/metric_data_result_for_get_metric_data_output.py +175 -0
- volcenginesdkcloudmonitor/models/modify_state_of_silence_policy_by_ids_request.py +157 -0
- volcenginesdkcloudmonitor/models/modify_state_of_silence_policy_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/no_data_for_create_alert_template_input.py +175 -0
- volcenginesdkcloudmonitor/models/no_data_for_create_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/no_data_for_list_alert_templates_output.py +175 -0
- volcenginesdkcloudmonitor/models/no_data_for_list_preset_alert_templates_output.py +175 -0
- volcenginesdkcloudmonitor/models/no_data_for_update_alert_template_input.py +175 -0
- volcenginesdkcloudmonitor/models/no_data_for_update_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/notification_for_create_notification_input.py +242 -0
- volcenginesdkcloudmonitor/models/notification_for_list_notifications_output.py +227 -0
- volcenginesdkcloudmonitor/models/notification_for_update_notification_input.py +242 -0
- volcenginesdkcloudmonitor/models/notify_template_for_apply_object_groups_by_alert_template_input.py +156 -0
- volcenginesdkcloudmonitor/models/notify_template_for_create_event_rule_input.py +156 -0
- volcenginesdkcloudmonitor/models/notify_template_for_create_notification_input.py +156 -0
- volcenginesdkcloudmonitor/models/notify_template_for_create_rule_input.py +156 -0
- volcenginesdkcloudmonitor/models/notify_template_for_enable_preset_alert_template_input.py +156 -0
- volcenginesdkcloudmonitor/models/notify_template_for_list_alert_templates_output.py +149 -0
- volcenginesdkcloudmonitor/models/notify_template_for_list_event_rules_output.py +149 -0
- volcenginesdkcloudmonitor/models/notify_template_for_list_notifications_output.py +149 -0
- volcenginesdkcloudmonitor/models/notify_template_for_list_preset_alert_templates_output.py +149 -0
- volcenginesdkcloudmonitor/models/notify_template_for_list_rules_by_ids_output.py +149 -0
- volcenginesdkcloudmonitor/models/notify_template_for_list_rules_output.py +149 -0
- volcenginesdkcloudmonitor/models/notify_template_for_update_event_rule_input.py +156 -0
- volcenginesdkcloudmonitor/models/notify_template_for_update_notification_input.py +156 -0
- volcenginesdkcloudmonitor/models/notify_template_for_update_rule_input.py +156 -0
- volcenginesdkcloudmonitor/models/object_for_create_object_group_input.py +227 -0
- volcenginesdkcloudmonitor/models/object_for_list_object_groups_output.py +279 -0
- volcenginesdkcloudmonitor/models/object_for_update_object_group_input.py +227 -0
- volcenginesdkcloudmonitor/models/object_group_for_list_alert_templates_output.py +357 -0
- volcenginesdkcloudmonitor/models/project_condition_for_create_object_group_input.py +123 -0
- volcenginesdkcloudmonitor/models/project_condition_for_create_rule_input.py +123 -0
- volcenginesdkcloudmonitor/models/project_condition_for_list_rules_by_ids_output.py +123 -0
- volcenginesdkcloudmonitor/models/project_condition_for_list_rules_output.py +123 -0
- volcenginesdkcloudmonitor/models/project_condition_for_update_object_group_input.py +123 -0
- volcenginesdkcloudmonitor/models/project_condition_for_update_rule_input.py +123 -0
- volcenginesdkcloudmonitor/models/range_for_create_silence_policy_input.py +201 -0
- volcenginesdkcloudmonitor/models/range_for_list_silence_policy_output.py +201 -0
- volcenginesdkcloudmonitor/models/range_for_update_silence_policy_input.py +201 -0
- volcenginesdkcloudmonitor/models/recovery_notify_for_create_alert_template_input.py +123 -0
- volcenginesdkcloudmonitor/models/recovery_notify_for_create_rule_input.py +123 -0
- volcenginesdkcloudmonitor/models/recovery_notify_for_list_alert_templates_output.py +123 -0
- volcenginesdkcloudmonitor/models/recovery_notify_for_list_preset_alert_templates_output.py +123 -0
- volcenginesdkcloudmonitor/models/recovery_notify_for_list_rules_by_ids_output.py +123 -0
- volcenginesdkcloudmonitor/models/recovery_notify_for_list_rules_output.py +123 -0
- volcenginesdkcloudmonitor/models/recovery_notify_for_update_alert_template_input.py +123 -0
- volcenginesdkcloudmonitor/models/recovery_notify_for_update_rule_input.py +123 -0
- volcenginesdkcloudmonitor/models/rule_for_list_object_groups_output.py +201 -0
- volcenginesdkcloudmonitor/models/send_result_for_list_send_alert_output.py +227 -0
- volcenginesdkcloudmonitor/models/set_state_of_rules_by_ids_request.py +157 -0
- volcenginesdkcloudmonitor/models/set_state_of_rules_by_ids_response.py +123 -0
- volcenginesdkcloudmonitor/models/silence_conditions_for_create_silence_policy_input.py +175 -0
- volcenginesdkcloudmonitor/models/silence_conditions_for_list_silence_policy_output.py +201 -0
- volcenginesdkcloudmonitor/models/silence_conditions_for_update_silence_policy_input.py +175 -0
- volcenginesdkcloudmonitor/models/tag_condition_for_create_object_group_input.py +149 -0
- volcenginesdkcloudmonitor/models/tag_condition_for_create_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/tag_condition_for_list_rules_by_ids_output.py +149 -0
- volcenginesdkcloudmonitor/models/tag_condition_for_list_rules_output.py +149 -0
- volcenginesdkcloudmonitor/models/tag_condition_for_update_object_group_input.py +149 -0
- volcenginesdkcloudmonitor/models/tag_condition_for_update_rule_input.py +149 -0
- volcenginesdkcloudmonitor/models/tag_for_create_object_group_input.py +175 -0
- volcenginesdkcloudmonitor/models/tag_for_create_rule_input.py +175 -0
- volcenginesdkcloudmonitor/models/tag_for_list_rules_by_ids_output.py +175 -0
- volcenginesdkcloudmonitor/models/tag_for_list_rules_output.py +175 -0
- volcenginesdkcloudmonitor/models/tag_for_tag_resources_input.py +149 -0
- volcenginesdkcloudmonitor/models/tag_for_update_object_group_input.py +175 -0
- volcenginesdkcloudmonitor/models/tag_for_update_rule_input.py +175 -0
- volcenginesdkcloudmonitor/models/tag_resources_request.py +176 -0
- volcenginesdkcloudmonitor/models/tag_resources_response.py +123 -0
- volcenginesdkcloudmonitor/models/template_detail_for_list_object_groups_output.py +149 -0
- volcenginesdkcloudmonitor/models/template_rule_for_create_alert_template_input.py +279 -0
- volcenginesdkcloudmonitor/models/template_rule_for_list_alert_templates_output.py +331 -0
- volcenginesdkcloudmonitor/models/template_rule_for_list_preset_alert_templates_output.py +331 -0
- volcenginesdkcloudmonitor/models/template_rule_for_update_alert_template_input.py +279 -0
- volcenginesdkcloudmonitor/models/tls_target_for_create_event_rule_input.py +227 -0
- volcenginesdkcloudmonitor/models/tls_target_for_list_event_rules_output.py +227 -0
- volcenginesdkcloudmonitor/models/tls_target_for_update_event_rule_input.py +227 -0
- volcenginesdkcloudmonitor/models/top_data_result_for_get_top_data_output.py +149 -0
- volcenginesdkcloudmonitor/models/untag_resources_request.py +176 -0
- volcenginesdkcloudmonitor/models/untag_resources_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_alert_template_request.py +309 -0
- volcenginesdkcloudmonitor/models/update_alert_template_response.py +123 -0
- volcenginesdktransitrouter/models/create_transit_router_grant_rule_request.py → volcenginesdkcloudmonitor/models/update_contact_group_request.py +40 -41
- volcenginesdkcloudmonitor/models/update_contact_group_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_contact_group_with_contacts_request.py +150 -0
- volcenginesdkcloudmonitor/models/update_contact_group_with_contacts_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_contacts_request.py +204 -0
- volcenginesdkcloudmonitor/models/update_contacts_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_contacts_with_contact_groups_request.py +150 -0
- volcenginesdkcloudmonitor/models/update_contacts_with_contact_groups_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_event_rule_request.py +564 -0
- volcenginesdkcloudmonitor/models/update_event_rule_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_notification_request.py +231 -0
- volcenginesdkcloudmonitor/models/update_notification_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_notify_template_request.py +304 -0
- volcenginesdkcloudmonitor/models/update_notify_template_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_object_group_request.py +177 -0
- volcenginesdkcloudmonitor/models/update_object_group_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_rule_request.py +851 -0
- volcenginesdkcloudmonitor/models/update_rule_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_silence_policy_request.py +283 -0
- volcenginesdkcloudmonitor/models/update_silence_policy_response.py +123 -0
- volcenginesdkcloudmonitor/models/update_webhook_request.py +205 -0
- volcenginesdkcloudmonitor/models/update_webhook_response.py +123 -0
- volcenginesdkcore/api_client.py +74 -7
- volcenginesdkcore/auth/__init__.py +1 -1
- volcenginesdkcore/auth/providers/__init__.py +2 -0
- volcenginesdkcore/auth/providers/provider.py +4 -0
- volcenginesdkcore/auth/providers/sts_oidc_provider.py +96 -0
- volcenginesdkcore/auth/providers/sts_provider.py +9 -4
- volcenginesdkcore/auth/providers/sts_saml_provider.py +100 -0
- volcenginesdkcore/configuration.py +17 -4
- volcenginesdkcore/endpoint/providers/default_provider.py +59 -4
- volcenginesdkcore/interceptor/interceptors/request.py +1 -0
- volcenginesdkcore/interceptor/interceptors/sign_request_interceptor.py +7 -0
- volcenginesdkcore/observability/__init__.py +0 -0
- volcenginesdkcore/observability/debugger.py +235 -0
- volcenginesdkcore/rest.py +67 -1
- volcenginesdkcore/retryer/retry_condition.py +8 -3
- volcenginesdkcore/signv4.py +8 -0
- volcenginesdkecs/__init__.py +12 -0
- volcenginesdkecs/api/ecs_api.py +291 -0
- volcenginesdkecs/models/__init__.py +12 -0
- volcenginesdkecs/models/create_hpc_cluster_request.py +53 -1
- volcenginesdkecs/models/describe_hpc_clusters_request.py +53 -1
- volcenginesdkecs/models/describe_system_event_default_action_request.py +124 -0
- volcenginesdkecs/models/describe_system_event_default_action_response.py +175 -0
- volcenginesdkecs/models/extra_info_for_describe_system_event_default_action_output.py +95 -0
- volcenginesdkecs/models/hpc_cluster_for_describe_hpc_clusters_output.py +53 -1
- volcenginesdkecs/models/instance_for_describe_instances_output.py +27 -1
- volcenginesdkecs/models/modify_system_event_default_action_request.py +210 -0
- volcenginesdkecs/models/modify_system_event_default_action_response.py +149 -0
- volcenginesdkecs/models/rdma_network_interface_detail_for_describe_instances_output.py +227 -0
- volcenginesdkecs/models/related_system_event_for_describe_system_event_default_action_output.py +383 -0
- volcenginesdkecs/models/report_instances_status_request.py +280 -0
- volcenginesdktransitrouter/models/reject_shared_transit_router_response.py → volcenginesdkecs/models/report_instances_status_response.py +6 -6
- volcenginesdkecs/models/tag_filter_for_describe_hpc_clusters_input.py +149 -0
- volcenginesdkecs/models/tag_for_create_hpc_cluster_input.py +149 -0
- volcenginesdkecs/models/tag_for_describe_hpc_clusters_output.py +149 -0
- volcenginesdkprivatezone/__init__.py +1 -1
- volcenginesdkprivatezone/models/__init__.py +1 -1
- volcenginesdkprivatezone/models/{ip_configs_for_update_resolver_endpoint_input.py → ip_config_for_update_resolver_endpoint_input.py} +21 -21
- volcenginesdkprivatezone/models/update_resolver_endpoint_request.py +3 -3
- volcenginesdkredis/__init__.py +2 -0
- volcenginesdkredis/api/redis_api.py +97 -0
- volcenginesdkredis/models/__init__.py +2 -0
- volcenginesdkredis/models/instance_for_describe_db_instances_output.py +27 -1
- volcenginesdkredis/models/modify_db_instance_private_dns_visibility_request.py +177 -0
- volcenginesdkredis/models/modify_db_instance_private_dns_visibility_response.py +95 -0
- volcenginesdkredis/models/visit_addr_for_describe_db_instance_detail_output.py +29 -3
- volcenginesdktag/models/get_tag_keys_request.py +60 -1
- volcenginesdktag/models/get_tag_values_request.py +62 -3
- volcenginesdktag/models/get_tags_request.py +34 -1
- volcenginesdktransitrouter/__init__.py +1 -13
- volcenginesdktransitrouter/api/transitrouter_api.py +0 -582
- volcenginesdktransitrouter/models/__init__.py +1 -13
- volcenginesdktransitrouter/models/create_transit_router_vpc_attachment_request.py +27 -1
- volcenginesdktransitrouter/models/describe_transit_router_flow_logs_response.py +79 -1
- volcenginesdktransitrouter/models/describe_transit_router_multicast_groups_response.py +79 -1
- volcenginesdktransitrouter/models/describe_transit_router_route_entries_request.py +27 -1
- volcenginesdktransitrouter/models/describe_transit_router_route_entries_response.py +3 -55
- volcenginesdktransitrouter/models/models.py +1960 -1935
- volcenginesdktransitrouter/models/modify_transit_router_vpc_attachment_attributes_request.py +27 -1
- volcenginesdktransitrouter/models/modify_transit_router_vpn_attachment_attributes_request.py +27 -1
- volcenginesdktransitrouter/models/tag_for_describe_transit_router_flow_logs_output.py +149 -0
- volcenginesdktransitrouter/models/transit_router_attachment_for_describe_transit_router_peer_attachments_output.py +3 -3
- volcenginesdktransitrouter/models/transit_router_attachment_for_describe_transit_router_vpc_attachments_output.py +53 -1
- volcenginesdktransitrouter/models/transit_router_attachment_for_describe_transit_router_vpn_attachments_output.py +30 -4
- volcenginesdktransitrouter/models/transit_router_flow_log_for_describe_transit_router_flow_logs_output.py +27 -1
- volcenginesdktransitrouter/models/transit_router_for_describe_transit_routers_output.py +27 -1
- volcenginesdktransitrouter/models/transit_router_route_entry_for_describe_transit_router_route_entries_output.py +53 -1
- volcenginesdkvedbm/__init__.py +54 -0
- volcenginesdkvedbm/api/vedbm_api.py +2193 -253
- volcenginesdkvedbm/models/__init__.py +54 -0
- volcenginesdkvedbm/models/authorized_allow_list_for_describe_instance_allow_lists_output.py +279 -0
- volcenginesdkvedbm/models/cancel_schedule_events_request.py +149 -0
- volcenginesdktransitrouter/models/accept_shared_transit_router_response.py → volcenginesdkvedbm/models/cancel_schedule_events_response.py +6 -6
- volcenginesdkvedbm/models/change_master_request.py +151 -0
- volcenginesdkvedbm/models/change_master_response.py +95 -0
- volcenginesdkvedbm/models/charge_item_price_for_describe_db_instance_price_detail_output.py +227 -0
- volcenginesdkvedbm/models/charge_item_price_for_describe_exist_db_instance_price_output.py +227 -0
- volcenginesdkvedbm/models/charge_item_price_for_describe_storage_payable_price_output.py +227 -0
- volcenginesdkvedbm/models/config_item_price_for_describe_db_instance_price_detail_output.py +331 -0
- volcenginesdkvedbm/models/config_item_price_for_describe_exist_db_instance_price_output.py +331 -0
- volcenginesdkvedbm/models/create_db_instance_request.py +1 -1
- volcenginesdkvedbm/models/describe_availability_zones_request.py +123 -0
- volcenginesdkvedbm/models/describe_availability_zones_response.py +149 -0
- volcenginesdkvedbm/models/describe_db_instance_parameter_change_history_request.py +256 -0
- volcenginesdkvedbm/models/describe_db_instance_parameter_change_history_response.py +149 -0
- volcenginesdkvedbm/models/describe_db_instance_price_detail_request.py +328 -0
- volcenginesdkvedbm/models/describe_db_instance_price_detail_response.py +279 -0
- volcenginesdkvedbm/models/describe_db_instance_specs_request.py +95 -0
- volcenginesdkvedbm/models/describe_db_instance_specs_response.py +149 -0
- volcenginesdktransitrouter/models/reject_shared_transit_router_request.py → volcenginesdkvedbm/models/describe_db_instance_version_request.py +22 -22
- volcenginesdkvedbm/models/describe_db_instance_version_response.py +175 -0
- volcenginesdkvedbm/models/describe_exist_db_instance_price_request.py +248 -0
- volcenginesdkvedbm/models/describe_exist_db_instance_price_response.py +279 -0
- volcenginesdkvedbm/models/describe_instance_allow_lists_request.py +124 -0
- volcenginesdkvedbm/models/describe_instance_allow_lists_response.py +149 -0
- volcenginesdkvedbm/models/describe_modifiable_parameters_request.py +199 -0
- volcenginesdkvedbm/models/describe_modifiable_parameters_response.py +123 -0
- volcenginesdkvedbm/models/describe_regions_request.py +95 -0
- volcenginesdkvedbm/models/describe_regions_response.py +123 -0
- volcenginesdkvedbm/models/describe_schedule_events_request.py +347 -0
- volcenginesdkvedbm/models/describe_schedule_events_response.py +149 -0
- volcenginesdkvedbm/models/describe_storage_payable_price_request.py +131 -0
- volcenginesdkvedbm/models/describe_storage_payable_price_response.py +123 -0
- volcenginesdkvedbm/models/instance_for_describe_exist_db_instance_price_input.py +208 -0
- volcenginesdkvedbm/models/modify_allow_list_request.py +1 -1
- volcenginesdkvedbm/models/modify_db_endpoint_address_request.py +237 -0
- volcenginesdktransitrouter/models/create_transit_router_grant_rule_response.py → volcenginesdkvedbm/models/modify_db_endpoint_address_response.py +6 -6
- volcenginesdkvedbm/models/modify_db_endpoint_dns_request.py +95 -0
- volcenginesdkvedbm/models/modify_db_endpoint_dns_response.py +95 -0
- volcenginesdkvedbm/models/modify_db_instance_charge_type_request.py +295 -0
- volcenginesdkvedbm/models/modify_db_instance_charge_type_response.py +149 -0
- volcenginesdkvedbm/models/modify_db_instance_deletion_protection_policy_request.py +158 -0
- volcenginesdktransitrouter/models/modify_transit_router_grant_rule_attributes_response.py → volcenginesdkvedbm/models/modify_db_instance_deletion_protection_policy_response.py +6 -6
- volcenginesdkvedbm/models/modify_db_instance_maintenance_window_request.py +151 -0
- volcenginesdkvedbm/models/modify_db_instance_maintenance_window_response.py +95 -0
- volcenginesdkvedbm/models/modify_db_node_config_request.py +176 -0
- volcenginesdkvedbm/models/modify_db_node_config_response.py +95 -0
- volcenginesdkvedbm/models/modify_schedule_events_request.py +182 -0
- volcenginesdkvedbm/models/modify_schedule_events_response.py +95 -0
- volcenginesdkvedbm/models/node_for_describe_db_instance_detail_output.py +27 -1
- volcenginesdkvedbm/models/node_for_describe_db_instances_output.py +27 -1
- volcenginesdkvedbm/models/node_spec_for_describe_db_instance_specs_output.py +305 -0
- volcenginesdkvedbm/models/node_spec_for_describe_exist_db_instance_price_input.py +182 -0
- volcenginesdkvedbm/models/parameter_change_history_for_describe_db_instance_parameter_change_history_output.py +227 -0
- volcenginesdkvedbm/models/parameter_for_describe_modifiable_parameters_output.py +357 -0
- volcenginesdkvedbm/models/region_for_describe_regions_output.py +149 -0
- volcenginesdkvedbm/models/restart_db_instance_request.py +29 -3
- volcenginesdkvedbm/models/restore_to_new_instance_request.py +1 -1
- volcenginesdkvedbm/models/schedule_tasks_info_for_describe_schedule_events_output.py +435 -0
- volcenginesdktransitrouter/models/modify_transit_router_grant_rule_attributes_request.py → volcenginesdkvedbm/models/zone_for_describe_availability_zones_output.py +39 -41
- volcenginesdkvod20250101/__init__.py +18 -0
- volcenginesdkvod20250101/api/vod20250101_api.py +194 -0
- volcenginesdkvod20250101/models/__init__.py +18 -0
- volcenginesdkvod20250101/models/bilingual_subtitle_for_get_ai_translation_project_output.py +253 -0
- volcenginesdkvod20250101/models/clip_audio_for_create_ai_translation_utterance_output.py +253 -0
- volcenginesdkvod20250101/models/clip_video_for_create_ai_translation_utterance_output.py +253 -0
- volcenginesdkvod20250101/models/convert_highlight_cuts_for_get_execution_output.py +149 -0
- volcenginesdkvod20250101/models/convert_highlight_for_get_execution_output.py +27 -1
- volcenginesdkvod20250101/models/create_ai_translation_utterance_request.py +232 -0
- volcenginesdkvod20250101/models/create_ai_translation_utterance_response.py +201 -0
- volcenginesdkvod20250101/models/highlight_cuts_for_get_execution_output.py +201 -0
- volcenginesdkvod20250101/models/highlight_cuts_for_start_execution_input.py +201 -0
- volcenginesdkvod20250101/models/highlight_for_get_execution_output.py +53 -1
- volcenginesdkvod20250101/models/highlight_for_start_execution_input.py +53 -1
- volcenginesdkvod20250101/models/opening_hook_for_get_execution_output.py +227 -0
- volcenginesdkvod20250101/models/opening_hook_for_start_execution_input.py +227 -0
- volcenginesdkvod20250101/models/project_info_for_get_ai_translation_project_output.py +27 -1
- volcenginesdkvod20250101/models/remove_ai_translation_utterance_request.py +178 -0
- volcenginesdktransitrouter/models/delete_transit_router_grant_rule_response.py → volcenginesdkvod20250101/models/remove_ai_translation_utterance_response.py +6 -6
- volcenginesdkvod20250101/models/source_clip_for_create_ai_translation_utterance_output.py +279 -0
- volcenginesdkvod20250101/models/source_utterance_for_create_ai_translation_utterance_output.py +357 -0
- volcenginesdkvod20250101/models/storyboard_for_get_execution_output.py +253 -0
- volcenginesdkvod20250101/models/subtitle_recognition_config_for_get_ai_translation_project_output.py +81 -3
- volcenginesdkvod20250101/models/subtitle_recognition_config_for_list_ai_translation_project_output.py +81 -3
- volcenginesdkvod20250101/models/subtitle_recognition_config_for_submit_ai_translation_workflow_input.py +81 -3
- volcenginesdkvod20250101/models/target_clip_for_create_ai_translation_utterance_output.py +279 -0
- volcenginesdkvod20250101/models/target_utterance_for_create_ai_translation_utterance_output.py +357 -0
- volcenginesdkvod20250101/models/trim_for_create_ai_translation_utterance_output.py +149 -0
- volcenginesdkvod20250101/models/update_ai_translation_utterances_request.py +27 -1
- volcenginesdkvod20250101/models/vision_for_get_execution_output.py +53 -1
- volcenginesdkvod20250101/models/vision_for_start_execution_input.py +53 -1
- volcenginesdkvpn/__init__.py +4 -0
- volcenginesdkvpn/models/__init__.py +4 -0
- volcenginesdkvpn/models/bgp_config_for_modify_vpn_connection_tunnel_attributes_input.py +149 -0
- volcenginesdkvpn/models/bgp_info_for_describe_vpn_connection_attributes_output.py +3 -3
- volcenginesdkvpn/models/bgp_info_for_describe_vpn_connections_output.py +3 -3
- volcenginesdkvpn/models/convert_bgp_config_for_create_vpn_connection_input.py +149 -0
- volcenginesdkvpn/models/convert_bgp_config_for_modify_vpn_connection_attributes_input.py +149 -0
- volcenginesdkvpn/models/create_customer_gateway_request.py +34 -1
- volcenginesdkvpn/models/create_ssl_vpn_server_request.py +34 -1
- volcenginesdkvpn/models/create_vpn_connection_request.py +27 -1
- volcenginesdkvpn/models/create_vpn_gateway_request.py +53 -1
- volcenginesdkvpn/models/customer_gateway_for_describe_customer_gateways_output.py +27 -1
- volcenginesdkvpn/models/describe_customer_gateways_request.py +27 -1
- volcenginesdkvpn/models/describe_vpn_connection_attributes_response.py +27 -1
- volcenginesdkvpn/models/describe_vpn_gateway_attributes_response.py +53 -1
- volcenginesdkvpn/models/describe_vpn_gateways_request.py +79 -1
- volcenginesdkvpn/models/modify_ssl_vpn_server_request.py +34 -1
- volcenginesdkvpn/models/modify_vpn_connection_attributes_request.py +53 -1
- volcenginesdkvpn/models/modify_vpn_connection_tunnel_attributes_request.py +27 -1
- volcenginesdkvpn/models/ssl_vpn_server_for_describe_ssl_vpn_servers_output.py +27 -1
- volcenginesdkvpn/models/tunnel_bgp_info_for_describe_vpn_connection_attributes_output.py +279 -0
- volcenginesdkvpn/models/tunnel_option_for_create_vpn_connection_input.py +27 -1
- volcenginesdkvpn/models/tunnel_option_for_describe_vpn_connection_attributes_output.py +27 -1
- volcenginesdkvpn/models/tunnel_option_for_describe_vpn_connections_output.py +27 -1
- volcenginesdkvpn/models/tunnel_option_for_modify_vpn_connection_attributes_input.py +27 -1
- volcenginesdkvpn/models/vpn_gateway_for_describe_vpn_gateways_billing_output.py +53 -1
- volcenginesdkvpn/models/vpn_gateway_for_describe_vpn_gateways_output.py +53 -1
- volcenginesdktransitrouter/models/transit_router_grant_rule_for_describe_transit_router_grant_rules_output.py +0 -253
- {volcengine_python_sdk-4.0.21.dist-info → volcengine_python_sdk-4.0.23.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.21.dist-info → volcengine_python_sdk-4.0.23.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.21.dist-info → volcengine_python_sdk-4.0.23.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
cloudmonitor
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class NotifyTemplateForListRulesOutput(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'channel': 'str',
|
|
37
|
+
'notify_template_id': 'str'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'channel': 'Channel',
|
|
42
|
+
'notify_template_id': 'NotifyTemplateId'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, channel=None, notify_template_id=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""NotifyTemplateForListRulesOutput - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._channel = None
|
|
52
|
+
self._notify_template_id = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if channel is not None:
|
|
56
|
+
self.channel = channel
|
|
57
|
+
if notify_template_id is not None:
|
|
58
|
+
self.notify_template_id = notify_template_id
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def channel(self):
|
|
62
|
+
"""Gets the channel of this NotifyTemplateForListRulesOutput. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The channel of this NotifyTemplateForListRulesOutput. # noqa: E501
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._channel
|
|
69
|
+
|
|
70
|
+
@channel.setter
|
|
71
|
+
def channel(self, channel):
|
|
72
|
+
"""Sets the channel of this NotifyTemplateForListRulesOutput.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param channel: The channel of this NotifyTemplateForListRulesOutput. # noqa: E501
|
|
76
|
+
:type: str
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
self._channel = channel
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def notify_template_id(self):
|
|
83
|
+
"""Gets the notify_template_id of this NotifyTemplateForListRulesOutput. # noqa: E501
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
:return: The notify_template_id of this NotifyTemplateForListRulesOutput. # noqa: E501
|
|
87
|
+
:rtype: str
|
|
88
|
+
"""
|
|
89
|
+
return self._notify_template_id
|
|
90
|
+
|
|
91
|
+
@notify_template_id.setter
|
|
92
|
+
def notify_template_id(self, notify_template_id):
|
|
93
|
+
"""Sets the notify_template_id of this NotifyTemplateForListRulesOutput.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:param notify_template_id: The notify_template_id of this NotifyTemplateForListRulesOutput. # noqa: E501
|
|
97
|
+
:type: str
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._notify_template_id = notify_template_id
|
|
101
|
+
|
|
102
|
+
def to_dict(self):
|
|
103
|
+
"""Returns the model properties as a dict"""
|
|
104
|
+
result = {}
|
|
105
|
+
|
|
106
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
107
|
+
value = getattr(self, attr)
|
|
108
|
+
if isinstance(value, list):
|
|
109
|
+
result[attr] = list(map(
|
|
110
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
111
|
+
value
|
|
112
|
+
))
|
|
113
|
+
elif hasattr(value, "to_dict"):
|
|
114
|
+
result[attr] = value.to_dict()
|
|
115
|
+
elif isinstance(value, dict):
|
|
116
|
+
result[attr] = dict(map(
|
|
117
|
+
lambda item: (item[0], item[1].to_dict())
|
|
118
|
+
if hasattr(item[1], "to_dict") else item,
|
|
119
|
+
value.items()
|
|
120
|
+
))
|
|
121
|
+
else:
|
|
122
|
+
result[attr] = value
|
|
123
|
+
if issubclass(NotifyTemplateForListRulesOutput, dict):
|
|
124
|
+
for key, value in self.items():
|
|
125
|
+
result[key] = value
|
|
126
|
+
|
|
127
|
+
return result
|
|
128
|
+
|
|
129
|
+
def to_str(self):
|
|
130
|
+
"""Returns the string representation of the model"""
|
|
131
|
+
return pprint.pformat(self.to_dict())
|
|
132
|
+
|
|
133
|
+
def __repr__(self):
|
|
134
|
+
"""For `print` and `pprint`"""
|
|
135
|
+
return self.to_str()
|
|
136
|
+
|
|
137
|
+
def __eq__(self, other):
|
|
138
|
+
"""Returns true if both objects are equal"""
|
|
139
|
+
if not isinstance(other, NotifyTemplateForListRulesOutput):
|
|
140
|
+
return False
|
|
141
|
+
|
|
142
|
+
return self.to_dict() == other.to_dict()
|
|
143
|
+
|
|
144
|
+
def __ne__(self, other):
|
|
145
|
+
"""Returns true if both objects are not equal"""
|
|
146
|
+
if not isinstance(other, NotifyTemplateForListRulesOutput):
|
|
147
|
+
return True
|
|
148
|
+
|
|
149
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
cloudmonitor
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class NotifyTemplateForUpdateEventRuleInput(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'channel': 'str',
|
|
37
|
+
'notify_template_id': 'str'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'channel': 'Channel',
|
|
42
|
+
'notify_template_id': 'NotifyTemplateId'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, channel=None, notify_template_id=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""NotifyTemplateForUpdateEventRuleInput - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._channel = None
|
|
52
|
+
self._notify_template_id = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if channel is not None:
|
|
56
|
+
self.channel = channel
|
|
57
|
+
if notify_template_id is not None:
|
|
58
|
+
self.notify_template_id = notify_template_id
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def channel(self):
|
|
62
|
+
"""Gets the channel of this NotifyTemplateForUpdateEventRuleInput. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The channel of this NotifyTemplateForUpdateEventRuleInput. # noqa: E501
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._channel
|
|
69
|
+
|
|
70
|
+
@channel.setter
|
|
71
|
+
def channel(self, channel):
|
|
72
|
+
"""Sets the channel of this NotifyTemplateForUpdateEventRuleInput.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param channel: The channel of this NotifyTemplateForUpdateEventRuleInput. # noqa: E501
|
|
76
|
+
:type: str
|
|
77
|
+
"""
|
|
78
|
+
allowed_values = ["email", "sms", "phone", "lark", "dingtalk", "wecom", "slack", "api"] # noqa: E501
|
|
79
|
+
if (self._configuration.client_side_validation and
|
|
80
|
+
channel not in allowed_values):
|
|
81
|
+
raise ValueError(
|
|
82
|
+
"Invalid value for `channel` ({0}), must be one of {1}" # noqa: E501
|
|
83
|
+
.format(channel, allowed_values)
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
self._channel = channel
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
def notify_template_id(self):
|
|
90
|
+
"""Gets the notify_template_id of this NotifyTemplateForUpdateEventRuleInput. # noqa: E501
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
:return: The notify_template_id of this NotifyTemplateForUpdateEventRuleInput. # noqa: E501
|
|
94
|
+
:rtype: str
|
|
95
|
+
"""
|
|
96
|
+
return self._notify_template_id
|
|
97
|
+
|
|
98
|
+
@notify_template_id.setter
|
|
99
|
+
def notify_template_id(self, notify_template_id):
|
|
100
|
+
"""Sets the notify_template_id of this NotifyTemplateForUpdateEventRuleInput.
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
:param notify_template_id: The notify_template_id of this NotifyTemplateForUpdateEventRuleInput. # noqa: E501
|
|
104
|
+
:type: str
|
|
105
|
+
"""
|
|
106
|
+
|
|
107
|
+
self._notify_template_id = notify_template_id
|
|
108
|
+
|
|
109
|
+
def to_dict(self):
|
|
110
|
+
"""Returns the model properties as a dict"""
|
|
111
|
+
result = {}
|
|
112
|
+
|
|
113
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
114
|
+
value = getattr(self, attr)
|
|
115
|
+
if isinstance(value, list):
|
|
116
|
+
result[attr] = list(map(
|
|
117
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
118
|
+
value
|
|
119
|
+
))
|
|
120
|
+
elif hasattr(value, "to_dict"):
|
|
121
|
+
result[attr] = value.to_dict()
|
|
122
|
+
elif isinstance(value, dict):
|
|
123
|
+
result[attr] = dict(map(
|
|
124
|
+
lambda item: (item[0], item[1].to_dict())
|
|
125
|
+
if hasattr(item[1], "to_dict") else item,
|
|
126
|
+
value.items()
|
|
127
|
+
))
|
|
128
|
+
else:
|
|
129
|
+
result[attr] = value
|
|
130
|
+
if issubclass(NotifyTemplateForUpdateEventRuleInput, dict):
|
|
131
|
+
for key, value in self.items():
|
|
132
|
+
result[key] = value
|
|
133
|
+
|
|
134
|
+
return result
|
|
135
|
+
|
|
136
|
+
def to_str(self):
|
|
137
|
+
"""Returns the string representation of the model"""
|
|
138
|
+
return pprint.pformat(self.to_dict())
|
|
139
|
+
|
|
140
|
+
def __repr__(self):
|
|
141
|
+
"""For `print` and `pprint`"""
|
|
142
|
+
return self.to_str()
|
|
143
|
+
|
|
144
|
+
def __eq__(self, other):
|
|
145
|
+
"""Returns true if both objects are equal"""
|
|
146
|
+
if not isinstance(other, NotifyTemplateForUpdateEventRuleInput):
|
|
147
|
+
return False
|
|
148
|
+
|
|
149
|
+
return self.to_dict() == other.to_dict()
|
|
150
|
+
|
|
151
|
+
def __ne__(self, other):
|
|
152
|
+
"""Returns true if both objects are not equal"""
|
|
153
|
+
if not isinstance(other, NotifyTemplateForUpdateEventRuleInput):
|
|
154
|
+
return True
|
|
155
|
+
|
|
156
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
cloudmonitor
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class NotifyTemplateForUpdateNotificationInput(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'channel': 'str',
|
|
37
|
+
'notify_template_id': 'str'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'channel': 'Channel',
|
|
42
|
+
'notify_template_id': 'NotifyTemplateId'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, channel=None, notify_template_id=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""NotifyTemplateForUpdateNotificationInput - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._channel = None
|
|
52
|
+
self._notify_template_id = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if channel is not None:
|
|
56
|
+
self.channel = channel
|
|
57
|
+
if notify_template_id is not None:
|
|
58
|
+
self.notify_template_id = notify_template_id
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def channel(self):
|
|
62
|
+
"""Gets the channel of this NotifyTemplateForUpdateNotificationInput. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The channel of this NotifyTemplateForUpdateNotificationInput. # noqa: E501
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._channel
|
|
69
|
+
|
|
70
|
+
@channel.setter
|
|
71
|
+
def channel(self, channel):
|
|
72
|
+
"""Sets the channel of this NotifyTemplateForUpdateNotificationInput.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param channel: The channel of this NotifyTemplateForUpdateNotificationInput. # noqa: E501
|
|
76
|
+
:type: str
|
|
77
|
+
"""
|
|
78
|
+
allowed_values = ["email", "sms", "phone", "lark", "dingtalk", "wecom", "slack", "api"] # noqa: E501
|
|
79
|
+
if (self._configuration.client_side_validation and
|
|
80
|
+
channel not in allowed_values):
|
|
81
|
+
raise ValueError(
|
|
82
|
+
"Invalid value for `channel` ({0}), must be one of {1}" # noqa: E501
|
|
83
|
+
.format(channel, allowed_values)
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
self._channel = channel
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
def notify_template_id(self):
|
|
90
|
+
"""Gets the notify_template_id of this NotifyTemplateForUpdateNotificationInput. # noqa: E501
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
:return: The notify_template_id of this NotifyTemplateForUpdateNotificationInput. # noqa: E501
|
|
94
|
+
:rtype: str
|
|
95
|
+
"""
|
|
96
|
+
return self._notify_template_id
|
|
97
|
+
|
|
98
|
+
@notify_template_id.setter
|
|
99
|
+
def notify_template_id(self, notify_template_id):
|
|
100
|
+
"""Sets the notify_template_id of this NotifyTemplateForUpdateNotificationInput.
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
:param notify_template_id: The notify_template_id of this NotifyTemplateForUpdateNotificationInput. # noqa: E501
|
|
104
|
+
:type: str
|
|
105
|
+
"""
|
|
106
|
+
|
|
107
|
+
self._notify_template_id = notify_template_id
|
|
108
|
+
|
|
109
|
+
def to_dict(self):
|
|
110
|
+
"""Returns the model properties as a dict"""
|
|
111
|
+
result = {}
|
|
112
|
+
|
|
113
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
114
|
+
value = getattr(self, attr)
|
|
115
|
+
if isinstance(value, list):
|
|
116
|
+
result[attr] = list(map(
|
|
117
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
118
|
+
value
|
|
119
|
+
))
|
|
120
|
+
elif hasattr(value, "to_dict"):
|
|
121
|
+
result[attr] = value.to_dict()
|
|
122
|
+
elif isinstance(value, dict):
|
|
123
|
+
result[attr] = dict(map(
|
|
124
|
+
lambda item: (item[0], item[1].to_dict())
|
|
125
|
+
if hasattr(item[1], "to_dict") else item,
|
|
126
|
+
value.items()
|
|
127
|
+
))
|
|
128
|
+
else:
|
|
129
|
+
result[attr] = value
|
|
130
|
+
if issubclass(NotifyTemplateForUpdateNotificationInput, dict):
|
|
131
|
+
for key, value in self.items():
|
|
132
|
+
result[key] = value
|
|
133
|
+
|
|
134
|
+
return result
|
|
135
|
+
|
|
136
|
+
def to_str(self):
|
|
137
|
+
"""Returns the string representation of the model"""
|
|
138
|
+
return pprint.pformat(self.to_dict())
|
|
139
|
+
|
|
140
|
+
def __repr__(self):
|
|
141
|
+
"""For `print` and `pprint`"""
|
|
142
|
+
return self.to_str()
|
|
143
|
+
|
|
144
|
+
def __eq__(self, other):
|
|
145
|
+
"""Returns true if both objects are equal"""
|
|
146
|
+
if not isinstance(other, NotifyTemplateForUpdateNotificationInput):
|
|
147
|
+
return False
|
|
148
|
+
|
|
149
|
+
return self.to_dict() == other.to_dict()
|
|
150
|
+
|
|
151
|
+
def __ne__(self, other):
|
|
152
|
+
"""Returns true if both objects are not equal"""
|
|
153
|
+
if not isinstance(other, NotifyTemplateForUpdateNotificationInput):
|
|
154
|
+
return True
|
|
155
|
+
|
|
156
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
cloudmonitor
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import pprint
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
import six
|
|
18
|
+
|
|
19
|
+
from volcenginesdkcore.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class NotifyTemplateForUpdateRuleInput(object):
|
|
23
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
24
|
+
|
|
25
|
+
Do not edit the class manually.
|
|
26
|
+
"""
|
|
27
|
+
|
|
28
|
+
"""
|
|
29
|
+
Attributes:
|
|
30
|
+
swagger_types (dict): The key is attribute name
|
|
31
|
+
and the value is attribute type.
|
|
32
|
+
attribute_map (dict): The key is attribute name
|
|
33
|
+
and the value is json key in definition.
|
|
34
|
+
"""
|
|
35
|
+
swagger_types = {
|
|
36
|
+
'channel': 'str',
|
|
37
|
+
'notify_template_id': 'str'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'channel': 'Channel',
|
|
42
|
+
'notify_template_id': 'NotifyTemplateId'
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, channel=None, notify_template_id=None, _configuration=None): # noqa: E501
|
|
46
|
+
"""NotifyTemplateForUpdateRuleInput - a model defined in Swagger""" # noqa: E501
|
|
47
|
+
if _configuration is None:
|
|
48
|
+
_configuration = Configuration()
|
|
49
|
+
self._configuration = _configuration
|
|
50
|
+
|
|
51
|
+
self._channel = None
|
|
52
|
+
self._notify_template_id = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if channel is not None:
|
|
56
|
+
self.channel = channel
|
|
57
|
+
if notify_template_id is not None:
|
|
58
|
+
self.notify_template_id = notify_template_id
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def channel(self):
|
|
62
|
+
"""Gets the channel of this NotifyTemplateForUpdateRuleInput. # noqa: E501
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
:return: The channel of this NotifyTemplateForUpdateRuleInput. # noqa: E501
|
|
66
|
+
:rtype: str
|
|
67
|
+
"""
|
|
68
|
+
return self._channel
|
|
69
|
+
|
|
70
|
+
@channel.setter
|
|
71
|
+
def channel(self, channel):
|
|
72
|
+
"""Sets the channel of this NotifyTemplateForUpdateRuleInput.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:param channel: The channel of this NotifyTemplateForUpdateRuleInput. # noqa: E501
|
|
76
|
+
:type: str
|
|
77
|
+
"""
|
|
78
|
+
allowed_values = ["email", "sms", "phone", "lark", "dingtalk", "wecom", "slack", "api"] # noqa: E501
|
|
79
|
+
if (self._configuration.client_side_validation and
|
|
80
|
+
channel not in allowed_values):
|
|
81
|
+
raise ValueError(
|
|
82
|
+
"Invalid value for `channel` ({0}), must be one of {1}" # noqa: E501
|
|
83
|
+
.format(channel, allowed_values)
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
self._channel = channel
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
def notify_template_id(self):
|
|
90
|
+
"""Gets the notify_template_id of this NotifyTemplateForUpdateRuleInput. # noqa: E501
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
:return: The notify_template_id of this NotifyTemplateForUpdateRuleInput. # noqa: E501
|
|
94
|
+
:rtype: str
|
|
95
|
+
"""
|
|
96
|
+
return self._notify_template_id
|
|
97
|
+
|
|
98
|
+
@notify_template_id.setter
|
|
99
|
+
def notify_template_id(self, notify_template_id):
|
|
100
|
+
"""Sets the notify_template_id of this NotifyTemplateForUpdateRuleInput.
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
:param notify_template_id: The notify_template_id of this NotifyTemplateForUpdateRuleInput. # noqa: E501
|
|
104
|
+
:type: str
|
|
105
|
+
"""
|
|
106
|
+
|
|
107
|
+
self._notify_template_id = notify_template_id
|
|
108
|
+
|
|
109
|
+
def to_dict(self):
|
|
110
|
+
"""Returns the model properties as a dict"""
|
|
111
|
+
result = {}
|
|
112
|
+
|
|
113
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
114
|
+
value = getattr(self, attr)
|
|
115
|
+
if isinstance(value, list):
|
|
116
|
+
result[attr] = list(map(
|
|
117
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
118
|
+
value
|
|
119
|
+
))
|
|
120
|
+
elif hasattr(value, "to_dict"):
|
|
121
|
+
result[attr] = value.to_dict()
|
|
122
|
+
elif isinstance(value, dict):
|
|
123
|
+
result[attr] = dict(map(
|
|
124
|
+
lambda item: (item[0], item[1].to_dict())
|
|
125
|
+
if hasattr(item[1], "to_dict") else item,
|
|
126
|
+
value.items()
|
|
127
|
+
))
|
|
128
|
+
else:
|
|
129
|
+
result[attr] = value
|
|
130
|
+
if issubclass(NotifyTemplateForUpdateRuleInput, dict):
|
|
131
|
+
for key, value in self.items():
|
|
132
|
+
result[key] = value
|
|
133
|
+
|
|
134
|
+
return result
|
|
135
|
+
|
|
136
|
+
def to_str(self):
|
|
137
|
+
"""Returns the string representation of the model"""
|
|
138
|
+
return pprint.pformat(self.to_dict())
|
|
139
|
+
|
|
140
|
+
def __repr__(self):
|
|
141
|
+
"""For `print` and `pprint`"""
|
|
142
|
+
return self.to_str()
|
|
143
|
+
|
|
144
|
+
def __eq__(self, other):
|
|
145
|
+
"""Returns true if both objects are equal"""
|
|
146
|
+
if not isinstance(other, NotifyTemplateForUpdateRuleInput):
|
|
147
|
+
return False
|
|
148
|
+
|
|
149
|
+
return self.to_dict() == other.to_dict()
|
|
150
|
+
|
|
151
|
+
def __ne__(self, other):
|
|
152
|
+
"""Returns true if both objects are not equal"""
|
|
153
|
+
if not isinstance(other, NotifyTemplateForUpdateRuleInput):
|
|
154
|
+
return True
|
|
155
|
+
|
|
156
|
+
return self.to_dict() != other.to_dict()
|