datadog_api_client 2.1.0 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1163) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/poetry.lock +21 -14
  4. data/.generator/pyproject.toml +1 -1
  5. data/.generator/schemas/v1/openapi.yaml +588 -12
  6. data/.generator/schemas/v2/openapi.yaml +3349 -1417
  7. data/.generator/src/generator/cli.py +11 -0
  8. data/.generator/src/generator/formatter.py +5 -1
  9. data/.generator/src/generator/templates/api.j2 +7 -0
  10. data/.generator/src/generator/templates/api_client.j2 +32 -3
  11. data/.generator/src/generator/templates/configuration.j2 +17 -0
  12. data/.generator/src/generator/templates/model.j2 +4 -0
  13. data/.generator/src/generator/templates/model_base.j2 +10 -2
  14. data/.generator/src/generator/templates/model_generic.j2 +3 -17
  15. data/.generator/src/generator/templates/model_oneof.j2 +1 -1
  16. data/.generator/src/generator/templates/scenarios_model_mapping.j2 +16 -0
  17. data/.github/workflows/test.yml +3 -0
  18. data/.pre-commit-config.yaml +1 -1
  19. data/CHANGELOG.md +46 -0
  20. data/Gemfile +1 -0
  21. data/README.md +11 -0
  22. data/examples/v1/dashboards/CreateDashboard_1423904722.rb +38 -0
  23. data/examples/v1/dashboards/CreateDashboard_2652180930.rb +43 -0
  24. data/examples/v1/dashboards/CreateDashboard_2850365602.rb +55 -0
  25. data/examples/v1/dashboards/CreateDashboard_3117424216.rb +33 -0
  26. data/examples/v1/dashboards/CreateDashboard_3669695268.rb +50 -0
  27. data/examples/v1/dashboards/CreateDashboard_858397694.rb +41 -0
  28. data/examples/v1/monitors/ValidateMonitor_4247196452.rb +4 -1
  29. data/examples/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb +2 -2
  30. data/examples/v1/synthetics/CreateGlobalVariable_1068962881.rb +1 -1
  31. data/examples/v1/synthetics/CreateSyntheticsAPITest_1402674167.rb +1 -1
  32. data/examples/v1/synthetics/CreateSyntheticsAPITest_1487281163.rb +3 -3
  33. data/examples/v1/synthetics/UpdateAPITest.rb +2 -2
  34. data/examples/v1/usage-metering/GetUsageSummary.rb +1 -1
  35. data/examples/v2/confluent-cloud/CreateConfluentAccount.rb +29 -0
  36. data/examples/v2/confluent-cloud/CreateConfluentResource.rb +22 -0
  37. data/examples/v2/confluent-cloud/DeleteConfluentAccount.rb +5 -0
  38. data/examples/v2/confluent-cloud/DeleteConfluentAccount_2919241291.rb +8 -0
  39. data/examples/v2/confluent-cloud/GetConfluentAccount.rb +8 -0
  40. data/examples/v2/confluent-cloud/GetConfluentResource.rb +5 -0
  41. data/examples/v2/confluent-cloud/ListConfluentAccount.rb +5 -0
  42. data/examples/v2/confluent-cloud/ListConfluentResource.rb +5 -0
  43. data/examples/v2/confluent-cloud/UpdateConfluentAccount.rb +22 -0
  44. data/examples/v2/confluent-cloud/UpdateConfluentResource.rb +19 -0
  45. data/examples/v2/incidents/ListIncidentAttachments.rb +8 -0
  46. data/examples/v2/incidents/ListIncidentAttachments_2457735435.rb +11 -0
  47. data/examples/v2/incidents/UpdateIncidentAttachments.rb +38 -0
  48. data/examples/v2/incidents/UpdateIncidentAttachments_3881702075.rb +26 -0
  49. data/examples/v2/metrics/ListActiveMetricConfigurations.rb +5 -0
  50. data/examples/v2/metrics/ListTagConfigurations.rb +1 -1
  51. data/examples/v2/metrics/ListTagConfigurations_265033704.rb +8 -0
  52. data/examples/v2/metrics/{ListTagConfigurations_103226315.rb → ListTagConfigurations_2739018321.rb} +1 -1
  53. data/examples/v2/rum/UpdateRUMApplication.rb +5 -2
  54. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule.rb +3 -2
  55. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_461183901.rb +2 -2
  56. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_498211763.rb +2 -2
  57. data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_914562040.rb +50 -0
  58. data/examples/v2/security-monitoring/GetSecurityMonitoringSignal.rb +5 -0
  59. data/examples/v2/security-monitoring/UpdateSecurityMonitoringRule.rb +2 -1
  60. data/examples/v2/service-definition/CreateOrUpdateServiceDefinitions.rb +54 -0
  61. data/examples/v2/service-definition/DeleteServiceDefinition.rb +5 -0
  62. data/examples/v2/service-definition/GetServiceDefinition.rb +5 -0
  63. data/examples/v2/service-definition/ListServiceDefinitions.rb +5 -0
  64. data/examples/v2/usage-metering/GetEstimatedCostByOrg.rb +1 -4
  65. data/examples/v2/usage-metering/GetEstimatedCostByOrg_2734954020.rb +2 -4
  66. data/examples/v2/usage-metering/GetEstimatedCostByOrg_3186693804.rb +2 -4
  67. data/examples/v2/usage-metering/GetHistoricalCostByOrg.rb +8 -0
  68. data/generate.sh +30 -0
  69. data/lib/datadog_api_client/api_client.rb +32 -3
  70. data/lib/datadog_api_client/configuration.rb +20 -1
  71. data/lib/datadog_api_client/inflector.rb +104 -1
  72. data/lib/datadog_api_client/v1/api/logs_api.rb +3 -0
  73. data/lib/datadog_api_client/v1/api/service_level_objectives_api.rb +3 -1
  74. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +26 -8
  75. data/lib/datadog_api_client/v1/model_base.rb +10 -2
  76. data/lib/datadog_api_client/v1/models/add_signal_to_incident_request.rb +0 -13
  77. data/lib/datadog_api_client/v1/models/alert_graph_widget_definition.rb +0 -15
  78. data/lib/datadog_api_client/v1/models/alert_value_widget_definition.rb +0 -15
  79. data/lib/datadog_api_client/v1/models/api_error_response.rb +0 -13
  80. data/lib/datadog_api_client/v1/models/api_key.rb +0 -13
  81. data/lib/datadog_api_client/v1/models/api_key_list_response.rb +0 -13
  82. data/lib/datadog_api_client/v1/models/api_key_response.rb +0 -13
  83. data/lib/datadog_api_client/v1/models/apm_stats_query_column_type.rb +0 -13
  84. data/lib/datadog_api_client/v1/models/apm_stats_query_definition.rb +0 -13
  85. data/lib/datadog_api_client/v1/models/application_key.rb +0 -13
  86. data/lib/datadog_api_client/v1/models/application_key_list_response.rb +0 -13
  87. data/lib/datadog_api_client/v1/models/application_key_response.rb +0 -13
  88. data/lib/datadog_api_client/v1/models/authentication_validation_response.rb +0 -13
  89. data/lib/datadog_api_client/v1/models/aws_account.rb +0 -19
  90. data/lib/datadog_api_client/v1/models/aws_account_and_lambda_request.rb +0 -13
  91. data/lib/datadog_api_client/v1/models/aws_account_create_response.rb +0 -13
  92. data/lib/datadog_api_client/v1/models/aws_account_delete_request.rb +0 -13
  93. data/lib/datadog_api_client/v1/models/aws_account_list_response.rb +0 -13
  94. data/lib/datadog_api_client/v1/models/aws_logs_async_error.rb +0 -13
  95. data/lib/datadog_api_client/v1/models/aws_logs_async_response.rb +0 -13
  96. data/lib/datadog_api_client/v1/models/aws_logs_lambda.rb +0 -13
  97. data/lib/datadog_api_client/v1/models/aws_logs_list_response.rb +0 -13
  98. data/lib/datadog_api_client/v1/models/aws_logs_list_services_response.rb +0 -13
  99. data/lib/datadog_api_client/v1/models/aws_logs_services_request.rb +0 -13
  100. data/lib/datadog_api_client/v1/models/aws_tag_filter.rb +0 -13
  101. data/lib/datadog_api_client/v1/models/aws_tag_filter_create_request.rb +0 -13
  102. data/lib/datadog_api_client/v1/models/aws_tag_filter_delete_request.rb +0 -13
  103. data/lib/datadog_api_client/v1/models/aws_tag_filter_list_response.rb +0 -13
  104. data/lib/datadog_api_client/v1/models/azure_account.rb +0 -13
  105. data/lib/datadog_api_client/v1/models/cancel_downtimes_by_scope_request.rb +0 -13
  106. data/lib/datadog_api_client/v1/models/canceled_downtimes_ids.rb +0 -13
  107. data/lib/datadog_api_client/v1/models/change_widget_definition.rb +0 -15
  108. data/lib/datadog_api_client/v1/models/change_widget_request.rb +0 -13
  109. data/lib/datadog_api_client/v1/models/check_can_delete_monitor_response.rb +0 -13
  110. data/lib/datadog_api_client/v1/models/check_can_delete_monitor_response_data.rb +0 -13
  111. data/lib/datadog_api_client/v1/models/check_can_delete_slo_response.rb +0 -13
  112. data/lib/datadog_api_client/v1/models/check_can_delete_slo_response_data.rb +0 -13
  113. data/lib/datadog_api_client/v1/models/check_status_widget_definition.rb +0 -15
  114. data/lib/datadog_api_client/v1/models/creator.rb +0 -13
  115. data/lib/datadog_api_client/v1/models/dashboard.rb +0 -15
  116. data/lib/datadog_api_client/v1/models/dashboard_bulk_action_data.rb +0 -15
  117. data/lib/datadog_api_client/v1/models/dashboard_bulk_delete_request.rb +0 -13
  118. data/lib/datadog_api_client/v1/models/dashboard_delete_response.rb +0 -13
  119. data/lib/datadog_api_client/v1/models/dashboard_list.rb +0 -13
  120. data/lib/datadog_api_client/v1/models/dashboard_list_delete_response.rb +0 -13
  121. data/lib/datadog_api_client/v1/models/dashboard_list_list_response.rb +0 -13
  122. data/lib/datadog_api_client/v1/models/dashboard_restore_request.rb +0 -13
  123. data/lib/datadog_api_client/v1/models/dashboard_summary.rb +0 -13
  124. data/lib/datadog_api_client/v1/models/dashboard_summary_definition.rb +0 -13
  125. data/lib/datadog_api_client/v1/models/dashboard_template_variable.rb +14 -15
  126. data/lib/datadog_api_client/v1/models/dashboard_template_variable_preset.rb +0 -13
  127. data/lib/datadog_api_client/v1/models/dashboard_template_variable_preset_value.rb +28 -18
  128. data/lib/datadog_api_client/v1/models/deleted_monitor.rb +0 -13
  129. data/lib/datadog_api_client/v1/models/distribution_point_item.rb +1 -1
  130. data/lib/datadog_api_client/v1/models/distribution_points_payload.rb +0 -13
  131. data/lib/datadog_api_client/v1/models/distribution_points_series.rb +0 -15
  132. data/lib/datadog_api_client/v1/models/distribution_widget_definition.rb +0 -15
  133. data/lib/datadog_api_client/v1/models/distribution_widget_histogram_request_query.rb +1 -1
  134. data/lib/datadog_api_client/v1/models/distribution_widget_request.rb +0 -13
  135. data/lib/datadog_api_client/v1/models/distribution_widget_x_axis.rb +0 -19
  136. data/lib/datadog_api_client/v1/models/distribution_widget_y_axis.rb +0 -19
  137. data/lib/datadog_api_client/v1/models/downtime.rb +0 -13
  138. data/lib/datadog_api_client/v1/models/downtime_child.rb +0 -13
  139. data/lib/datadog_api_client/v1/models/downtime_recurrence.rb +0 -13
  140. data/lib/datadog_api_client/v1/models/event.rb +0 -13
  141. data/lib/datadog_api_client/v1/models/event_create_request.rb +0 -13
  142. data/lib/datadog_api_client/v1/models/event_create_response.rb +0 -13
  143. data/lib/datadog_api_client/v1/models/event_list_response.rb +0 -13
  144. data/lib/datadog_api_client/v1/models/event_query_definition.rb +0 -13
  145. data/lib/datadog_api_client/v1/models/event_response.rb +0 -13
  146. data/lib/datadog_api_client/v1/models/event_stream_widget_definition.rb +0 -15
  147. data/lib/datadog_api_client/v1/models/event_timeline_widget_definition.rb +0 -15
  148. data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb +0 -13
  149. data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb +0 -13
  150. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition.rb +14 -17
  151. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_compute.rb +0 -13
  152. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition_search.rb +0 -13
  153. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by.rb +0 -13
  154. data/lib/datadog_api_client/v1/models/formula_and_function_event_query_group_by_sort.rb +0 -15
  155. data/lib/datadog_api_client/v1/models/formula_and_function_metric_query_definition.rb +0 -13
  156. data/lib/datadog_api_client/v1/models/formula_and_function_process_query_definition.rb +0 -15
  157. data/lib/datadog_api_client/v1/models/formula_and_function_query_definition.rb +1 -1
  158. data/lib/datadog_api_client/v1/models/free_text_widget_definition.rb +0 -15
  159. data/lib/datadog_api_client/v1/models/funnel_query.rb +0 -15
  160. data/lib/datadog_api_client/v1/models/funnel_step.rb +0 -13
  161. data/lib/datadog_api_client/v1/models/funnel_widget_definition.rb +0 -15
  162. data/lib/datadog_api_client/v1/models/funnel_widget_request.rb +0 -13
  163. data/lib/datadog_api_client/v1/models/gcp_account.rb +0 -13
  164. data/lib/datadog_api_client/v1/models/geomap_widget_definition.rb +0 -15
  165. data/lib/datadog_api_client/v1/models/geomap_widget_definition_style.rb +0 -13
  166. data/lib/datadog_api_client/v1/models/geomap_widget_definition_view.rb +0 -13
  167. data/lib/datadog_api_client/v1/models/geomap_widget_request.rb +0 -13
  168. data/lib/datadog_api_client/v1/models/graph_snapshot.rb +0 -13
  169. data/lib/datadog_api_client/v1/models/group_widget_definition.rb +0 -17
  170. data/lib/datadog_api_client/v1/models/heat_map_widget_definition.rb +0 -15
  171. data/lib/datadog_api_client/v1/models/heat_map_widget_request.rb +0 -13
  172. data/lib/datadog_api_client/v1/models/host.rb +0 -13
  173. data/lib/datadog_api_client/v1/models/host_list_response.rb +0 -13
  174. data/lib/datadog_api_client/v1/models/host_map_request.rb +0 -13
  175. data/lib/datadog_api_client/v1/models/host_map_widget_definition.rb +0 -15
  176. data/lib/datadog_api_client/v1/models/host_map_widget_definition_requests.rb +0 -13
  177. data/lib/datadog_api_client/v1/models/host_map_widget_definition_style.rb +0 -13
  178. data/lib/datadog_api_client/v1/models/host_meta.rb +0 -13
  179. data/lib/datadog_api_client/v1/models/host_meta_install_method.rb +0 -13
  180. data/lib/datadog_api_client/v1/models/host_metrics.rb +0 -13
  181. data/lib/datadog_api_client/v1/models/host_mute_response.rb +0 -13
  182. data/lib/datadog_api_client/v1/models/host_mute_settings.rb +0 -13
  183. data/lib/datadog_api_client/v1/models/host_tags.rb +0 -13
  184. data/lib/datadog_api_client/v1/models/host_totals.rb +0 -13
  185. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb +0 -13
  186. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_metadata.rb +0 -13
  187. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_pagination.rb +0 -13
  188. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_response.rb +0 -13
  189. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -0
  190. data/lib/datadog_api_client/v1/models/http_log_error.rb +0 -13
  191. data/lib/datadog_api_client/v1/models/http_log_item.rb +0 -13
  192. data/lib/datadog_api_client/v1/models/i_frame_widget_definition.rb +0 -15
  193. data/lib/datadog_api_client/v1/models/idp_form_data.rb +0 -13
  194. data/lib/datadog_api_client/v1/models/idp_response.rb +0 -13
  195. data/lib/datadog_api_client/v1/models/image_widget_definition.rb +0 -19
  196. data/lib/datadog_api_client/v1/models/intake_payload_accepted.rb +0 -13
  197. data/lib/datadog_api_client/v1/models/ip_prefixes_agents.rb +0 -13
  198. data/lib/datadog_api_client/v1/models/ip_prefixes_api.rb +0 -13
  199. data/lib/datadog_api_client/v1/models/ip_prefixes_apm.rb +0 -13
  200. data/lib/datadog_api_client/v1/models/ip_prefixes_logs.rb +0 -13
  201. data/lib/datadog_api_client/v1/models/ip_prefixes_process.rb +0 -13
  202. data/lib/datadog_api_client/v1/models/ip_prefixes_synthetics.rb +0 -13
  203. data/lib/datadog_api_client/v1/models/ip_prefixes_synthetics_private_locations.rb +0 -13
  204. data/lib/datadog_api_client/v1/models/ip_prefixes_webhooks.rb +0 -13
  205. data/lib/datadog_api_client/v1/models/ip_ranges.rb +0 -13
  206. data/lib/datadog_api_client/v1/models/list_stream_column.rb +0 -13
  207. data/lib/datadog_api_client/v1/models/list_stream_query.rb +14 -19
  208. data/lib/datadog_api_client/v1/models/list_stream_widget_definition.rb +0 -15
  209. data/lib/datadog_api_client/v1/models/list_stream_widget_request.rb +0 -13
  210. data/lib/datadog_api_client/v1/models/log.rb +0 -13
  211. data/lib/datadog_api_client/v1/models/log_content.rb +0 -13
  212. data/lib/datadog_api_client/v1/models/log_query_definition.rb +0 -13
  213. data/lib/datadog_api_client/v1/models/log_query_definition_group_by.rb +0 -13
  214. data/lib/datadog_api_client/v1/models/log_query_definition_group_by_sort.rb +0 -13
  215. data/lib/datadog_api_client/v1/models/log_query_definition_search.rb +0 -13
  216. data/lib/datadog_api_client/v1/models/log_stream_widget_definition.rb +0 -15
  217. data/lib/datadog_api_client/v1/models/logs_api_error.rb +0 -13
  218. data/lib/datadog_api_client/v1/models/logs_api_error_response.rb +0 -13
  219. data/lib/datadog_api_client/v1/models/logs_arithmetic_processor.rb +0 -19
  220. data/lib/datadog_api_client/v1/models/logs_attribute_remapper.rb +0 -25
  221. data/lib/datadog_api_client/v1/models/logs_by_retention.rb +0 -13
  222. data/lib/datadog_api_client/v1/models/logs_by_retention_monthly_usage.rb +0 -13
  223. data/lib/datadog_api_client/v1/models/logs_by_retention_org_usage.rb +0 -13
  224. data/lib/datadog_api_client/v1/models/logs_by_retention_orgs.rb +0 -13
  225. data/lib/datadog_api_client/v1/models/logs_category_processor.rb +0 -17
  226. data/lib/datadog_api_client/v1/models/logs_category_processor_category.rb +0 -13
  227. data/lib/datadog_api_client/v1/models/logs_date_remapper.rb +0 -17
  228. data/lib/datadog_api_client/v1/models/logs_exclusion.rb +0 -13
  229. data/lib/datadog_api_client/v1/models/logs_exclusion_filter.rb +0 -13
  230. data/lib/datadog_api_client/v1/models/logs_filter.rb +0 -13
  231. data/lib/datadog_api_client/v1/models/logs_geo_ip_parser.rb +0 -21
  232. data/lib/datadog_api_client/v1/models/logs_grok_parser.rb +0 -19
  233. data/lib/datadog_api_client/v1/models/logs_grok_parser_rules.rb +0 -15
  234. data/lib/datadog_api_client/v1/models/logs_index.rb +0 -13
  235. data/lib/datadog_api_client/v1/models/logs_index_list_response.rb +0 -13
  236. data/lib/datadog_api_client/v1/models/logs_index_update_request.rb +0 -13
  237. data/lib/datadog_api_client/v1/models/logs_indexes_order.rb +0 -13
  238. data/lib/datadog_api_client/v1/models/logs_list_request.rb +0 -13
  239. data/lib/datadog_api_client/v1/models/logs_list_request_time.rb +0 -13
  240. data/lib/datadog_api_client/v1/models/logs_list_response.rb +0 -13
  241. data/lib/datadog_api_client/v1/models/logs_lookup_processor.rb +0 -17
  242. data/lib/datadog_api_client/v1/models/logs_message_remapper.rb +0 -19
  243. data/lib/datadog_api_client/v1/models/logs_pipeline.rb +0 -13
  244. data/lib/datadog_api_client/v1/models/logs_pipeline_processor.rb +0 -17
  245. data/lib/datadog_api_client/v1/models/logs_pipelines_order.rb +0 -13
  246. data/lib/datadog_api_client/v1/models/logs_processor.rb +1 -1
  247. data/lib/datadog_api_client/v1/models/logs_query_compute.rb +0 -13
  248. data/lib/datadog_api_client/v1/models/logs_retention_agg_sum_usage.rb +0 -13
  249. data/lib/datadog_api_client/v1/models/logs_retention_sum_usage.rb +0 -13
  250. data/lib/datadog_api_client/v1/models/logs_service_remapper.rb +0 -17
  251. data/lib/datadog_api_client/v1/models/logs_status_remapper.rb +0 -17
  252. data/lib/datadog_api_client/v1/models/logs_string_builder_processor.rb +0 -19
  253. data/lib/datadog_api_client/v1/models/logs_trace_remapper.rb +0 -19
  254. data/lib/datadog_api_client/v1/models/logs_url_parser.rb +0 -23
  255. data/lib/datadog_api_client/v1/models/logs_user_agent_parser.rb +0 -23
  256. data/lib/datadog_api_client/v1/models/metric_metadata.rb +0 -13
  257. data/lib/datadog_api_client/v1/models/metric_search_response.rb +0 -13
  258. data/lib/datadog_api_client/v1/models/metric_search_response_results.rb +0 -13
  259. data/lib/datadog_api_client/v1/models/metrics_list_response.rb +0 -13
  260. data/lib/datadog_api_client/v1/models/metrics_payload.rb +0 -13
  261. data/lib/datadog_api_client/v1/models/metrics_query_metadata.rb +0 -13
  262. data/lib/datadog_api_client/v1/models/metrics_query_response.rb +0 -13
  263. data/lib/datadog_api_client/v1/models/metrics_query_unit.rb +0 -13
  264. data/lib/datadog_api_client/v1/models/monitor.rb +0 -13
  265. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition.rb +0 -13
  266. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition_compute.rb +0 -13
  267. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_definition_search.rb +0 -13
  268. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_group_by.rb +0 -13
  269. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_event_query_group_by_sort.rb +0 -15
  270. data/lib/datadog_api_client/v1/models/monitor_formula_and_function_query_definition.rb +1 -1
  271. data/lib/datadog_api_client/v1/models/monitor_group_search_response.rb +0 -13
  272. data/lib/datadog_api_client/v1/models/monitor_group_search_response_counts.rb +0 -13
  273. data/lib/datadog_api_client/v1/models/monitor_group_search_result.rb +0 -13
  274. data/lib/datadog_api_client/v1/models/monitor_options.rb +18 -28
  275. data/lib/datadog_api_client/v1/models/monitor_options_aggregation.rb +0 -13
  276. data/lib/datadog_api_client/v1/models/monitor_search_count_item.rb +0 -13
  277. data/lib/datadog_api_client/v1/models/monitor_search_response.rb +0 -13
  278. data/lib/datadog_api_client/v1/models/monitor_search_response_counts.rb +0 -13
  279. data/lib/datadog_api_client/v1/models/monitor_search_response_metadata.rb +0 -13
  280. data/lib/datadog_api_client/v1/models/monitor_search_result.rb +0 -13
  281. data/lib/datadog_api_client/v1/models/monitor_search_result_notification.rb +0 -13
  282. data/lib/datadog_api_client/v1/models/monitor_state.rb +0 -13
  283. data/lib/datadog_api_client/v1/models/monitor_state_group.rb +0 -13
  284. data/lib/datadog_api_client/v1/models/monitor_summary_widget_definition.rb +0 -17
  285. data/lib/datadog_api_client/v1/models/monitor_threshold_window_options.rb +0 -13
  286. data/lib/datadog_api_client/v1/models/monitor_thresholds.rb +0 -13
  287. data/lib/datadog_api_client/v1/models/monitor_update_request.rb +0 -13
  288. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb +0 -13
  289. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_metadata.rb +0 -13
  290. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_pagination.rb +0 -13
  291. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_response.rb +0 -13
  292. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -0
  293. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +21 -14
  294. data/lib/datadog_api_client/v1/models/note_widget_definition.rb +0 -17
  295. data/lib/datadog_api_client/v1/models/notebook_absolute_time.rb +0 -13
  296. data/lib/datadog_api_client/v1/models/notebook_author.rb +0 -13
  297. data/lib/datadog_api_client/v1/models/notebook_cell_create_request.rb +0 -15
  298. data/lib/datadog_api_client/v1/models/notebook_cell_create_request_attributes.rb +1 -1
  299. data/lib/datadog_api_client/v1/models/notebook_cell_response.rb +0 -15
  300. data/lib/datadog_api_client/v1/models/notebook_cell_response_attributes.rb +1 -1
  301. data/lib/datadog_api_client/v1/models/notebook_cell_time.rb +1 -1
  302. data/lib/datadog_api_client/v1/models/notebook_cell_update_request.rb +0 -15
  303. data/lib/datadog_api_client/v1/models/notebook_cell_update_request_attributes.rb +1 -1
  304. data/lib/datadog_api_client/v1/models/notebook_create_data.rb +0 -15
  305. data/lib/datadog_api_client/v1/models/notebook_create_data_attributes.rb +0 -15
  306. data/lib/datadog_api_client/v1/models/notebook_create_request.rb +0 -13
  307. data/lib/datadog_api_client/v1/models/notebook_distribution_cell_attributes.rb +0 -13
  308. data/lib/datadog_api_client/v1/models/notebook_global_time.rb +1 -1
  309. data/lib/datadog_api_client/v1/models/notebook_heat_map_cell_attributes.rb +0 -13
  310. data/lib/datadog_api_client/v1/models/notebook_log_stream_cell_attributes.rb +0 -13
  311. data/lib/datadog_api_client/v1/models/notebook_markdown_cell_attributes.rb +0 -13
  312. data/lib/datadog_api_client/v1/models/notebook_markdown_cell_definition.rb +0 -15
  313. data/lib/datadog_api_client/v1/models/notebook_metadata.rb +0 -17
  314. data/lib/datadog_api_client/v1/models/notebook_relative_time.rb +0 -13
  315. data/lib/datadog_api_client/v1/models/notebook_response.rb +0 -13
  316. data/lib/datadog_api_client/v1/models/notebook_response_data.rb +0 -15
  317. data/lib/datadog_api_client/v1/models/notebook_response_data_attributes.rb +0 -15
  318. data/lib/datadog_api_client/v1/models/notebook_split_by.rb +0 -13
  319. data/lib/datadog_api_client/v1/models/notebook_timeseries_cell_attributes.rb +0 -13
  320. data/lib/datadog_api_client/v1/models/notebook_toplist_cell_attributes.rb +0 -13
  321. data/lib/datadog_api_client/v1/models/notebook_update_cell.rb +1 -1
  322. data/lib/datadog_api_client/v1/models/notebook_update_data.rb +0 -15
  323. data/lib/datadog_api_client/v1/models/notebook_update_data_attributes.rb +0 -15
  324. data/lib/datadog_api_client/v1/models/notebook_update_request.rb +0 -13
  325. data/lib/datadog_api_client/v1/models/notebooks_response.rb +0 -13
  326. data/lib/datadog_api_client/v1/models/notebooks_response_data.rb +0 -15
  327. data/lib/datadog_api_client/v1/models/notebooks_response_data_attributes.rb +0 -15
  328. data/lib/datadog_api_client/v1/models/notebooks_response_meta.rb +0 -13
  329. data/lib/datadog_api_client/v1/models/notebooks_response_page.rb +0 -13
  330. data/lib/datadog_api_client/v1/models/org_downgraded_response.rb +0 -13
  331. data/lib/datadog_api_client/v1/models/organization.rb +0 -13
  332. data/lib/datadog_api_client/v1/models/organization_billing.rb +3 -13
  333. data/lib/datadog_api_client/v1/models/organization_create_body.rb +0 -13
  334. data/lib/datadog_api_client/v1/models/organization_create_response.rb +0 -13
  335. data/lib/datadog_api_client/v1/models/organization_list_response.rb +0 -13
  336. data/lib/datadog_api_client/v1/models/organization_response.rb +0 -13
  337. data/lib/datadog_api_client/v1/models/organization_settings.rb +0 -15
  338. data/lib/datadog_api_client/v1/models/organization_settings_saml.rb +0 -13
  339. data/lib/datadog_api_client/v1/models/organization_settings_saml_autocreate_users_domains.rb +0 -13
  340. data/lib/datadog_api_client/v1/models/organization_settings_saml_idp_initiated_login.rb +0 -13
  341. data/lib/datadog_api_client/v1/models/organization_settings_saml_strict_mode.rb +0 -13
  342. data/lib/datadog_api_client/v1/models/organization_subscription.rb +3 -13
  343. data/lib/datadog_api_client/v1/models/pager_duty_service.rb +0 -13
  344. data/lib/datadog_api_client/v1/models/pager_duty_service_key.rb +0 -13
  345. data/lib/datadog_api_client/v1/models/pager_duty_service_name.rb +0 -13
  346. data/lib/datadog_api_client/v1/models/pagination.rb +0 -13
  347. data/lib/datadog_api_client/v1/models/process_query_definition.rb +0 -13
  348. data/lib/datadog_api_client/v1/models/query_value_widget_definition.rb +0 -15
  349. data/lib/datadog_api_client/v1/models/query_value_widget_request.rb +0 -13
  350. data/lib/datadog_api_client/v1/models/response_meta_attributes.rb +0 -13
  351. data/lib/datadog_api_client/v1/models/scatter_plot_request.rb +0 -13
  352. data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition.rb +0 -15
  353. data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition_requests.rb +0 -13
  354. data/lib/datadog_api_client/v1/models/scatterplot_table_request.rb +0 -13
  355. data/lib/datadog_api_client/v1/models/scatterplot_widget_formula.rb +0 -13
  356. data/lib/datadog_api_client/v1/models/search_service_level_objective.rb +98 -0
  357. data/lib/datadog_api_client/v1/models/search_service_level_objective_attributes.rb +273 -0
  358. data/lib/datadog_api_client/v1/models/search_service_level_objective_data.rb +121 -0
  359. data/lib/datadog_api_client/v1/models/search_slo_query.rb +124 -0
  360. data/lib/datadog_api_client/v1/models/search_slo_response.rb +0 -13
  361. data/lib/datadog_api_client/v1/models/search_slo_response_data.rb +0 -13
  362. data/lib/datadog_api_client/v1/models/search_slo_response_data_attributes.rb +8 -21
  363. data/lib/datadog_api_client/v1/models/search_slo_response_data_attributes_facets.rb +0 -13
  364. data/lib/datadog_api_client/v1/models/search_slo_response_data_attributes_facets_object_int.rb +0 -13
  365. data/lib/datadog_api_client/v1/models/search_slo_response_data_attributes_facets_object_string.rb +0 -13
  366. data/lib/datadog_api_client/v1/models/search_slo_response_links.rb +2 -13
  367. data/lib/datadog_api_client/v1/models/search_slo_response_meta.rb +0 -13
  368. data/lib/datadog_api_client/v1/models/search_slo_response_meta_page.rb +0 -13
  369. data/lib/datadog_api_client/v1/models/search_slo_threshold.rb +171 -0
  370. data/lib/datadog_api_client/v1/models/search_slo_timeframe.rb +28 -0
  371. data/lib/datadog_api_client/v1/models/series.rb +0 -15
  372. data/lib/datadog_api_client/v1/models/service_check.rb +0 -13
  373. data/lib/datadog_api_client/v1/models/service_level_objective.rb +0 -13
  374. data/lib/datadog_api_client/v1/models/service_level_objective_query.rb +0 -13
  375. data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +0 -13
  376. data/lib/datadog_api_client/v1/models/service_map_widget_definition.rb +0 -15
  377. data/lib/datadog_api_client/v1/models/service_summary_widget_definition.rb +0 -15
  378. data/lib/datadog_api_client/v1/models/signal_assignee_update_request.rb +0 -13
  379. data/lib/datadog_api_client/v1/models/signal_state_update_request.rb +0 -13
  380. data/lib/datadog_api_client/v1/models/slack_integration_channel.rb +0 -13
  381. data/lib/datadog_api_client/v1/models/slack_integration_channel_display.rb +0 -21
  382. data/lib/datadog_api_client/v1/models/slo_bulk_delete_error.rb +0 -13
  383. data/lib/datadog_api_client/v1/models/slo_bulk_delete_response.rb +0 -13
  384. data/lib/datadog_api_client/v1/models/slo_bulk_delete_response_data.rb +0 -13
  385. data/lib/datadog_api_client/v1/models/slo_correction.rb +0 -15
  386. data/lib/datadog_api_client/v1/models/slo_correction_create_data.rb +0 -15
  387. data/lib/datadog_api_client/v1/models/slo_correction_create_request.rb +0 -13
  388. data/lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb +0 -13
  389. data/lib/datadog_api_client/v1/models/slo_correction_list_response.rb +0 -13
  390. data/lib/datadog_api_client/v1/models/slo_correction_response.rb +0 -13
  391. data/lib/datadog_api_client/v1/models/slo_correction_response_attributes.rb +0 -13
  392. data/lib/datadog_api_client/v1/models/slo_correction_response_attributes_modifier.rb +0 -13
  393. data/lib/datadog_api_client/v1/models/slo_correction_update_data.rb +0 -15
  394. data/lib/datadog_api_client/v1/models/slo_correction_update_request.rb +0 -13
  395. data/lib/datadog_api_client/v1/models/slo_correction_update_request_attributes.rb +0 -13
  396. data/lib/datadog_api_client/v1/models/slo_creator.rb +118 -0
  397. data/lib/datadog_api_client/v1/models/slo_delete_response.rb +0 -13
  398. data/lib/datadog_api_client/v1/models/slo_history_metrics.rb +0 -13
  399. data/lib/datadog_api_client/v1/models/slo_history_metrics_series.rb +0 -13
  400. data/lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata.rb +0 -13
  401. data/lib/datadog_api_client/v1/models/slo_history_metrics_series_metadata_unit.rb +0 -13
  402. data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +0 -13
  403. data/lib/datadog_api_client/v1/models/slo_history_response.rb +0 -13
  404. data/lib/datadog_api_client/v1/models/slo_history_response_data.rb +0 -13
  405. data/lib/datadog_api_client/v1/models/slo_history_response_error.rb +0 -13
  406. data/lib/datadog_api_client/v1/models/slo_history_response_error_with_type.rb +0 -13
  407. data/lib/datadog_api_client/v1/models/slo_history_sli_data.rb +0 -13
  408. data/lib/datadog_api_client/v1/models/slo_list_response.rb +0 -13
  409. data/lib/datadog_api_client/v1/models/slo_list_response_metadata.rb +0 -13
  410. data/lib/datadog_api_client/v1/models/slo_list_response_metadata_page.rb +0 -13
  411. data/lib/datadog_api_client/v1/models/slo_list_widget_definition.rb +170 -0
  412. data/lib/datadog_api_client/v1/models/slo_list_widget_definition_type.rb +26 -0
  413. data/lib/datadog_api_client/v1/models/slo_list_widget_query.rb +134 -0
  414. data/lib/datadog_api_client/v1/models/slo_list_widget_request.rb +130 -0
  415. data/lib/datadog_api_client/v1/models/slo_list_widget_request_type.rb +26 -0
  416. data/lib/datadog_api_client/v1/models/slo_overall_statuses.rb +161 -0
  417. data/lib/datadog_api_client/v1/models/slo_raw_error_budget_remaining.rb +108 -0
  418. data/lib/datadog_api_client/v1/models/slo_response.rb +0 -13
  419. data/lib/datadog_api_client/v1/models/slo_response_data.rb +0 -13
  420. data/lib/datadog_api_client/v1/models/slo_threshold.rb +0 -13
  421. data/lib/datadog_api_client/v1/models/slo_widget_definition.rb +0 -17
  422. data/lib/datadog_api_client/v1/models/successful_signal_update_response.rb +0 -13
  423. data/lib/datadog_api_client/v1/models/sunburst_widget_definition.rb +0 -15
  424. data/lib/datadog_api_client/v1/models/sunburst_widget_legend.rb +1 -1
  425. data/lib/datadog_api_client/v1/models/sunburst_widget_legend_inline_automatic.rb +0 -13
  426. data/lib/datadog_api_client/v1/models/sunburst_widget_legend_table.rb +0 -13
  427. data/lib/datadog_api_client/v1/models/sunburst_widget_request.rb +0 -13
  428. data/lib/datadog_api_client/v1/models/synthetics_api_step.rb +0 -15
  429. data/lib/datadog_api_client/v1/models/synthetics_api_test.rb +0 -15
  430. data/lib/datadog_api_client/v1/models/synthetics_api_test_config.rb +0 -15
  431. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_data.rb +0 -13
  432. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_failure.rb +0 -13
  433. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_full.rb +0 -13
  434. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_full_check.rb +0 -13
  435. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_short.rb +0 -13
  436. data/lib/datadog_api_client/v1/models/synthetics_api_test_result_short_result.rb +0 -13
  437. data/lib/datadog_api_client/v1/models/synthetics_assertion.rb +1 -1
  438. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target.rb +0 -13
  439. data/lib/datadog_api_client/v1/models/synthetics_assertion_json_path_target_target.rb +0 -13
  440. data/lib/datadog_api_client/v1/models/synthetics_assertion_operator.rb +1 -0
  441. data/lib/datadog_api_client/v1/models/synthetics_assertion_target.rb +0 -13
  442. data/lib/datadog_api_client/v1/models/synthetics_basic_auth.rb +1 -1
  443. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_digest.rb +0 -15
  444. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_ntlm.rb +0 -15
  445. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_sigv4.rb +0 -15
  446. data/lib/datadog_api_client/v1/models/synthetics_basic_auth_web.rb +0 -15
  447. data/lib/datadog_api_client/v1/models/synthetics_batch_details.rb +0 -13
  448. data/lib/datadog_api_client/v1/models/synthetics_batch_details_data.rb +0 -13
  449. data/lib/datadog_api_client/v1/models/synthetics_batch_result.rb +0 -13
  450. data/lib/datadog_api_client/v1/models/synthetics_browser_error.rb +0 -13
  451. data/lib/datadog_api_client/v1/models/synthetics_browser_test.rb +1 -16
  452. data/lib/datadog_api_client/v1/models/synthetics_browser_test_config.rb +0 -15
  453. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_data.rb +0 -13
  454. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_failure.rb +0 -13
  455. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_full.rb +0 -13
  456. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_full_check.rb +0 -13
  457. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_short.rb +0 -13
  458. data/lib/datadog_api_client/v1/models/synthetics_browser_test_result_short_result.rb +0 -13
  459. data/lib/datadog_api_client/v1/models/synthetics_browser_test_rum_settings.rb +0 -13
  460. data/lib/datadog_api_client/v1/models/synthetics_browser_variable.rb +0 -13
  461. data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata.rb +0 -13
  462. data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_ci.rb +0 -13
  463. data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_git.rb +0 -13
  464. data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_pipeline.rb +0 -13
  465. data/lib/datadog_api_client/v1/models/synthetics_ci_batch_metadata_provider.rb +0 -13
  466. data/lib/datadog_api_client/v1/models/synthetics_ci_test.rb +0 -13
  467. data/lib/datadog_api_client/v1/models/synthetics_ci_test_body.rb +0 -13
  468. data/lib/datadog_api_client/v1/models/synthetics_config_variable.rb +0 -13
  469. data/lib/datadog_api_client/v1/models/synthetics_core_web_vitals.rb +0 -13
  470. data/lib/datadog_api_client/v1/models/synthetics_delete_tests_payload.rb +0 -13
  471. data/lib/datadog_api_client/v1/models/synthetics_delete_tests_response.rb +0 -13
  472. data/lib/datadog_api_client/v1/models/synthetics_deleted_test.rb +0 -13
  473. data/lib/datadog_api_client/v1/models/synthetics_device.rb +0 -13
  474. data/lib/datadog_api_client/v1/models/synthetics_get_api_test_latest_results_response.rb +0 -13
  475. data/lib/datadog_api_client/v1/models/synthetics_get_browser_test_latest_results_response.rb +0 -13
  476. data/lib/datadog_api_client/v1/models/synthetics_global_variable.rb +0 -13
  477. data/lib/datadog_api_client/v1/models/synthetics_global_variable_attributes.rb +0 -13
  478. data/lib/datadog_api_client/v1/models/synthetics_global_variable_parse_test_options.rb +0 -13
  479. data/lib/datadog_api_client/v1/models/synthetics_global_variable_value.rb +0 -13
  480. data/lib/datadog_api_client/v1/models/synthetics_list_global_variables_response.rb +0 -13
  481. data/lib/datadog_api_client/v1/models/synthetics_list_tests_response.rb +0 -13
  482. data/lib/datadog_api_client/v1/models/synthetics_location.rb +0 -13
  483. data/lib/datadog_api_client/v1/models/synthetics_locations.rb +0 -13
  484. data/lib/datadog_api_client/v1/models/synthetics_parsing_options.rb +0 -13
  485. data/lib/datadog_api_client/v1/models/synthetics_private_location.rb +0 -13
  486. data/lib/datadog_api_client/v1/models/synthetics_private_location_creation_response.rb +0 -13
  487. data/lib/datadog_api_client/v1/models/synthetics_private_location_creation_response_result_encryption.rb +0 -13
  488. data/lib/datadog_api_client/v1/models/synthetics_private_location_metadata.rb +0 -13
  489. data/lib/datadog_api_client/v1/models/synthetics_private_location_secrets.rb +0 -13
  490. data/lib/datadog_api_client/v1/models/synthetics_private_location_secrets_authentication.rb +0 -13
  491. data/lib/datadog_api_client/v1/models/synthetics_private_location_secrets_config_decryption.rb +0 -13
  492. data/lib/datadog_api_client/v1/models/synthetics_ssl_certificate.rb +0 -13
  493. data/lib/datadog_api_client/v1/models/synthetics_ssl_certificate_issuer.rb +0 -13
  494. data/lib/datadog_api_client/v1/models/synthetics_ssl_certificate_subject.rb +0 -13
  495. data/lib/datadog_api_client/v1/models/synthetics_step.rb +0 -13
  496. data/lib/datadog_api_client/v1/models/synthetics_step_detail.rb +0 -13
  497. data/lib/datadog_api_client/v1/models/synthetics_step_detail_warning.rb +0 -13
  498. data/lib/datadog_api_client/v1/models/synthetics_test_ci_options.rb +0 -13
  499. data/lib/datadog_api_client/v1/models/synthetics_test_config.rb +0 -15
  500. data/lib/datadog_api_client/v1/models/synthetics_test_details.rb +0 -13
  501. data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +0 -13
  502. data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options.rb +0 -13
  503. data/lib/datadog_api_client/v1/models/synthetics_test_options_retry.rb +0 -13
  504. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +0 -15
  505. data/lib/datadog_api_client/v1/models/synthetics_test_request_certificate.rb +0 -13
  506. data/lib/datadog_api_client/v1/models/synthetics_test_request_certificate_item.rb +0 -13
  507. data/lib/datadog_api_client/v1/models/synthetics_test_request_proxy.rb +0 -13
  508. data/lib/datadog_api_client/v1/models/synthetics_timing.rb +0 -13
  509. data/lib/datadog_api_client/v1/models/synthetics_trigger_body.rb +0 -13
  510. data/lib/datadog_api_client/v1/models/synthetics_trigger_ci_test_location.rb +0 -13
  511. data/lib/datadog_api_client/v1/models/synthetics_trigger_ci_test_run_result.rb +0 -13
  512. data/lib/datadog_api_client/v1/models/synthetics_trigger_ci_tests_response.rb +0 -13
  513. data/lib/datadog_api_client/v1/models/synthetics_trigger_test.rb +0 -13
  514. data/lib/datadog_api_client/v1/models/synthetics_update_test_pause_status_payload.rb +0 -13
  515. data/lib/datadog_api_client/v1/models/synthetics_variable_parser.rb +0 -13
  516. data/lib/datadog_api_client/v1/models/table_widget_definition.rb +0 -15
  517. data/lib/datadog_api_client/v1/models/table_widget_request.rb +0 -13
  518. data/lib/datadog_api_client/v1/models/tag_to_hosts.rb +0 -13
  519. data/lib/datadog_api_client/v1/models/timeseries_background.rb +0 -15
  520. data/lib/datadog_api_client/v1/models/timeseries_widget_definition.rb +0 -15
  521. data/lib/datadog_api_client/v1/models/timeseries_widget_expression_alias.rb +0 -13
  522. data/lib/datadog_api_client/v1/models/timeseries_widget_request.rb +0 -13
  523. data/lib/datadog_api_client/v1/models/toplist_widget_definition.rb +0 -15
  524. data/lib/datadog_api_client/v1/models/toplist_widget_request.rb +0 -13
  525. data/lib/datadog_api_client/v1/models/topology_map_widget_definition.rb +178 -0
  526. data/lib/datadog_api_client/v1/models/topology_map_widget_definition_type.rb +26 -0
  527. data/lib/datadog_api_client/v1/models/topology_query.rb +131 -0
  528. data/lib/datadog_api_client/v1/models/topology_query_data_source.rb +27 -0
  529. data/lib/datadog_api_client/v1/models/topology_request.rb +108 -0
  530. data/lib/datadog_api_client/v1/models/topology_request_type.rb +26 -0
  531. data/lib/datadog_api_client/v1/models/tree_map_color_by.rb +2 -0
  532. data/lib/datadog_api_client/v1/models/tree_map_group_by.rb +2 -0
  533. data/lib/datadog_api_client/v1/models/tree_map_size_by.rb +2 -0
  534. data/lib/datadog_api_client/v1/models/tree_map_widget_definition.rb +0 -17
  535. data/lib/datadog_api_client/v1/models/tree_map_widget_request.rb +0 -13
  536. data/lib/datadog_api_client/v1/models/usage_analyzed_logs_hour.rb +0 -13
  537. data/lib/datadog_api_client/v1/models/usage_analyzed_logs_response.rb +0 -13
  538. data/lib/datadog_api_client/v1/models/usage_attribution_aggregates_body.rb +0 -13
  539. data/lib/datadog_api_client/v1/models/usage_attribution_body.rb +0 -13
  540. data/lib/datadog_api_client/v1/models/usage_attribution_metadata.rb +0 -13
  541. data/lib/datadog_api_client/v1/models/usage_attribution_pagination.rb +0 -13
  542. data/lib/datadog_api_client/v1/models/usage_attribution_response.rb +0 -13
  543. data/lib/datadog_api_client/v1/models/usage_attribution_sort.rb +2 -0
  544. data/lib/datadog_api_client/v1/models/usage_attribution_supported_metrics.rb +2 -0
  545. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +21 -14
  546. data/lib/datadog_api_client/v1/models/usage_audit_logs_hour.rb +0 -13
  547. data/lib/datadog_api_client/v1/models/usage_audit_logs_response.rb +0 -13
  548. data/lib/datadog_api_client/v1/models/usage_billable_summary_body.rb +0 -13
  549. data/lib/datadog_api_client/v1/models/usage_billable_summary_hour.rb +0 -13
  550. data/lib/datadog_api_client/v1/models/usage_billable_summary_keys.rb +0 -13
  551. data/lib/datadog_api_client/v1/models/usage_billable_summary_response.rb +0 -13
  552. data/lib/datadog_api_client/v1/models/usage_ci_visibility_hour.rb +0 -13
  553. data/lib/datadog_api_client/v1/models/usage_ci_visibility_response.rb +0 -13
  554. data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_hour.rb +0 -13
  555. data/lib/datadog_api_client/v1/models/usage_cloud_security_posture_management_response.rb +0 -13
  556. data/lib/datadog_api_client/v1/models/usage_custom_reports_attributes.rb +0 -13
  557. data/lib/datadog_api_client/v1/models/usage_custom_reports_data.rb +0 -15
  558. data/lib/datadog_api_client/v1/models/usage_custom_reports_meta.rb +0 -13
  559. data/lib/datadog_api_client/v1/models/usage_custom_reports_page.rb +0 -13
  560. data/lib/datadog_api_client/v1/models/usage_custom_reports_response.rb +0 -13
  561. data/lib/datadog_api_client/v1/models/usage_cws_hour.rb +0 -13
  562. data/lib/datadog_api_client/v1/models/usage_cws_response.rb +0 -13
  563. data/lib/datadog_api_client/v1/models/usage_dbm_hour.rb +0 -13
  564. data/lib/datadog_api_client/v1/models/usage_dbm_response.rb +0 -13
  565. data/lib/datadog_api_client/v1/models/usage_fargate_hour.rb +11 -14
  566. data/lib/datadog_api_client/v1/models/usage_fargate_response.rb +0 -13
  567. data/lib/datadog_api_client/v1/models/usage_host_hour.rb +0 -13
  568. data/lib/datadog_api_client/v1/models/usage_hosts_response.rb +0 -13
  569. data/lib/datadog_api_client/v1/models/usage_incident_management_hour.rb +0 -13
  570. data/lib/datadog_api_client/v1/models/usage_incident_management_response.rb +0 -13
  571. data/lib/datadog_api_client/v1/models/usage_indexed_spans_hour.rb +0 -13
  572. data/lib/datadog_api_client/v1/models/usage_indexed_spans_response.rb +0 -13
  573. data/lib/datadog_api_client/v1/models/usage_ingested_spans_hour.rb +0 -13
  574. data/lib/datadog_api_client/v1/models/usage_ingested_spans_response.rb +0 -13
  575. data/lib/datadog_api_client/v1/models/usage_iot_hour.rb +0 -13
  576. data/lib/datadog_api_client/v1/models/usage_iot_response.rb +0 -13
  577. data/lib/datadog_api_client/v1/models/usage_lambda_hour.rb +0 -13
  578. data/lib/datadog_api_client/v1/models/usage_lambda_response.rb +0 -13
  579. data/lib/datadog_api_client/v1/models/usage_logs_by_index_hour.rb +0 -13
  580. data/lib/datadog_api_client/v1/models/usage_logs_by_index_response.rb +0 -13
  581. data/lib/datadog_api_client/v1/models/usage_logs_by_retention_hour.rb +0 -13
  582. data/lib/datadog_api_client/v1/models/usage_logs_by_retention_response.rb +0 -13
  583. data/lib/datadog_api_client/v1/models/usage_logs_hour.rb +0 -13
  584. data/lib/datadog_api_client/v1/models/usage_logs_response.rb +0 -13
  585. data/lib/datadog_api_client/v1/models/usage_network_flows_hour.rb +0 -13
  586. data/lib/datadog_api_client/v1/models/usage_network_flows_response.rb +0 -13
  587. data/lib/datadog_api_client/v1/models/usage_network_hosts_hour.rb +0 -13
  588. data/lib/datadog_api_client/v1/models/usage_network_hosts_response.rb +0 -13
  589. data/lib/datadog_api_client/v1/models/usage_online_archive_hour.rb +0 -13
  590. data/lib/datadog_api_client/v1/models/usage_online_archive_response.rb +0 -13
  591. data/lib/datadog_api_client/v1/models/usage_profiling_hour.rb +0 -13
  592. data/lib/datadog_api_client/v1/models/usage_profiling_response.rb +0 -13
  593. data/lib/datadog_api_client/v1/models/usage_rum_sessions_hour.rb +0 -13
  594. data/lib/datadog_api_client/v1/models/usage_rum_sessions_response.rb +0 -13
  595. data/lib/datadog_api_client/v1/models/usage_rum_units_hour.rb +0 -13
  596. data/lib/datadog_api_client/v1/models/usage_rum_units_response.rb +0 -13
  597. data/lib/datadog_api_client/v1/models/usage_sds_hour.rb +0 -13
  598. data/lib/datadog_api_client/v1/models/usage_sds_response.rb +0 -13
  599. data/lib/datadog_api_client/v1/models/usage_snmp_hour.rb +0 -13
  600. data/lib/datadog_api_client/v1/models/usage_snmp_response.rb +0 -13
  601. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_attributes.rb +0 -13
  602. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_data.rb +0 -15
  603. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_meta.rb +0 -13
  604. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_page.rb +0 -13
  605. data/lib/datadog_api_client/v1/models/usage_specified_custom_reports_response.rb +0 -13
  606. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +11 -14
  607. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +11 -14
  608. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +11 -14
  609. data/lib/datadog_api_client/v1/models/usage_synthetics_api_hour.rb +0 -13
  610. data/lib/datadog_api_client/v1/models/usage_synthetics_api_response.rb +0 -13
  611. data/lib/datadog_api_client/v1/models/usage_synthetics_browser_hour.rb +0 -13
  612. data/lib/datadog_api_client/v1/models/usage_synthetics_browser_response.rb +0 -13
  613. data/lib/datadog_api_client/v1/models/usage_synthetics_hour.rb +0 -13
  614. data/lib/datadog_api_client/v1/models/usage_synthetics_response.rb +0 -13
  615. data/lib/datadog_api_client/v1/models/usage_timeseries_hour.rb +0 -13
  616. data/lib/datadog_api_client/v1/models/usage_timeseries_response.rb +0 -13
  617. data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_hour.rb +0 -13
  618. data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_metadata.rb +0 -13
  619. data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_pagination.rb +0 -13
  620. data/lib/datadog_api_client/v1/models/usage_top_avg_metrics_response.rb +0 -13
  621. data/lib/datadog_api_client/v1/models/user.rb +0 -15
  622. data/lib/datadog_api_client/v1/models/user_disable_response.rb +0 -13
  623. data/lib/datadog_api_client/v1/models/user_list_response.rb +0 -13
  624. data/lib/datadog_api_client/v1/models/user_response.rb +0 -13
  625. data/lib/datadog_api_client/v1/models/webhooks_integration.rb +0 -15
  626. data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable.rb +0 -13
  627. data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable_response.rb +0 -13
  628. data/lib/datadog_api_client/v1/models/webhooks_integration_custom_variable_update_request.rb +0 -13
  629. data/lib/datadog_api_client/v1/models/webhooks_integration_update_request.rb +0 -15
  630. data/lib/datadog_api_client/v1/models/widget.rb +0 -13
  631. data/lib/datadog_api_client/v1/models/widget_axis.rb +0 -19
  632. data/lib/datadog_api_client/v1/models/widget_conditional_format.rb +0 -13
  633. data/lib/datadog_api_client/v1/models/widget_custom_link.rb +0 -13
  634. data/lib/datadog_api_client/v1/models/widget_definition.rb +4 -2
  635. data/lib/datadog_api_client/v1/models/widget_event.rb +0 -13
  636. data/lib/datadog_api_client/v1/models/widget_field_sort.rb +0 -13
  637. data/lib/datadog_api_client/v1/models/widget_formula.rb +0 -13
  638. data/lib/datadog_api_client/v1/models/widget_formula_limit.rb +0 -15
  639. data/lib/datadog_api_client/v1/models/widget_layout.rb +0 -13
  640. data/lib/datadog_api_client/v1/models/widget_marker.rb +0 -13
  641. data/lib/datadog_api_client/v1/models/widget_request_style.rb +0 -13
  642. data/lib/datadog_api_client/v1/models/widget_style.rb +0 -13
  643. data/lib/datadog_api_client/v1/models/widget_time.rb +0 -13
  644. data/lib/datadog_api_client/v2/api/confluent_cloud_api.rb +709 -0
  645. data/lib/datadog_api_client/v2/api/incident_services_api.rb +2 -2
  646. data/lib/datadog_api_client/v2/api/incident_teams_api.rb +2 -2
  647. data/lib/datadog_api_client/v2/api/incidents_api.rb +155 -0
  648. data/lib/datadog_api_client/v2/api/metrics_api.rb +85 -8
  649. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +65 -0
  650. data/lib/datadog_api_client/v2/api/service_definition_api.rb +283 -0
  651. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +86 -17
  652. data/lib/datadog_api_client/v2/model_base.rb +10 -2
  653. data/lib/datadog_api_client/v2/models/api_error_response.rb +0 -13
  654. data/lib/datadog_api_client/v2/models/api_key_create_attributes.rb +0 -13
  655. data/lib/datadog_api_client/v2/models/api_key_create_data.rb +0 -15
  656. data/lib/datadog_api_client/v2/models/api_key_create_request.rb +0 -13
  657. data/lib/datadog_api_client/v2/models/api_key_relationships.rb +0 -13
  658. data/lib/datadog_api_client/v2/models/api_key_response.rb +0 -13
  659. data/lib/datadog_api_client/v2/models/api_key_response_included_item.rb +1 -1
  660. data/lib/datadog_api_client/v2/models/api_key_update_attributes.rb +0 -13
  661. data/lib/datadog_api_client/v2/models/api_key_update_data.rb +0 -15
  662. data/lib/datadog_api_client/v2/models/api_key_update_request.rb +0 -13
  663. data/lib/datadog_api_client/v2/models/api_keys_response.rb +0 -13
  664. data/lib/datadog_api_client/v2/models/application_key_create_attributes.rb +0 -13
  665. data/lib/datadog_api_client/v2/models/application_key_create_data.rb +0 -15
  666. data/lib/datadog_api_client/v2/models/application_key_create_request.rb +0 -13
  667. data/lib/datadog_api_client/v2/models/application_key_relationships.rb +0 -13
  668. data/lib/datadog_api_client/v2/models/application_key_response.rb +0 -13
  669. data/lib/datadog_api_client/v2/models/application_key_response_included_item.rb +1 -1
  670. data/lib/datadog_api_client/v2/models/application_key_update_attributes.rb +0 -13
  671. data/lib/datadog_api_client/v2/models/application_key_update_data.rb +0 -15
  672. data/lib/datadog_api_client/v2/models/application_key_update_request.rb +0 -13
  673. data/lib/datadog_api_client/v2/models/audit_logs_event.rb +0 -15
  674. data/lib/datadog_api_client/v2/models/audit_logs_event_attributes.rb +0 -13
  675. data/lib/datadog_api_client/v2/models/audit_logs_events_response.rb +0 -13
  676. data/lib/datadog_api_client/v2/models/audit_logs_query_filter.rb +0 -19
  677. data/lib/datadog_api_client/v2/models/audit_logs_query_options.rb +0 -15
  678. data/lib/datadog_api_client/v2/models/audit_logs_query_page_options.rb +0 -15
  679. data/lib/datadog_api_client/v2/models/audit_logs_response_links.rb +0 -13
  680. data/lib/datadog_api_client/v2/models/audit_logs_response_metadata.rb +0 -13
  681. data/lib/datadog_api_client/v2/models/audit_logs_response_page.rb +0 -13
  682. data/lib/datadog_api_client/v2/models/audit_logs_search_events_request.rb +0 -13
  683. data/lib/datadog_api_client/v2/models/audit_logs_warning.rb +0 -13
  684. data/lib/datadog_api_client/v2/models/authn_mapping.rb +0 -15
  685. data/lib/datadog_api_client/v2/models/authn_mapping_attributes.rb +0 -13
  686. data/lib/datadog_api_client/v2/models/authn_mapping_create_attributes.rb +0 -13
  687. data/lib/datadog_api_client/v2/models/authn_mapping_create_data.rb +0 -15
  688. data/lib/datadog_api_client/v2/models/authn_mapping_create_relationships.rb +0 -13
  689. data/lib/datadog_api_client/v2/models/authn_mapping_create_request.rb +0 -13
  690. data/lib/datadog_api_client/v2/models/authn_mapping_included.rb +1 -1
  691. data/lib/datadog_api_client/v2/models/authn_mapping_relationships.rb +0 -13
  692. data/lib/datadog_api_client/v2/models/authn_mapping_response.rb +0 -13
  693. data/lib/datadog_api_client/v2/models/authn_mapping_update_attributes.rb +0 -13
  694. data/lib/datadog_api_client/v2/models/authn_mapping_update_data.rb +0 -15
  695. data/lib/datadog_api_client/v2/models/authn_mapping_update_relationships.rb +0 -13
  696. data/lib/datadog_api_client/v2/models/authn_mapping_update_request.rb +0 -13
  697. data/lib/datadog_api_client/v2/models/authn_mappings_response.rb +0 -13
  698. data/lib/datadog_api_client/v2/models/chargeback_breakdown.rb +0 -13
  699. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_attributes.rb +0 -13
  700. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_attributes.rb +0 -13
  701. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_data.rb +0 -15
  702. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_create_request.rb +0 -13
  703. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_creator_attributes.rb +0 -13
  704. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_data.rb +0 -15
  705. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_response.rb +0 -13
  706. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_attributes.rb +0 -13
  707. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_data.rb +0 -15
  708. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_update_request.rb +0 -13
  709. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rule_updater_attributes.rb +0 -13
  710. data/lib/datadog_api_client/v2/models/cloud_workload_security_agent_rules_list_response.rb +0 -13
  711. data/lib/datadog_api_client/v2/models/confluent_account_create_request.rb +109 -0
  712. data/lib/datadog_api_client/v2/models/confluent_account_create_request_attributes.rb +154 -0
  713. data/lib/datadog_api_client/v2/models/confluent_account_create_request_data.rb +130 -0
  714. data/lib/datadog_api_client/v2/models/confluent_account_resource_attributes.rb +120 -0
  715. data/lib/datadog_api_client/v2/models/confluent_account_response.rb +98 -0
  716. data/lib/datadog_api_client/v2/models/confluent_account_response_attributes.rb +133 -0
  717. data/lib/datadog_api_client/v2/models/confluent_account_response_data.rb +151 -0
  718. data/lib/datadog_api_client/v2/models/confluent_account_type.rb +26 -0
  719. data/lib/datadog_api_client/v2/models/confluent_account_update_request.rb +109 -0
  720. data/lib/datadog_api_client/v2/models/confluent_account_update_request_attributes.rb +142 -0
  721. data/lib/datadog_api_client/v2/models/confluent_account_update_request_data.rb +130 -0
  722. data/lib/datadog_api_client/v2/models/confluent_accounts_response.rb +100 -0
  723. data/lib/datadog_api_client/v2/models/confluent_resource_request.rb +109 -0
  724. data/lib/datadog_api_client/v2/models/confluent_resource_request_attributes.rb +110 -0
  725. data/lib/datadog_api_client/v2/models/confluent_resource_request_data.rb +151 -0
  726. data/lib/datadog_api_client/v2/models/confluent_resource_response.rb +98 -0
  727. data/lib/datadog_api_client/v2/models/confluent_resource_response_attributes.rb +121 -0
  728. data/lib/datadog_api_client/v2/models/confluent_resource_response_data.rb +151 -0
  729. data/lib/datadog_api_client/v2/models/confluent_resource_type.rb +26 -0
  730. data/lib/datadog_api_client/v2/models/confluent_resources_response.rb +100 -0
  731. data/lib/datadog_api_client/v2/models/cost_by_org.rb +0 -15
  732. data/lib/datadog_api_client/v2/models/cost_by_org_attributes.rb +0 -13
  733. data/lib/datadog_api_client/v2/models/cost_by_org_response.rb +0 -13
  734. data/lib/datadog_api_client/v2/models/creator.rb +0 -13
  735. data/lib/datadog_api_client/v2/models/dashboard_list_add_items_request.rb +0 -13
  736. data/lib/datadog_api_client/v2/models/dashboard_list_add_items_response.rb +0 -13
  737. data/lib/datadog_api_client/v2/models/dashboard_list_delete_items_request.rb +0 -13
  738. data/lib/datadog_api_client/v2/models/dashboard_list_delete_items_response.rb +0 -13
  739. data/lib/datadog_api_client/v2/models/dashboard_list_item.rb +0 -13
  740. data/lib/datadog_api_client/v2/models/dashboard_list_item_request.rb +0 -13
  741. data/lib/datadog_api_client/v2/models/dashboard_list_item_response.rb +0 -13
  742. data/lib/datadog_api_client/v2/models/dashboard_list_items.rb +0 -13
  743. data/lib/datadog_api_client/v2/models/dashboard_list_update_items_request.rb +0 -13
  744. data/lib/datadog_api_client/v2/models/dashboard_list_update_items_response.rb +0 -13
  745. data/lib/datadog_api_client/v2/models/event.rb +0 -13
  746. data/lib/datadog_api_client/v2/models/event_attributes.rb +0 -13
  747. data/lib/datadog_api_client/v2/models/event_response.rb +0 -15
  748. data/lib/datadog_api_client/v2/models/event_response_attributes.rb +0 -13
  749. data/lib/datadog_api_client/v2/models/events_list_request.rb +0 -13
  750. data/lib/datadog_api_client/v2/models/events_list_response.rb +0 -13
  751. data/lib/datadog_api_client/v2/models/events_list_response_links.rb +0 -13
  752. data/lib/datadog_api_client/v2/models/events_query_filter.rb +0 -19
  753. data/lib/datadog_api_client/v2/models/events_query_options.rb +0 -15
  754. data/lib/datadog_api_client/v2/models/events_request_page.rb +0 -15
  755. data/lib/datadog_api_client/v2/models/events_response_metadata.rb +0 -13
  756. data/lib/datadog_api_client/v2/models/events_response_metadata_page.rb +0 -13
  757. data/lib/datadog_api_client/v2/models/events_warning.rb +0 -13
  758. data/lib/datadog_api_client/v2/models/full_api_key.rb +0 -15
  759. data/lib/datadog_api_client/v2/models/full_api_key_attributes.rb +0 -13
  760. data/lib/datadog_api_client/v2/models/full_application_key.rb +0 -15
  761. data/lib/datadog_api_client/v2/models/full_application_key_attributes.rb +0 -13
  762. data/lib/datadog_api_client/v2/models/hourly_usage.rb +0 -15
  763. data/lib/datadog_api_client/v2/models/hourly_usage_attributes.rb +0 -13
  764. data/lib/datadog_api_client/v2/models/hourly_usage_measurement.rb +0 -13
  765. data/lib/datadog_api_client/v2/models/hourly_usage_metadata.rb +0 -13
  766. data/lib/datadog_api_client/v2/models/hourly_usage_pagination.rb +0 -13
  767. data/lib/datadog_api_client/v2/models/hourly_usage_response.rb +0 -13
  768. data/lib/datadog_api_client/v2/models/http_log_error.rb +0 -13
  769. data/lib/datadog_api_client/v2/models/http_log_errors.rb +0 -13
  770. data/lib/datadog_api_client/v2/models/http_log_item.rb +3 -16
  771. data/lib/datadog_api_client/v2/models/idp_metadata_form_data.rb +0 -13
  772. data/lib/datadog_api_client/v2/models/incident_attachment_attachment_type.rb +27 -0
  773. data/lib/datadog_api_client/v2/models/incident_attachment_attributes.rb +63 -0
  774. data/lib/datadog_api_client/v2/models/incident_attachment_data.rb +172 -0
  775. data/lib/datadog_api_client/v2/models/incident_attachment_link_attachment_type.rb +26 -0
  776. data/lib/datadog_api_client/v2/models/incident_attachment_link_attributes.rb +130 -0
  777. data/lib/datadog_api_client/v2/models/incident_attachment_link_attributes_attachment_object.rb +130 -0
  778. data/lib/datadog_api_client/v2/models/incident_attachment_postmortem_attachment_type.rb +26 -0
  779. data/lib/datadog_api_client/v2/models/incident_attachment_postmortem_attributes.rb +130 -0
  780. data/lib/datadog_api_client/v2/models/incident_attachment_related_object.rb +26 -0
  781. data/lib/datadog_api_client/v2/models/incident_attachment_relationships.rb +98 -0
  782. data/lib/datadog_api_client/v2/models/incident_attachment_type.rb +26 -0
  783. data/lib/datadog_api_client/v2/models/incident_attachment_update_attributes.rb +63 -0
  784. data/lib/datadog_api_client/v2/models/incident_attachment_update_data.rb +129 -0
  785. data/lib/datadog_api_client/v2/models/incident_attachment_update_request.rb +114 -0
  786. data/lib/datadog_api_client/v2/models/incident_attachment_update_response.rb +124 -0
  787. data/lib/datadog_api_client/v2/models/incident_attachments_postmortem_attributes_attachment_object.rb +130 -0
  788. data/lib/datadog_api_client/v2/models/incident_attachments_response.rb +123 -0
  789. data/lib/datadog_api_client/v2/models/incident_attachments_response_included_item.rb +62 -0
  790. data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +0 -13
  791. data/lib/datadog_api_client/v2/models/incident_create_data.rb +0 -15
  792. data/lib/datadog_api_client/v2/models/incident_create_relationships.rb +0 -13
  793. data/lib/datadog_api_client/v2/models/incident_create_request.rb +0 -13
  794. data/lib/datadog_api_client/v2/models/incident_field_attributes.rb +1 -1
  795. data/lib/datadog_api_client/v2/models/incident_field_attributes_multiple_value.rb +0 -15
  796. data/lib/datadog_api_client/v2/models/incident_field_attributes_single_value.rb +0 -15
  797. data/lib/datadog_api_client/v2/models/incident_notification_handle.rb +0 -13
  798. data/lib/datadog_api_client/v2/models/incident_related_object.rb +1 -0
  799. data/lib/datadog_api_client/v2/models/incident_response.rb +0 -13
  800. data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +2 -25
  801. data/lib/datadog_api_client/v2/models/incident_response_data.rb +0 -15
  802. data/lib/datadog_api_client/v2/models/incident_response_included_item.rb +3 -2
  803. data/lib/datadog_api_client/v2/models/incident_response_meta.rb +0 -13
  804. data/lib/datadog_api_client/v2/models/incident_response_meta_pagination.rb +0 -13
  805. data/lib/datadog_api_client/v2/models/incident_response_relationships.rb +14 -27
  806. data/lib/datadog_api_client/v2/models/incident_service_create_attributes.rb +0 -13
  807. data/lib/datadog_api_client/v2/models/incident_service_create_data.rb +0 -15
  808. data/lib/datadog_api_client/v2/models/incident_service_create_request.rb +0 -13
  809. data/lib/datadog_api_client/v2/models/incident_service_included_items.rb +1 -1
  810. data/lib/datadog_api_client/v2/models/incident_service_relationships.rb +0 -13
  811. data/lib/datadog_api_client/v2/models/incident_service_response.rb +0 -13
  812. data/lib/datadog_api_client/v2/models/incident_service_response_attributes.rb +0 -13
  813. data/lib/datadog_api_client/v2/models/incident_service_response_data.rb +0 -15
  814. data/lib/datadog_api_client/v2/models/incident_service_update_attributes.rb +0 -13
  815. data/lib/datadog_api_client/v2/models/incident_service_update_data.rb +0 -15
  816. data/lib/datadog_api_client/v2/models/incident_service_update_request.rb +0 -13
  817. data/lib/datadog_api_client/v2/models/incident_services_response.rb +0 -13
  818. data/lib/datadog_api_client/v2/models/incident_team_create_attributes.rb +0 -13
  819. data/lib/datadog_api_client/v2/models/incident_team_create_data.rb +0 -15
  820. data/lib/datadog_api_client/v2/models/incident_team_create_request.rb +0 -13
  821. data/lib/datadog_api_client/v2/models/incident_team_included_items.rb +1 -1
  822. data/lib/datadog_api_client/v2/models/incident_team_relationships.rb +0 -13
  823. data/lib/datadog_api_client/v2/models/incident_team_response.rb +0 -13
  824. data/lib/datadog_api_client/v2/models/incident_team_response_attributes.rb +0 -13
  825. data/lib/datadog_api_client/v2/models/incident_team_response_data.rb +0 -15
  826. data/lib/datadog_api_client/v2/models/incident_team_update_attributes.rb +0 -13
  827. data/lib/datadog_api_client/v2/models/incident_team_update_data.rb +0 -15
  828. data/lib/datadog_api_client/v2/models/incident_team_update_request.rb +0 -13
  829. data/lib/datadog_api_client/v2/models/incident_teams_response.rb +0 -13
  830. data/lib/datadog_api_client/v2/models/incident_timeline_cell_create_attributes.rb +1 -1
  831. data/lib/datadog_api_client/v2/models/incident_timeline_cell_markdown_create_attributes.rb +0 -17
  832. data/lib/datadog_api_client/v2/models/incident_timeline_cell_markdown_create_attributes_content.rb +0 -13
  833. data/lib/datadog_api_client/v2/models/incident_update_attributes.rb +1 -25
  834. data/lib/datadog_api_client/v2/models/incident_update_data.rb +0 -15
  835. data/lib/datadog_api_client/v2/models/incident_update_relationships.rb +0 -13
  836. data/lib/datadog_api_client/v2/models/incident_update_request.rb +0 -13
  837. data/lib/datadog_api_client/v2/models/incidents_response.rb +0 -13
  838. data/lib/datadog_api_client/v2/models/intake_payload_accepted.rb +0 -13
  839. data/lib/datadog_api_client/v2/models/list_application_keys_response.rb +0 -13
  840. data/lib/datadog_api_client/v2/models/log.rb +0 -15
  841. data/lib/datadog_api_client/v2/models/log_attributes.rb +0 -13
  842. data/lib/datadog_api_client/v2/models/logs_aggregate_bucket.rb +0 -13
  843. data/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value.rb +1 -1
  844. data/lib/datadog_api_client/v2/models/logs_aggregate_bucket_value_timeseries_point.rb +0 -13
  845. data/lib/datadog_api_client/v2/models/logs_aggregate_request.rb +0 -13
  846. data/lib/datadog_api_client/v2/models/logs_aggregate_request_page.rb +0 -13
  847. data/lib/datadog_api_client/v2/models/logs_aggregate_response.rb +0 -13
  848. data/lib/datadog_api_client/v2/models/logs_aggregate_response_data.rb +0 -13
  849. data/lib/datadog_api_client/v2/models/logs_aggregate_sort.rb +0 -15
  850. data/lib/datadog_api_client/v2/models/logs_archive.rb +0 -13
  851. data/lib/datadog_api_client/v2/models/logs_archive_attributes.rb +0 -15
  852. data/lib/datadog_api_client/v2/models/logs_archive_create_request.rb +0 -13
  853. data/lib/datadog_api_client/v2/models/logs_archive_create_request_attributes.rb +0 -15
  854. data/lib/datadog_api_client/v2/models/logs_archive_create_request_definition.rb +0 -15
  855. data/lib/datadog_api_client/v2/models/logs_archive_create_request_destination.rb +1 -1
  856. data/lib/datadog_api_client/v2/models/logs_archive_definition.rb +0 -15
  857. data/lib/datadog_api_client/v2/models/logs_archive_destination.rb +1 -1
  858. data/lib/datadog_api_client/v2/models/logs_archive_destination_azure.rb +0 -15
  859. data/lib/datadog_api_client/v2/models/logs_archive_destination_gcs.rb +0 -15
  860. data/lib/datadog_api_client/v2/models/logs_archive_destination_s3.rb +0 -15
  861. data/lib/datadog_api_client/v2/models/logs_archive_integration_azure.rb +0 -13
  862. data/lib/datadog_api_client/v2/models/logs_archive_integration_gcs.rb +0 -13
  863. data/lib/datadog_api_client/v2/models/logs_archive_integration_s3.rb +0 -13
  864. data/lib/datadog_api_client/v2/models/logs_archive_order.rb +0 -13
  865. data/lib/datadog_api_client/v2/models/logs_archive_order_attributes.rb +0 -13
  866. data/lib/datadog_api_client/v2/models/logs_archive_order_definition.rb +0 -15
  867. data/lib/datadog_api_client/v2/models/logs_archives.rb +0 -13
  868. data/lib/datadog_api_client/v2/models/logs_compute.rb +0 -15
  869. data/lib/datadog_api_client/v2/models/logs_group_by.rb +0 -17
  870. data/lib/datadog_api_client/v2/models/logs_group_by_histogram.rb +0 -13
  871. data/lib/datadog_api_client/v2/models/logs_group_by_missing.rb +1 -1
  872. data/lib/datadog_api_client/v2/models/logs_group_by_total.rb +1 -1
  873. data/lib/datadog_api_client/v2/models/logs_list_request.rb +0 -13
  874. data/lib/datadog_api_client/v2/models/logs_list_request_page.rb +0 -15
  875. data/lib/datadog_api_client/v2/models/logs_list_response.rb +0 -13
  876. data/lib/datadog_api_client/v2/models/logs_list_response_links.rb +0 -13
  877. data/lib/datadog_api_client/v2/models/logs_metric_compute.rb +0 -13
  878. data/lib/datadog_api_client/v2/models/logs_metric_create_attributes.rb +0 -13
  879. data/lib/datadog_api_client/v2/models/logs_metric_create_data.rb +0 -15
  880. data/lib/datadog_api_client/v2/models/logs_metric_create_request.rb +0 -13
  881. data/lib/datadog_api_client/v2/models/logs_metric_filter.rb +0 -15
  882. data/lib/datadog_api_client/v2/models/logs_metric_group_by.rb +0 -13
  883. data/lib/datadog_api_client/v2/models/logs_metric_response.rb +0 -13
  884. data/lib/datadog_api_client/v2/models/logs_metric_response_attributes.rb +0 -13
  885. data/lib/datadog_api_client/v2/models/logs_metric_response_compute.rb +0 -13
  886. data/lib/datadog_api_client/v2/models/logs_metric_response_data.rb +0 -15
  887. data/lib/datadog_api_client/v2/models/logs_metric_response_filter.rb +0 -13
  888. data/lib/datadog_api_client/v2/models/logs_metric_response_group_by.rb +0 -13
  889. data/lib/datadog_api_client/v2/models/logs_metric_update_attributes.rb +0 -13
  890. data/lib/datadog_api_client/v2/models/logs_metric_update_data.rb +0 -15
  891. data/lib/datadog_api_client/v2/models/logs_metric_update_request.rb +0 -13
  892. data/lib/datadog_api_client/v2/models/logs_metrics_response.rb +0 -13
  893. data/lib/datadog_api_client/v2/models/logs_query_filter.rb +0 -21
  894. data/lib/datadog_api_client/v2/models/logs_query_options.rb +0 -15
  895. data/lib/datadog_api_client/v2/models/logs_response_metadata.rb +0 -13
  896. data/lib/datadog_api_client/v2/models/logs_response_metadata_page.rb +0 -13
  897. data/lib/datadog_api_client/v2/models/logs_warning.rb +0 -13
  898. data/lib/datadog_api_client/v2/models/metric.rb +0 -15
  899. data/lib/datadog_api_client/v2/models/metric_active_configuration_type.rb +26 -0
  900. data/lib/datadog_api_client/v2/models/metric_all_tags.rb +0 -15
  901. data/lib/datadog_api_client/v2/models/metric_all_tags_attributes.rb +0 -13
  902. data/lib/datadog_api_client/v2/models/metric_all_tags_response.rb +0 -13
  903. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create.rb +0 -15
  904. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_attributes.rb +0 -13
  905. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_create_request.rb +0 -13
  906. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete.rb +0 -15
  907. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete_attributes.rb +0 -13
  908. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_delete_request.rb +0 -13
  909. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_response.rb +0 -13
  910. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_status.rb +0 -15
  911. data/lib/datadog_api_client/v2/models/metric_bulk_tag_config_status_attributes.rb +0 -13
  912. data/lib/datadog_api_client/v2/models/metric_custom_aggregation.rb +0 -13
  913. data/lib/datadog_api_client/v2/models/metric_distinct_volume.rb +0 -15
  914. data/lib/datadog_api_client/v2/models/metric_distinct_volume_attributes.rb +0 -13
  915. data/lib/datadog_api_client/v2/models/metric_estimate.rb +0 -15
  916. data/lib/datadog_api_client/v2/models/metric_estimate_attributes.rb +0 -15
  917. data/lib/datadog_api_client/v2/models/metric_estimate_response.rb +0 -13
  918. data/lib/datadog_api_client/v2/models/metric_ingested_indexed_volume.rb +0 -15
  919. data/lib/datadog_api_client/v2/models/metric_ingested_indexed_volume_attributes.rb +0 -13
  920. data/lib/datadog_api_client/v2/models/metric_metadata.rb +0 -13
  921. data/lib/datadog_api_client/v2/models/metric_origin.rb +0 -19
  922. data/lib/datadog_api_client/v2/models/metric_payload.rb +0 -13
  923. data/lib/datadog_api_client/v2/models/metric_point.rb +0 -13
  924. data/lib/datadog_api_client/v2/models/metric_resource.rb +0 -13
  925. data/lib/datadog_api_client/v2/models/metric_series.rb +0 -13
  926. data/lib/datadog_api_client/v2/models/metric_suggested_tags_and_aggregations.rb +118 -0
  927. data/lib/datadog_api_client/v2/models/metric_suggested_tags_and_aggregations_response.rb +98 -0
  928. data/lib/datadog_api_client/v2/models/metric_suggested_tags_attributes.rb +112 -0
  929. data/lib/datadog_api_client/v2/models/metric_tag_configuration.rb +0 -15
  930. data/lib/datadog_api_client/v2/models/metric_tag_configuration_attributes.rb +0 -15
  931. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_attributes.rb +0 -17
  932. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_data.rb +0 -15
  933. data/lib/datadog_api_client/v2/models/metric_tag_configuration_create_request.rb +0 -13
  934. data/lib/datadog_api_client/v2/models/metric_tag_configuration_response.rb +0 -13
  935. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_attributes.rb +0 -15
  936. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_data.rb +0 -15
  937. data/lib/datadog_api_client/v2/models/metric_tag_configuration_update_request.rb +0 -13
  938. data/lib/datadog_api_client/v2/models/metric_volumes.rb +1 -1
  939. data/lib/datadog_api_client/v2/models/metric_volumes_response.rb +0 -13
  940. data/lib/datadog_api_client/v2/models/metrics_and_metric_tag_configurations.rb +1 -1
  941. data/lib/datadog_api_client/v2/models/metrics_and_metric_tag_configurations_response.rb +0 -13
  942. data/lib/datadog_api_client/v2/models/monitor_type.rb +11 -13
  943. data/lib/datadog_api_client/v2/models/nullable_relationship_to_user.rb +0 -13
  944. data/lib/datadog_api_client/v2/models/nullable_relationship_to_user_data.rb +0 -15
  945. data/lib/datadog_api_client/v2/models/opsgenie_service_create_attributes.rb +0 -13
  946. data/lib/datadog_api_client/v2/models/opsgenie_service_create_data.rb +0 -15
  947. data/lib/datadog_api_client/v2/models/opsgenie_service_create_request.rb +0 -13
  948. data/lib/datadog_api_client/v2/models/opsgenie_service_response.rb +0 -13
  949. data/lib/datadog_api_client/v2/models/opsgenie_service_response_attributes.rb +0 -13
  950. data/lib/datadog_api_client/v2/models/opsgenie_service_response_data.rb +0 -15
  951. data/lib/datadog_api_client/v2/models/opsgenie_service_update_attributes.rb +0 -13
  952. data/lib/datadog_api_client/v2/models/opsgenie_service_update_data.rb +0 -15
  953. data/lib/datadog_api_client/v2/models/opsgenie_service_update_request.rb +0 -13
  954. data/lib/datadog_api_client/v2/models/opsgenie_services_response.rb +0 -13
  955. data/lib/datadog_api_client/v2/models/organization.rb +0 -15
  956. data/lib/datadog_api_client/v2/models/organization_attributes.rb +0 -13
  957. data/lib/datadog_api_client/v2/models/pagination.rb +0 -13
  958. data/lib/datadog_api_client/v2/models/partial_api_key.rb +0 -15
  959. data/lib/datadog_api_client/v2/models/partial_api_key_attributes.rb +0 -13
  960. data/lib/datadog_api_client/v2/models/partial_application_key.rb +0 -15
  961. data/lib/datadog_api_client/v2/models/partial_application_key_attributes.rb +0 -13
  962. data/lib/datadog_api_client/v2/models/partial_application_key_response.rb +0 -13
  963. data/lib/datadog_api_client/v2/models/permission.rb +0 -15
  964. data/lib/datadog_api_client/v2/models/permission_attributes.rb +0 -13
  965. data/lib/datadog_api_client/v2/models/permissions_response.rb +0 -13
  966. data/lib/datadog_api_client/v2/models/process_summaries_meta.rb +0 -13
  967. data/lib/datadog_api_client/v2/models/process_summaries_meta_page.rb +0 -13
  968. data/lib/datadog_api_client/v2/models/process_summaries_response.rb +0 -13
  969. data/lib/datadog_api_client/v2/models/process_summary.rb +0 -15
  970. data/lib/datadog_api_client/v2/models/process_summary_attributes.rb +0 -13
  971. data/lib/datadog_api_client/v2/models/relationship_to_incident_attachment.rb +111 -0
  972. data/lib/datadog_api_client/v2/models/relationship_to_incident_attachment_data.rb +130 -0
  973. data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadata_data.rb +0 -15
  974. data/lib/datadog_api_client/v2/models/relationship_to_incident_integration_metadatas.rb +0 -13
  975. data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem.rb +0 -13
  976. data/lib/datadog_api_client/v2/models/relationship_to_incident_postmortem_data.rb +0 -15
  977. data/lib/datadog_api_client/v2/models/relationship_to_organization.rb +0 -13
  978. data/lib/datadog_api_client/v2/models/relationship_to_organization_data.rb +0 -15
  979. data/lib/datadog_api_client/v2/models/relationship_to_organizations.rb +0 -13
  980. data/lib/datadog_api_client/v2/models/relationship_to_permission.rb +0 -13
  981. data/lib/datadog_api_client/v2/models/relationship_to_permission_data.rb +0 -15
  982. data/lib/datadog_api_client/v2/models/relationship_to_permissions.rb +0 -13
  983. data/lib/datadog_api_client/v2/models/relationship_to_role.rb +0 -13
  984. data/lib/datadog_api_client/v2/models/relationship_to_role_data.rb +0 -15
  985. data/lib/datadog_api_client/v2/models/relationship_to_roles.rb +0 -13
  986. data/lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute.rb +0 -13
  987. data/lib/datadog_api_client/v2/models/relationship_to_saml_assertion_attribute_data.rb +0 -15
  988. data/lib/datadog_api_client/v2/models/relationship_to_user.rb +0 -13
  989. data/lib/datadog_api_client/v2/models/relationship_to_user_data.rb +0 -15
  990. data/lib/datadog_api_client/v2/models/relationship_to_users.rb +0 -13
  991. data/lib/datadog_api_client/v2/models/response_meta_attributes.rb +0 -13
  992. data/lib/datadog_api_client/v2/models/role.rb +0 -15
  993. data/lib/datadog_api_client/v2/models/role_attributes.rb +0 -13
  994. data/lib/datadog_api_client/v2/models/role_clone.rb +0 -15
  995. data/lib/datadog_api_client/v2/models/role_clone_attributes.rb +0 -13
  996. data/lib/datadog_api_client/v2/models/role_clone_request.rb +0 -13
  997. data/lib/datadog_api_client/v2/models/role_create_attributes.rb +0 -13
  998. data/lib/datadog_api_client/v2/models/role_create_data.rb +0 -15
  999. data/lib/datadog_api_client/v2/models/role_create_request.rb +0 -13
  1000. data/lib/datadog_api_client/v2/models/role_create_response.rb +0 -13
  1001. data/lib/datadog_api_client/v2/models/role_create_response_data.rb +0 -15
  1002. data/lib/datadog_api_client/v2/models/role_relationships.rb +0 -13
  1003. data/lib/datadog_api_client/v2/models/role_response.rb +0 -13
  1004. data/lib/datadog_api_client/v2/models/role_response_relationships.rb +0 -13
  1005. data/lib/datadog_api_client/v2/models/role_update_attributes.rb +0 -13
  1006. data/lib/datadog_api_client/v2/models/role_update_data.rb +0 -15
  1007. data/lib/datadog_api_client/v2/models/role_update_request.rb +0 -13
  1008. data/lib/datadog_api_client/v2/models/role_update_response.rb +0 -13
  1009. data/lib/datadog_api_client/v2/models/role_update_response_data.rb +0 -15
  1010. data/lib/datadog_api_client/v2/models/roles_response.rb +0 -13
  1011. data/lib/datadog_api_client/v2/models/rum_aggregate_bucket_value.rb +1 -1
  1012. data/lib/datadog_api_client/v2/models/rum_aggregate_bucket_value_timeseries_point.rb +0 -13
  1013. data/lib/datadog_api_client/v2/models/rum_aggregate_request.rb +0 -13
  1014. data/lib/datadog_api_client/v2/models/rum_aggregate_sort.rb +0 -15
  1015. data/lib/datadog_api_client/v2/models/rum_aggregation_buckets_response.rb +0 -13
  1016. data/lib/datadog_api_client/v2/models/rum_analytics_aggregate_response.rb +0 -13
  1017. data/lib/datadog_api_client/v2/models/rum_application.rb +0 -15
  1018. data/lib/datadog_api_client/v2/models/rum_application_attributes.rb +4 -13
  1019. data/lib/datadog_api_client/v2/models/rum_application_create.rb +0 -15
  1020. data/lib/datadog_api_client/v2/models/rum_application_create_attributes.rb +0 -13
  1021. data/lib/datadog_api_client/v2/models/rum_application_create_request.rb +0 -13
  1022. data/lib/datadog_api_client/v2/models/rum_application_response.rb +0 -13
  1023. data/lib/datadog_api_client/v2/models/rum_application_update.rb +0 -15
  1024. data/lib/datadog_api_client/v2/models/rum_application_update_attributes.rb +0 -13
  1025. data/lib/datadog_api_client/v2/models/rum_application_update_request.rb +0 -13
  1026. data/lib/datadog_api_client/v2/models/rum_applications_response.rb +0 -13
  1027. data/lib/datadog_api_client/v2/models/rum_bucket_response.rb +0 -13
  1028. data/lib/datadog_api_client/v2/models/rum_compute.rb +0 -15
  1029. data/lib/datadog_api_client/v2/models/rum_event.rb +0 -15
  1030. data/lib/datadog_api_client/v2/models/rum_event_attributes.rb +0 -13
  1031. data/lib/datadog_api_client/v2/models/rum_events_response.rb +0 -13
  1032. data/lib/datadog_api_client/v2/models/rum_group_by.rb +0 -17
  1033. data/lib/datadog_api_client/v2/models/rum_group_by_histogram.rb +0 -13
  1034. data/lib/datadog_api_client/v2/models/rum_group_by_missing.rb +1 -1
  1035. data/lib/datadog_api_client/v2/models/rum_group_by_total.rb +1 -1
  1036. data/lib/datadog_api_client/v2/models/rum_query_filter.rb +0 -19
  1037. data/lib/datadog_api_client/v2/models/rum_query_options.rb +0 -15
  1038. data/lib/datadog_api_client/v2/models/rum_query_page_options.rb +0 -15
  1039. data/lib/datadog_api_client/v2/models/rum_response_links.rb +0 -13
  1040. data/lib/datadog_api_client/v2/models/rum_response_metadata.rb +0 -13
  1041. data/lib/datadog_api_client/v2/models/rum_response_page.rb +0 -13
  1042. data/lib/datadog_api_client/v2/models/rum_search_events_request.rb +0 -13
  1043. data/lib/datadog_api_client/v2/models/rum_warning.rb +0 -13
  1044. data/lib/datadog_api_client/v2/models/saml_assertion_attribute.rb +0 -15
  1045. data/lib/datadog_api_client/v2/models/saml_assertion_attribute_attributes.rb +0 -13
  1046. data/lib/datadog_api_client/v2/models/security_filter.rb +0 -15
  1047. data/lib/datadog_api_client/v2/models/security_filter_attributes.rb +0 -13
  1048. data/lib/datadog_api_client/v2/models/security_filter_create_attributes.rb +0 -13
  1049. data/lib/datadog_api_client/v2/models/security_filter_create_data.rb +0 -15
  1050. data/lib/datadog_api_client/v2/models/security_filter_create_request.rb +0 -13
  1051. data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter.rb +0 -13
  1052. data/lib/datadog_api_client/v2/models/security_filter_exclusion_filter_response.rb +0 -13
  1053. data/lib/datadog_api_client/v2/models/security_filter_meta.rb +0 -13
  1054. data/lib/datadog_api_client/v2/models/security_filter_response.rb +0 -13
  1055. data/lib/datadog_api_client/v2/models/security_filter_update_attributes.rb +0 -13
  1056. data/lib/datadog_api_client/v2/models/security_filter_update_data.rb +0 -15
  1057. data/lib/datadog_api_client/v2/models/security_filter_update_request.rb +0 -13
  1058. data/lib/datadog_api_client/v2/models/security_filters_response.rb +0 -13
  1059. data/lib/datadog_api_client/v2/models/security_monitoring_filter.rb +0 -13
  1060. data/lib/datadog_api_client/v2/models/security_monitoring_list_rules_response.rb +0 -13
  1061. data/lib/datadog_api_client/v2/models/security_monitoring_rule_case.rb +0 -13
  1062. data/lib/datadog_api_client/v2/models/security_monitoring_rule_case_create.rb +0 -13
  1063. data/lib/datadog_api_client/v2/models/security_monitoring_rule_create_payload.rb +36 -248
  1064. data/lib/datadog_api_client/v2/models/security_monitoring_rule_impossible_travel_options.rb +0 -13
  1065. data/lib/datadog_api_client/v2/models/security_monitoring_rule_new_value_options.rb +0 -19
  1066. data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +0 -13
  1067. data/lib/datadog_api_client/v2/models/security_monitoring_rule_query.rb +36 -151
  1068. data/lib/datadog_api_client/v2/models/security_monitoring_rule_query_aggregation.rb +1 -0
  1069. data/lib/datadog_api_client/v2/models/security_monitoring_rule_response.rb +37 -253
  1070. data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +0 -13
  1071. data/lib/datadog_api_client/v2/models/security_monitoring_signal.rb +0 -15
  1072. data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_attributes.rb +0 -13
  1073. data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_data.rb +0 -13
  1074. data/lib/datadog_api_client/v2/models/security_monitoring_signal_assignee_update_request.rb +0 -13
  1075. data/lib/datadog_api_client/v2/models/security_monitoring_signal_attributes.rb +0 -13
  1076. data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_attributes.rb +0 -13
  1077. data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_data.rb +0 -13
  1078. data/lib/datadog_api_client/v2/models/security_monitoring_signal_incidents_update_request.rb +0 -13
  1079. data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request.rb +0 -13
  1080. data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request_filter.rb +0 -13
  1081. data/lib/datadog_api_client/v2/models/security_monitoring_signal_list_request_page.rb +0 -15
  1082. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_create_payload.rb +262 -0
  1083. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_query.rb +174 -0
  1084. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response.rb +266 -0
  1085. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_response_query.rb +173 -0
  1086. data/lib/datadog_api_client/v2/models/security_monitoring_signal_rule_type.rb +26 -0
  1087. data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_attributes.rb +0 -13
  1088. data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_data.rb +0 -13
  1089. data/lib/datadog_api_client/v2/models/security_monitoring_signal_state_update_request.rb +0 -13
  1090. data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_attributes.rb +0 -13
  1091. data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_update_data.rb +0 -13
  1092. data/lib/datadog_api_client/v2/models/security_monitoring_signal_triage_update_response.rb +0 -13
  1093. data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response.rb +0 -13
  1094. data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response_links.rb +0 -13
  1095. data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response_meta.rb +0 -13
  1096. data/lib/datadog_api_client/v2/models/security_monitoring_signals_list_response_meta_page.rb +0 -13
  1097. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +262 -0
  1098. data/lib/datadog_api_client/v2/models/{security_monitoring_rule_query_create.rb → security_monitoring_standard_rule_query.rb} +6 -19
  1099. data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +266 -0
  1100. data/lib/datadog_api_client/v2/models/security_monitoring_triage_user.rb +0 -13
  1101. data/lib/datadog_api_client/v2/models/service_account_create_attributes.rb +0 -13
  1102. data/lib/datadog_api_client/v2/models/service_account_create_data.rb +0 -15
  1103. data/lib/datadog_api_client/v2/models/service_account_create_request.rb +0 -13
  1104. data/lib/datadog_api_client/v2/models/service_definition_create_response.rb +100 -0
  1105. data/lib/datadog_api_client/v2/models/service_definition_data.rb +108 -0
  1106. data/lib/datadog_api_client/v2/models/service_definition_data_attributes.rb +108 -0
  1107. data/lib/datadog_api_client/v2/models/service_definition_get_response.rb +98 -0
  1108. data/lib/datadog_api_client/v2/models/service_definition_meta.rb +128 -0
  1109. data/lib/datadog_api_client/v2/models/service_definition_schema.rb +63 -0
  1110. data/lib/datadog_api_client/v2/models/service_definition_v1.rb +197 -0
  1111. data/lib/datadog_api_client/v2/models/service_definition_v1_contact.rb +108 -0
  1112. data/lib/datadog_api_client/v2/models/service_definition_v1_info.rb +139 -0
  1113. data/lib/datadog_api_client/v2/models/service_definition_v1_integrations.rb +98 -0
  1114. data/lib/datadog_api_client/v2/models/service_definition_v1_org.rb +108 -0
  1115. data/lib/datadog_api_client/v2/models/service_definition_v1_resource.rb +151 -0
  1116. data/lib/datadog_api_client/v2/models/service_definition_v1_resource_type.rb +34 -0
  1117. data/lib/datadog_api_client/v2/models/service_definition_v1_version.rb +26 -0
  1118. data/lib/datadog_api_client/v2/models/service_definition_v2.rb +230 -0
  1119. data/lib/datadog_api_client/v2/models/service_definition_v2_contact.rb +63 -0
  1120. data/lib/datadog_api_client/v2/models/service_definition_v2_doc.rb +140 -0
  1121. data/lib/datadog_api_client/v2/models/service_definition_v2_email.rb +140 -0
  1122. data/lib/datadog_api_client/v2/models/service_definition_v2_email_type.rb +26 -0
  1123. data/lib/datadog_api_client/v2/models/service_definition_v2_integrations.rb +108 -0
  1124. data/lib/datadog_api_client/v2/models/service_definition_v2_link.rb +151 -0
  1125. data/lib/datadog_api_client/v2/models/service_definition_v2_link_type.rb +34 -0
  1126. data/lib/datadog_api_client/v2/models/service_definition_v2_opsgenie.rb +119 -0
  1127. data/lib/datadog_api_client/v2/models/service_definition_v2_opsgenie_region.rb +27 -0
  1128. data/lib/datadog_api_client/v2/models/service_definition_v2_repo.rb +140 -0
  1129. data/lib/datadog_api_client/v2/models/service_definition_v2_slack.rb +140 -0
  1130. data/lib/datadog_api_client/v2/models/service_definition_v2_slack_type.rb +26 -0
  1131. data/lib/datadog_api_client/v2/models/service_definition_v2_version.rb +26 -0
  1132. data/lib/datadog_api_client/v2/models/service_definitions_create_request.rb +63 -0
  1133. data/lib/datadog_api_client/v2/models/service_definitions_list_response.rb +100 -0
  1134. data/lib/datadog_api_client/v2/models/usage_application_security_monitoring_response.rb +0 -13
  1135. data/lib/datadog_api_client/v2/models/usage_attributes_object.rb +0 -13
  1136. data/lib/datadog_api_client/v2/models/usage_data_object.rb +0 -15
  1137. data/lib/datadog_api_client/v2/models/usage_lambda_traced_invocations_response.rb +0 -13
  1138. data/lib/datadog_api_client/v2/models/usage_observability_pipelines_response.rb +0 -13
  1139. data/lib/datadog_api_client/v2/models/usage_time_series_object.rb +0 -13
  1140. data/lib/datadog_api_client/v2/models/user.rb +0 -15
  1141. data/lib/datadog_api_client/v2/models/user_attributes.rb +0 -13
  1142. data/lib/datadog_api_client/v2/models/user_create_attributes.rb +0 -13
  1143. data/lib/datadog_api_client/v2/models/user_create_data.rb +0 -15
  1144. data/lib/datadog_api_client/v2/models/user_create_request.rb +0 -13
  1145. data/lib/datadog_api_client/v2/models/user_invitation_data.rb +0 -15
  1146. data/lib/datadog_api_client/v2/models/user_invitation_data_attributes.rb +0 -13
  1147. data/lib/datadog_api_client/v2/models/user_invitation_relationships.rb +0 -13
  1148. data/lib/datadog_api_client/v2/models/user_invitation_response.rb +0 -13
  1149. data/lib/datadog_api_client/v2/models/user_invitation_response_data.rb +0 -15
  1150. data/lib/datadog_api_client/v2/models/user_invitations_request.rb +0 -13
  1151. data/lib/datadog_api_client/v2/models/user_invitations_response.rb +0 -13
  1152. data/lib/datadog_api_client/v2/models/user_relationships.rb +0 -13
  1153. data/lib/datadog_api_client/v2/models/user_response.rb +0 -13
  1154. data/lib/datadog_api_client/v2/models/user_response_included_item.rb +1 -1
  1155. data/lib/datadog_api_client/v2/models/user_response_relationships.rb +0 -13
  1156. data/lib/datadog_api_client/v2/models/user_update_attributes.rb +0 -13
  1157. data/lib/datadog_api_client/v2/models/user_update_data.rb +0 -15
  1158. data/lib/datadog_api_client/v2/models/user_update_request.rb +0 -13
  1159. data/lib/datadog_api_client/v2/models/users_response.rb +0 -13
  1160. data/lib/datadog_api_client/version.rb +1 -1
  1161. metadata +138 -6
  1162. data/Makefile +0 -7
  1163. data/examples/v2/metrics/ListTagConfigurations_1799362914.rb +0 -8
