datadog_api_client 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +6 -6
  3. data/.generator/templates/api.mustache +2 -2
  4. data/.generator/templates/api_client.mustache +7 -0
  5. data/.generator/templates/api_client_typhoeus_partial.mustache +7 -0
  6. data/.generator/templates/configuration.mustache +4 -0
  7. data/.openapi-generator/VERSION +1 -1
  8. data/CHANGELOG.md +27 -0
  9. data/README.md +12 -1
  10. data/data/v1/openapi.yaml +866 -119
  11. data/data/v2/openapi.yaml +113 -0
  12. data/docs/v1/AWSAccount.md +6 -0
  13. data/docs/v1/DowntimeRecurrence.md +1 -1
  14. data/docs/v1/Event.md +1 -1
  15. data/docs/v1/FormulaAndFunctionApmDependencyStatName.md +15 -0
  16. data/docs/v1/FormulaAndFunctionApmDependencyStatsDataSource.md +15 -0
  17. data/docs/v1/FormulaAndFunctionApmDependencyStatsQueryDefinition.md +36 -0
  18. data/docs/v1/FormulaAndFunctionApmResourceStatName.md +15 -0
  19. data/docs/v1/FormulaAndFunctionApmResourceStatsDataSource.md +15 -0
  20. data/docs/v1/FormulaAndFunctionApmResourceStatsQueryDefinition.md +36 -0
  21. data/docs/v1/FormulaAndFunctionQueryDefinition.md +5 -1
  22. data/docs/v1/FunnelQuery.md +22 -0
  23. data/docs/v1/FunnelRequestType.md +15 -0
  24. data/docs/v1/FunnelSource.md +15 -0
  25. data/docs/v1/FunnelWidgetDefinition.md +28 -0
  26. data/docs/v1/FunnelWidgetDefinitionType.md +15 -0
  27. data/docs/v1/FunnelWidgetRequest.md +20 -0
  28. data/docs/v1/LogsAPI.md +1 -1
  29. data/docs/v1/MetricContentEncoding.md +15 -0
  30. data/docs/v1/MetricsAPI.md +10 -6
  31. data/docs/v1/MetricsPayload.md +1 -1
  32. data/docs/v1/MonitorOptions.md +5 -1
  33. data/docs/v1/MonitorRenotifyStatusType.md +15 -0
  34. data/docs/v1/MonitorsAPI.md +9 -9
  35. data/docs/v1/NotebookCreateDataAttributes.md +2 -0
  36. data/docs/v1/NotebookMetadata.md +22 -0
  37. data/docs/v1/NotebookMetadataType.md +15 -0
  38. data/docs/v1/NotebookResponseDataAttributes.md +2 -0
  39. data/docs/v1/NotebookUpdateDataAttributes.md +2 -0
  40. data/docs/v1/NotebooksAPI.md +7 -3
  41. data/docs/v1/NotebooksResponseDataAttributes.md +2 -0
  42. data/docs/v1/ProcessQueryDefinition.md +1 -1
  43. data/docs/v1/README.md +31 -3
  44. data/docs/v1/SLOCorrection.md +1 -1
  45. data/docs/v1/SLOCorrectionCreateData.md +1 -1
  46. data/docs/v1/SLOCorrectionCreateRequestAttributes.md +4 -4
  47. data/docs/v1/SLOCorrectionListResponse.md +1 -1
  48. data/docs/v1/SLOCorrectionResponseAttributes.md +4 -4
  49. data/docs/v1/SLOCorrectionUpdateRequestAttributes.md +3 -3
  50. data/docs/v1/ScatterPlotWidgetDefinitionRequests.md +4 -2
  51. data/docs/v1/ScatterplotDimension.md +15 -0
  52. data/docs/v1/ScatterplotTableRequest.md +22 -0
  53. data/docs/v1/ScatterplotWidgetFormula.md +22 -0
  54. data/docs/v1/Series.md +1 -1
  55. data/docs/v1/ServiceChecksAPI.md +1 -1
  56. data/docs/v1/ServiceLevelObjectiveCorrectionsAPI.md +11 -11
  57. data/docs/v1/SyntheticsAPI.md +61 -0
  58. data/docs/v1/SyntheticsAPIStep.md +1 -1
  59. data/docs/v1/SyntheticsBatchDetails.md +18 -0
  60. data/docs/v1/SyntheticsBatchDetailsData.md +22 -0
  61. data/docs/v1/SyntheticsBatchResult.md +36 -0
  62. data/docs/v1/SyntheticsBrowserError.md +3 -3
  63. data/docs/v1/SyntheticsCIBatchMetadata.md +20 -0
  64. data/docs/v1/{SyntheticsCITestMetadataCi.md → SyntheticsCIBatchMetadataCI.md} +2 -2
  65. data/docs/v1/SyntheticsCIBatchMetadataGit.md +20 -0
  66. data/docs/v1/SyntheticsCITest.md +1 -1
  67. data/docs/v1/SyntheticsStatus.md +15 -0
  68. data/docs/v1/SyntheticsTestDetails.md +2 -0
  69. data/docs/v1/SyntheticsTestExecutionRule.md +15 -0
  70. data/docs/v1/SyntheticsTestRequest.md +2 -0
  71. data/docs/v1/UsageAttributionValues.md +4 -4
  72. data/docs/v1/UsageMeteringAPI.md +65 -0
  73. data/docs/v1/UsageSDSHour.md +22 -0
  74. data/docs/v1/UsageSDSResponse.md +18 -0
  75. data/docs/v1/UsageSummaryDate.md +4 -0
  76. data/docs/v1/UsageSummaryDateOrg.md +6 -2
  77. data/docs/v1/UsageSummaryResponse.md +6 -2
  78. data/docs/v1/UsageTimeseriesHour.md +1 -1
  79. data/docs/v1/WebhooksIntegration.md +1 -1
  80. data/docs/v1/WebhooksIntegrationUpdateRequest.md +1 -1
  81. data/docs/v1/WidgetDefinition.md +2 -0
  82. data/docs/v2/IncidentServicesAPI.md +5 -5
  83. data/docs/v2/IncidentTeamsAPI.md +5 -5
  84. data/docs/v2/IncidentsAPI.md +5 -5
  85. data/docs/v2/README.md +5 -0
  86. data/docs/v2/SecurityMonitoringAPI.md +5 -5
  87. data/examples/v1/metrics/SubmitMetrics.rbbeta +14 -0
  88. data/extract-code-blocks.awk +4 -0
  89. data/lib/datadog_api_client/v1/api/logs_api.rb +1 -1
  90. data/lib/datadog_api_client/v1/api/metrics_api.rb +5 -2
  91. data/lib/datadog_api_client/v1/api/monitors_api.rb +9 -9
  92. data/lib/datadog_api_client/v1/api/notebooks_api.rb +8 -2
  93. data/lib/datadog_api_client/v1/api/service_checks_api.rb +1 -1
  94. data/lib/datadog_api_client/v1/api/service_level_objective_corrections_api.rb +16 -16
  95. data/lib/datadog_api_client/v1/api/synthetics_api.rb +73 -0
  96. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +77 -0
  97. data/lib/datadog_api_client/v1/api_client.rb +14 -0
  98. data/lib/datadog_api_client/v1/configuration.rb +7 -0
  99. data/lib/datadog_api_client/v1/models/aws_account.rb +37 -1
  100. data/lib/datadog_api_client/v1/models/content_encoding.rb +2 -2
  101. data/lib/datadog_api_client/v1/models/creator.rb +1 -0
  102. data/lib/datadog_api_client/v1/models/dashboard_summary_definition.rb +1 -0
  103. data/lib/datadog_api_client/v1/models/downtime_recurrence.rb +1 -1
  104. data/lib/datadog_api_client/v1/models/event.rb +1 -16
  105. data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stat_name.rb +44 -0
  106. data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_data_source.rb +38 -0
  107. data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb +356 -0
  108. data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stat_name.rb +47 -0
  109. data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_data_source.rb +38 -0
  110. data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb +348 -0
  111. data/lib/datadog_api_client/v1/models/formula_and_function_query_definition.rb +2 -0
  112. data/lib/datadog_api_client/v1/models/funnel_query.rb +271 -0
  113. data/lib/datadog_api_client/v1/models/funnel_request_type.rb +38 -0
  114. data/lib/datadog_api_client/v1/models/funnel_source.rb +38 -0
  115. data/lib/datadog_api_client/v1/models/funnel_widget_definition.rb +322 -0
  116. data/lib/datadog_api_client/v1/models/funnel_widget_definition_type.rb +38 -0
  117. data/lib/datadog_api_client/v1/models/funnel_widget_request.rb +251 -0
  118. data/lib/datadog_api_client/v1/models/metric_content_encoding.rb +38 -0
  119. data/lib/datadog_api_client/v1/models/metrics_query_metadata.rb +1 -0
  120. data/lib/datadog_api_client/v1/models/monitor.rb +2 -0
  121. data/lib/datadog_api_client/v1/models/monitor_options.rb +26 -2
  122. data/lib/datadog_api_client/v1/models/monitor_renotify_status_type.rb +40 -0
  123. data/lib/datadog_api_client/v1/models/notebook_author.rb +2 -0
  124. data/lib/datadog_api_client/v1/models/notebook_create_data_attributes.rb +10 -1
  125. data/lib/datadog_api_client/v1/models/notebook_metadata.rb +259 -0
  126. data/lib/datadog_api_client/v1/models/notebook_metadata_type.rb +42 -0
  127. data/lib/datadog_api_client/v1/models/notebook_response_data_attributes.rb +10 -1
  128. data/lib/datadog_api_client/v1/models/notebook_update_data_attributes.rb +10 -1
  129. data/lib/datadog_api_client/v1/models/notebooks_response_data_attributes.rb +10 -1
  130. data/lib/datadog_api_client/v1/models/notebooks_response_meta.rb +1 -1
  131. data/lib/datadog_api_client/v1/models/scatter_plot_widget_definition_requests.rb +10 -11
  132. data/lib/datadog_api_client/v1/models/scatterplot_dimension.rb +41 -0
  133. data/lib/datadog_api_client/v1/models/scatterplot_table_request.rb +256 -0
  134. data/lib/datadog_api_client/v1/models/scatterplot_widget_formula.rb +262 -0
  135. data/lib/datadog_api_client/v1/models/slo_correction.rb +2 -2
  136. data/lib/datadog_api_client/v1/models/slo_correction_create_data.rb +6 -1
  137. data/lib/datadog_api_client/v1/models/slo_correction_create_request.rb +1 -1
  138. data/lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb +5 -5
  139. data/lib/datadog_api_client/v1/models/slo_correction_list_response.rb +2 -2
  140. data/lib/datadog_api_client/v1/models/slo_correction_response.rb +1 -1
  141. data/lib/datadog_api_client/v1/models/slo_correction_response_attributes.rb +5 -5
  142. data/lib/datadog_api_client/v1/models/slo_correction_update_data.rb +1 -1
  143. data/lib/datadog_api_client/v1/models/slo_correction_update_request.rb +1 -1
  144. data/lib/datadog_api_client/v1/models/slo_correction_update_request_attributes.rb +4 -4
  145. data/lib/datadog_api_client/v1/models/synthetics_batch_details.rb +232 -0
  146. data/lib/datadog_api_client/v1/models/synthetics_batch_details_data.rb +253 -0
  147. data/lib/datadog_api_client/v1/models/synthetics_batch_result.rb +319 -0
  148. data/lib/datadog_api_client/v1/models/{synthetics_ci_test_metadata.rb → synthetics_ci_batch_metadata.rb} +6 -6
  149. data/lib/datadog_api_client/v1/models/{synthetics_ci_test_metadata_ci.rb → synthetics_ci_batch_metadata_ci.rb} +4 -4
  150. data/lib/datadog_api_client/v1/models/{synthetics_ci_test_metadata_git.rb → synthetics_ci_batch_metadata_git.rb} +5 -5
  151. data/lib/datadog_api_client/v1/models/synthetics_ci_test.rb +1 -1
  152. data/lib/datadog_api_client/v1/models/synthetics_status.rb +40 -0
  153. data/lib/datadog_api_client/v1/models/synthetics_test_details.rb +10 -1
  154. data/lib/datadog_api_client/v1/models/synthetics_test_execution_rule.rb +40 -0
  155. data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +11 -1
  156. data/lib/datadog_api_client/v1/models/usage_attribution_values.rb +13 -13
  157. data/lib/datadog_api_client/v1/models/usage_sds_hour.rb +253 -0
  158. data/lib/datadog_api_client/v1/models/usage_sds_response.rb +235 -0
  159. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +21 -1
  160. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +28 -8
  161. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +29 -9
  162. data/lib/datadog_api_client/v1/models/usage_timeseries_hour.rb +1 -1
  163. data/lib/datadog_api_client/v1/models/webhooks_integration.rb +1 -1
  164. data/lib/datadog_api_client/v1/models/webhooks_integration_update_request.rb +1 -1
  165. data/lib/datadog_api_client/v1/models/widget_definition.rb +1 -0
  166. data/lib/datadog_api_client/v1.rb +29 -3
  167. data/lib/datadog_api_client/v2/api/incident_services_api.rb +5 -5
  168. data/lib/datadog_api_client/v2/api/incident_teams_api.rb +5 -5
  169. data/lib/datadog_api_client/v2/api/incidents_api.rb +5 -5
  170. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +5 -5
  171. data/lib/datadog_api_client/v2/api_client.rb +14 -0
  172. data/lib/datadog_api_client/v2/configuration.rb +5 -0
  173. data/lib/datadog_api_client/v2/models/incident_field_attributes_multiple_value.rb +1 -0
  174. data/lib/datadog_api_client/v2/models/incident_field_attributes_single_value.rb +1 -0
  175. data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +1 -0
  176. data/lib/datadog_api_client/v2/models/user_attributes.rb +2 -0
  177. data/lib/datadog_api_client/version.rb +1 -1
  178. data/spec/v1/models/formula_and_function_apm_dependency_stat_name_spec.rb +31 -0
  179. data/spec/v1/models/formula_and_function_apm_dependency_stats_data_source_spec.rb +31 -0
  180. data/spec/v1/models/formula_and_function_apm_dependency_stats_query_definition_spec.rb +91 -0
  181. data/spec/v1/models/formula_and_function_apm_resource_stat_name_spec.rb +31 -0
  182. data/spec/v1/models/formula_and_function_apm_resource_stats_data_source_spec.rb +31 -0
  183. data/spec/v1/models/formula_and_function_apm_resource_stats_query_definition_spec.rb +91 -0
  184. data/spec/v1/models/funnel_query_spec.rb +49 -0
  185. data/spec/v1/models/funnel_request_type_spec.rb +31 -0
  186. data/spec/v1/models/funnel_source_spec.rb +31 -0
  187. data/spec/v1/models/funnel_widget_definition_spec.rb +67 -0
  188. data/spec/v1/models/funnel_widget_definition_type_spec.rb +31 -0
  189. data/spec/v1/models/funnel_widget_request_spec.rb +43 -0
  190. data/spec/v1/models/metric_content_encoding_spec.rb +31 -0
  191. data/spec/v1/models/monitor_renotify_status_type_spec.rb +31 -0
  192. data/spec/v1/models/notebook_metadata_spec.rb +49 -0
  193. data/spec/v1/models/notebook_metadata_type_spec.rb +31 -0
  194. data/spec/v1/models/scatterplot_dimension_spec.rb +31 -0
  195. data/spec/v1/models/scatterplot_table_request_spec.rb +49 -0
  196. data/spec/v1/models/scatterplot_widget_formula_spec.rb +49 -0
  197. data/spec/v1/models/synthetics_batch_details_data_spec.rb +49 -0
  198. data/spec/v1/models/synthetics_batch_details_spec.rb +37 -0
  199. data/spec/v1/models/synthetics_batch_result_spec.rb +91 -0
  200. data/spec/v1/models/{synthetics_ci_test_metadata_ci_spec.rb → synthetics_ci_batch_metadata_ci_spec.rb} +6 -6
  201. data/spec/v1/models/{synthetics_ci_test_metadata_git_spec.rb → synthetics_ci_batch_metadata_git_spec.rb} +6 -6
  202. data/spec/v1/models/{synthetics_ci_test_metadata_spec.rb → synthetics_ci_batch_metadata_spec.rb} +6 -6
  203. data/spec/v1/models/synthetics_status_spec.rb +31 -0
  204. data/spec/v1/models/synthetics_test_execution_rule_spec.rb +31 -0
  205. data/spec/v1/models/usage_sds_hour_spec.rb +49 -0
  206. data/spec/v1/models/usage_sds_response_spec.rb +37 -0
  207. metadata +119 -14
  208. data/docs/v1/SyntheticsCITestMetadata.md +0 -20
  209. data/docs/v1/SyntheticsCITestMetadataGit.md +0 -20
