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,331 @@
|
|
|
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 DataForListNotifyTemplatesOutput(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
|
+
'content': 'str',
|
|
38
|
+
'created_at': 'str',
|
|
39
|
+
'description': 'str',
|
|
40
|
+
'id': 'str',
|
|
41
|
+
'name': 'str',
|
|
42
|
+
'title': 'str',
|
|
43
|
+
'type': 'str',
|
|
44
|
+
'updated_at': 'str'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
attribute_map = {
|
|
48
|
+
'channel': 'Channel',
|
|
49
|
+
'content': 'Content',
|
|
50
|
+
'created_at': 'CreatedAt',
|
|
51
|
+
'description': 'Description',
|
|
52
|
+
'id': 'Id',
|
|
53
|
+
'name': 'Name',
|
|
54
|
+
'title': 'Title',
|
|
55
|
+
'type': 'Type',
|
|
56
|
+
'updated_at': 'UpdatedAt'
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
def __init__(self, channel=None, content=None, created_at=None, description=None, id=None, name=None, title=None, type=None, updated_at=None, _configuration=None): # noqa: E501
|
|
60
|
+
"""DataForListNotifyTemplatesOutput - a model defined in Swagger""" # noqa: E501
|
|
61
|
+
if _configuration is None:
|
|
62
|
+
_configuration = Configuration()
|
|
63
|
+
self._configuration = _configuration
|
|
64
|
+
|
|
65
|
+
self._channel = None
|
|
66
|
+
self._content = None
|
|
67
|
+
self._created_at = None
|
|
68
|
+
self._description = None
|
|
69
|
+
self._id = None
|
|
70
|
+
self._name = None
|
|
71
|
+
self._title = None
|
|
72
|
+
self._type = None
|
|
73
|
+
self._updated_at = None
|
|
74
|
+
self.discriminator = None
|
|
75
|
+
|
|
76
|
+
if channel is not None:
|
|
77
|
+
self.channel = channel
|
|
78
|
+
if content is not None:
|
|
79
|
+
self.content = content
|
|
80
|
+
if created_at is not None:
|
|
81
|
+
self.created_at = created_at
|
|
82
|
+
if description is not None:
|
|
83
|
+
self.description = description
|
|
84
|
+
if id is not None:
|
|
85
|
+
self.id = id
|
|
86
|
+
if name is not None:
|
|
87
|
+
self.name = name
|
|
88
|
+
if title is not None:
|
|
89
|
+
self.title = title
|
|
90
|
+
if type is not None:
|
|
91
|
+
self.type = type
|
|
92
|
+
if updated_at is not None:
|
|
93
|
+
self.updated_at = updated_at
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
def channel(self):
|
|
97
|
+
"""Gets the channel of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:return: The channel of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
101
|
+
:rtype: str
|
|
102
|
+
"""
|
|
103
|
+
return self._channel
|
|
104
|
+
|
|
105
|
+
@channel.setter
|
|
106
|
+
def channel(self, channel):
|
|
107
|
+
"""Sets the channel of this DataForListNotifyTemplatesOutput.
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
:param channel: The channel of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
111
|
+
:type: str
|
|
112
|
+
"""
|
|
113
|
+
|
|
114
|
+
self._channel = channel
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
def content(self):
|
|
118
|
+
"""Gets the content of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:return: The content of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
122
|
+
:rtype: str
|
|
123
|
+
"""
|
|
124
|
+
return self._content
|
|
125
|
+
|
|
126
|
+
@content.setter
|
|
127
|
+
def content(self, content):
|
|
128
|
+
"""Sets the content of this DataForListNotifyTemplatesOutput.
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
:param content: The content of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
132
|
+
:type: str
|
|
133
|
+
"""
|
|
134
|
+
|
|
135
|
+
self._content = content
|
|
136
|
+
|
|
137
|
+
@property
|
|
138
|
+
def created_at(self):
|
|
139
|
+
"""Gets the created_at of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
:return: The created_at of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
143
|
+
:rtype: str
|
|
144
|
+
"""
|
|
145
|
+
return self._created_at
|
|
146
|
+
|
|
147
|
+
@created_at.setter
|
|
148
|
+
def created_at(self, created_at):
|
|
149
|
+
"""Sets the created_at of this DataForListNotifyTemplatesOutput.
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
:param created_at: The created_at of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
153
|
+
:type: str
|
|
154
|
+
"""
|
|
155
|
+
|
|
156
|
+
self._created_at = created_at
|
|
157
|
+
|
|
158
|
+
@property
|
|
159
|
+
def description(self):
|
|
160
|
+
"""Gets the description of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
:return: The description of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
164
|
+
:rtype: str
|
|
165
|
+
"""
|
|
166
|
+
return self._description
|
|
167
|
+
|
|
168
|
+
@description.setter
|
|
169
|
+
def description(self, description):
|
|
170
|
+
"""Sets the description of this DataForListNotifyTemplatesOutput.
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
:param description: The description of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
174
|
+
:type: str
|
|
175
|
+
"""
|
|
176
|
+
|
|
177
|
+
self._description = description
|
|
178
|
+
|
|
179
|
+
@property
|
|
180
|
+
def id(self):
|
|
181
|
+
"""Gets the id of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
:return: The id of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
185
|
+
:rtype: str
|
|
186
|
+
"""
|
|
187
|
+
return self._id
|
|
188
|
+
|
|
189
|
+
@id.setter
|
|
190
|
+
def id(self, id):
|
|
191
|
+
"""Sets the id of this DataForListNotifyTemplatesOutput.
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
:param id: The id of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
195
|
+
:type: str
|
|
196
|
+
"""
|
|
197
|
+
|
|
198
|
+
self._id = id
|
|
199
|
+
|
|
200
|
+
@property
|
|
201
|
+
def name(self):
|
|
202
|
+
"""Gets the name of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
:return: The name of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
206
|
+
:rtype: str
|
|
207
|
+
"""
|
|
208
|
+
return self._name
|
|
209
|
+
|
|
210
|
+
@name.setter
|
|
211
|
+
def name(self, name):
|
|
212
|
+
"""Sets the name of this DataForListNotifyTemplatesOutput.
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
:param name: The name of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
216
|
+
:type: str
|
|
217
|
+
"""
|
|
218
|
+
|
|
219
|
+
self._name = name
|
|
220
|
+
|
|
221
|
+
@property
|
|
222
|
+
def title(self):
|
|
223
|
+
"""Gets the title of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
:return: The title of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
227
|
+
:rtype: str
|
|
228
|
+
"""
|
|
229
|
+
return self._title
|
|
230
|
+
|
|
231
|
+
@title.setter
|
|
232
|
+
def title(self, title):
|
|
233
|
+
"""Sets the title of this DataForListNotifyTemplatesOutput.
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
:param title: The title of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
237
|
+
:type: str
|
|
238
|
+
"""
|
|
239
|
+
|
|
240
|
+
self._title = title
|
|
241
|
+
|
|
242
|
+
@property
|
|
243
|
+
def type(self):
|
|
244
|
+
"""Gets the type of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
:return: The type of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
248
|
+
:rtype: str
|
|
249
|
+
"""
|
|
250
|
+
return self._type
|
|
251
|
+
|
|
252
|
+
@type.setter
|
|
253
|
+
def type(self, type):
|
|
254
|
+
"""Sets the type of this DataForListNotifyTemplatesOutput.
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
:param type: The type of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
258
|
+
:type: str
|
|
259
|
+
"""
|
|
260
|
+
|
|
261
|
+
self._type = type
|
|
262
|
+
|
|
263
|
+
@property
|
|
264
|
+
def updated_at(self):
|
|
265
|
+
"""Gets the updated_at of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
:return: The updated_at of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
269
|
+
:rtype: str
|
|
270
|
+
"""
|
|
271
|
+
return self._updated_at
|
|
272
|
+
|
|
273
|
+
@updated_at.setter
|
|
274
|
+
def updated_at(self, updated_at):
|
|
275
|
+
"""Sets the updated_at of this DataForListNotifyTemplatesOutput.
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
:param updated_at: The updated_at of this DataForListNotifyTemplatesOutput. # noqa: E501
|
|
279
|
+
:type: str
|
|
280
|
+
"""
|
|
281
|
+
|
|
282
|
+
self._updated_at = updated_at
|
|
283
|
+
|
|
284
|
+
def to_dict(self):
|
|
285
|
+
"""Returns the model properties as a dict"""
|
|
286
|
+
result = {}
|
|
287
|
+
|
|
288
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
289
|
+
value = getattr(self, attr)
|
|
290
|
+
if isinstance(value, list):
|
|
291
|
+
result[attr] = list(map(
|
|
292
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
293
|
+
value
|
|
294
|
+
))
|
|
295
|
+
elif hasattr(value, "to_dict"):
|
|
296
|
+
result[attr] = value.to_dict()
|
|
297
|
+
elif isinstance(value, dict):
|
|
298
|
+
result[attr] = dict(map(
|
|
299
|
+
lambda item: (item[0], item[1].to_dict())
|
|
300
|
+
if hasattr(item[1], "to_dict") else item,
|
|
301
|
+
value.items()
|
|
302
|
+
))
|
|
303
|
+
else:
|
|
304
|
+
result[attr] = value
|
|
305
|
+
if issubclass(DataForListNotifyTemplatesOutput, dict):
|
|
306
|
+
for key, value in self.items():
|
|
307
|
+
result[key] = value
|
|
308
|
+
|
|
309
|
+
return result
|
|
310
|
+
|
|
311
|
+
def to_str(self):
|
|
312
|
+
"""Returns the string representation of the model"""
|
|
313
|
+
return pprint.pformat(self.to_dict())
|
|
314
|
+
|
|
315
|
+
def __repr__(self):
|
|
316
|
+
"""For `print` and `pprint`"""
|
|
317
|
+
return self.to_str()
|
|
318
|
+
|
|
319
|
+
def __eq__(self, other):
|
|
320
|
+
"""Returns true if both objects are equal"""
|
|
321
|
+
if not isinstance(other, DataForListNotifyTemplatesOutput):
|
|
322
|
+
return False
|
|
323
|
+
|
|
324
|
+
return self.to_dict() == other.to_dict()
|
|
325
|
+
|
|
326
|
+
def __ne__(self, other):
|
|
327
|
+
"""Returns true if both objects are not equal"""
|
|
328
|
+
if not isinstance(other, DataForListNotifyTemplatesOutput):
|
|
329
|
+
return True
|
|
330
|
+
|
|
331
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,305 @@
|
|
|
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 DataForListObjectGroupsOutput(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
|
+
'alert_template_id': 'str',
|
|
37
|
+
'alert_template_name': 'str',
|
|
38
|
+
'created_at': 'str',
|
|
39
|
+
'id': 'str',
|
|
40
|
+
'name': 'str',
|
|
41
|
+
'objects': 'list[ObjectForListObjectGroupsOutput]',
|
|
42
|
+
'template_details': 'list[TemplateDetailForListObjectGroupsOutput]',
|
|
43
|
+
'updated_at': 'str'
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
attribute_map = {
|
|
47
|
+
'alert_template_id': 'AlertTemplateId',
|
|
48
|
+
'alert_template_name': 'AlertTemplateName',
|
|
49
|
+
'created_at': 'CreatedAt',
|
|
50
|
+
'id': 'Id',
|
|
51
|
+
'name': 'Name',
|
|
52
|
+
'objects': 'Objects',
|
|
53
|
+
'template_details': 'TemplateDetails',
|
|
54
|
+
'updated_at': 'UpdatedAt'
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
def __init__(self, alert_template_id=None, alert_template_name=None, created_at=None, id=None, name=None, objects=None, template_details=None, updated_at=None, _configuration=None): # noqa: E501
|
|
58
|
+
"""DataForListObjectGroupsOutput - a model defined in Swagger""" # noqa: E501
|
|
59
|
+
if _configuration is None:
|
|
60
|
+
_configuration = Configuration()
|
|
61
|
+
self._configuration = _configuration
|
|
62
|
+
|
|
63
|
+
self._alert_template_id = None
|
|
64
|
+
self._alert_template_name = None
|
|
65
|
+
self._created_at = None
|
|
66
|
+
self._id = None
|
|
67
|
+
self._name = None
|
|
68
|
+
self._objects = None
|
|
69
|
+
self._template_details = None
|
|
70
|
+
self._updated_at = None
|
|
71
|
+
self.discriminator = None
|
|
72
|
+
|
|
73
|
+
if alert_template_id is not None:
|
|
74
|
+
self.alert_template_id = alert_template_id
|
|
75
|
+
if alert_template_name is not None:
|
|
76
|
+
self.alert_template_name = alert_template_name
|
|
77
|
+
if created_at is not None:
|
|
78
|
+
self.created_at = created_at
|
|
79
|
+
if id is not None:
|
|
80
|
+
self.id = id
|
|
81
|
+
if name is not None:
|
|
82
|
+
self.name = name
|
|
83
|
+
if objects is not None:
|
|
84
|
+
self.objects = objects
|
|
85
|
+
if template_details is not None:
|
|
86
|
+
self.template_details = template_details
|
|
87
|
+
if updated_at is not None:
|
|
88
|
+
self.updated_at = updated_at
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
def alert_template_id(self):
|
|
92
|
+
"""Gets the alert_template_id of this DataForListObjectGroupsOutput. # noqa: E501
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
:return: The alert_template_id of this DataForListObjectGroupsOutput. # noqa: E501
|
|
96
|
+
:rtype: str
|
|
97
|
+
"""
|
|
98
|
+
return self._alert_template_id
|
|
99
|
+
|
|
100
|
+
@alert_template_id.setter
|
|
101
|
+
def alert_template_id(self, alert_template_id):
|
|
102
|
+
"""Sets the alert_template_id of this DataForListObjectGroupsOutput.
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
:param alert_template_id: The alert_template_id of this DataForListObjectGroupsOutput. # noqa: E501
|
|
106
|
+
:type: str
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
self._alert_template_id = alert_template_id
|
|
110
|
+
|
|
111
|
+
@property
|
|
112
|
+
def alert_template_name(self):
|
|
113
|
+
"""Gets the alert_template_name of this DataForListObjectGroupsOutput. # noqa: E501
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:return: The alert_template_name of this DataForListObjectGroupsOutput. # noqa: E501
|
|
117
|
+
:rtype: str
|
|
118
|
+
"""
|
|
119
|
+
return self._alert_template_name
|
|
120
|
+
|
|
121
|
+
@alert_template_name.setter
|
|
122
|
+
def alert_template_name(self, alert_template_name):
|
|
123
|
+
"""Sets the alert_template_name of this DataForListObjectGroupsOutput.
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
:param alert_template_name: The alert_template_name of this DataForListObjectGroupsOutput. # noqa: E501
|
|
127
|
+
:type: str
|
|
128
|
+
"""
|
|
129
|
+
|
|
130
|
+
self._alert_template_name = alert_template_name
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
def created_at(self):
|
|
134
|
+
"""Gets the created_at of this DataForListObjectGroupsOutput. # noqa: E501
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
:return: The created_at of this DataForListObjectGroupsOutput. # noqa: E501
|
|
138
|
+
:rtype: str
|
|
139
|
+
"""
|
|
140
|
+
return self._created_at
|
|
141
|
+
|
|
142
|
+
@created_at.setter
|
|
143
|
+
def created_at(self, created_at):
|
|
144
|
+
"""Sets the created_at of this DataForListObjectGroupsOutput.
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
:param created_at: The created_at of this DataForListObjectGroupsOutput. # noqa: E501
|
|
148
|
+
:type: str
|
|
149
|
+
"""
|
|
150
|
+
|
|
151
|
+
self._created_at = created_at
|
|
152
|
+
|
|
153
|
+
@property
|
|
154
|
+
def id(self):
|
|
155
|
+
"""Gets the id of this DataForListObjectGroupsOutput. # noqa: E501
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
:return: The id of this DataForListObjectGroupsOutput. # noqa: E501
|
|
159
|
+
:rtype: str
|
|
160
|
+
"""
|
|
161
|
+
return self._id
|
|
162
|
+
|
|
163
|
+
@id.setter
|
|
164
|
+
def id(self, id):
|
|
165
|
+
"""Sets the id of this DataForListObjectGroupsOutput.
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
:param id: The id of this DataForListObjectGroupsOutput. # noqa: E501
|
|
169
|
+
:type: str
|
|
170
|
+
"""
|
|
171
|
+
|
|
172
|
+
self._id = id
|
|
173
|
+
|
|
174
|
+
@property
|
|
175
|
+
def name(self):
|
|
176
|
+
"""Gets the name of this DataForListObjectGroupsOutput. # noqa: E501
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
:return: The name of this DataForListObjectGroupsOutput. # noqa: E501
|
|
180
|
+
:rtype: str
|
|
181
|
+
"""
|
|
182
|
+
return self._name
|
|
183
|
+
|
|
184
|
+
@name.setter
|
|
185
|
+
def name(self, name):
|
|
186
|
+
"""Sets the name of this DataForListObjectGroupsOutput.
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
:param name: The name of this DataForListObjectGroupsOutput. # noqa: E501
|
|
190
|
+
:type: str
|
|
191
|
+
"""
|
|
192
|
+
|
|
193
|
+
self._name = name
|
|
194
|
+
|
|
195
|
+
@property
|
|
196
|
+
def objects(self):
|
|
197
|
+
"""Gets the objects of this DataForListObjectGroupsOutput. # noqa: E501
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
:return: The objects of this DataForListObjectGroupsOutput. # noqa: E501
|
|
201
|
+
:rtype: list[ObjectForListObjectGroupsOutput]
|
|
202
|
+
"""
|
|
203
|
+
return self._objects
|
|
204
|
+
|
|
205
|
+
@objects.setter
|
|
206
|
+
def objects(self, objects):
|
|
207
|
+
"""Sets the objects of this DataForListObjectGroupsOutput.
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
:param objects: The objects of this DataForListObjectGroupsOutput. # noqa: E501
|
|
211
|
+
:type: list[ObjectForListObjectGroupsOutput]
|
|
212
|
+
"""
|
|
213
|
+
|
|
214
|
+
self._objects = objects
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
def template_details(self):
|
|
218
|
+
"""Gets the template_details of this DataForListObjectGroupsOutput. # noqa: E501
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
:return: The template_details of this DataForListObjectGroupsOutput. # noqa: E501
|
|
222
|
+
:rtype: list[TemplateDetailForListObjectGroupsOutput]
|
|
223
|
+
"""
|
|
224
|
+
return self._template_details
|
|
225
|
+
|
|
226
|
+
@template_details.setter
|
|
227
|
+
def template_details(self, template_details):
|
|
228
|
+
"""Sets the template_details of this DataForListObjectGroupsOutput.
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
:param template_details: The template_details of this DataForListObjectGroupsOutput. # noqa: E501
|
|
232
|
+
:type: list[TemplateDetailForListObjectGroupsOutput]
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
self._template_details = template_details
|
|
236
|
+
|
|
237
|
+
@property
|
|
238
|
+
def updated_at(self):
|
|
239
|
+
"""Gets the updated_at of this DataForListObjectGroupsOutput. # noqa: E501
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
:return: The updated_at of this DataForListObjectGroupsOutput. # noqa: E501
|
|
243
|
+
:rtype: str
|
|
244
|
+
"""
|
|
245
|
+
return self._updated_at
|
|
246
|
+
|
|
247
|
+
@updated_at.setter
|
|
248
|
+
def updated_at(self, updated_at):
|
|
249
|
+
"""Sets the updated_at of this DataForListObjectGroupsOutput.
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
:param updated_at: The updated_at of this DataForListObjectGroupsOutput. # noqa: E501
|
|
253
|
+
:type: str
|
|
254
|
+
"""
|
|
255
|
+
|
|
256
|
+
self._updated_at = updated_at
|
|
257
|
+
|
|
258
|
+
def to_dict(self):
|
|
259
|
+
"""Returns the model properties as a dict"""
|
|
260
|
+
result = {}
|
|
261
|
+
|
|
262
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
263
|
+
value = getattr(self, attr)
|
|
264
|
+
if isinstance(value, list):
|
|
265
|
+
result[attr] = list(map(
|
|
266
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
267
|
+
value
|
|
268
|
+
))
|
|
269
|
+
elif hasattr(value, "to_dict"):
|
|
270
|
+
result[attr] = value.to_dict()
|
|
271
|
+
elif isinstance(value, dict):
|
|
272
|
+
result[attr] = dict(map(
|
|
273
|
+
lambda item: (item[0], item[1].to_dict())
|
|
274
|
+
if hasattr(item[1], "to_dict") else item,
|
|
275
|
+
value.items()
|
|
276
|
+
))
|
|
277
|
+
else:
|
|
278
|
+
result[attr] = value
|
|
279
|
+
if issubclass(DataForListObjectGroupsOutput, dict):
|
|
280
|
+
for key, value in self.items():
|
|
281
|
+
result[key] = value
|
|
282
|
+
|
|
283
|
+
return result
|
|
284
|
+
|
|
285
|
+
def to_str(self):
|
|
286
|
+
"""Returns the string representation of the model"""
|
|
287
|
+
return pprint.pformat(self.to_dict())
|
|
288
|
+
|
|
289
|
+
def __repr__(self):
|
|
290
|
+
"""For `print` and `pprint`"""
|
|
291
|
+
return self.to_str()
|
|
292
|
+
|
|
293
|
+
def __eq__(self, other):
|
|
294
|
+
"""Returns true if both objects are equal"""
|
|
295
|
+
if not isinstance(other, DataForListObjectGroupsOutput):
|
|
296
|
+
return False
|
|
297
|
+
|
|
298
|
+
return self.to_dict() == other.to_dict()
|
|
299
|
+
|
|
300
|
+
def __ne__(self, other):
|
|
301
|
+
"""Returns true if both objects are not equal"""
|
|
302
|
+
if not isinstance(other, DataForListObjectGroupsOutput):
|
|
303
|
+
return True
|
|
304
|
+
|
|
305
|
+
return self.to_dict() != other.to_dict()
|