@@ -18,161 +18,46 @@ require 'time'
18
18
 
19
19
  module DatadogAPIClient::V2
20
20
  # Query for matching rule.
21
- class SecurityMonitoringRuleQuery
22
- include BaseGenericModel
23
-
24
- # Whether the object has unparsed attributes
25
- # @!visibility private
26
- attr_accessor :_unparsed
27
-
28
- # The aggregation type.
29
- attr_accessor :aggregation
30
-
31
- # Field for which the cardinality is measured. Sent as an array.
32
- attr_accessor :distinct_fields
33
-
34
- # Fields to group by.
35
- attr_accessor :group_by_fields
36
-
37
- # The target field to aggregate over when using the sum or max
38
- # aggregations.
39
- attr_accessor :metric
40
-
41
- # Group of target fields to aggregate over when using the new value aggregations.
42
- attr_accessor :metrics
43
-
44
- # Name of the query.
45
- attr_accessor :name
46
-
47
- # Query to run on logs.
48
- attr_accessor :query
49
-
50
- # Attribute mapping from ruby-style variable name to JSON key.
51
- # @!visibility private
52
- def self.attribute_map
53
- {
54
- :'aggregation' => :'aggregation',
55
- :'distinct_fields' => :'distinctFields',
56
- :'group_by_fields' => :'groupByFields',
57
- :'metric' => :'metric',
58
- :'metrics' => :'metrics',
59
- :'name' => :'name',
60
- :'query' => :'query'
61
- }
62
- end
63
-
64
- # Returns all the JSON keys this model knows about
65
- # @!visibility private
66
- def self.acceptable_attributes
67
- attribute_map.values
68
- end
69
-
70
- # Attribute type mapping.
71
- # @!visibility private
72
- def self.openapi_types
73
- {
74
- :'aggregation' => :'SecurityMonitoringRuleQueryAggregation',
75
- :'distinct_fields' => :'Array<String>',
76
- :'group_by_fields' => :'Array<String>',
77
- :'metric' => :'String',
78
- :'metrics' => :'Array<String>',
79
- :'name' => :'String',
80
- :'query' => :'String'
81
- }
82
- end
83
-
84
- # List of attributes with nullable: true
85
- # @!visibility private
86
- def self.openapi_nullable
87
- Set.new([
88
- ])
89
- end
90
-
91
- # Initializes the object
92
- # @param attributes [Hash] Model attributes in the form of hash
93
- # @!visibility private
94
- def initialize(attributes = {})
95
- if (!attributes.is_a?(Hash))
96
- fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::SecurityMonitoringRuleQuery` initialize method"
97
- end
98
-
99
- # check to see if the attribute exists and convert string to symbol for hash key
100
- attributes = attributes.each_with_object({}) { |(k, v), h|
101
- if (!self.class.attribute_map.key?(k.to_sym))
102
- fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::SecurityMonitoringRuleQuery`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
21
+ module SecurityMonitoringRuleQuery
22
+ class << self
23
+ include BaseOneOfModel
24
+ include BaseOneOfModelNoDiscriminator
25
+
26
+ # List of class defined in oneOf (OpenAPI v3)
27
+ def openapi_one_of
28
+ [
29
+ :'SecurityMonitoringStandardRuleQuery',
30
+ :'SecurityMonitoringSignalRuleQuery'
31
+ ]
32
+ end
33
+ # Builds the object
34
+ # @param data [Mixed] Data to be matched against the list of oneOf items
35
+ # @return [Object] Returns the model or the data itself
36
+ def build(data)
37
+ # Go through the list of oneOf items and attempt to identify the appropriate one.
38
+ # Note:
39
+ # - We do not attempt to check whether exactly one item matches.
40
+ # - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
41
+ # due to the way the deserialization is made in the base_object template (it just casts without verifying).
42
+ # - TODO: scalar values are de facto behaving as if they were nullable.
43
+ # - TODO: logging when debugging is set.
44
+ openapi_one_of.each do |klass|
45
+ begin
46
+ next if klass == :AnyType # "nullable: true"
47
+ typed_data = find_and_cast_into_type(klass, data)
48
+ next if typed_data._unparsed
49
+ return typed_data if typed_data
50
+ rescue # rescue all errors so we keep iterating even if the current item lookup raises
51
+ end
103
52
  end