@@ -0,0 +1,49 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://openapi-generator.tech
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'spec_helper'
17
+ require 'json'
18
+ require 'date'
19
+
20
+ # Unit tests for DatadogAPIClient::V1::NotebookMetadata
21
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
22
+ # Please update as you see appropriate
23
+ describe DatadogAPIClient::V1::NotebookMetadata do
24
+ let(:instance) { DatadogAPIClient::V1::NotebookMetadata.new }
25
+
26
+ describe 'test an instance of NotebookMetadata' do
27
+ it 'should create an instance of NotebookMetadata' do
28
+ expect(instance).to be_instance_of(DatadogAPIClient::V1::NotebookMetadata)
29
+ end
30
+ end
31
+ describe 'test attribute "is_template"' do
32
+ it 'should work' do
33
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
34
+ end
35
+ end
36
+
37
+ describe 'test attribute "take_snapshots"' do
38
+ it 'should work' do
39
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
+ end
41
+ end
42
+
43
+ describe 'test attribute "type"' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
46
+ end
47
+ end
48
+
49
+ end
@@ -0,0 +1,31 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://openapi-generator.tech
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'spec_helper'
17
+ require 'json'
18
+ require 'date'
19
+
20
+ # Unit tests for DatadogAPIClient::V1::NotebookMetadataType
21
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
22
+ # Please update as you see appropriate
23
+ describe DatadogAPIClient::V1::NotebookMetadataType do
24
+ let(:instance) { DatadogAPIClient::V1::NotebookMetadataType.new }
25
+
26
+ describe 'test an instance of NotebookMetadataType' do
27
+ it 'should create an instance of NotebookMetadataType' do
28
+ expect(instance).to be_instance_of(DatadogAPIClient::V1::NotebookMetadataType)
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,31 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://openapi-generator.tech
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'spec_helper'
17
+ require 'json'
18
+ require 'date'
19
+
20
+ # Unit tests for DatadogAPIClient::V1::ScatterplotDimension
21
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
22
+ # Please update as you see appropriate
23
+ describe DatadogAPIClient::V1::ScatterplotDimension do
24
+ let(:instance) { DatadogAPIClient::V1::ScatterplotDimension.new }
25
+
26
+ describe 'test an instance of ScatterplotDimension' do
27
+ it 'should create an instance of ScatterplotDimension' do
28
+ expect(instance).to be_instance_of(DatadogAPIClient::V1::ScatterplotDimension)
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,49 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://openapi-generator.tech
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'spec_helper'
17
+ require 'json'
18
+ require 'date'
19
+
20
+ # Unit tests for DatadogAPIClient::V1::ScatterplotTableRequest
21
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
22
+ # Please update as you see appropriate
23
+ describe DatadogAPIClient::V1::ScatterplotTableRequest do
24
+ let(:instance) { DatadogAPIClient::V1::ScatterplotTableRequest.new }
25
+
26
+ describe 'test an instance of ScatterplotTableRequest' do
27
+ it 'should create an instance of ScatterplotTableRequest' do
28
+ expect(instance).to be_instance_of(DatadogAPIClient::V1::ScatterplotTableRequest)
29
+ end
30
+ end
31
+ describe 'test attribute "formulas"' do
32
+ it 'should work' do
33
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
34
+ end
35
+ end
36
+
37
+ describe 'test attribute "queries"' do
38
+ it 'should work' do
39
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
+ end
41
+ end
42
+
43
+ describe 'test attribute "response_format"' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
46
+ end
47
+ end
48
+
49
+ end
@@ -0,0 +1,49 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://openapi-generator.tech
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'spec_helper'
17
+ require 'json'
18
+ require 'date'
19
+
20
+ # Unit tests for DatadogAPIClient::V1::ScatterplotWidgetFormula
21
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
22
+ # Please update as you see appropriate
23
+ describe DatadogAPIClient::V1::ScatterplotWidgetFormula do
24
+ let(:instance) { DatadogAPIClient::V1::ScatterplotWidgetFormula.new }
25
+
26
+ describe 'test an instance of ScatterplotWidgetFormula' do
27
+ it 'should create an instance of ScatterplotWidgetFormula' do
28
+ expect(instance).to be_instance_of(DatadogAPIClient::V1::ScatterplotWidgetFormula)
29
+ end
30
+ end
31
+ describe 'test attribute "_alias"' do
32
+ it 'should work' do
33
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
34
+ end
35
+ end
36
+
37
+ describe 'test attribute "dimension"' do
38
+ it 'should work' do
39
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
+ end
41
+ end
42
+
43
+ describe 'test attribute "formula"' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
46
+ end
47
+ end
48
+
49
+ end
@@ -0,0 +1,49 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://openapi-generator.tech
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'spec_helper'
17
+ require 'json'
18
+ require 'date'
19
+
20
+ # Unit tests for DatadogAPIClient::V1::SyntheticsBatchDetailsData
21
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
22
+ # Please update as you see appropriate
23
+ describe DatadogAPIClient::V1::SyntheticsBatchDetailsData do
24
+ let(:instance) { DatadogAPIClient::V1::SyntheticsBatchDetailsData.new }
25
+
26
+ describe 'test an instance of SyntheticsBatchDetailsData' do
27
+ it 'should create an instance of SyntheticsBatchDetailsData' do
28
+ expect(instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsBatchDetailsData)
29
+ end
30
+ end
31
+ describe 'test attribute "metadata"' do
32
+ it 'should work' do
33
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
34
+ end
35
+ end
36
+
37
+ describe 'test attribute "results"' do
38
+ it 'should work' do
39
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
+ end
41
+ end
42
+
43
+ describe 'test attribute "status"' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
46
+ end
47
+ end
48
+
49
+ end
@@ -0,0 +1,37 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://openapi-generator.tech
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'spec_helper'
17
+ require 'json'
18
+ require 'date'
19
+
20
+ # Unit tests for DatadogAPIClient::V1::SyntheticsBatchDetails
21
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
22
+ # Please update as you see appropriate
23
+ describe DatadogAPIClient::V1::SyntheticsBatchDetails do
24
+ let(:instance) { DatadogAPIClient::V1::SyntheticsBatchDetails.new }
25
+
26
+ describe 'test an instance of SyntheticsBatchDetails' do
27
+ it 'should create an instance of SyntheticsBatchDetails' do
28
+ expect(instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsBatchDetails)
29
+ end
30
+ end
31
+ describe 'test attribute "data"' do
32
+ it 'should work' do
33
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
34
+ end
35
+ end
36
+
37
+ end
@@ -0,0 +1,91 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://openapi-generator.tech
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'spec_helper'
17
+ require 'json'
18
+ require 'date'
19
+
20
+ # Unit tests for DatadogAPIClient::V1::SyntheticsBatchResult
21
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
22
+ # Please update as you see appropriate
23
+ describe DatadogAPIClient::V1::SyntheticsBatchResult do
24
+ let(:instance) { DatadogAPIClient::V1::SyntheticsBatchResult.new }
25
+
26
+ describe 'test an instance of SyntheticsBatchResult' do
27
+ it 'should create an instance of SyntheticsBatchResult' do
28
+ expect(instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsBatchResult)
29
+ end
30
+ end
31
+ describe 'test attribute "device"' do
32
+ it 'should work' do
33
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
34
+ end
35
+ end
36
+
37
+ describe 'test attribute "duration"' do
38
+ it 'should work' do
39
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
+ end
41
+ end
42
+
43
+ describe 'test attribute "execution_rule"' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
46
+ end
47
+ end
48
+
49
+ describe 'test attribute "location"' do
50
+ it 'should work' do
51
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
52
+ end
53
+ end
54
+
55
+ describe 'test attribute "result_id"' do
56
+ it 'should work' do
57
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
58
+ end
59
+ end
60
+
61
+ describe 'test attribute "retries"' do
62
+ it 'should work' do
63
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
64
+ end
65
+ end
66
+
67
+ describe 'test attribute "status"' do
68
+ it 'should work' do
69
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
70
+ end
71
+ end
72
+
73
+ describe 'test attribute "test_name"' do
74
+ it 'should work' do
75
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
76
+ end
77
+ end
78
+
79
+ describe 'test attribute "test_public_id"' do
80
+ it 'should work' do
81
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
82
+ end
83
+ end
84
+
85
+ describe 'test attribute "test_type"' do
86
+ it 'should work' do
87
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
88
+ end
89
+ end
90
+
91
+ end
@@ -17,15 +17,15 @@ require 'spec_helper'
17
17
  require 'json'
