volcengine-python-sdk 4.0.21__py2.py3-none-any.whl → 4.0.22__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.22.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.21.dist-info → volcengine_python_sdk-4.0.22.dist-info}/RECORD +482 -110
- {volcengine_python_sdk-4.0.21.dist-info → volcengine_python_sdk-4.0.22.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
- 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.22.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.21.dist-info → volcengine_python_sdk-4.0.22.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.21.dist-info → volcengine_python_sdk-4.0.22.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -0,0 +1,253 @@
|
|
|
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 ListEventsResponse(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
|
+
'asc': 'bool',
|
|
37
|
+
'data': 'list[DataForListEventsOutput]',
|
|
38
|
+
'order_by': 'str',
|
|
39
|
+
'page_number': 'int',
|
|
40
|
+
'page_size': 'int',
|
|
41
|
+
'total_count': 'int'
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
attribute_map = {
|
|
45
|
+
'asc': 'Asc',
|
|
46
|
+
'data': 'Data',
|
|
47
|
+
'order_by': 'OrderBy',
|
|
48
|
+
'page_number': 'PageNumber',
|
|
49
|
+
'page_size': 'PageSize',
|
|
50
|
+
'total_count': 'TotalCount'
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
def __init__(self, asc=None, data=None, order_by=None, page_number=None, page_size=None, total_count=None, _configuration=None): # noqa: E501
|
|
54
|
+
"""ListEventsResponse - a model defined in Swagger""" # noqa: E501
|
|
55
|
+
if _configuration is None:
|
|
56
|
+
_configuration = Configuration()
|
|
57
|
+
self._configuration = _configuration
|
|
58
|
+
|
|
59
|
+
self._asc = None
|
|
60
|
+
self._data = None
|
|
61
|
+
self._order_by = None
|
|
62
|
+
self._page_number = None
|
|
63
|
+
self._page_size = None
|
|
64
|
+
self._total_count = None
|
|
65
|
+
self.discriminator = None
|
|
66
|
+
|
|
67
|
+
if asc is not None:
|
|
68
|
+
self.asc = asc
|
|
69
|
+
if data is not None:
|
|
70
|
+
self.data = data
|
|
71
|
+
if order_by is not None:
|
|
72
|
+
self.order_by = order_by
|
|
73
|
+
if page_number is not None:
|
|
74
|
+
self.page_number = page_number
|
|
75
|
+
if page_size is not None:
|
|
76
|
+
self.page_size = page_size
|
|
77
|
+
if total_count is not None:
|
|
78
|
+
self.total_count = total_count
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
def asc(self):
|
|
82
|
+
"""Gets the asc of this ListEventsResponse. # noqa: E501
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:return: The asc of this ListEventsResponse. # noqa: E501
|
|
86
|
+
:rtype: bool
|
|
87
|
+
"""
|
|
88
|
+
return self._asc
|
|
89
|
+
|
|
90
|
+
@asc.setter
|
|
91
|
+
def asc(self, asc):
|
|
92
|
+
"""Sets the asc of this ListEventsResponse.
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
:param asc: The asc of this ListEventsResponse. # noqa: E501
|
|
96
|
+
:type: bool
|
|
97
|
+
"""
|
|
98
|
+
|
|
99
|
+
self._asc = asc
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def data(self):
|
|
103
|
+
"""Gets the data of this ListEventsResponse. # noqa: E501
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:return: The data of this ListEventsResponse. # noqa: E501
|
|
107
|
+
:rtype: list[DataForListEventsOutput]
|
|
108
|
+
"""
|
|
109
|
+
return self._data
|
|
110
|
+
|
|
111
|
+
@data.setter
|
|
112
|
+
def data(self, data):
|
|
113
|
+
"""Sets the data of this ListEventsResponse.
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:param data: The data of this ListEventsResponse. # noqa: E501
|
|
117
|
+
:type: list[DataForListEventsOutput]
|
|
118
|
+
"""
|
|
119
|
+
|
|
120
|
+
self._data = data
|
|
121
|
+
|
|
122
|
+
@property
|
|
123
|
+
def order_by(self):
|
|
124
|
+
"""Gets the order_by of this ListEventsResponse. # noqa: E501
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:return: The order_by of this ListEventsResponse. # noqa: E501
|
|
128
|
+
:rtype: str
|
|
129
|
+
"""
|
|
130
|
+
return self._order_by
|
|
131
|
+
|
|
132
|
+
@order_by.setter
|
|
133
|
+
def order_by(self, order_by):
|
|
134
|
+
"""Sets the order_by of this ListEventsResponse.
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
:param order_by: The order_by of this ListEventsResponse. # noqa: E501
|
|
138
|
+
:type: str
|
|
139
|
+
"""
|
|
140
|
+
|
|
141
|
+
self._order_by = order_by
|
|
142
|
+
|
|
143
|
+
@property
|
|
144
|
+
def page_number(self):
|
|
145
|
+
"""Gets the page_number of this ListEventsResponse. # noqa: E501
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:return: The page_number of this ListEventsResponse. # noqa: E501
|
|
149
|
+
:rtype: int
|
|
150
|
+
"""
|
|
151
|
+
return self._page_number
|
|
152
|
+
|
|
153
|
+
@page_number.setter
|
|
154
|
+
def page_number(self, page_number):
|
|
155
|
+
"""Sets the page_number of this ListEventsResponse.
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
:param page_number: The page_number of this ListEventsResponse. # noqa: E501
|
|
159
|
+
:type: int
|
|
160
|
+
"""
|
|
161
|
+
|
|
162
|
+
self._page_number = page_number
|
|
163
|
+
|
|
164
|
+
@property
|
|
165
|
+
def page_size(self):
|
|
166
|
+
"""Gets the page_size of this ListEventsResponse. # noqa: E501
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
:return: The page_size of this ListEventsResponse. # noqa: E501
|
|
170
|
+
:rtype: int
|
|
171
|
+
"""
|
|
172
|
+
return self._page_size
|
|
173
|
+
|
|
174
|
+
@page_size.setter
|
|
175
|
+
def page_size(self, page_size):
|
|
176
|
+
"""Sets the page_size of this ListEventsResponse.
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
:param page_size: The page_size of this ListEventsResponse. # noqa: E501
|
|
180
|
+
:type: int
|
|
181
|
+
"""
|
|
182
|
+
|
|
183
|
+
self._page_size = page_size
|
|
184
|
+
|
|
185
|
+
@property
|
|
186
|
+
def total_count(self):
|
|
187
|
+
"""Gets the total_count of this ListEventsResponse. # noqa: E501
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
:return: The total_count of this ListEventsResponse. # noqa: E501
|
|
191
|
+
:rtype: int
|
|
192
|
+
"""
|
|
193
|
+
return self._total_count
|
|
194
|
+
|
|
195
|
+
@total_count.setter
|
|
196
|
+
def total_count(self, total_count):
|
|
197
|
+
"""Sets the total_count of this ListEventsResponse.
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
:param total_count: The total_count of this ListEventsResponse. # noqa: E501
|
|
201
|
+
:type: int
|
|
202
|
+
"""
|
|
203
|
+
|
|
204
|
+
self._total_count = total_count
|
|
205
|
+
|
|
206
|
+
def to_dict(self):
|
|
207
|
+
"""Returns the model properties as a dict"""
|
|
208
|
+
result = {}
|
|
209
|
+
|
|
210
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
211
|
+
value = getattr(self, attr)
|
|
212
|
+
if isinstance(value, list):
|
|
213
|
+
result[attr] = list(map(
|
|
214
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
215
|
+
value
|
|
216
|
+
))
|
|
217
|
+
elif hasattr(value, "to_dict"):
|
|
218
|
+
result[attr] = value.to_dict()
|
|
219
|
+
elif isinstance(value, dict):
|
|
220
|
+
result[attr] = dict(map(
|
|
221
|
+
lambda item: (item[0], item[1].to_dict())
|
|
222
|
+
if hasattr(item[1], "to_dict") else item,
|
|
223
|
+
value.items()
|
|
224
|
+
))
|
|
225
|
+
else:
|
|
226
|
+
result[attr] = value
|
|
227
|
+
if issubclass(ListEventsResponse, dict):
|
|
228
|
+
for key, value in self.items():
|
|
229
|
+
result[key] = value
|
|
230
|
+
|
|
231
|
+
return result
|
|
232
|
+
|
|
233
|
+
def to_str(self):
|
|
234
|
+
"""Returns the string representation of the model"""
|
|
235
|
+
return pprint.pformat(self.to_dict())
|
|
236
|
+
|
|
237
|
+
def __repr__(self):
|
|
238
|
+
"""For `print` and `pprint`"""
|
|
239
|
+
return self.to_str()
|
|
240
|
+
|
|
241
|
+
def __eq__(self, other):
|
|
242
|
+
"""Returns true if both objects are equal"""
|
|
243
|
+
if not isinstance(other, ListEventsResponse):
|
|
244
|
+
return False
|
|
245
|
+
|
|
246
|
+
return self.to_dict() == other.to_dict()
|
|
247
|
+
|
|
248
|
+
def __ne__(self, other):
|
|
249
|
+
"""Returns true if both objects are not equal"""
|
|
250
|
+
if not isinstance(other, ListEventsResponse):
|
|
251
|
+
return True
|
|
252
|
+
|
|
253
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,261 @@
|
|
|
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 ListNotificationsRequest(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
|
+
'ids': 'list[str]',
|
|
37
|
+
'levels': 'list[str]',
|
|
38
|
+
'name': 'str',
|
|
39
|
+
'page_number': 'int',
|
|
40
|
+
'page_size': 'int',
|
|
41
|
+
'rule_ids': 'list[str]'
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
attribute_map = {
|
|
45
|
+
'ids': 'Ids',
|
|
46
|
+
'levels': 'Levels',
|
|
47
|
+
'name': 'Name',
|
|
48
|
+
'page_number': 'PageNumber',
|
|
49
|
+
'page_size': 'PageSize',
|
|
50
|
+
'rule_ids': 'RuleIds'
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
def __init__(self, ids=None, levels=None, name=None, page_number=None, page_size=None, rule_ids=None, _configuration=None): # noqa: E501
|
|
54
|
+
"""ListNotificationsRequest - a model defined in Swagger""" # noqa: E501
|
|
55
|
+
if _configuration is None:
|
|
56
|
+
_configuration = Configuration()
|
|
57
|
+
self._configuration = _configuration
|
|
58
|
+
|
|
59
|
+
self._ids = None
|
|
60
|
+
self._levels = None
|
|
61
|
+
self._name = None
|
|
62
|
+
self._page_number = None
|
|
63
|
+
self._page_size = None
|
|
64
|
+
self._rule_ids = None
|
|
65
|
+
self.discriminator = None
|
|
66
|
+
|
|
67
|
+
if ids is not None:
|
|
68
|
+
self.ids = ids
|
|
69
|
+
if levels is not None:
|
|
70
|
+
self.levels = levels
|
|
71
|
+
if name is not None:
|
|
72
|
+
self.name = name
|
|
73
|
+
if page_number is not None:
|
|
74
|
+
self.page_number = page_number
|
|
75
|
+
if page_size is not None:
|
|
76
|
+
self.page_size = page_size
|
|
77
|
+
if rule_ids is not None:
|
|
78
|
+
self.rule_ids = rule_ids
|
|
79
|
+
|
|
80
|
+
@property
|
|
81
|
+
def ids(self):
|
|
82
|
+
"""Gets the ids of this ListNotificationsRequest. # noqa: E501
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:return: The ids of this ListNotificationsRequest. # noqa: E501
|
|
86
|
+
:rtype: list[str]
|
|
87
|
+
"""
|
|
88
|
+
return self._ids
|
|
89
|
+
|
|
90
|
+
@ids.setter
|
|
91
|
+
def ids(self, ids):
|
|
92
|
+
"""Sets the ids of this ListNotificationsRequest.
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
:param ids: The ids of this ListNotificationsRequest. # noqa: E501
|
|
96
|
+
:type: list[str]
|
|
97
|
+
"""
|
|
98
|
+
|
|
99
|
+
self._ids = ids
|
|
100
|
+
|
|
101
|
+
@property
|
|
102
|
+
def levels(self):
|
|
103
|
+
"""Gets the levels of this ListNotificationsRequest. # noqa: E501
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:return: The levels of this ListNotificationsRequest. # noqa: E501
|
|
107
|
+
:rtype: list[str]
|
|
108
|
+
"""
|
|
109
|
+
return self._levels
|
|
110
|
+
|
|
111
|
+
@levels.setter
|
|
112
|
+
def levels(self, levels):
|
|
113
|
+
"""Sets the levels of this ListNotificationsRequest.
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:param levels: The levels of this ListNotificationsRequest. # noqa: E501
|
|
117
|
+
:type: list[str]
|
|
118
|
+
"""
|
|
119
|
+
allowed_values = ["notice", "warning", "critical", "recovery"] # noqa: E501
|
|
120
|
+
if (self._configuration.client_side_validation and
|
|
121
|
+
not set(levels).issubset(set(allowed_values))): # noqa: E501
|
|
122
|
+
raise ValueError(
|
|
123
|
+
"Invalid values for `levels` [{0}], must be a subset of [{1}]" # noqa: E501
|
|
124
|
+
.format(", ".join(map(str, set(levels) - set(allowed_values))), # noqa: E501
|
|
125
|
+
", ".join(map(str, allowed_values)))
|
|
126
|
+
)
|
|
127
|
+
|
|
128
|
+
self._levels = levels
|
|
129
|
+
|
|
130
|
+
@property
|
|
131
|
+
def name(self):
|
|
132
|
+
"""Gets the name of this ListNotificationsRequest. # noqa: E501
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
:return: The name of this ListNotificationsRequest. # noqa: E501
|
|
136
|
+
:rtype: str
|
|
137
|
+
"""
|
|
138
|
+
return self._name
|
|
139
|
+
|
|
140
|
+
@name.setter
|
|
141
|
+
def name(self, name):
|
|
142
|
+
"""Sets the name of this ListNotificationsRequest.
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
:param name: The name of this ListNotificationsRequest. # noqa: E501
|
|
146
|
+
:type: str
|
|
147
|
+
"""
|
|
148
|
+
|
|
149
|
+
self._name = name
|
|
150
|
+
|
|
151
|
+
@property
|
|
152
|
+
def page_number(self):
|
|
153
|
+
"""Gets the page_number of this ListNotificationsRequest. # noqa: E501
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
:return: The page_number of this ListNotificationsRequest. # noqa: E501
|
|
157
|
+
:rtype: int
|
|
158
|
+
"""
|
|
159
|
+
return self._page_number
|
|
160
|
+
|
|
161
|
+
@page_number.setter
|
|
162
|
+
def page_number(self, page_number):
|
|
163
|
+
"""Sets the page_number of this ListNotificationsRequest.
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
:param page_number: The page_number of this ListNotificationsRequest. # noqa: E501
|
|
167
|
+
:type: int
|
|
168
|
+
"""
|
|
169
|
+
|
|
170
|
+
self._page_number = page_number
|
|
171
|
+
|
|
172
|
+
@property
|
|
173
|
+
def page_size(self):
|
|
174
|
+
"""Gets the page_size of this ListNotificationsRequest. # noqa: E501
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
:return: The page_size of this ListNotificationsRequest. # noqa: E501
|
|
178
|
+
:rtype: int
|
|
179
|
+
"""
|
|
180
|
+
return self._page_size
|
|
181
|
+
|
|
182
|
+
@page_size.setter
|
|
183
|
+
def page_size(self, page_size):
|
|
184
|
+
"""Sets the page_size of this ListNotificationsRequest.
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
:param page_size: The page_size of this ListNotificationsRequest. # noqa: E501
|
|
188
|
+
:type: int
|
|
189
|
+
"""
|
|
190
|
+
|
|
191
|
+
self._page_size = page_size
|
|
192
|
+
|
|
193
|
+
@property
|
|
194
|
+
def rule_ids(self):
|
|
195
|
+
"""Gets the rule_ids of this ListNotificationsRequest. # noqa: E501
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
:return: The rule_ids of this ListNotificationsRequest. # noqa: E501
|
|
199
|
+
:rtype: list[str]
|
|
200
|
+
"""
|
|
201
|
+
return self._rule_ids
|
|
202
|
+
|
|
203
|
+
@rule_ids.setter
|
|
204
|
+
def rule_ids(self, rule_ids):
|
|
205
|
+
"""Sets the rule_ids of this ListNotificationsRequest.
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
:param rule_ids: The rule_ids of this ListNotificationsRequest. # noqa: E501
|
|
209
|
+
:type: list[str]
|
|
210
|
+
"""
|
|
211
|
+
|
|
212
|
+
self._rule_ids = rule_ids
|
|
213
|
+
|
|
214
|
+
def to_dict(self):
|
|
215
|
+
"""Returns the model properties as a dict"""
|
|
216
|
+
result = {}
|
|
217
|
+
|
|
218
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
219
|
+
value = getattr(self, attr)
|
|
220
|
+
if isinstance(value, list):
|
|
221
|
+
result[attr] = list(map(
|
|
222
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
223
|
+
value
|
|
224
|
+
))
|
|
225
|
+
elif hasattr(value, "to_dict"):
|
|
226
|
+
result[attr] = value.to_dict()
|
|
227
|
+
elif isinstance(value, dict):
|
|
228
|
+
result[attr] = dict(map(
|
|
229
|
+
lambda item: (item[0], item[1].to_dict())
|
|
230
|
+
if hasattr(item[1], "to_dict") else item,
|
|
231
|
+
value.items()
|
|
232
|
+
))
|
|
233
|
+
else:
|
|
234
|
+
result[attr] = value
|
|
235
|
+
if issubclass(ListNotificationsRequest, dict):
|
|
236
|
+
for key, value in self.items():
|
|
237
|
+
result[key] = value
|
|
238
|
+
|
|
239
|
+
return result
|
|
240
|
+
|
|
241
|
+
def to_str(self):
|
|
242
|
+
"""Returns the string representation of the model"""
|
|
243
|
+
return pprint.pformat(self.to_dict())
|
|
244
|
+
|
|
245
|
+
def __repr__(self):
|
|
246
|
+
"""For `print` and `pprint`"""
|
|
247
|
+
return self.to_str()
|
|
248
|
+
|
|
249
|
+
def __eq__(self, other):
|
|
250
|
+
"""Returns true if both objects are equal"""
|
|
251
|
+
if not isinstance(other, ListNotificationsRequest):
|
|
252
|
+
return False
|
|
253
|
+
|
|
254
|
+
return self.to_dict() == other.to_dict()
|
|
255
|
+
|
|
256
|
+
def __ne__(self, other):
|
|
257
|
+
"""Returns true if both objects are not equal"""
|
|
258
|
+
if not isinstance(other, ListNotificationsRequest):
|
|
259
|
+
return True
|
|
260
|
+
|
|
261
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,201 @@
|
|
|
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 ListNotificationsResponse(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
|
+
'data': 'list[DataForListNotificationsOutput]',
|
|
37
|
+
'page_number': 'int',
|
|
38
|
+
'page_size': 'int',
|
|
39
|
+
'total_count': 'int'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'data': 'Data',
|
|
44
|
+
'page_number': 'PageNumber',
|
|
45
|
+
'page_size': 'PageSize',
|
|
46
|
+
'total_count': 'TotalCount'
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self, data=None, page_number=None, page_size=None, total_count=None, _configuration=None): # noqa: E501
|
|
50
|
+
"""ListNotificationsResponse - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
if _configuration is None:
|
|
52
|
+
_configuration = Configuration()
|
|
53
|
+
self._configuration = _configuration
|
|
54
|
+
|
|
55
|
+
self._data = None
|
|
56
|
+
self._page_number = None
|
|
57
|
+
self._page_size = None
|
|
58
|
+
self._total_count = None
|
|
59
|
+
self.discriminator = None
|
|
60
|
+
|
|
61
|
+
if data is not None:
|
|
62
|
+
self.data = data
|
|
63
|
+
if page_number is not None:
|
|
64
|
+
self.page_number = page_number
|
|
65
|
+
if page_size is not None:
|
|
66
|
+
self.page_size = page_size
|
|
67
|
+
if total_count is not None:
|
|
68
|
+
self.total_count = total_count
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def data(self):
|
|
72
|
+
"""Gets the data of this ListNotificationsResponse. # noqa: E501
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
:return: The data of this ListNotificationsResponse. # noqa: E501
|
|
76
|
+
:rtype: list[DataForListNotificationsOutput]
|
|
77
|
+
"""
|
|
78
|
+
return self._data
|
|
79
|
+
|
|
80
|
+
@data.setter
|
|
81
|
+
def data(self, data):
|
|
82
|
+
"""Sets the data of this ListNotificationsResponse.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
:param data: The data of this ListNotificationsResponse. # noqa: E501
|
|
86
|
+
:type: list[DataForListNotificationsOutput]
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
self._data = data
|
|
90
|
+
|
|
91
|
+
@property
|
|
92
|
+
def page_number(self):
|
|
93
|
+
"""Gets the page_number of this ListNotificationsResponse. # noqa: E501
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
:return: The page_number of this ListNotificationsResponse. # noqa: E501
|
|
97
|
+
:rtype: int
|
|
98
|
+
"""
|
|
99
|
+
return self._page_number
|
|
100
|
+
|
|
101
|
+
@page_number.setter
|
|
102
|
+
def page_number(self, page_number):
|
|
103
|
+
"""Sets the page_number of this ListNotificationsResponse.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
:param page_number: The page_number of this ListNotificationsResponse. # noqa: E501
|
|
107
|
+
:type: int
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
self._page_number = page_number
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def page_size(self):
|
|
114
|
+
"""Gets the page_size of this ListNotificationsResponse. # noqa: E501
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
:return: The page_size of this ListNotificationsResponse. # noqa: E501
|
|
118
|
+
:rtype: int
|
|
119
|
+
"""
|
|
120
|
+
return self._page_size
|
|
121
|
+
|
|
122
|
+
@page_size.setter
|
|
123
|
+
def page_size(self, page_size):
|
|
124
|
+
"""Sets the page_size of this ListNotificationsResponse.
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
:param page_size: The page_size of this ListNotificationsResponse. # noqa: E501
|
|
128
|
+
:type: int
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
self._page_size = page_size
|
|
132
|
+
|
|
133
|
+
@property
|
|
134
|
+
def total_count(self):
|
|
135
|
+
"""Gets the total_count of this ListNotificationsResponse. # noqa: E501
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
:return: The total_count of this ListNotificationsResponse. # noqa: E501
|
|
139
|
+
:rtype: int
|
|
140
|
+
"""
|
|
141
|
+
return self._total_count
|
|
142
|
+
|
|
143
|
+
@total_count.setter
|
|
144
|
+
def total_count(self, total_count):
|
|
145
|
+
"""Sets the total_count of this ListNotificationsResponse.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:param total_count: The total_count of this ListNotificationsResponse. # noqa: E501
|
|
149
|
+
:type: int
|
|
150
|
+
"""
|
|
151
|
+
|
|
152
|
+
self._total_count = total_count
|
|
153
|
+
|
|
154
|
+
def to_dict(self):
|
|
155
|
+
"""Returns the model properties as a dict"""
|
|
156
|
+
result = {}
|
|
157
|
+
|
|
158
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
159
|
+
value = getattr(self, attr)
|
|
160
|
+
if isinstance(value, list):
|
|
161
|
+
result[attr] = list(map(
|
|
162
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
163
|
+
value
|
|
164
|
+
))
|
|
165
|
+
elif hasattr(value, "to_dict"):
|
|
166
|
+
result[attr] = value.to_dict()
|
|
167
|
+
elif isinstance(value, dict):
|
|
168
|
+
result[attr] = dict(map(
|
|
169
|
+
lambda item: (item[0], item[1].to_dict())
|
|
170
|
+
if hasattr(item[1], "to_dict") else item,
|
|
171
|
+
value.items()
|
|
172
|
+
))
|
|
173
|
+
else:
|
|
174
|
+
result[attr] = value
|
|
175
|
+
if issubclass(ListNotificationsResponse, dict):
|
|
176
|
+
for key, value in self.items():
|
|
177
|
+
result[key] = value
|
|
178
|
+
|
|
179
|
+
return result
|
|
180
|
+
|
|
181
|
+
def to_str(self):
|
|
182
|
+
"""Returns the string representation of the model"""
|
|
183
|
+
return pprint.pformat(self.to_dict())
|
|
184
|
+
|
|
185
|
+
def __repr__(self):
|
|
186
|
+
"""For `print` and `pprint`"""
|
|
187
|
+
return self.to_str()
|
|
188
|
+
|
|
189
|
+
def __eq__(self, other):
|
|
190
|
+
"""Returns true if both objects are equal"""
|
|
191
|
+
if not isinstance(other, ListNotificationsResponse):
|
|
192
|
+
return False
|
|
193
|
+
|
|
194
|
+
return self.to_dict() == other.to_dict()
|
|
195
|
+
|
|
196
|
+
def __ne__(self, other):
|
|
197
|
+
"""Returns true if both objects are not equal"""
|
|
198
|
+
if not isinstance(other, ListNotificationsResponse):
|
|
199
|
+
return True
|
|
200
|
+
|
|
201
|
+
return self.to_dict() != other.to_dict()
|