104
- h[k.to_sym] = v
105
- }
106
-
107
- if attributes.key?(:'aggregation')
108
- self.aggregation = attributes[:'aggregation']
109
- end
110
53
 
111
- if attributes.key?(:'distinct_fields')
112
- if (value = attributes[:'distinct_fields']).is_a?(Array)
113
- self.distinct_fields = value
54
+ if openapi_one_of.include?(:AnyType)
55
+ data
56
+ else
57
+ self._unparsed = true
58
+ DatadogAPIClient::UnparsedObject.new(data)
114
59
  end
115
60
  end
116
-
117
- if attributes.key?(:'group_by_fields')
118
- if (value = attributes[:'group_by_fields']).is_a?(Array)
119
- self.group_by_fields = value
120
- end
121
- end
122
-
123
- if attributes.key?(:'metric')
124
- self.metric = attributes[:'metric']
125
- end
126
-
127
- if attributes.key?(:'metrics')
128
- if (value = attributes[:'metrics']).is_a?(Array)
129
- self.metrics = value
130
- end
131
- end
132
-
133
- if attributes.key?(:'name')
134
- self.name = attributes[:'name']
135
- end
136
-
137
- if attributes.key?(:'query')
138
- self.query = attributes[:'query']
139
- end
140
- end
141
-
142
- # Check to see if the all the properties in the model are valid
143
- # @return true if the model is valid
144
- # @!visibility private
145
- def valid?
146
- true
147
- end
148
-
149
- # Checks equality by comparing each attribute.
150
- # @param o [Object] Object to be compared
151
- # @!visibility private
152
- def ==(o)
153
- return true if self.equal?(o)
154
- self.class == o.class &&
155
- aggregation == o.aggregation &&
156
- distinct_fields == o.distinct_fields &&
157
- group_by_fields == o.group_by_fields &&
158
- metric == o.metric &&
159
- metrics == o.metrics &&
160
- name == o.name &&
161
- query == o.query
162
- end
163
-
164
- # @see the `==` method
165
- # @param o [Object] Object to be compared
166
- # @!visibility private
167
- def eql?(o)
168
- self == o
169
- end
170
-
171
- # Calculates hash code according to all attributes.
172
- # @return [Integer] Hash code
173
- # @!visibility private
174
- def hash
175
- [aggregation, distinct_fields, group_by_fields, metric, metrics, name, query].hash
176
61
  end