18
18
  require 'date'
19
19
 
20
- # Unit tests for DatadogAPIClient::V1::SyntheticsCITestMetadataCi
20
+ # Unit tests for DatadogAPIClient::V1::SyntheticsCIBatchMetadataCI
21
21
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
22
22
  # Please update as you see appropriate
23
- describe DatadogAPIClient::V1::SyntheticsCITestMetadataCi do
24
- let(:instance) { DatadogAPIClient::V1::SyntheticsCITestMetadataCi.new }
23
+ describe DatadogAPIClient::V1::SyntheticsCIBatchMetadataCI do
24
+ let(:instance) { DatadogAPIClient::V1::SyntheticsCIBatchMetadataCI.new }
25
25
 
26
- describe 'test an instance of SyntheticsCITestMetadataCi' do
27
- it 'should create an instance of SyntheticsCITestMetadataCi' do
28
- expect(instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsCITestMetadataCi)
26
+ describe 'test an instance of SyntheticsCIBatchMetadataCI' do
27
+ it 'should create an instance of SyntheticsCIBatchMetadataCI' do
28
+ expect(instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsCIBatchMetadataCI)
29
29
  end
30
30
  end
31
31
  describe 'test attribute "pipeline"' do
@@ -17,15 +17,15 @@ require 'spec_helper'
17
17
  require 'json'
