datadog_api_client 2.46.0 → 2.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.generator/schemas/v1/openapi.yaml +201 -12
- data/.generator/schemas/v2/openapi.yaml +3391 -684
- data/CHANGELOG.md +46 -0
- data/examples/v1/dashboards/CreateDashboard_3685886950.rb +36 -0
- data/examples/v1/dashboards/CreateDashboard_865807520.rb +36 -0
- data/examples/v1/dashboards/CreateDashboard_9836563.rb +118 -0
- data/examples/v2/apm/GetServiceList.rb +5 -0
- data/examples/v2/aws-integration/CreateAWSAccount.rb +11 -0
- data/examples/v2/aws-integration/CreateAWSAccount_1716720881.rb +11 -0
- data/examples/v2/aws-integration/UpdateAWSAccount.rb +11 -0
- data/examples/v2/csm-threats/CreateCSMThreatsAgentRule_1295653933.rb +3 -1
- data/examples/v2/csm-threats/CreateCSMThreatsAgentRule_1363354233.rb +1 -1
- data/examples/v2/deployment-gates/GetDeploymentGateRules.rb +11 -0
- data/examples/v2/events/CreateEvent.rb +1 -0
- data/examples/v2/incidents/CreateIncidentAttachment.rb +22 -0
- data/examples/v2/incidents/DeleteIncidentAttachment.rb +8 -0
- data/examples/v2/incidents/ListIncidentAttachments.rb +1 -1
- data/examples/v2/incidents/UpdateIncidentAttachment.rb +20 -0
- data/examples/v2/observability-pipelines/CreatePipeline.rb +12 -4
- data/examples/v2/observability-pipelines/UpdatePipeline.rb +12 -4
- data/examples/v2/observability-pipelines/ValidatePipeline.rb +12 -4
- data/examples/v2/on-call/CreateUserNotificationChannel.rb +23 -0
- data/examples/v2/on-call/CreateUserNotificationRule.rb +29 -0
- data/examples/v2/on-call/DeleteUserNotificationChannel.rb +11 -0
- data/examples/v2/on-call/DeleteUserNotificationRule.rb +11 -0
- data/examples/v2/on-call/GetUserNotificationChannel.rb +11 -0
- data/examples/v2/on-call/GetUserNotificationRule.rb +14 -0
- data/examples/v2/on-call/ListUserNotificationChannels.rb +8 -0
- data/examples/v2/on-call/ListUserNotificationRules.rb +11 -0
- data/examples/v2/on-call/UpdateUserNotificationRule.rb +36 -0
- data/examples/v2/product-analytics/SubmitProductAnalyticsEvent.rb +24 -0
- data/examples/v2/security-monitoring/CreateCases.rb +2 -2
- data/examples/v2/security-monitoring/CreateCases_2385516013.rb +1 -1
- data/examples/v2/security-monitoring/CreateCases_2798851680.rb +2 -2
- data/examples/v2/security-monitoring/CreateJiraIssues.rb +14 -69
- data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_2323193894.rb +48 -0
- data/examples/v2/security-monitoring/GetSecretsRules.rb +1 -1
- data/examples/v2/security-monitoring/GetSuppressionVersionHistory.rb +8 -0
- data/examples/v2/security-monitoring/ValidateSecurityMonitoringRule_2609327779.rb +54 -0
- data/examples/v2/synthetics/PatchGlobalVariable.rb +19 -0
- data/examples/v2/teams/CreateTeamNotificationRule.rb +23 -0
- data/examples/v2/teams/DeleteTeamConnections.rb +0 -3
- data/examples/v2/teams/DeleteTeamNotificationRule.rb +11 -0
- data/examples/v2/teams/GetTeamNotificationRule.rb +11 -0
- data/examples/v2/teams/GetTeamNotificationRules.rb +8 -0
- data/examples/v2/teams/GetTeamSync.rb +0 -3
- data/examples/v2/teams/ListTeamConnections.rb +0 -3
- data/examples/v2/teams/ListTeamConnections_2418873869.rb +0 -3
- data/examples/v2/teams/SyncTeams.rb +0 -3
- data/examples/v2/teams/SyncTeams_3215592344.rb +0 -3
- data/examples/v2/teams/UpdateTeamNotificationRule.rb +27 -0
- data/lib/datadog_api_client/configuration.rb +59 -9
- data/lib/datadog_api_client/inflector.rb +135 -26
- data/lib/datadog_api_client/v1/api/synthetics_api.rb +3 -3
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +6 -4
- data/lib/datadog_api_client/v1/models/formula_and_function_metric_query_definition.rb +13 -3
- data/lib/datadog_api_client/v1/models/formula_and_function_metric_semantic_mode.rb +27 -0
- data/lib/datadog_api_client/v1/models/geomap_widget_definition.rb +4 -5
- data/lib/datadog_api_client/v1/models/geomap_widget_definition_view.rb +1 -1
- data/lib/datadog_api_client/v1/models/geomap_widget_request.rb +37 -3
- data/lib/datadog_api_client/v1/models/geomap_widget_request_style.rb +105 -0
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +3 -0
- data/lib/datadog_api_client/v1/models/monitor_search_response.rb +1 -1
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +6 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +61 -1
- data/lib/datadog_api_client/v1/models/synthetics_list_tests_response.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_details.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_details_without_steps.rb +221 -0
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +41 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +41 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +41 -1
- data/lib/datadog_api_client/v2/api/apm_api.rb +83 -0
- data/lib/datadog_api_client/v2/api/deployment_gates_api.rb +71 -0
- data/lib/datadog_api_client/v2/api/dora_metrics_api.rb +8 -8
- data/lib/datadog_api_client/v2/api/incidents_api.rb +188 -54
- data/lib/datadog_api_client/v2/api/on_call_api.rb +637 -0
- data/lib/datadog_api_client/v2/api/product_analytics_api.rb +121 -0
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +99 -11
- data/lib/datadog_api_client/v2/api/software_catalog_api.rb +4 -0
- data/lib/datadog_api_client/v2/api/synthetics_api.rb +79 -0
- data/lib/datadog_api_client/v2/api/teams_api.rb +345 -30
- data/lib/datadog_api_client/v2/models/attach_case_request_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/attach_jira_issue_request_data.rb +1 -11
- data/lib/datadog_api_client/v2/models/attach_jira_issue_request_data_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/{create_jira_issue_request_data_attributes_fields.rb → attachment.rb} +22 -10
- data/lib/datadog_api_client/v2/models/{incident_attachments_response.rb → attachment_array.rb} +7 -7
- data/lib/datadog_api_client/v2/models/{incident_attachment_data.rb → attachment_data.rb} +8 -8
- data/lib/datadog_api_client/v2/models/attachment_data_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/attachment_data_attributes_attachment.rb +115 -0
- data/lib/datadog_api_client/v2/models/{incident_attachment_attachment_type.rb → attachment_data_attributes_attachment_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/{incident_attachment_relationships.rb → attachment_data_relationships.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{create_jira_issue_request_data_relationships_case.rb → attachment_data_relationships_last_modified_by_user.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{create_jira_issue_request_data_relationships_case_data.rb → attachment_data_relationships_last_modified_by_user_data.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{incident_attachments_response_included_item.rb → attachment_included.rb} +3 -3
- data/lib/datadog_api_client/v2/models/aws_account_create_request_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/aws_account_response_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/aws_account_update_request_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/awsccm_config.rb +107 -0
- data/lib/datadog_api_client/v2/models/case_create_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/case_insights_items.rb +3 -3
- data/lib/datadog_api_client/v2/models/case_management_project_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_policy_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_policy_version.rb +2 -2
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_action.rb +2 -2
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_action_hash.rb +105 -0
- data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_action_set.rb +1 -1
- data/lib/datadog_api_client/v2/models/{incident_attachment_update_attributes.rb → cloud_workload_security_agent_rule_action_set_value.rb} +5 -4
- data/lib/datadog_api_client/v2/models/{dora_fetch_response.rb → create_attachment_request.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{incident_attachment_update_data.rb → create_attachment_request_data.rb} +6 -6
- data/lib/datadog_api_client/v2/models/create_attachment_request_data_attributes.rb +115 -0
- data/lib/datadog_api_client/v2/models/create_attachment_request_data_attributes_attachment.rb +115 -0
- data/lib/datadog_api_client/v2/models/create_case_request_data.rb +1 -11
- data/lib/datadog_api_client/v2/models/create_case_request_data_attributes.rb +3 -3
- data/lib/datadog_api_client/v2/models/create_email_notification_channel_config.rb +167 -0
- data/lib/datadog_api_client/v2/models/create_jira_issue_request_array.rb +3 -15
- data/lib/datadog_api_client/v2/models/create_jira_issue_request_data.rb +1 -11
- data/lib/datadog_api_client/v2/models/create_jira_issue_request_data_attributes.rb +43 -3
- data/lib/datadog_api_client/v2/models/create_jira_issue_request_data_relationships.rb +35 -14
- data/lib/datadog_api_client/v2/models/create_notification_channel_attributes.rb +105 -0
- data/lib/datadog_api_client/v2/models/{create_jira_issue_request_array_included.rb → create_notification_channel_config.rb} +4 -5
- data/lib/datadog_api_client/v2/models/create_notification_channel_data.rb +133 -0
- data/lib/datadog_api_client/v2/models/{incident_attachment_update_request.rb → create_on_call_notification_rule_request.rb} +6 -11
- data/lib/datadog_api_client/v2/models/create_on_call_notification_rule_request_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/{incident_attachment_link_attributes_attachment_object.rb → create_phone_notification_channel_config.rb} +30 -30
- data/lib/datadog_api_client/v2/models/create_user_notification_channel_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/custom_attribute_type.rb +1 -0
- data/lib/datadog_api_client/v2/models/data_export_config.rb +145 -0
- data/lib/datadog_api_client/v2/models/deployment_gate_rules_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/detach_case_request_data.rb +1 -11
- data/lib/datadog_api_client/v2/models/dora_deployment_fetch_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_object.rb +125 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_object_attributes.rb +225 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/dora_deployments_list_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/dora_failure_fetch_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/dora_failure_request_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/{dora_list_response.rb → dora_failures_list_response.rb} +5 -5
- data/lib/datadog_api_client/v2/models/{dora_event.rb → dora_incident_object.rb} +8 -8
- data/lib/datadog_api_client/v2/models/dora_incident_object_attributes.rb +225 -0
- data/lib/datadog_api_client/v2/models/event_payload.rb +26 -1
- data/lib/datadog_api_client/v2/models/finding_case_response_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/finding_data.rb +1 -1
- data/lib/datadog_api_client/v2/models/finding_jira_issue.rb +2 -2
- data/lib/datadog_api_client/v2/models/finding_jira_issue_result.rb +4 -4
- data/lib/datadog_api_client/v2/models/get_suppression_version_history_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/{incident_attachment_postmortem_attachment_type.rb → get_suppression_version_history_data_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/get_suppression_version_history_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/global_variable_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/global_variable_json_patch_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/global_variable_json_patch_request_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/global_variable_json_patch_request_data_attributes.rb +107 -0
- data/lib/datadog_api_client/v2/models/global_variable_json_patch_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/global_variable_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/{incident_attachment_link_attachment_type.rb → global_variable_type.rb} +3 -3
- data/lib/datadog_api_client/v2/models/incident_response_included_item.rb +1 -1
- data/lib/datadog_api_client/v2/models/json_patch_operation.rb +154 -0
- data/lib/datadog_api_client/v2/models/json_patch_operation_op.rb +31 -0
- data/lib/datadog_api_client/v2/models/library.rb +13 -1
- data/lib/datadog_api_client/v2/models/list_deployment_rule_response_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/list_deployment_rules_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/list_deployment_rules_response_data_attributes.rb +107 -0
- data/lib/datadog_api_client/v2/models/list_notification_channels_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/list_on_call_notification_rules_response.rb +119 -0
- data/lib/datadog_api_client/v2/models/notification_channel.rb +105 -0
- data/lib/datadog_api_client/v2/models/notification_channel_attributes.rb +115 -0
- data/lib/datadog_api_client/v2/models/notification_channel_config.rb +64 -0
- data/lib/datadog_api_client/v2/models/notification_channel_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/{incident_attachment_link_attributes.rb → notification_channel_email_config.rb} +50 -37
- data/lib/datadog_api_client/v2/models/notification_channel_email_config_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/notification_channel_email_format_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/notification_channel_phone_config.rb +225 -0
- data/lib/datadog_api_client/v2/models/notification_channel_phone_config_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/notification_channel_push_config.rb +165 -0
- data/lib/datadog_api_client/v2/models/notification_channel_push_config_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/notification_channel_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_add_env_vars_processor.rb +32 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_add_fields_processor.rb +32 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_config.rb +2 -2
- data/lib/datadog_api_client/v2/models/observability_pipeline_config_processor_group.rb +221 -0
- data/lib/datadog_api_client/v2/models/observability_pipeline_custom_processor.rb +32 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_custom_processor_remap.rb +1 -12
- data/lib/datadog_api_client/v2/models/observability_pipeline_datadog_tags_processor.rb +32 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_dedupe_processor.rb +32 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_enrichment_table_processor.rb +32 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_filter_processor.rb +32 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_generate_metrics_processor.rb +34 -48
- data/lib/datadog_api_client/v2/models/observability_pipeline_ocsf_mapper_processor.rb +32 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_parse_grok_processor.rb +32 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_parse_json_processor.rb +32 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_quota_processor.rb +28 -31
- data/lib/datadog_api_client/v2/models/observability_pipeline_reduce_processor.rb +32 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_remove_fields_processor.rb +32 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_rename_fields_processor.rb +32 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_sample_processor.rb +32 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_sensitive_data_scanner_processor.rb +32 -24
- data/lib/datadog_api_client/v2/models/observability_pipeline_throttle_processor.rb +32 -24
- data/lib/datadog_api_client/v2/models/{incident_attachment_update_response.rb → on_call_notification_rule.rb} +8 -11
- data/lib/datadog_api_client/v2/models/on_call_notification_rule_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/on_call_notification_rule_category.rb +27 -0
- data/lib/datadog_api_client/v2/models/on_call_notification_rule_channel_relationship.rb +123 -0
- data/lib/datadog_api_client/v2/models/on_call_notification_rule_channel_relationship_data.rb +115 -0
- data/lib/datadog_api_client/v2/models/{incident_attachment_attributes.rb → on_call_notification_rule_channel_settings.rb} +3 -4
- data/lib/datadog_api_client/v2/models/on_call_notification_rule_data.rb +153 -0
- data/lib/datadog_api_client/v2/models/on_call_notification_rule_relationships.rb +105 -0
- data/lib/datadog_api_client/v2/models/on_call_notification_rule_request_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/on_call_notification_rule_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/on_call_notification_rules_included.rb +62 -0
- data/lib/datadog_api_client/v2/models/on_call_phone_notification_rule_method.rb +27 -0
- data/lib/datadog_api_client/v2/models/{incident_attachments_postmortem_attributes_attachment_object.rb → on_call_phone_notification_rule_settings.rb} +30 -30
- data/lib/datadog_api_client/v2/models/patch_attachment_request.rb +105 -0
- data/lib/datadog_api_client/v2/models/patch_attachment_request_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/patch_attachment_request_data_attributes.rb +105 -0
- data/lib/datadog_api_client/v2/models/patch_attachment_request_data_attributes_attachment.rb +115 -0
- data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_error.rb +125 -0
- data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_errors.rb +107 -0
- data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item.rb +195 -0
- data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item_account.rb +123 -0
- data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item_application.rb +124 -0
- data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item_event.rb +123 -0
- data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item_session.rb +123 -0
- data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/product_analytics_server_side_event_item_usr.rb +123 -0
- data/lib/datadog_api_client/v2/models/rule_versions.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_anomaly_detection_options.rb +155 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_anomaly_detection_options_bucket_duration.rb +32 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_anomaly_detection_options_detection_tolerance.rb +31 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_anomaly_detection_options_learning_duration.rb +32 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options.rb +11 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +11 -1
- data/lib/datadog_api_client/v2/models/service_list.rb +105 -0
- data/lib/datadog_api_client/v2/models/service_list_data.rb +143 -0
- data/lib/datadog_api_client/v2/models/service_list_data_attributes.rb +119 -0
- data/lib/datadog_api_client/v2/models/service_list_data_attributes_metadata_items.rb +115 -0
- data/lib/datadog_api_client/v2/models/service_list_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/suppression_version_history.rb +133 -0
- data/lib/datadog_api_client/v2/models/suppression_versions.rb +117 -0
- data/lib/datadog_api_client/v2/models/synthetics_global_variable.rb +248 -0
- data/lib/datadog_api_client/v2/models/synthetics_global_variable_attributes.rb +107 -0
- data/lib/datadog_api_client/v2/models/synthetics_global_variable_options.rb +105 -0
- data/lib/datadog_api_client/v2/models/synthetics_global_variable_parse_test_options.rb +153 -0
- data/lib/datadog_api_client/v2/models/synthetics_global_variable_parse_test_options_type.rb +29 -0
- data/lib/datadog_api_client/v2/models/synthetics_global_variable_parser_type.rb +29 -0
- data/lib/datadog_api_client/v2/models/{incident_attachment_postmortem_attributes.rb → synthetics_global_variable_totp_parameters.rb} +38 -30
- data/lib/datadog_api_client/v2/models/synthetics_global_variable_value.rb +126 -0
- data/lib/datadog_api_client/v2/models/synthetics_variable_parser.rb +133 -0
- data/lib/datadog_api_client/v2/models/team_notification_rule.rb +154 -0
- data/lib/datadog_api_client/v2/models/team_notification_rule_attributes.rb +135 -0
- data/lib/datadog_api_client/v2/models/team_notification_rule_attributes_email.rb +105 -0
- data/lib/datadog_api_client/v2/models/team_notification_rule_attributes_ms_teams.rb +105 -0
- data/lib/datadog_api_client/v2/models/team_notification_rule_attributes_pagerduty.rb +105 -0
- data/lib/datadog_api_client/v2/models/team_notification_rule_attributes_slack.rb +115 -0
- data/lib/datadog_api_client/v2/models/team_notification_rule_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/team_notification_rule_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/team_notification_rule_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/team_notification_rules_response.rb +117 -0
- data/lib/datadog_api_client/v2/models/team_notification_rules_response_meta.rb +105 -0
- data/lib/datadog_api_client/v2/models/team_notification_rules_response_meta_page.rb +184 -0
- data/lib/datadog_api_client/v2/models/threat_hunting_job_options.rb +11 -1
- data/lib/datadog_api_client/v2/models/update_on_call_notification_rule_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/update_on_call_notification_rule_request_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/update_on_call_notification_rule_request_data.rb +153 -0
- data/lib/datadog_api_client/v2/models/user140420082644000.rb +143 -0
- data/lib/datadog_api_client/v2/models/{incident_attachment_related_object.rb → user_type.rb} +2 -2
- data/lib/datadog_api_client/v2/models/{rule_version_update.rb → version_history_update.rb} +3 -3
- data/lib/datadog_api_client/v2/models/{rule_version_update_type.rb → version_history_update_type.rb} +1 -1
- data/lib/datadog_api_client/v2/models/vulnerability_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/vulnerability_ecosystem.rb +6 -1
- data/lib/datadog_api_client/v2/models/vulnerability_tool.rb +1 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +163 -32
- data/examples/v2/incidents/ListIncidentAttachments_2457735435.rb +0 -11
- data/examples/v2/incidents/UpdateIncidentAttachments.rb +0 -38
- data/examples/v2/incidents/UpdateIncidentAttachments_3881702075.rb +0 -26
- data/examples/v2/security-monitoring/CreateJiraIssues_379590688.rb +0 -56
- data/examples/v2/security-monitoring/CreateJiraIssues_829823123.rb +0 -64
|
@@ -24,15 +24,18 @@ module DatadogAPIClient::V2
|
|
|
24
24
|
# The action to take on tags with matching keys.
|
|
25
25
|
attr_reader :action
|
|
26
26
|
|
|
27
|
+
# The display name for a component.
|
|
28
|
+
attr_accessor :display_name
|
|
29
|
+
|
|
30
|
+
# Whether this processor is enabled.
|
|
31
|
+
attr_reader :enabled
|
|
32
|
+
|
|
27
33
|
# The unique identifier for this component. Used to reference this component in other parts of the pipeline (for example, as the `input` to downstream components).
|
|
28
34
|
attr_reader :id
|
|
29
35
|
|
|
30
36
|
# A Datadog search query used to determine which logs this processor targets.
|
|
31
37
|
attr_reader :include
|
|
32
38
|
|
|
33
|
-
# A list of component IDs whose output is used as the `input` for this component.
|
|
34
|
-
attr_reader :inputs
|
|
35
|
-
|
|
36
39
|
# A list of tag keys.
|
|
37
40
|
attr_reader :keys
|
|
38
41
|
|
|
@@ -49,9 +52,10 @@ module DatadogAPIClient::V2
|
|
|
49
52
|
def self.attribute_map
|
|
50
53
|
{
|
|
51
54
|
:'action' => :'action',
|
|
55
|
+
:'display_name' => :'display_name',
|
|
56
|
+
:'enabled' => :'enabled',
|
|
52
57
|
:'id' => :'id',
|
|
53
58
|
:'include' => :'include',
|
|
54
|
-
:'inputs' => :'inputs',
|
|
55
59
|
:'keys' => :'keys',
|
|
56
60
|
:'mode' => :'mode',
|
|
57
61
|
:'type' => :'type'
|
|
@@ -63,9 +67,10 @@ module DatadogAPIClient::V2
|
|
|
63
67
|
def self.openapi_types
|
|
64
68
|
{
|
|
65
69
|
:'action' => :'ObservabilityPipelineDatadogTagsProcessorAction',
|
|
70
|
+
:'display_name' => :'String',
|
|
71
|
+
:'enabled' => :'Boolean',
|
|
66
72
|
:'id' => :'String',
|
|
67
73
|
:'include' => :'String',
|
|
68
|
-
:'inputs' => :'Array<String>',
|
|
69
74
|
:'keys' => :'Array<String>',
|
|
70
75
|
:'mode' => :'ObservabilityPipelineDatadogTagsProcessorMode',
|
|
71
76
|
:'type' => :'ObservabilityPipelineDatadogTagsProcessorType'
|
|
@@ -94,6 +99,14 @@ module DatadogAPIClient::V2
|
|
|
94
99
|
self.action = attributes[:'action']
|
|
95
100
|
end
|
|
96
101
|
|
|
102
|
+
if attributes.key?(:'display_name')
|
|
103
|
+
self.display_name = attributes[:'display_name']
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
if attributes.key?(:'enabled')
|
|
107
|
+
self.enabled = attributes[:'enabled']
|
|
108
|
+
end
|
|
109
|
+
|
|
97
110
|
if attributes.key?(:'id')
|
|
98
111
|
self.id = attributes[:'id']
|
|
99
112
|
end
|
|
@@ -102,12 +115,6 @@ module DatadogAPIClient::V2
|
|
|
102
115
|
self.include = attributes[:'include']
|
|
103
116
|
end
|
|
104
117
|
|
|
105
|
-
if attributes.key?(:'inputs')
|
|
106
|
-
if (value = attributes[:'inputs']).is_a?(Array)
|
|
107
|
-
self.inputs = value
|
|
108
|
-
end
|
|
109
|
-
end
|
|
110
|
-
|
|
111
118
|
if attributes.key?(:'keys')
|
|
112
119
|
if (value = attributes[:'keys']).is_a?(Array)
|
|
113
120
|
self.keys = value
|
|
@@ -128,9 +135,9 @@ module DatadogAPIClient::V2
|
|
|
128
135
|
# @!visibility private
|
|
129
136
|
def valid?
|
|
130
137
|
return false if @action.nil?
|
|
138
|
+
return false if @enabled.nil?
|
|
131
139
|
return false if @id.nil?
|
|
132
140
|
return false if @include.nil?
|
|
133
|
-
return false if @inputs.nil?
|
|
134
141
|
return false if @keys.nil?
|
|
135
142
|
return false if @mode.nil?
|
|
136
143
|
return false if @type.nil?
|
|
@@ -147,6 +154,16 @@ module DatadogAPIClient::V2
|
|
|
147
154
|
@action = action
|
|
148
155
|
end
|
|
149
156
|
|
|
157
|
+
# Custom attribute writer method with validation
|
|
158
|
+
# @param enabled [Object] Object to be assigned
|
|
159
|
+
# @!visibility private
|
|
160
|
+
def enabled=(enabled)
|
|
161
|
+
if enabled.nil?
|
|
162
|
+
fail ArgumentError, 'invalid value for "enabled", enabled cannot be nil.'
|
|
163
|
+
end
|
|
164
|
+
@enabled = enabled
|
|
165
|
+
end
|
|
166
|
+
|
|
150
167
|
# Custom attribute writer method with validation
|
|
151
168
|
# @param id [Object] Object to be assigned
|
|
152
169
|
# @!visibility private
|
|
@@ -167,16 +184,6 @@ module DatadogAPIClient::V2
|
|
|
167
184
|
@include = include
|
|
168
185
|
end
|
|
169
186
|
|
|
170
|
-
# Custom attribute writer method with validation
|
|
171
|
-
# @param inputs [Object] Object to be assigned
|
|
172
|
-
# @!visibility private
|
|
173
|
-
def inputs=(inputs)
|
|
174
|
-
if inputs.nil?
|
|
175
|
-
fail ArgumentError, 'invalid value for "inputs", inputs cannot be nil.'
|
|
176
|
-
end
|
|
177
|
-
@inputs = inputs
|
|
178
|
-
end
|
|
179
|
-
|
|
180
187
|
# Custom attribute writer method with validation
|
|
181
188
|
# @param keys [Object] Object to be assigned
|
|
182
189
|
# @!visibility private
|
|
@@ -234,9 +241,10 @@ module DatadogAPIClient::V2
|
|
|
234
241
|
return true if self.equal?(o)
|
|
235
242
|
self.class == o.class &&
|
|
236
243
|
action == o.action &&
|
|
244
|
+
display_name == o.display_name &&
|
|
245
|
+
enabled == o.enabled &&
|
|
237
246
|
id == o.id &&
|
|
238
247
|
include == o.include &&
|
|
239
|
-
inputs == o.inputs &&
|
|
240
248
|
keys == o.keys &&
|
|
241
249
|
mode == o.mode &&
|
|
242
250
|
type == o.type &&
|
|
@@ -247,7 +255,7 @@ module DatadogAPIClient::V2
|
|
|
247
255
|
# @return [Integer] Hash code
|
|
248
256
|
# @!visibility private
|
|
249
257
|
def hash
|
|
250
|
-
[action, id, include,
|
|
258
|
+
[action, display_name, enabled, id, include, keys, mode, type, additional_properties].hash
|
|
251
259
|
end
|
|
252
260
|
end
|
|
253
261
|
end
|
|
@@ -21,6 +21,12 @@ module DatadogAPIClient::V2
|
|
|
21
21
|
class ObservabilityPipelineDedupeProcessor
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
+
# The display name for a component.
|
|
25
|
+
attr_accessor :display_name
|
|
26
|
+
|
|
27
|
+
# Whether this processor is enabled.
|
|
28
|
+
attr_reader :enabled
|
|
29
|
+
|
|
24
30
|
# A list of log field paths to check for duplicates.
|
|
25
31
|
attr_reader :fields
|
|
26
32
|
|
|
@@ -30,9 +36,6 @@ module DatadogAPIClient::V2
|
|
|
30
36
|
# A Datadog search query used to determine which logs this processor targets.
|
|
31
37
|
attr_reader :include
|
|
32
38
|
|
|
33
|
-
# A list of component IDs whose output is used as the input for this processor.
|
|
34
|
-
attr_reader :inputs
|
|
35
|
-
|
|
36
39
|
# The deduplication mode to apply to the fields.
|
|
37
40
|
attr_reader :mode
|
|
38
41
|
|
|
@@ -45,10 +48,11 @@ module DatadogAPIClient::V2
|
|
|
45
48
|
# @!visibility private
|
|
46
49
|
def self.attribute_map
|
|
47
50
|
{
|
|
51
|
+
:'display_name' => :'display_name',
|
|
52
|
+
:'enabled' => :'enabled',
|
|
48
53
|
:'fields' => :'fields',
|
|
49
54
|
:'id' => :'id',
|
|
50
55
|
:'include' => :'include',
|
|
51
|
-
:'inputs' => :'inputs',
|
|
52
56
|
:'mode' => :'mode',
|
|
53
57
|
:'type' => :'type'
|
|
54
58
|
}
|
|
@@ -58,10 +62,11 @@ module DatadogAPIClient::V2
|
|
|
58
62
|
# @!visibility private
|
|
59
63
|
def self.openapi_types
|
|
60
64
|
{
|
|
65
|
+
:'display_name' => :'String',
|
|
66
|
+
:'enabled' => :'Boolean',
|
|
61
67
|
:'fields' => :'Array<String>',
|
|
62
68
|
:'id' => :'String',
|
|
63
69
|
:'include' => :'String',
|
|
64
|
-
:'inputs' => :'Array<String>',
|
|
65
70
|
:'mode' => :'ObservabilityPipelineDedupeProcessorMode',
|
|
66
71
|
:'type' => :'ObservabilityPipelineDedupeProcessorType'
|
|
67
72
|
}
|
|
@@ -85,6 +90,14 @@ module DatadogAPIClient::V2
|
|
|
85
90
|
end
|
|
86
91
|
}
|
|
87
92
|
|
|
93
|
+
if attributes.key?(:'display_name')
|
|
94
|
+
self.display_name = attributes[:'display_name']
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
if attributes.key?(:'enabled')
|
|
98
|
+
self.enabled = attributes[:'enabled']
|
|
99
|
+
end
|
|
100
|
+
|
|
88
101
|
if attributes.key?(:'fields')
|
|
89
102
|
if (value = attributes[:'fields']).is_a?(Array)
|
|
90
103
|
self.fields = value
|
|
@@ -99,12 +112,6 @@ module DatadogAPIClient::V2
|
|
|
99
112
|
self.include = attributes[:'include']
|
|
100
113
|
end
|
|
101
114
|
|
|
102
|
-
if attributes.key?(:'inputs')
|
|
103
|
-
if (value = attributes[:'inputs']).is_a?(Array)
|
|
104
|
-
self.inputs = value
|
|
105
|
-
end
|
|
106
|
-
end
|
|
107
|
-
|
|
108
115
|
if attributes.key?(:'mode')
|
|
109
116
|
self.mode = attributes[:'mode']
|
|
110
117
|
end
|
|
@@ -118,15 +125,25 @@ module DatadogAPIClient::V2
|
|
|
118
125
|
# @return true if the model is valid
|
|
119
126
|
# @!visibility private
|
|
120
127
|
def valid?
|
|
128
|
+
return false if @enabled.nil?
|
|
121
129
|
return false if @fields.nil?
|
|
122
130
|
return false if @id.nil?
|
|
123
131
|
return false if @include.nil?
|
|
124
|
-
return false if @inputs.nil?
|
|
125
132
|
return false if @mode.nil?
|
|
126
133
|
return false if @type.nil?
|
|
127
134
|
true
|
|
128
135
|
end
|
|
129
136
|
|
|
137
|
+
# Custom attribute writer method with validation
|
|
138
|
+
# @param enabled [Object] Object to be assigned
|
|
139
|
+
# @!visibility private
|
|
140
|
+
def enabled=(enabled)
|
|
141
|
+
if enabled.nil?
|
|
142
|
+
fail ArgumentError, 'invalid value for "enabled", enabled cannot be nil.'
|
|
143
|
+
end
|
|
144
|
+
@enabled = enabled
|
|
145
|
+
end
|
|
146
|
+
|
|
130
147
|
# Custom attribute writer method with validation
|
|
131
148
|
# @param fields [Object] Object to be assigned
|
|
132
149
|
# @!visibility private
|
|
@@ -157,16 +174,6 @@ module DatadogAPIClient::V2
|
|
|
157
174
|
@include = include
|
|
158
175
|
end
|
|
159
176
|
|
|
160
|
-
# Custom attribute writer method with validation
|
|
161
|
-
# @param inputs [Object] Object to be assigned
|
|
162
|
-
# @!visibility private
|
|
163
|
-
def inputs=(inputs)
|
|
164
|
-
if inputs.nil?
|
|
165
|
-
fail ArgumentError, 'invalid value for "inputs", inputs cannot be nil.'
|
|
166
|
-
end
|
|
167
|
-
@inputs = inputs
|
|
168
|
-
end
|
|
169
|
-
|
|
170
177
|
# Custom attribute writer method with validation
|
|
171
178
|
# @param mode [Object] Object to be assigned
|
|
172
179
|
# @!visibility private
|
|
@@ -213,10 +220,11 @@ module DatadogAPIClient::V2
|
|
|
213
220
|
def ==(o)
|
|
214
221
|
return true if self.equal?(o)
|
|
215
222
|
self.class == o.class &&
|
|
223
|
+
display_name == o.display_name &&
|
|
224
|
+
enabled == o.enabled &&
|
|
216
225
|
fields == o.fields &&
|
|
217
226
|
id == o.id &&
|
|
218
227
|
include == o.include &&
|
|
219
|
-
inputs == o.inputs &&
|
|
220
228
|
mode == o.mode &&
|
|
221
229
|
type == o.type &&
|
|
222
230
|
additional_properties == o.additional_properties
|
|
@@ -226,7 +234,7 @@ module DatadogAPIClient::V2
|
|
|
226
234
|
# @return [Integer] Hash code
|
|
227
235
|
# @!visibility private
|
|
228
236
|
def hash
|
|
229
|
-
[fields, id, include,
|
|
237
|
+
[display_name, enabled, fields, id, include, mode, type, additional_properties].hash
|
|
230
238
|
end
|
|
231
239
|
end
|
|
232
240
|
end
|
|
@@ -21,6 +21,12 @@ module DatadogAPIClient::V2
|
|
|
21
21
|
class ObservabilityPipelineEnrichmentTableProcessor
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
+
# The display name for a component.
|
|
25
|
+
attr_accessor :display_name
|
|
26
|
+
|
|
27
|
+
# Whether this processor is enabled.
|
|
28
|
+
attr_reader :enabled
|
|
29
|
+
|
|
24
30
|
# Defines a static enrichment table loaded from a CSV file.
|
|
25
31
|
attr_accessor :file
|
|
26
32
|
|
|
@@ -33,9 +39,6 @@ module DatadogAPIClient::V2
|
|
|
33
39
|
# A Datadog search query used to determine which logs this processor targets.
|
|
34
40
|
attr_reader :include
|
|
35
41
|
|
|
36
|
-
# A list of component IDs whose output is used as the input for this processor.
|
|
37
|
-
attr_reader :inputs
|
|
38
|
-
|
|
39
42
|
# Path where enrichment results should be stored in the log.
|
|
40
43
|
attr_reader :target
|
|
41
44
|
|
|
@@ -48,11 +51,12 @@ module DatadogAPIClient::V2
|
|
|
48
51
|
# @!visibility private
|
|
49
52
|
def self.attribute_map
|
|
50
53
|
{
|
|
54
|
+
:'display_name' => :'display_name',
|
|
55
|
+
:'enabled' => :'enabled',
|
|
51
56
|
:'file' => :'file',
|
|
52
57
|
:'geoip' => :'geoip',
|
|
53
58
|
:'id' => :'id',
|
|
54
59
|
:'include' => :'include',
|
|
55
|
-
:'inputs' => :'inputs',
|
|
56
60
|
:'target' => :'target',
|
|
57
61
|
:'type' => :'type'
|
|
58
62
|
}
|
|
@@ -62,11 +66,12 @@ module DatadogAPIClient::V2
|
|
|
62
66
|
# @!visibility private
|
|
63
67
|
def self.openapi_types
|
|
64
68
|
{
|
|
69
|
+
:'display_name' => :'String',
|
|
70
|
+
:'enabled' => :'Boolean',
|
|
65
71
|
:'file' => :'ObservabilityPipelineEnrichmentTableFile',
|
|
66
72
|
:'geoip' => :'ObservabilityPipelineEnrichmentTableGeoIp',
|
|
67
73
|
:'id' => :'String',
|
|
68
74
|
:'include' => :'String',
|
|
69
|
-
:'inputs' => :'Array<String>',
|
|
70
75
|
:'target' => :'String',
|
|
71
76
|
:'type' => :'ObservabilityPipelineEnrichmentTableProcessorType'
|
|
72
77
|
}
|
|
@@ -90,6 +95,14 @@ module DatadogAPIClient::V2
|
|
|
90
95
|
end
|
|
91
96
|
}
|
|
92
97
|
|
|
98
|
+
if attributes.key?(:'display_name')
|
|
99
|
+
self.display_name = attributes[:'display_name']
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
if attributes.key?(:'enabled')
|
|
103
|
+
self.enabled = attributes[:'enabled']
|
|
104
|
+
end
|
|
105
|
+
|
|
93
106
|
if attributes.key?(:'file')
|
|
94
107
|
self.file = attributes[:'file']
|
|
95
108
|
end
|
|
@@ -106,12 +119,6 @@ module DatadogAPIClient::V2
|
|
|
106
119
|
self.include = attributes[:'include']
|
|
107
120
|
end
|
|
108
121
|
|
|
109
|
-
if attributes.key?(:'inputs')
|
|
110
|
-
if (value = attributes[:'inputs']).is_a?(Array)
|
|
111
|
-
self.inputs = value
|
|
112
|
-
end
|
|
113
|
-
end
|
|
114
|
-
|
|
115
122
|
if attributes.key?(:'target')
|
|
116
123
|
self.target = attributes[:'target']
|
|
117
124
|
end
|
|
@@ -125,14 +132,24 @@ module DatadogAPIClient::V2
|
|
|
125
132
|
# @return true if the model is valid
|
|
126
133
|
# @!visibility private
|
|
127
134
|
def valid?
|
|
135
|
+
return false if @enabled.nil?
|
|
128
136
|
return false if @id.nil?
|
|
129
137
|
return false if @include.nil?
|
|
130
|
-
return false if @inputs.nil?
|
|
131
138
|
return false if @target.nil?
|
|
132
139
|
return false if @type.nil?
|
|
133
140
|
true
|
|
134
141
|
end
|
|
135
142
|
|
|
143
|
+
# Custom attribute writer method with validation
|
|
144
|
+
# @param enabled [Object] Object to be assigned
|
|
145
|
+
# @!visibility private
|
|
146
|
+
def enabled=(enabled)
|
|
147
|
+
if enabled.nil?
|
|
148
|
+
fail ArgumentError, 'invalid value for "enabled", enabled cannot be nil.'
|
|
149
|
+
end
|
|
150
|
+
@enabled = enabled
|
|
151
|
+
end
|
|
152
|
+
|
|
136
153
|
# Custom attribute writer method with validation
|
|
137
154
|
# @param id [Object] Object to be assigned
|
|
138
155
|
# @!visibility private
|
|
@@ -153,16 +170,6 @@ module DatadogAPIClient::V2
|
|
|
153
170
|
@include = include
|
|
154
171
|
end
|
|
155
172
|
|
|
156
|
-
# Custom attribute writer method with validation
|
|
157
|
-
# @param inputs [Object] Object to be assigned
|
|
158
|
-
# @!visibility private
|
|
159
|
-
def inputs=(inputs)
|
|
160
|
-
if inputs.nil?
|
|
161
|
-
fail ArgumentError, 'invalid value for "inputs", inputs cannot be nil.'
|
|
162
|
-
end
|
|
163
|
-
@inputs = inputs
|
|
164
|
-
end
|
|
165
|
-
|
|
166
173
|
# Custom attribute writer method with validation
|
|
167
174
|
# @param target [Object] Object to be assigned
|
|
168
175
|
# @!visibility private
|
|
@@ -209,11 +216,12 @@ module DatadogAPIClient::V2
|
|
|
209
216
|
def ==(o)
|
|
210
217
|
return true if self.equal?(o)
|
|
211
218
|
self.class == o.class &&
|
|
219
|
+
display_name == o.display_name &&
|
|
220
|
+
enabled == o.enabled &&
|
|
212
221
|
file == o.file &&
|
|
213
222
|
geoip == o.geoip &&
|
|
214
223
|
id == o.id &&
|
|
215
224
|
include == o.include &&
|
|
216
|
-
inputs == o.inputs &&
|
|
217
225
|
target == o.target &&
|
|
218
226
|
type == o.type &&
|
|
219
227
|
additional_properties == o.additional_properties
|
|
@@ -223,7 +231,7 @@ module DatadogAPIClient::V2
|
|
|
223
231
|
# @return [Integer] Hash code
|
|
224
232
|
# @!visibility private
|
|
225
233
|
def hash
|
|
226
|
-
[file, geoip, id, include,
|
|
234
|
+
[display_name, enabled, file, geoip, id, include, target, type, additional_properties].hash
|
|
227
235
|
end
|
|
228
236
|
end
|
|
229
237
|
end
|
|
@@ -21,15 +21,18 @@ module DatadogAPIClient::V2
|
|
|
21
21
|
class ObservabilityPipelineFilterProcessor
|
|
22
22
|
include BaseGenericModel
|
|
23
23
|
|
|
24
|
+
# The display name for a component.
|
|
25
|
+
attr_accessor :display_name
|
|
26
|
+
|
|
27
|
+
# Whether this processor is enabled.
|
|
28
|
+
attr_reader :enabled
|
|
29
|
+
|
|
24
30
|
# The unique identifier for this component. Used to reference this component in other parts of the pipeline (for example, as the `input` to downstream components).
|
|
25
31
|
attr_reader :id
|
|
26
32
|
|
|
27
33
|
# A Datadog search query used to determine which logs should pass through the filter. Logs that match this query continue to downstream components; others are dropped.
|
|
28
34
|
attr_reader :include
|
|
29
35
|
|
|
30
|
-
# A list of component IDs whose output is used as the `input` for this component.
|
|
31
|
-
attr_reader :inputs
|
|
32
|
-
|
|
33
36
|
# The processor type. The value should always be `filter`.
|
|
34
37
|
attr_reader :type
|
|
35
38
|
|
|
@@ -39,9 +42,10 @@ module DatadogAPIClient::V2
|
|
|
39
42
|
# @!visibility private
|
|
40
43
|
def self.attribute_map
|
|
41
44
|
{
|
|
45
|
+
:'display_name' => :'display_name',
|
|
46
|
+
:'enabled' => :'enabled',
|
|
42
47
|
:'id' => :'id',
|
|
43
48
|
:'include' => :'include',
|
|
44
|
-
:'inputs' => :'inputs',
|
|
45
49
|
:'type' => :'type'
|
|
46
50
|
}
|
|
47
51
|
end
|
|
@@ -50,9 +54,10 @@ module DatadogAPIClient::V2
|
|
|
50
54
|
# @!visibility private
|
|
51
55
|
def self.openapi_types
|
|
52
56
|
{
|
|
57
|
+
:'display_name' => :'String',
|
|
58
|
+
:'enabled' => :'Boolean',
|
|
53
59
|
:'id' => :'String',
|
|
54
60
|
:'include' => :'String',
|
|
55
|
-
:'inputs' => :'Array<String>',
|
|
56
61
|
:'type' => :'ObservabilityPipelineFilterProcessorType'
|
|
57
62
|
}
|
|
58
63
|
end
|
|
@@ -75,6 +80,14 @@ module DatadogAPIClient::V2
|
|
|
75
80
|
end
|
|
76
81
|
}
|
|
77
82
|
|
|
83
|
+
if attributes.key?(:'display_name')
|
|
84
|
+
self.display_name = attributes[:'display_name']
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
if attributes.key?(:'enabled')
|
|
88
|
+
self.enabled = attributes[:'enabled']
|
|
89
|
+
end
|
|
90
|
+
|
|
78
91
|
if attributes.key?(:'id')
|
|
79
92
|
self.id = attributes[:'id']
|
|
80
93
|
end
|
|
@@ -83,12 +96,6 @@ module DatadogAPIClient::V2
|
|
|
83
96
|
self.include = attributes[:'include']
|
|
84
97
|
end
|
|
85
98
|
|
|
86
|
-
if attributes.key?(:'inputs')
|
|
87
|
-
if (value = attributes[:'inputs']).is_a?(Array)
|
|
88
|
-
self.inputs = value
|
|
89
|
-
end
|
|
90
|
-
end
|
|
91
|
-
|
|
92
99
|
if attributes.key?(:'type')
|
|
93
100
|
self.type = attributes[:'type']
|
|
94
101
|
end
|
|
@@ -98,13 +105,23 @@ module DatadogAPIClient::V2
|
|
|
98
105
|
# @return true if the model is valid
|
|
99
106
|
# @!visibility private
|
|
100
107
|
def valid?
|
|
108
|
+
return false if @enabled.nil?
|
|
101
109
|
return false if @id.nil?
|
|
102
110
|
return false if @include.nil?
|
|
103
|
-
return false if @inputs.nil?
|
|
104
111
|
return false if @type.nil?
|
|
105
112
|
true
|
|
106
113
|
end
|
|
107
114
|
|
|
115
|
+
# Custom attribute writer method with validation
|
|
116
|
+
# @param enabled [Object] Object to be assigned
|
|
117
|
+
# @!visibility private
|
|
118
|
+
def enabled=(enabled)
|
|
119
|
+
if enabled.nil?
|
|
120
|
+
fail ArgumentError, 'invalid value for "enabled", enabled cannot be nil.'
|
|
121
|
+
end
|
|
122
|
+
@enabled = enabled
|
|
123
|
+
end
|
|
124
|
+
|
|
108
125
|
# Custom attribute writer method with validation
|
|
109
126
|
# @param id [Object] Object to be assigned
|
|
110
127
|
# @!visibility private
|
|
@@ -125,16 +142,6 @@ module DatadogAPIClient::V2
|
|
|
125
142
|
@include = include
|
|
126
143
|
end
|
|
127
144
|
|
|
128
|
-
# Custom attribute writer method with validation
|
|
129
|
-
# @param inputs [Object] Object to be assigned
|
|
130
|
-
# @!visibility private
|
|
131
|
-
def inputs=(inputs)
|
|
132
|
-
if inputs.nil?
|
|
133
|
-
fail ArgumentError, 'invalid value for "inputs", inputs cannot be nil.'
|
|
134
|
-
end
|
|
135
|
-
@inputs = inputs
|
|
136
|
-
end
|
|
137
|
-
|
|
138
145
|
# Custom attribute writer method with validation
|
|
139
146
|
# @param type [Object] Object to be assigned
|
|
140
147
|
# @!visibility private
|
|
@@ -171,9 +178,10 @@ module DatadogAPIClient::V2
|
|
|
171
178
|
def ==(o)
|
|
172
179
|
return true if self.equal?(o)
|
|
173
180
|
self.class == o.class &&
|
|
181
|
+
display_name == o.display_name &&
|
|
182
|
+
enabled == o.enabled &&
|
|
174
183
|
id == o.id &&
|
|
175
184
|
include == o.include &&
|
|
176
|
-
inputs == o.inputs &&
|
|
177
185
|
type == o.type &&
|
|
178
186
|
additional_properties == o.additional_properties
|
|
179
187
|
end
|
|
@@ -182,7 +190,7 @@ module DatadogAPIClient::V2
|
|
|
182
190
|
# @return [Integer] Hash code
|
|
183
191
|
# @!visibility private
|
|
184
192
|
def hash
|
|
185
|
-
[id, include,
|
|
193
|
+
[display_name, enabled, id, include, type, additional_properties].hash
|
|
186
194
|
end
|
|
187
195
|
end
|
|
188
196
|
end
|