177
62
  end
178
63
  end
@@ -27,5 +27,6 @@ module DatadogAPIClient::V2
27
27
  MAX = "max".freeze
28
28
  NEW_VALUE = "new_value".freeze
29
29
  GEO_DATA = "geo_data".freeze
30
+ EVENT_COUNT = "event_count".freeze
30
31
  end
31
32
  end
@@ -17,263 +17,47 @@ require 'date'
17
17
  require 'time'
18
18
 
19
19
  module DatadogAPIClient::V2
20
- # Rule.
21
- class SecurityMonitoringRuleResponse
22
- include BaseGenericModel
23
-
24
- # Whether the object has unparsed attributes
25
- # @!visibility private
26
- attr_accessor :_unparsed
27
-
28
- # Cases for generating signals.
29
- attr_accessor :cases
30
-
31
- # When the rule was created, timestamp in milliseconds.
32
- attr_accessor :created_at
33
-
34
- # User ID of the user who created the rule.
35
- attr_accessor :creation_author_id
36
-
37
- # Additional queries to filter matched events before they are processed.
38
- attr_accessor :filters
39
-
40
- # Whether the notifications include the triggering group-by values in their title.
41
- attr_accessor :has_extended_title
42
-
43
- # The ID of the rule.
44
- attr_accessor :id
45
-
46
- # Whether the rule is included by default.
47
- attr_accessor :is_default
48
-
49
- # Whether the rule has been deleted.
50
- attr_accessor :is_deleted
51
-
52
- # Whether the rule is enabled.
53
- attr_accessor :is_enabled
54
-
55
- # Message for generated signals.
56
- attr_accessor :message
57
-
58
- # The name of the rule.
59
- attr_accessor :name
60
-
61
- # Options on rules.
62
- attr_accessor :options
63
-
64
- # Queries for selecting logs which are part of the rule.
65
- attr_accessor :queries
66
-
67
- # Tags for generated signals.
68
- attr_accessor :tags
69
-
70
- # The rule type.
71
- attr_accessor :type
72
-
73
- # User ID of the user who updated the rule.
74
- attr_accessor :update_author_id
75
-
76
- # The version of the rule.
77
- attr_accessor :version
78
-
79
- # Attribute mapping from ruby-style variable name to JSON key.
80
- # @!visibility private
81
- def self.attribute_map
82
- {
83
- :'cases' => :'cases',
84
- :'created_at' => :'createdAt',
85
- :'creation_author_id' => :'creationAuthorId',
86
- :'filters' => :'filters',
87
- :'has_extended_title' => :'hasExtendedTitle',
88
- :'id' => :'id',
89
- :'is_default' => :'isDefault',
90
- :'is_deleted' => :'isDeleted',
91
- :'is_enabled' => :'isEnabled',
92
- :'message' => :'message',
93
- :'name' => :'name',
94
- :'options' => :'options',
95
- :'queries' => :'queries',
96
- :'tags' => :'tags',
97
- :'type' => :'type',
98
- :'update_author_id' => :'updateAuthorId',
99
- :'version' => :'version'
100
- }
101
- end
102
-
103
- # Returns all the JSON keys this model knows about
104
- # @!visibility private
105
- def self.acceptable_attributes
106
- attribute_map.values
107
- end
108
-
109
- # Attribute type mapping.
110
- # @!visibility private
111
- def self.openapi_types
112
- {
113
- :'cases' => :'Array<SecurityMonitoringRuleCase>',
114
- :'created_at' => :'Integer',
115
- :'creation_author_id' => :'Integer',
116
- :'filters' => :'Array<SecurityMonitoringFilter>',
117
- :'has_extended_title' => :'Boolean',
118
- :'id' => :'String',
119
- :'is_default' => :'Boolean',
120
- :'is_deleted' => :'Boolean',
121
- :'is_enabled' => :'Boolean',
122
- :'message' => :'String',
123
- :'name' => :'String',
124
- :'options' => :'SecurityMonitoringRuleOptions',
125
- :'queries' => :'Array<SecurityMonitoringRuleQuery>',
126
- :'tags' => :'Array<String>',
127
- :'type' => :'SecurityMonitoringRuleTypeRead',
128
- :'update_author_id' => :'Integer',
129
- :'version' => :'Integer'
130
- }
131
- end
132
-
133
- # List of attributes with nullable: true
134
- # @!visibility private
135
- def self.openapi_nullable
136
- Set.new([
137
- ])
138
- end
139
-
140
- # Initializes the object
141
- # @param attributes [Hash] Model attributes in the form of hash
142
- # @!visibility private
143
- def initialize(attributes = {})
144
- if (!attributes.is_a?(Hash))
145
- fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V2::SecurityMonitoringRuleResponse` initialize method"
146
- end
147
-
148
- # check to see if the attribute exists and convert string to symbol for hash key
149
- attributes = attributes.each_with_object({}) { |(k, v), h|
150
- if (!self.class.attribute_map.key?(k.to_sym))
151
- fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V2::SecurityMonitoringRuleResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
152
- end
153
- h[k.to_sym] = v
154
- }
155
-
156
- if attributes.key?(:'cases')
157
- if (value = attributes[:'cases']).is_a?(Array)
158
- self.cases = value
159
- end
160
- end
161
-
162
- if attributes.key?(:'created_at')
163
- self.created_at = attributes[:'created_at']
164
- end
165
-
166
- if attributes.key?(:'creation_author_id')
167
- self.creation_author_id = attributes[:'creation_author_id']
168
- end
169
-
170
- if attributes.key?(:'filters')
171
- if (value = attributes[:'filters']).is_a?(Array)
172
- self.filters = value
173
- end
174
- end
175
-
176
- if attributes.key?(:'has_extended_title')
177
- self.has_extended_title = attributes[:'has_extended_title']
178
- end
179
-
180
- if attributes.key?(:'id')
181
- self.id = attributes[:'id']
182
- end
183
-
184
- if attributes.key?(:'is_default')
185
- self.is_default = attributes[:'is_default']
186
- end
187
-
188
- if attributes.key?(:'is_deleted')
189
- self.is_deleted = attributes[:'is_deleted']
190
- end
191
-
192
- if attributes.key?(:'is_enabled')
193
- self.is_enabled = attributes[:'is_enabled']
194
- end
195
-
196
- if attributes.key?(:'message')
197
- self.message = attributes[:'message']
198
- end
199
-
200
- if attributes.key?(:'name')
201
- self.name = attributes[:'name']
202
- end
203
-
204
- if attributes.key?(:'options')
205
- self.options = attributes[:'options']
206
- end
207
-
208
- if attributes.key?(:'queries')
209
- if (value = attributes[:'queries']).is_a?(Array)
210
- self.queries = value
20
+ # Create a new rule.
21
+ module SecurityMonitoringRuleResponse
22
+ class << self
23
+ include BaseOneOfModel
24
+ include BaseOneOfModelNoDiscriminator
25
+
26
+ # List of class defined in oneOf (OpenAPI v3)
27
+ def openapi_one_of
28
+ [
29
+ :'SecurityMonitoringStandardRuleResponse',
30
+ :'SecurityMonitoringSignalRuleResponse'
31
+ ]
32
+ end
33
+ # Builds the object
34
+ # @param data [Mixed] Data to be matched against the list of oneOf items
35
+ # @return [Object] Returns the model or the data itself
36
+ def build(data)
37
+ # Go through the list of oneOf items and attempt to identify the appropriate one.
38
+ # Note:
39
+ # - We do not attempt to check whether exactly one item matches.
40
+ # - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
41
+ # due to the way the deserialization is made in the base_object template (it just casts without verifying).
42
+ # - TODO: scalar values are de facto behaving as if they were nullable.
43
+ # - TODO: logging when debugging is set.
44
+ openapi_one_of.each do |klass|
45
+ begin
46
+ next if klass == :AnyType # "nullable: true"
47
+ typed_data = find_and_cast_into_type(klass, data)
48
+ next if typed_data._unparsed
49
+ return typed_data if typed_data
50
+ rescue # rescue all errors so we keep iterating even if the current item lookup raises
51
+ end
211
52
  end
212
- end
213
53
 
214
- if attributes.key?(:'tags')
215
- if (value = attributes[:'tags']).is_a?(Array)
216
- self.tags = value
54
+ if openapi_one_of.include?(:AnyType)
55
+ data
56
+ else
57
+ self._unparsed = true
58
+ DatadogAPIClient::UnparsedObject.new(data)
217
59
  end
218
60
  end
219
-
220
- if attributes.key?(:'type')
221
- self.type = attributes[:'type']
222
- end
223
-
224
- if attributes.key?(:'update_author_id')
225
- self.update_author_id = attributes[:'update_author_id']
226
- end
227
-
228
- if attributes.key?(:'version')
229
- self.version = attributes[:'version']
230
- end
231
- end
232
-
233
- # Check to see if the all the properties in the model are valid
234
- # @return true if the model is valid
235
- # @!visibility private
236
- def valid?
237
- true
238
- end
239
-
240
- # Checks equality by comparing each attribute.
241
- # @param o [Object] Object to be compared
242
- # @!visibility private
243
- def ==(o)
244
- return true if self.equal?(o)
245
- self.class == o.class &&
246
- cases == o.cases &&
247
- created_at == o.created_at &&
248
- creation_author_id == o.creation_author_id &&
249
- filters == o.filters &&
250
- has_extended_title == o.has_extended_title &&
251
- id == o.id &&
252
- is_default == o.is_default &&
253
- is_deleted == o.is_deleted &&
254
- is_enabled == o.is_enabled &&
255
- message == o.message &&
256
- name == o.name &&
257
- options == o.options &&
258
- queries == o.queries &&
259
- tags == o.tags &&
260
- type == o.type &&
261
- update_author_id == o.update_author_id &&
262
- version == o.version
263
- end
264
-
265
- # @see the `==` method
266
- # @param o [Object] Object to be compared
267
- # @!visibility private
268
- def eql?(o)
269
- self == o
270
- end
271
-
272
- # Calculates hash code according to all attributes.
273
- # @return [Integer] Hash code
274
- # @!visibility private
275
- def hash
276
- [cases, created_at, creation_author_id, filters, has_extended_title, id, is_default, is_deleted, is_enabled, message, name, options, queries, tags, type, update_author_id, version].hash
277
61
  end
278
62
  end
279
63
  end
@@ -72,12 +72,6 @@ module DatadogAPIClient::V2
72
72
  }
73
73
  end
74
74
 
75
- # Returns all the JSON keys this model knows about
76
- # @!visibility private
77
- def self.acceptable_attributes
78
- attribute_map.values
79
- end
80
-
81
75
  # Attribute type mapping.
82
76
  # @!visibility private
83
77
  def self.openapi_types
@@ -203,13 +197,6 @@ module DatadogAPIClient::V2
203
197
  version == o.version
204
198
  end
205
199
 
206
- # @see the `==` method
207
- # @param o [Object] Object to be compared
208
- # @!visibility private
209
- def eql?(o)
210
- self == o
211
- end
212
-
213
200
  # Calculates hash code according to all attributes.
214
201
  # @return [Integer] Hash code
215
202
  # @!visibility private
@@ -45,12 +45,6 @@ module DatadogAPIClient::V2
45
45
  }
46
46
  end
47
47
 
48
- # Returns all the JSON keys this model knows about
49
- # @!visibility private
50
- def self.acceptable_attributes
51
- attribute_map.values
52
- end
53
-
54
48
  # Attribute type mapping.
55
49
  # @!visibility private
56
50
  def self.openapi_types
@@ -94,8 +88,6 @@ module DatadogAPIClient::V2
94
88
 
95
89
  if attributes.key?(:'type')
96
90
  self.type = attributes[:'type']
97
- else
98
- self.type = 'signal'
99
91
  end
100
92
  end
101
93
 
@@ -117,13 +109,6 @@ module DatadogAPIClient::V2
117
109
  type == o.type
118
110
  end
119
111
 
120
- # @see the `==` method
121
- # @param o [Object] Object to be compared
122
- # @!visibility private
123
- def eql?(o)
124
- self == o
125
- end
126
-
127
112
  # Calculates hash code according to all attributes.
128
113
  # @return [Integer] Hash code
129
114
  # @!visibility private
@@ -40,12 +40,6 @@ module DatadogAPIClient::V2
40
40
  }
41
41
  end
42
42
 
43
- # Returns all the JSON keys this model knows about
44
- # @!visibility private
45
- def self.acceptable_attributes
46
- attribute_map.values
47
- end
48
-
49
43
  # Attribute type mapping.
50
44
  # @!visibility private
51
45
  def self.openapi_types
@@ -115,13 +109,6 @@ module DatadogAPIClient::V2
115
109
  version == o.version
116
110
  end
117
111
 
118
- # @see the `==` method
119
- # @param o [Object] Object to be compared
120
- # @!visibility private
121
- def eql?(o)
122
- self == o
123
- end
124
-
125
112
  # Calculates hash code according to all attributes.
126
113
  # @return [Integer] Hash code
127
114
  # @!visibility private
@@ -36,12 +36,6 @@ module DatadogAPIClient::V2
36
36
  }
37
37
  end
38
38
 
39
- # Returns all the JSON keys this model knows about
40
- # @!visibility private
41
- def self.acceptable_attributes
42
- attribute_map.values
43
- end
44
-
45
39
  # Attribute type mapping.
46
40
  # @!visibility private
47
41
  def self.openapi_types
@@ -105,13 +99,6 @@ module DatadogAPIClient::V2
105
99
  attributes == o.attributes
106
100
  end
107
101
 
108
- # @see the `==` method
109
- # @param o [Object] Object to be compared
110
- # @!visibility private
111
- def eql?(o)
112
- self == o
113
- end
114
-
115
102
  # Calculates hash code according to all attributes.
116
103
  # @return [Integer] Hash code
117
104
  # @!visibility private
@@ -36,12 +36,6 @@ module DatadogAPIClient::V2
36
36
  }
37
37
  end
38
38
 
39
- # Returns all the JSON keys this model knows about
40
- # @!visibility private
41
- def self.acceptable_attributes
42
- attribute_map.values
43
- end
44
-
45
39
  # Attribute type mapping.
46
40
  # @!visibility private
47
41
  def self.openapi_types
@@ -105,13 +99,6 @@ module DatadogAPIClient::V2
105
99
  data == o.data
106
100
  end
107
101
 
108
- # @see the `==` method
109
- # @param o [Object] Object to be compared
110
- # @!visibility private
111
- def eql?(o)
112
- self == o
113
- end
114
-
115
102
  # Calculates hash code according to all attributes.
116
103
  # @return [Integer] Hash code
117
104
  # @!visibility private
@@ -49,12 +49,6 @@ module DatadogAPIClient::V2
49
49
  }
50
50
  end
51
51
 
52
- # Returns all the JSON keys this model knows about
53
- # @!visibility private
54
- def self.acceptable_attributes
55
- attribute_map.values
56
- end
57
-
58
52
  # Attribute type mapping.
59
53
  # @!visibility private
60
54
  def self.openapi_types
@@ -127,13 +121,6 @@ module DatadogAPIClient::V2
127
121
  timestamp == o.timestamp
128
122
  end
129
123
 
130
- # @see the `==` method
131
- # @param o [Object] Object to be compared
132
- # @!visibility private
133
- def eql?(o)
134
- self == o
135
- end
136
-
137
124
  # Calculates hash code according to all attributes.
138
125
  # @return [Integer] Hash code
139
126
  # @!visibility private