18
18
  require 'date'
19
19
 
20
- # Unit tests for DatadogAPIClient::V1::SyntheticsCITestMetadataGit
20
+ # Unit tests for DatadogAPIClient::V1::SyntheticsCIBatchMetadataGit
21
21
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
22
22
  # Please update as you see appropriate
23
- describe DatadogAPIClient::V1::SyntheticsCITestMetadataGit do
24
- let(:instance) { DatadogAPIClient::V1::SyntheticsCITestMetadataGit.new }
23
+ describe DatadogAPIClient::V1::SyntheticsCIBatchMetadataGit do
24
+ let(:instance) { DatadogAPIClient::V1::SyntheticsCIBatchMetadataGit.new }
25
25
 
26
- describe 'test an instance of SyntheticsCITestMetadataGit' do
27
- it 'should create an instance of SyntheticsCITestMetadataGit' do
28
- expect(instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsCITestMetadataGit)
26
+ describe 'test an instance of SyntheticsCIBatchMetadataGit' do
27
+ it 'should create an instance of SyntheticsCIBatchMetadataGit' do
28
+ expect(instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsCIBatchMetadataGit)
29
29
  end
30
30
  end
31
31
  describe 'test attribute "branch"' do
@@ -17,15 +17,15 @@ require 'spec_helper'
17
17
  require 'json'
18
18
  require 'date'
19
19
 
20
- # Unit tests for DatadogAPIClient::V1::SyntheticsCITestMetadata
20
+ # Unit tests for DatadogAPIClient::V1::SyntheticsCIBatchMetadata
21
21
  # Automatically generated by openapi-generator (https://openapi-generator.tech)
22
22
  # Please update as you see appropriate
23
- describe DatadogAPIClient::V1::SyntheticsCITestMetadata do
24
- let(:instance) { DatadogAPIClient::V1::SyntheticsCITestMetadata.new }
23
+ describe DatadogAPIClient::V1::SyntheticsCIBatchMetadata do
24
+ let(:instance) { DatadogAPIClient::V1::SyntheticsCIBatchMetadata.new }
25
25
 
26
- describe 'test an instance of SyntheticsCITestMetadata' do
27
- it 'should create an instance of SyntheticsCITestMetadata' do
28
- expect(instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsCITestMetadata)
26
+ describe 'test an instance of SyntheticsCIBatchMetadata' do
27
+ it 'should create an instance of SyntheticsCIBatchMetadata' do
28
+ expect(instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsCIBatchMetadata)
29
29
  end
30
30
  end
31
31
  describe 'test attribute "ci"' do
@@ -0,0 +1,31 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://openapi-generator.tech
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'spec_helper'
17
+ require 'json'
18
+ require 'date'
19
+
20
+ # Unit tests for DatadogAPIClient::V1::SyntheticsStatus
21
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
22
+ # Please update as you see appropriate
23
+ describe DatadogAPIClient::V1::SyntheticsStatus do
24
+ let(:instance) { DatadogAPIClient::V1::SyntheticsStatus.new }
25
+
26
+ describe 'test an instance of SyntheticsStatus' do
27
+ it 'should create an instance of SyntheticsStatus' do
28
+ expect(instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsStatus)
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,31 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://openapi-generator.tech
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'spec_helper'
17
+ require 'json'
18
+ require 'date'
19
+
20
+ # Unit tests for DatadogAPIClient::V1::SyntheticsTestExecutionRule
21
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
22
+ # Please update as you see appropriate
23
+ describe DatadogAPIClient::V1::SyntheticsTestExecutionRule do
24
+ let(:instance) { DatadogAPIClient::V1::SyntheticsTestExecutionRule.new }
25
+
26
+ describe 'test an instance of SyntheticsTestExecutionRule' do
27
+ it 'should create an instance of SyntheticsTestExecutionRule' do
28
+ expect(instance).to be_instance_of(DatadogAPIClient::V1::SyntheticsTestExecutionRule)
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,49 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://openapi-generator.tech
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'spec_helper'
17
+ require 'json'
18
+ require 'date'
19
+
20
+ # Unit tests for DatadogAPIClient::V1::UsageSDSHour
21
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
22
+ # Please update as you see appropriate
23
+ describe DatadogAPIClient::V1::UsageSDSHour do
24
+ let(:instance) { DatadogAPIClient::V1::UsageSDSHour.new }
25
+
26
+ describe 'test an instance of UsageSDSHour' do
27
+ it 'should create an instance of UsageSDSHour' do
28
+ expect(instance).to be_instance_of(DatadogAPIClient::V1::UsageSDSHour)
29
+ end
30
+ end
31
+ describe 'test attribute "hour"' do
32
+ it 'should work' do
33
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
34
+ end
35
+ end
36
+
37
+ describe 'test attribute "logs_scanned_bytes"' do
38
+ it 'should work' do
39
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
40
+ end
41
+ end
42
+
43
+ describe 'test attribute "total_scanned_bytes"' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
46
+ end
47
+ end
48
+
49
+ end
@@ -0,0 +1,37 @@
1
+ =begin
2
+ #Datadog API V1 Collection
3
+
4
+ #Collection of all Datadog Public endpoints.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: support@datadoghq.com
8
+ Generated by: https://openapi-generator.tech
9
+
10
+ Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
11
+ This product includes software developed at Datadog (https://www.datadoghq.com/).
12
+ Copyright 2020-Present Datadog, Inc.
13
+
14
+ =end
15
+
16
+ require 'spec_helper'
17
+ require 'json'
18
+ require 'date'
19
+
20
+ # Unit tests for DatadogAPIClient::V1::UsageSDSResponse
21
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
22
+ # Please update as you see appropriate
23
+ describe DatadogAPIClient::V1::UsageSDSResponse do
24
+ let(:instance) { DatadogAPIClient::V1::UsageSDSResponse.new }
25
+
26
+ describe 'test an instance of UsageSDSResponse' do
27
+ it 'should create an instance of UsageSDSResponse' do
28
+ expect(instance).to be_instance_of(DatadogAPIClient::V1::UsageSDSResponse)
29
+ end
30
+ end
31
+ describe 'test attribute "usage"' do
32
+ it 'should work' do
33
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
34
+ end
35
+ end
36
+
37
+ end