datadog_api_client 2.27.1 → 2.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. checksums.yaml +4 -4
  2. data/.apigentools-info +4 -4
  3. data/.generator/conftest.py +0 -3
  4. data/.generator/schemas/v1/openapi.yaml +385 -616
  5. data/.generator/schemas/v2/openapi.yaml +1498 -386
  6. data/.generator/src/generator/formatter.py +2 -43
  7. data/.generator/src/generator/keywords.json +43 -0
  8. data/.generator/src/generator/templates/api.j2 +4 -0
  9. data/.generator/src/generator/templates/api_client.j2 +1 -0
  10. data/CHANGELOG.md +39 -0
  11. data/examples/v1/dashboards/CreateDashboard_1413226400.rb +66 -0
  12. data/examples/v1/dashboards/CreateDashboard_3298564989.rb +65 -0
  13. data/examples/v1/gcp-integration/CreateGCPIntegration.rb +1 -0
  14. data/examples/v1/gcp-integration/UpdateGCPIntegration.rb +1 -0
  15. data/examples/v1/gcp-integration/UpdateGCPIntegration_3544259255.rb +1 -0
  16. data/examples/v1/monitors/ValidateExistingMonitor.rb +0 -1
  17. data/examples/v1/monitors/ValidateMonitor.rb +0 -1
  18. data/examples/v1/monitors/ValidateMonitor_4247196452.rb +0 -1
  19. data/examples/v1/synthetics/CreateSyntheticsAPITest.rb +3 -1
  20. data/examples/v1/synthetics/CreateSyntheticsMobileTest.rb +1 -1
  21. data/examples/v1/synthetics/UpdateBrowserTest.rb +3 -1
  22. data/examples/v1/synthetics/UpdateMobileTest.rb +1 -1
  23. data/examples/v2/domain-allowlist/GetDomainAllowlist.rb +5 -0
  24. data/examples/v2/domain-allowlist/PatchDomainAllowlist.rb +17 -0
  25. data/examples/v2/gcp-integration/CreateGCPSTSAccount_2597004741.rb +1 -0
  26. data/examples/v2/incidents/CreateIncidentType.rb +19 -0
  27. data/examples/v2/incidents/DeleteIncidentType.rb +11 -0
  28. data/examples/v2/incidents/GetIncidentType.rb +8 -0
  29. data/examples/v2/incidents/ListIncidentTypes.rb +8 -0
  30. data/examples/v2/incidents/UpdateIncidentType.rb +22 -0
  31. data/examples/v2/metrics/QueryScalarData.rb +0 -3
  32. data/examples/v2/metrics/QueryScalarData_3112571352.rb +0 -3
  33. data/examples/v2/metrics/QueryTimeseriesData.rb +0 -3
  34. data/examples/v2/metrics/QueryTimeseriesData_301142940.rb +0 -3
  35. data/examples/v2/microsoft-teams-integration/CreateTenantBasedHandle.rb +17 -0
  36. data/examples/v2/microsoft-teams-integration/{CreateApiHandle_1540689753.rb → CreateTenantBasedHandle_1540689753.rb} +5 -5
  37. data/examples/v2/microsoft-teams-integration/DeleteTenantBasedHandle.rb +5 -0
  38. data/examples/v2/microsoft-teams-integration/DeleteTenantBasedHandle_377884154.rb +8 -0
  39. data/examples/v2/microsoft-teams-integration/GetTenantBasedHandle.rb +5 -0
  40. data/examples/v2/microsoft-teams-integration/GetTenantBasedHandle_2883785101.rb +8 -0
  41. data/examples/v2/microsoft-teams-integration/{ListApiHandles.rb → ListTenantBasedHandles.rb} +2 -2
  42. data/examples/v2/microsoft-teams-integration/{ListApiHandles_769592979.rb → ListTenantBasedHandles_769592979.rb} +1 -1
  43. data/examples/v2/microsoft-teams-integration/UpdateTenantBasedHandle.rb +17 -0
  44. data/examples/v2/microsoft-teams-integration/UpdateTenantBasedHandle_419892746.rb +18 -0
  45. data/examples/v2/rum-metrics/CreateRumMetric.rb +32 -0
  46. data/examples/v2/rum-metrics/DeleteRumMetric.rb +8 -0
  47. data/examples/v2/rum-metrics/GetRumMetric.rb +8 -0
  48. data/examples/v2/rum-metrics/ListRumMetrics.rb +5 -0
  49. data/examples/v2/rum-metrics/UpdateRumMetric.rb +29 -0
  50. data/examples/v2/security-monitoring/ListFindings_1668290866.rb +14 -0
  51. data/examples/v2/usage-metering/GetBillingDimensionMapping.rb +8 -0
  52. data/examples/v2/usage-metering/GetMonthlyCostAttribution.rb +4 -1
  53. data/lib/datadog_api_client/api_client.rb +1 -0
  54. data/lib/datadog_api_client/configuration.rb +6 -2
  55. data/lib/datadog_api_client/inflector.rb +81 -28
  56. data/lib/datadog_api_client/v1/api/monitors_api.rb +6 -3
  57. data/lib/datadog_api_client/v1/api/synthetics_api.rb +2 -0
  58. data/lib/datadog_api_client/v1/api/usage_metering_api.rb +5 -3
  59. data/lib/datadog_api_client/v1/models/gcp_account.rb +11 -1
  60. data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +1 -3
  61. data/lib/datadog_api_client/v1/models/list_stream_source.rb +1 -0
  62. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +2 -6
  63. data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +11 -61
  64. data/lib/datadog_api_client/v1/models/slo_history_monitor.rb +1 -1
  65. data/lib/datadog_api_client/v1/models/synthetics_batch_details_data.rb +2 -2
  66. data/lib/datadog_api_client/v1/models/synthetics_batch_result.rb +2 -2
  67. data/lib/datadog_api_client/v1/models/{synthetics_status.rb → synthetics_batch_status.rb} +4 -4
  68. data/lib/datadog_api_client/v1/models/synthetics_mobile_step.rb +32 -6
  69. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params.rb +249 -0
  70. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_direction.rb +29 -0
  71. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element.rb +175 -0
  72. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_context_type.rb +27 -0
  73. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_relative_position.rb +115 -0
  74. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator.rb +117 -0
  75. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator_values_items.rb +115 -0
  76. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_element_user_locator_values_items_type.rb +30 -0
  77. data/lib/datadog_api_client/v1/models/{synthetics_mobile_test_initial_application_arguments.rb → synthetics_mobile_step_params_positions_items.rb} +21 -11
  78. data/lib/datadog_api_client/v1/models/synthetics_mobile_step_params_value.rb +63 -0
  79. data/lib/datadog_api_client/v1/models/{synthetics_mobile_test_ci_options.rb → synthetics_mobile_step_params_variable.rb} +38 -17
  80. data/lib/datadog_api_client/v1/models/synthetics_mobile_test.rb +2 -2
  81. data/lib/datadog_api_client/v1/models/synthetics_mobile_test_config.rb +1 -1
  82. data/lib/datadog_api_client/v1/models/synthetics_mobile_test_options.rb +42 -16
  83. data/lib/datadog_api_client/v1/models/synthetics_mobile_tests_mobile_application.rb +24 -5
  84. data/lib/datadog_api_client/v1/models/synthetics_step.rb +22 -2
  85. data/lib/datadog_api_client/v1/models/synthetics_step_detail.rb +21 -1
  86. data/lib/datadog_api_client/v1/models/synthetics_test_ci_options.rb +19 -1
  87. data/lib/datadog_api_client/v1/models/synthetics_test_details_type.rb +1 -0
  88. data/lib/datadog_api_client/v1/models/synthetics_test_options_monitor_options.rb +34 -4
  89. data/lib/datadog_api_client/v1/models/{synthetics_mobile_test_options_monitor_options_notification_preset_name.rb → synthetics_test_options_monitor_options_notification_preset_name.rb} +2 -2
  90. data/lib/datadog_api_client/v1/models/synthetics_test_options_scheduling.rb +31 -2
  91. data/lib/datadog_api_client/v1/models/synthetics_test_options_scheduling_timeframe.rb +32 -6
  92. data/lib/datadog_api_client/v1/models/{synthetics_mobile_test_binding_items.rb → synthetics_test_restriction_policy_binding.rb} +11 -11
  93. data/lib/datadog_api_client/v1/models/{synthetics_mobile_test_binding_items_role.rb → synthetics_test_restriction_policy_binding_relation.rb} +2 -2
  94. data/lib/datadog_api_client/v1/models/toplist_widget_stacked.rb +1 -12
  95. data/lib/datadog_api_client/v1/models/usage_summary_date.rb +21 -1
  96. data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +21 -1
  97. data/lib/datadog_api_client/v1/models/usage_summary_response.rb +21 -1
  98. data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +3 -69
  99. data/lib/datadog_api_client/v2/api/domain_allowlist_api.rb +153 -0
  100. data/lib/datadog_api_client/v2/api/incidents_api.rb +361 -0
  101. data/lib/datadog_api_client/v2/api/metrics_api.rb +1 -13
  102. data/lib/datadog_api_client/v2/api/microsoft_teams_integration_api.rb +98 -161
  103. data/lib/datadog_api_client/v2/api/rum_metrics_api.rb +357 -0
  104. data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +3 -0
  105. data/lib/datadog_api_client/v2/api/software_catalog_api.rb +19 -19
  106. data/lib/datadog_api_client/v2/api/teams_api.rb +1 -0
  107. data/lib/datadog_api_client/v2/api/usage_metering_api.rb +79 -10
  108. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item.rb +125 -0
  109. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes.rb +127 -0
  110. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes_endpoints_items.rb +127 -0
  111. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_body_item_attributes_endpoints_items_status.rb +27 -0
  112. data/lib/datadog_api_client/v2/models/billing_dimensions_mapping_response.rb +107 -0
  113. data/lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb +1 -1
  114. data/lib/datadog_api_client/v2/models/cloudflare_account_response_attributes.rb +1 -1
  115. data/lib/datadog_api_client/v2/models/cloudflare_account_update_request_attributes.rb +1 -1
  116. data/lib/datadog_api_client/v2/models/domain_allowlist.rb +151 -0
  117. data/lib/datadog_api_client/v2/models/{aws_related_account_attributes.rb → domain_allowlist_attributes.rb} +20 -18
  118. data/lib/datadog_api_client/v2/models/domain_allowlist_request.rb +123 -0
  119. data/lib/datadog_api_client/{v1/models/synthetics_mobile_test_binding.rb → v2/models/domain_allowlist_response.rb} +13 -13
  120. data/lib/datadog_api_client/v2/models/domain_allowlist_response_data.rb +151 -0
  121. data/lib/datadog_api_client/v2/models/domain_allowlist_response_data_attributes.rb +117 -0
  122. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_type.rb → domain_allowlist_type.rb} +3 -3
  123. data/lib/datadog_api_client/v2/models/entity_attributes.rb +1 -1
  124. data/lib/datadog_api_client/v2/models/entity_data.rb +1 -1
  125. data/lib/datadog_api_client/v2/models/entity_response_included_incident.rb +1 -1
  126. data/lib/datadog_api_client/v2/models/entity_response_included_raw_schema.rb +1 -1
  127. data/lib/datadog_api_client/v2/models/entity_response_included_related_oncall_attributes.rb +1 -1
  128. data/lib/datadog_api_client/v2/models/entity_response_included_related_oncall_escalation_item.rb +1 -1
  129. data/lib/datadog_api_client/v2/models/entity_response_included_schema.rb +1 -1
  130. data/lib/datadog_api_client/v2/models/entity_v3_api_version.rb +1 -1
  131. data/lib/datadog_api_client/v2/models/entity_v3_datadog_code_location_item.rb +3 -3
  132. data/lib/datadog_api_client/v2/models/entity_v3_datadog_event_item.rb +2 -2
  133. data/lib/datadog_api_client/v2/models/entity_v3_datadog_integration_opsgenie.rb +2 -2
  134. data/lib/datadog_api_client/v2/models/entity_v3_datadog_integration_pagerduty.rb +2 -2
  135. data/lib/datadog_api_client/v2/models/entity_v3_datadog_log_item.rb +3 -3
  136. data/lib/datadog_api_client/v2/models/entity_v3_datadog_performance.rb +2 -2
  137. data/lib/datadog_api_client/v2/models/entity_v3_datadog_pipelines.rb +2 -2
  138. data/lib/datadog_api_client/v2/models/entity_v3_datastore.rb +4 -4
  139. data/lib/datadog_api_client/v2/models/entity_v3_datastore_datadog.rb +4 -4
  140. data/lib/datadog_api_client/v2/models/entity_v3_datastore_spec.rb +2 -2
  141. data/lib/datadog_api_client/v2/models/entity_v3_integrations.rb +3 -3
  142. data/lib/datadog_api_client/v2/models/entity_v3_metadata.rb +9 -9
  143. data/lib/datadog_api_client/v2/models/entity_v3_metadata_additional_owners_items.rb +2 -2
  144. data/lib/datadog_api_client/v2/models/entity_v3_metadata_contacts_items.rb +2 -2
  145. data/lib/datadog_api_client/v2/models/entity_v3_metadata_links_items.rb +2 -2
  146. data/lib/datadog_api_client/v2/models/entity_v3_metadata_owner.rb +2 -2
  147. data/lib/datadog_api_client/v2/models/entity_v3_queue.rb +5 -5
  148. data/lib/datadog_api_client/v2/models/entity_v3_queue_datadog.rb +4 -4
  149. data/lib/datadog_api_client/v2/models/entity_v3_queue_spec.rb +2 -2
  150. data/lib/datadog_api_client/v2/models/entity_v3_service.rb +5 -5
  151. data/lib/datadog_api_client/v2/models/entity_v3_service_datadog.rb +6 -6
  152. data/lib/datadog_api_client/v2/models/entity_v3_service_spec.rb +3 -3
  153. data/lib/datadog_api_client/v2/models/entity_v3_system.rb +5 -5
  154. data/lib/datadog_api_client/v2/models/entity_v3_system_datadog.rb +5 -5
  155. data/lib/datadog_api_client/v2/models/finding_attributes.rb +14 -4
  156. data/lib/datadog_api_client/v2/models/finding_vulnerability_type.rb +29 -0
  157. data/lib/datadog_api_client/v2/models/gcp_metric_namespace_config.rb +115 -0
  158. data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +23 -1
  159. data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +11 -1
  160. data/lib/datadog_api_client/v2/models/incident_integration_metadata_metadata.rb +2 -1
  161. data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +11 -1
  162. data/lib/datadog_api_client/v2/models/incident_response_included_item.rb +1 -1
  163. data/lib/datadog_api_client/v2/models/incident_type_attributes.rb +193 -0
  164. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_request_data.rb → incident_type_create_data.rb} +7 -7
  165. data/lib/datadog_api_client/v2/models/{microsoft_teams_create_api_handle_request.rb → incident_type_create_request.rb} +5 -5
  166. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handles_response.rb → incident_type_list_response.rb} +5 -5
  167. data/lib/datadog_api_client/v2/models/{aws_related_account.rb → incident_type_object.rb} +8 -8
  168. data/lib/datadog_api_client/v2/models/incident_type_patch_data.rb +165 -0
  169. data/lib/datadog_api_client/v2/models/{microsoft_teams_create_api_handle_response.rb → incident_type_patch_request.rb} +5 -5
  170. data/lib/datadog_api_client/v2/models/{microsoft_teams_update_api_handle_request.rb → incident_type_response.rb} +5 -5
  171. data/lib/datadog_api_client/v2/models/{aws_related_account_type.rb → incident_type_type.rb} +3 -3
  172. data/lib/datadog_api_client/v2/models/incident_type_update_attributes.rb +175 -0
  173. data/lib/datadog_api_client/v2/models/incident_user_attributes.rb +153 -0
  174. data/lib/datadog_api_client/v2/models/incident_user_data.rb +125 -0
  175. data/lib/datadog_api_client/v2/models/include_type.rb +1 -1
  176. data/lib/datadog_api_client/v2/models/list_entity_catalog_response_links.rb +3 -3
  177. data/lib/datadog_api_client/v2/models/microsoft_teams_create_tenant_based_handle_request.rb +123 -0
  178. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_attributes.rb → microsoft_teams_tenant_based_handle_attributes.rb} +4 -4
  179. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_info_response_attributes.rb → microsoft_teams_tenant_based_handle_info_response_attributes.rb} +4 -4
  180. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_response_data.rb → microsoft_teams_tenant_based_handle_info_response_data.rb} +8 -8
  181. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_info_type.rb +26 -0
  182. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_request_attributes.rb → microsoft_teams_tenant_based_handle_request_attributes.rb} +4 -4
  183. data/lib/datadog_api_client/v2/models/{microsoft_teams_update_api_handle_request_data.rb → microsoft_teams_tenant_based_handle_request_data.rb} +7 -7
  184. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_response.rb +123 -0
  185. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_info_response_data.rb → microsoft_teams_tenant_based_handle_response_data.rb} +8 -8
  186. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handle_type.rb +26 -0
  187. data/lib/datadog_api_client/v2/models/microsoft_teams_tenant_based_handles_response.rb +125 -0
  188. data/lib/datadog_api_client/v2/models/microsoft_teams_update_tenant_based_handle_request.rb +123 -0
  189. data/lib/datadog_api_client/v2/models/microsoft_teams_update_tenant_based_handle_request_data.rb +144 -0
  190. data/lib/datadog_api_client/v2/models/ms_teams_integration_metadata.rb +125 -0
  191. data/lib/datadog_api_client/v2/models/ms_teams_integration_metadata_teams_item.rb +186 -0
  192. data/lib/datadog_api_client/v2/models/relation_type.rb +1 -1
  193. data/lib/datadog_api_client/v2/models/relationship_item.rb +1 -1
  194. data/lib/datadog_api_client/v2/models/rum_metric_compute.rb +145 -0
  195. data/lib/datadog_api_client/v2/models/rum_metric_compute_aggregation_type.rb +27 -0
  196. data/lib/datadog_api_client/v2/models/rum_metric_create_attributes.rb +176 -0
  197. data/lib/datadog_api_client/v2/models/rum_metric_create_data.rb +165 -0
  198. data/lib/datadog_api_client/v2/models/rum_metric_create_request.rb +123 -0
  199. data/lib/datadog_api_client/v2/models/rum_metric_event_type.rb +32 -0
  200. data/lib/datadog_api_client/v2/models/rum_metric_filter.rb +123 -0
  201. data/lib/datadog_api_client/v2/models/rum_metric_group_by.rb +133 -0
  202. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_info_response.rb → rum_metric_response.rb} +5 -5
  203. data/lib/datadog_api_client/v2/models/rum_metric_response_attributes.rb +147 -0
  204. data/lib/datadog_api_client/v2/models/rum_metric_response_compute.rb +127 -0
  205. data/lib/datadog_api_client/v2/models/rum_metric_response_data.rb +125 -0
  206. data/lib/datadog_api_client/{v1/models/synthetics_mobile_test_initial_application_arguments_property_names.rb → v2/models/rum_metric_response_filter.rb} +13 -13
  207. data/lib/datadog_api_client/v2/models/rum_metric_response_group_by.rb +115 -0
  208. data/lib/datadog_api_client/v2/models/rum_metric_response_uniqueness.rb +105 -0
  209. data/lib/datadog_api_client/v2/models/{microsoft_teams_api_handle_info_type.rb → rum_metric_type.rb} +3 -3
  210. data/lib/datadog_api_client/v2/models/rum_metric_uniqueness.rb +123 -0
  211. data/lib/datadog_api_client/v2/models/rum_metric_uniqueness_when.rb +27 -0
  212. data/lib/datadog_api_client/v2/models/rum_metric_update_attributes.rb +127 -0
  213. data/lib/datadog_api_client/v2/models/rum_metric_update_compute.rb +106 -0
  214. data/lib/datadog_api_client/v2/models/rum_metric_update_data.rb +154 -0
  215. data/lib/datadog_api_client/v2/models/rum_metric_update_request.rb +123 -0
  216. data/lib/datadog_api_client/v2/models/{aws_related_accounts_response.rb → rum_metrics_response.rb} +5 -5
  217. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb +15 -4
  218. data/lib/datadog_api_client/v2/models/sensitive_data_scanner_meta.rb +2 -2
  219. data/lib/datadog_api_client/v2/models/upsert_catalog_entity_request.rb +1 -1
  220. data/lib/datadog_api_client/version.rb +1 -1
  221. metadata +110 -43
  222. data/examples/v2/cloud-cost-management/ListAWSRelatedAccounts.rb +0 -5
  223. data/examples/v2/microsoft-teams-integration/CreateApiHandle.rb +0 -17
  224. data/examples/v2/microsoft-teams-integration/DeleteApiHandle.rb +0 -5
  225. data/examples/v2/microsoft-teams-integration/DeleteApiHandle_377884154.rb +0 -8
  226. data/examples/v2/microsoft-teams-integration/GetApiHandle.rb +0 -5
  227. data/examples/v2/microsoft-teams-integration/GetApiHandleByName.rb +0 -5
  228. data/examples/v2/microsoft-teams-integration/GetApiHandleByName_1103107145.rb +0 -8
  229. data/examples/v2/microsoft-teams-integration/GetApiHandle_2883785101.rb +0 -8
  230. data/examples/v2/microsoft-teams-integration/UpdateApiHandle.rb +0 -17
  231. data/examples/v2/microsoft-teams-integration/UpdateApiHandle_419892746.rb +0 -18
  232. data/lib/datadog_api_client/v1/models/synthetics_mobile_device_id.rb +0 -251
  233. data/lib/datadog_api_client/v1/models/synthetics_mobile_test_options_monitor_options.rb +0 -155
@@ -1,251 +0,0 @@
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://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
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 'date'
17
- require 'time'
18
-
19
- module DatadogAPIClient::V1
20
- # The device ID.
21
- class SyntheticsMobileDeviceID
22
- include BaseEnumModel
23
-
24
- APPLE_IPAD__2022__16_4 = "apple ipad (2022),16.4".freeze
25
- APPLE_IPAD__2022__17_3_1 = "apple ipad (2022),17.3.1".freeze
26
- APPLE_IPAD_7TH_GEN__2019__13_3 = "apple ipad 7th gen (2019),13.3".freeze
27
- APPLE_IPAD_9TH_GEN__2021__15_0_2 = "apple ipad 9th gen (2021),15.0.2".freeze
28
- APPLE_IPAD_9TH_GEN__2021__16_1 = "apple ipad 9th gen (2021),16.1".freeze
29
- APPLE_IPAD_AIR__2022__15_4_1 = "apple ipad air (2022),15.4.1".freeze
30
- APPLE_IPAD_MINI__5TH_GEN__14_6 = "apple ipad mini (5th gen),14.6".freeze
31
- APPLE_IPAD_MINI__6TH_GEN__15_1 = "apple ipad mini (6th gen),15.1".freeze
32
- APPLE_IPAD_PRO_11__2022__16_3 = "apple ipad pro 11 (2022),16.3".freeze
33
- APPLE_IPAD_PRO_12_9__2020__14_8 = "apple ipad pro 12.9 (2020),14.8".freeze
34
- APPLE_IPAD_PRO_12_9__2021__15_6_1 = "apple ipad pro 12.9 (2021),15.6.1".freeze
35
- APPLE_IPAD_PRO_12_9__2022__16_5 = "apple ipad pro 12.9 (2022),16.5".freeze
36
- APPLE_IPHONE_11_PRO_MAX_13_1_3 = "apple iphone 11 pro max,13.1.3".freeze
37
- APPLE_IPHONE_11_PRO_13_6 = "apple iphone 11 pro,13.6".freeze
38
- APPLE_IPHONE_11_PRO_15_5 = "apple iphone 11 pro,15.5".freeze
39
- APPLE_IPHONE_11_13_3_1 = "apple iphone 11,13.3.1".freeze
40
- APPLE_IPHONE_11_14_0 = "apple iphone 11,14.0".freeze
41
- APPLE_IPHONE_11_16_3 = "apple iphone 11,16.3".freeze
42
- APPLE_IPHONE_12_MINI_14_2 = "apple iphone 12 mini,14.2".freeze
43
- APPLE_IPHONE_12_MINI_16_5 = "apple iphone 12 mini,16.5".freeze
44
- APPLE_IPHONE_12_PRO_MAX_14_5_1 = "apple iphone 12 pro max,14.5.1".freeze
45
- APPLE_IPHONE_12_PRO_14_5_1 = "apple iphone 12 pro,14.5.1".freeze
46
- APPLE_IPHONE_12_PRO_14_8 = "apple iphone 12 pro,14.8".freeze
47
- APPLE_IPHONE_12_PRO_15_0_2 = "apple iphone 12 pro,15.0.2".freeze
48
- APPLE_IPHONE_12_PRO_16_2 = "apple iphone 12 pro,16.2".freeze
49
- APPLE_IPHONE_12_14_2 = "apple iphone 12,14.2".freeze
50
- APPLE_IPHONE_12_14_6 = "apple iphone 12,14.6".freeze
51
- APPLE_IPHONE_12_14_8 = "apple iphone 12,14.8".freeze
52
- APPLE_IPHONE_12_15_6_1 = "apple iphone 12,15.6.1".freeze
53
- APPLE_IPHONE_12_16_6_1 = "apple iphone 12,16.6.1".freeze
54
- APPLE_IPHONE_13_MINI_15_0_2 = "apple iphone 13 mini,15.0.2".freeze
55
- APPLE_IPHONE_13_MINI_16_6 = "apple iphone 13 mini,16.6".freeze
56
- APPLE_IPHONE_13_PRO_MAX_15_1 = "apple iphone 13 pro max,15.1".freeze
57
- APPLE_IPHONE_13_PRO_MAX_17_3 = "apple iphone 13 pro max,17.3".freeze
58
- APPLE_IPHONE_13_PRO_15_0_2 = "apple iphone 13 pro,15.0.2".freeze
59
- APPLE_IPHONE_13_PRO_15_2 = "apple iphone 13 pro,15.2".freeze
60
- APPLE_IPHONE_14_PLUS_16_1 = "apple iphone 14 plus,16.1".freeze
61
- APPLE_IPHONE_14_PRO_MAX_16_2 = "apple iphone 14 pro max,16.2".freeze
62
- APPLE_IPHONE_14_PRO_16_1 = "apple iphone 14 pro,16.1".freeze
63
- APPLE_IPHONE_14_PRO_17_3_1 = "apple iphone 14 pro,17.3.1".freeze
64
- APPLE_IPHONE_14_16_1 = "apple iphone 14,16.1".freeze
65
- APPLE_IPHONE_15_PRO_MAX_17_3_1 = "apple iphone 15 pro max,17.3.1".freeze
66
- APPLE_IPHONE_15_PRO_17_3_1 = "apple iphone 15 pro,17.3.1".freeze
67
- APPLE_IPHONE_15_17_2_1 = "apple iphone 15,17.2.1".freeze
68
- APPLE_IPHONE_SE__2022__15_4_1 = "apple iphone se (2022),15.4.1".freeze
69
- GALAXY_A40_9 = "galaxy a40,9".freeze
70
- GALAXY_A5_8_0_0 = "galaxy a5,8.0.0".freeze
71
- GALAXY_NOTE_10_9 = "galaxy note 10,9".freeze
72
- GALAXY_NOTE5__AT_T__7_0 = "galaxy note5 (at&t),7.0".freeze
73
- GALAXY_S10_9 = "galaxy s10,9".freeze
74
- GALAXY_S6_EDGE_SMNOT_G925F_7_0 = "galaxy s6 edge sm-g925f,7.0".freeze
75
- GALAXY_S8__TNOT_MOBILE__8_0_0 = "galaxy s8 (t-mobile),8.0.0".freeze
76
- GALAXY_S8_UNLOCKED_8_0_0 = "galaxy s8 unlocked,8.0.0".freeze
77
- GALAXY_S9__UNLOCKED__9 = "galaxy s9 (unlocked),9".freeze
78
- GALAXY_S9___UNLOCKED__8_0_0 = "galaxy s9+ (unlocked),8.0.0".freeze
79
- GALAXY_S9___UNLOCKED__9 = "galaxy s9+ (unlocked),9".freeze
80
- GOOGLE_PIXEL_2_8_0_0 = "google pixel 2,8.0.0".freeze
81
- GOOGLE_PIXEL_2_9 = "google pixel 2,9".freeze
82
- GOOGLE_PIXEL_3_XL_10 = "google pixel 3 xl,10".freeze
83
- GOOGLE_PIXEL_3_XL_9 = "google pixel 3 xl,9".freeze
84
- GOOGLE_PIXEL_3_10 = "google pixel 3,10".freeze
85
- GOOGLE_PIXEL_3_9 = "google pixel 3,9".freeze
86
- GOOGLE_PIXEL_3A_XL_11 = "google pixel 3a xl,11".freeze
87
- GOOGLE_PIXEL_3A_XL_12 = "google pixel 3a xl,12".freeze
88
- GOOGLE_PIXEL_3A_10 = "google pixel 3a,10".freeze
89
- GOOGLE_PIXEL_4__UNLOCKED__10 = "google pixel 4 (unlocked),10".freeze
90
- GOOGLE_PIXEL_4__UNLOCKED__11 = "google pixel 4 (unlocked),11".freeze
91
- GOOGLE_PIXEL_4_XL__UNLOCKED__10 = "google pixel 4 xl (unlocked),10".freeze
92
- GOOGLE_PIXEL_4A_11 = "google pixel 4a,11".freeze
93
- GOOGLE_PIXEL_4A_12 = "google pixel 4a,12".freeze
94
- GOOGLE_PIXEL_5A_5G_12 = "google pixel 5a 5g,12".freeze
95
- GOOGLE_PIXEL_6_PRO_12 = "google pixel 6 pro,12".freeze
96
- GOOGLE_PIXEL_6_12 = "google pixel 6,12".freeze
97
- GOOGLE_PIXEL_6A_13 = "google pixel 6a,13".freeze
98
- GOOGLE_PIXEL_7_PRO_13 = "google pixel 7 pro,13".freeze
99
- GOOGLE_PIXEL_7_13 = "google pixel 7,13".freeze
100
- GOOGLE_PIXEL_7_14 = "google pixel 7,14".freeze
101
- GOOGLE_PIXEL_8_PRO_14 = "google pixel 8 pro,14".freeze
102
- GOOGLE_PIXEL_8_14 = "google pixel 8,14".freeze
103
- IPAD_8TH_GEN__2020__14_8 = "ipad 8th gen (2020),14.8".freeze
104
- IPAD_AIR_2_13_6 = "ipad air 2,13.6".freeze
105
- IPAD_AIR_4TH_GEN__2020__14_8 = "ipad air 4th gen (2020),14.8".freeze
106
- IPHONE_13_15_0_2 = "iphone 13,15.0.2".freeze
107
- IPHONE_13_16_0_2 = "iphone 13,16.0.2".freeze
108
- IPHONE_6_12_5_4 = "iphone 6,12.5.4".freeze
109
- IPHONE_6S_14_4_2 = "iphone 6s,14.4.2".freeze
110
- IPHONE_7_14_8 = "iphone 7,14.8".freeze
111
- IPHONE_8_13_5_1 = "iphone 8,13.5.1".freeze
112
- IPHONE_8_14_4_2 = "iphone 8,14.4.2".freeze
113
- IPHONE_SE__2020__13_6 = "iphone se (2020),13.6".freeze
114
- IPHONE_SE__2020__14_6 = "iphone se (2020),14.6".freeze
115
- IPHONE_SE__2020__15_0_2 = "iphone se (2020),15.0.2".freeze
116
- IPHONE_X_14_6 = "iphone x,14.6".freeze
117
- IPHONE_XR_12_0 = "iphone xr,12.0".freeze
118
- IPHONE_XR_14_0 = "iphone xr,14.0".freeze
119
- IPHONE_XS_MAX_12_1 = "iphone xs max,12.1".freeze
120
- IPHONE_XS_13_6 = "iphone xs,13.6".freeze
121
- LG_STYLO_5_9 = "lg stylo 5,9".freeze
122
- LG_STYLO_6_10 = "lg stylo 6,10".freeze
123
- MOTO_G_4_7_0 = "moto g 4,7.0".freeze
124
- MOTO_G7_PLAY_9 = "moto g7 play,9".freeze
125
- NEXUS_7_NOT__2ND_GEN__WIFI__6_0 = "nexus 7 - 2nd gen (wifi),6.0".freeze
126
- ONEPLUS_8T_11 = "oneplus 8t,11".freeze
127
- PIXEL_2_XL_8_1_0 = "pixel 2 xl,8.1.0".freeze
128
- PIXEL_2_XL_9 = "pixel 2 xl,9".freeze
129
- PIXEL_5_11 = "pixel 5,11".freeze
130
- PIXEL_5_12 = "pixel 5,12".freeze
131
- PIXEL_XL_8_0_0 = "pixel xl,8.0.0".freeze
132
- PIXEL_7_1_2 = "pixel,7.1.2".freeze
133
- SAMSUNG_A51_10 = "samsung a51,10".freeze
134
- SAMSUNG_GALAXY_A10S_10 = "samsung galaxy a10s,10".freeze
135
- SAMSUNG_GALAXY_A13_5G_11 = "samsung galaxy a13 5g,11".freeze
136
- SAMSUNG_GALAXY_A53_5G_12 = "samsung galaxy a53 5g,12".freeze
137
- SAMSUNG_GALAXY_A7_8_0_0 = "samsung galaxy a7,8.0.0".freeze
138
- SAMSUNG_GALAXY_A71_11 = "samsung galaxy a71,11".freeze
139
- SAMSUNG_GALAXY_A73_5G_12 = "samsung galaxy a73 5g,12".freeze
140
- SAMSUNG_GALAXY_J7__2018__8_0_0 = "samsung galaxy j7 (2018),8.0.0".freeze
141
- SAMSUNG_GALAXY_NOTE20_11 = "samsung galaxy note20,11".freeze
142
- SAMSUNG_GALAXY_S20__UNLOCKED__10 = "samsung galaxy s20 (unlocked),10".freeze
143
- SAMSUNG_GALAXY_S20___UNLOCKED__10 = "samsung galaxy s20+ (unlocked),10".freeze
144
- SAMSUNG_GALAXY_S21_ULTRA_11 = "samsung galaxy s21 ultra,11".freeze
145
- SAMSUNG_GALAXY_S21_ULTRA_12 = "samsung galaxy s21 ultra,12".freeze
146
- SAMSUNG_GALAXY_S21__11 = "samsung galaxy s21+,11".freeze
147
- SAMSUNG_GALAXY_S21_11 = "samsung galaxy s21,11".freeze
148
- SAMSUNG_GALAXY_S21_12 = "samsung galaxy s21,12".freeze
149
- SAMSUNG_GALAXY_S22_5G_12 = "samsung galaxy s22 5g,12".freeze
150
- SAMSUNG_GALAXY_S22_5G_13 = "samsung galaxy s22 5g,13".freeze
151
- SAMSUNG_GALAXY_S22_ULTRA_5G_12 = "samsung galaxy s22 ultra 5g,12".freeze
152
- SAMSUNG_GALAXY_S22__5G_12 = "samsung galaxy s22+ 5g,12".freeze
153
- SAMSUNG_GALAXY_S23_ULTRA_13 = "samsung galaxy s23 ultra,13".freeze
154
- SAMSUNG_GALAXY_S23__13 = "samsung galaxy s23+,13".freeze
155
- SAMSUNG_GALAXY_S23_13 = "samsung galaxy s23,13".freeze
156
- SAMSUNG_GALAXY_S23_14 = "samsung galaxy s23,14".freeze
157
- SAMSUNG_GALAXY_TAB_A_10_1_10 = "samsung galaxy tab a 10.1,10".freeze
158
- SAMSUNG_GALAXY_TAB_A_10_1_7_0 = "samsung galaxy tab a 10.1,7.0".freeze
159
- SAMSUNG_GALAXY_TAB_A8__2021__11 = "samsung galaxy tab a8 (2021),11".freeze
160
- SAMSUNG_GALAXY_TAB_S4_8_1_0 = "samsung galaxy tab s4,8.1.0".freeze
161
- SAMSUNG_GALAXY_TAB_S6_9 = "samsung galaxy tab s6,9".freeze
162
- SAMSUNG_GALAXY_TAB_S7_11 = "samsung galaxy tab s7,11".freeze
163
- SAMSUNG_GALAXY_TAB_S8_12 = "samsung galaxy tab s8,12".freeze
164
- SAMSUNG_S20_ULTRA_10 = "samsung s20 ultra,10".freeze
165
- SONY_XPERIA_XZ3_9 = "sony xperia xz3,9".freeze
166
- XIAOMI_REDMI_NOTE_10_5G_11 = "xiaomi redmi note 10 5g,11".freeze
167
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPAD_10TH_GEN_2022_IOS_16 = "synthetics:mobile:device:apple_ipad_10th_gen_2022_ios_16".freeze
168
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPAD_10TH_GEN_2022_IOS_17 = "synthetics:mobile:device:apple_ipad_10th_gen_2022_ios_17".freeze
169
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPAD_9TH_GEN_2021_IOS_15 = "synthetics:mobile:device:apple_ipad_9th_gen_2021_ios_15".freeze
170
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPAD_AIR_2022_IOS_15 = "synthetics:mobile:device:apple_ipad_air_2022_ios_15".freeze
171
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPAD_MINI_5TH_GEN_IOS_14 = "synthetics:mobile:device:apple_ipad_mini_5th_gen_ios_14".freeze
172
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPAD_MINI_6TH_GEN_IOS_15 = "synthetics:mobile:device:apple_ipad_mini_6th_gen_ios_15".freeze
173
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPAD_PRO_11_2022_IOS_16 = "synthetics:mobile:device:apple_ipad_pro_11_2022_ios_16".freeze
174
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPAD_PRO_12_9_2020_IOS_14 = "synthetics:mobile:device:apple_ipad_pro_12_9_2020_ios_14".freeze
175
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPAD_PRO_12_9_2021_IOS_15 = "synthetics:mobile:device:apple_ipad_pro_12_9_2021_ios_15".freeze
176
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPAD_PRO_12_9_2022_IOS_16 = "synthetics:mobile:device:apple_ipad_pro_12_9_2022_ios_16".freeze
177
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_11_IOS_14 = "synthetics:mobile:device:apple_iphone_11_ios_14".freeze
178
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_11_IOS_16 = "synthetics:mobile:device:apple_iphone_11_ios_16".freeze
179
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_11_PRO_IOS_15 = "synthetics:mobile:device:apple_iphone_11_pro_ios_15".freeze
180
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_12_IOS_14 = "synthetics:mobile:device:apple_iphone_12_ios_14".freeze
181
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_12_IOS_15 = "synthetics:mobile:device:apple_iphone_12_ios_15".freeze
182
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_12_IOS_16 = "synthetics:mobile:device:apple_iphone_12_ios_16".freeze
183
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_12_MINI_IOS_14 = "synthetics:mobile:device:apple_iphone_12_mini_ios_14".freeze
184
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_12_MINI_IOS_16 = "synthetics:mobile:device:apple_iphone_12_mini_ios_16".freeze
185
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_12_PRO_IOS_14 = "synthetics:mobile:device:apple_iphone_12_pro_ios_14".freeze
186
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_12_PRO_MAX_IOS_14 = "synthetics:mobile:device:apple_iphone_12_pro_max_ios_14".freeze
187
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_13_MINI_IOS_15 = "synthetics:mobile:device:apple_iphone_13_mini_ios_15".freeze
188
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_13_MINI_IOS_16 = "synthetics:mobile:device:apple_iphone_13_mini_ios_16".freeze
189
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_13_PRO_IOS_15 = "synthetics:mobile:device:apple_iphone_13_pro_ios_15".freeze
190
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_13_PRO_MAX_IOS_15 = "synthetics:mobile:device:apple_iphone_13_pro_max_ios_15".freeze
191
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_13_PRO_MAX_IOS_17 = "synthetics:mobile:device:apple_iphone_13_pro_max_ios_17".freeze
192
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_14_IOS_16 = "synthetics:mobile:device:apple_iphone_14_ios_16".freeze
193
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_14_PLUS_IOS_16 = "synthetics:mobile:device:apple_iphone_14_plus_ios_16".freeze
194
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_14_PRO_IOS_16 = "synthetics:mobile:device:apple_iphone_14_pro_ios_16".freeze
195
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_14_PRO_IOS_17 = "synthetics:mobile:device:apple_iphone_14_pro_ios_17".freeze
196
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_14_PRO_MAX_IOS_16 = "synthetics:mobile:device:apple_iphone_14_pro_max_ios_16".freeze
197
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_6_IOS_12 = "synthetics:mobile:device:apple_iphone_6_ios_12".freeze
198
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_8_IOS_13 = "synthetics:mobile:device:apple_iphone_8_ios_13".freeze
199
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_8_IOS_14 = "synthetics:mobile:device:apple_iphone_8_ios_14".freeze
200
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_SE_2022_IOS_15 = "synthetics:mobile:device:apple_iphone_se_2022_ios_15".freeze
201
- SYNTHETICS_MOBILE_DEVICE_APPLE_IPHONE_SE_2022_IOS_16 = "synthetics:mobile:device:apple_iphone_se_2022_ios_16".freeze
202
- SYNTHETICS_MOBILE_DEVICE_GALAXY_A5_ANDROID_8 = "synthetics:mobile:device:galaxy_a5_android_8".freeze
203
- SYNTHETICS_MOBILE_DEVICE_GALAXY_NOTE5_ANDROID_7 = "synthetics:mobile:device:galaxy_note5_android_7".freeze
204
- SYNTHETICS_MOBILE_DEVICE_GOOGLE_PIXEL_3A_XL_ANDROID_11 = "synthetics:mobile:device:google_pixel_3a_xl_android_11".freeze
205
- SYNTHETICS_MOBILE_DEVICE_GOOGLE_PIXEL_4_UNLOCKED_ANDROID_11 = "synthetics:mobile:device:google_pixel_4_unlocked_android_11".freeze
206
- SYNTHETICS_MOBILE_DEVICE_GOOGLE_PIXEL_4_XL_UNLOCKED_ANDROID_10 = "synthetics:mobile:device:google_pixel_4_xl_unlocked_android_10".freeze
207
- SYNTHETICS_MOBILE_DEVICE_GOOGLE_PIXEL_4A_ANDROID_11 = "synthetics:mobile:device:google_pixel_4a_android_11".freeze
208
- SYNTHETICS_MOBILE_DEVICE_GOOGLE_PIXEL_6_ANDROID_12 = "synthetics:mobile:device:google_pixel_6_android_12".freeze
209
- SYNTHETICS_MOBILE_DEVICE_GOOGLE_PIXEL_6_PRO_ANDROID_12 = "synthetics:mobile:device:google_pixel_6_pro_android_12".freeze
210
- SYNTHETICS_MOBILE_DEVICE_GOOGLE_PIXEL_6A_ANDROID_13 = "synthetics:mobile:device:google_pixel_6a_android_13".freeze
211
- SYNTHETICS_MOBILE_DEVICE_GOOGLE_PIXEL_7_ANDROID_13 = "synthetics:mobile:device:google_pixel_7_android_13".freeze
212
- SYNTHETICS_MOBILE_DEVICE_GOOGLE_PIXEL_7_ANDROID_14 = "synthetics:mobile:device:google_pixel_7_android_14".freeze
213
- SYNTHETICS_MOBILE_DEVICE_GOOGLE_PIXEL_7_PRO_ANDROID_13 = "synthetics:mobile:device:google_pixel_7_pro_android_13".freeze
214
- SYNTHETICS_MOBILE_DEVICE_GOOGLE_PIXEL_8_ANDROID_14 = "synthetics:mobile:device:google_pixel_8_android_14".freeze
215
- SYNTHETICS_MOBILE_DEVICE_GOOGLE_PIXEL_8_PRO_ANDROID_14 = "synthetics:mobile:device:google_pixel_8_pro_android_14".freeze
216
- SYNTHETICS_MOBILE_DEVICE_IPAD_AIR_2_IOS_13 = "synthetics:mobile:device:ipad_air_2_ios_13".freeze
217
- SYNTHETICS_MOBILE_DEVICE_IPAD_AIR_4TH_GEN_2020_IOS_14 = "synthetics:mobile:device:ipad_air_4th_gen_2020_ios_14".freeze
218
- SYNTHETICS_MOBILE_DEVICE_IPHONE_13_IOS_15 = "synthetics:mobile:device:iphone_13_ios_15".freeze
219
- SYNTHETICS_MOBILE_DEVICE_IPHONE_13_IOS_16 = "synthetics:mobile:device:iphone_13_ios_16".freeze
220
- SYNTHETICS_MOBILE_DEVICE_IPHONE_15_IOS_17 = "synthetics:mobile:device:iphone_15_ios_17".freeze
221
- SYNTHETICS_MOBILE_DEVICE_IPHONE_15_PRO_IOS_17 = "synthetics:mobile:device:iphone_15_pro_ios_17".freeze
222
- SYNTHETICS_MOBILE_DEVICE_IPHONE_15_PRO_MAX_IOS_17 = "synthetics:mobile:device:iphone_15_pro_max_ios_17".freeze
223
- SYNTHETICS_MOBILE_DEVICE_IPHONE_SE_2020_IOS_13 = "synthetics:mobile:device:iphone_se_2020_ios_13".freeze
224
- SYNTHETICS_MOBILE_DEVICE_IPHONE_SE_2020_IOS_14 = "synthetics:mobile:device:iphone_se_2020_ios_14".freeze
225
- SYNTHETICS_MOBILE_DEVICE_IPHONE_X_IOS_14 = "synthetics:mobile:device:iphone_x_ios_14".freeze
226
- SYNTHETICS_MOBILE_DEVICE_IPHONE_XR_IOS_14 = "synthetics:mobile:device:iphone_xr_ios_14".freeze
227
- SYNTHETICS_MOBILE_DEVICE_IPHONE_XS_IOS_13 = "synthetics:mobile:device:iphone_xs_ios_13".freeze
228
- SYNTHETICS_MOBILE_DEVICE_LG_STYLO_6_ANDROID_10 = "synthetics:mobile:device:lg_stylo_6_android_10".freeze
229
- SYNTHETICS_MOBILE_DEVICE_PIXEL_5_ANDROID_12 = "synthetics:mobile:device:pixel_5_android_12".freeze
230
- SYNTHETICS_MOBILE_DEVICE_SAMSUNG_A51_ANDROID_10 = "synthetics:mobile:device:samsung_a51_android_10".freeze
231
- SYNTHETICS_MOBILE_DEVICE_SAMSUNG_GALAXY_A71_ANDROID_11 = "synthetics:mobile:device:samsung_galaxy_a71_android_11".freeze
232
- SYNTHETICS_MOBILE_DEVICE_SAMSUNG_GALAXY_NOTE20_ANDROID_11 = "synthetics:mobile:device:samsung_galaxy_note20_android_11".freeze
233
- SYNTHETICS_MOBILE_DEVICE_SAMSUNG_GALAXY_S21_ANDROID_11 = "synthetics:mobile:device:samsung_galaxy_s21_android_11".freeze
234
- SYNTHETICS_MOBILE_DEVICE_SAMSUNG_GALAXY_S21_ANDROID_12 = "synthetics:mobile:device:samsung_galaxy_s21_android_12".freeze
235
- SYNTHETICS_MOBILE_DEVICE_SAMSUNG_GALAXY_S21_PLUS_ANDROID_11 = "synthetics:mobile:device:samsung_galaxy_s21_plus_android_11".freeze
236
- SYNTHETICS_MOBILE_DEVICE_SAMSUNG_GALAXY_S21_ULTRA_ANDROID_11 = "synthetics:mobile:device:samsung_galaxy_s21_ultra_android_11".freeze
237
- SYNTHETICS_MOBILE_DEVICE_SAMSUNG_GALAXY_S22_5G_ANDROID_12 = "synthetics:mobile:device:samsung_galaxy_s22_5g_android_12".freeze
238
- SYNTHETICS_MOBILE_DEVICE_SAMSUNG_GALAXY_S22_5G_ANDROID_13 = "synthetics:mobile:device:samsung_galaxy_s22_5g_android_13".freeze
239
- SYNTHETICS_MOBILE_DEVICE_SAMSUNG_GALAXY_S22_PLUS_5G_ANDROID_12 = "synthetics:mobile:device:samsung_galaxy_s22_plus_5g_android_12".freeze
240
- SYNTHETICS_MOBILE_DEVICE_SAMSUNG_GALAXY_S22_ULTRA_5G_ANDROID_12 = "synthetics:mobile:device:samsung_galaxy_s22_ultra_5g_android_12".freeze
241
- SYNTHETICS_MOBILE_DEVICE_SAMSUNG_GALAXY_S23_ANDROID_13 = "synthetics:mobile:device:samsung_galaxy_s23_android_13".freeze
242
- SYNTHETICS_MOBILE_DEVICE_SAMSUNG_GALAXY_S23_ANDROID_14 = "synthetics:mobile:device:samsung_galaxy_s23_android_14".freeze
243
- SYNTHETICS_MOBILE_DEVICE_SAMSUNG_GALAXY_S23_PLUS_ANDROID_13 = "synthetics:mobile:device:samsung_galaxy_s23_plus_android_13".freeze
244
- SYNTHETICS_MOBILE_DEVICE_SAMSUNG_GALAXY_S23_PLUS_ANDROID_14 = "synthetics:mobile:device:samsung_galaxy_s23_plus_android_14".freeze
245
- SYNTHETICS_MOBILE_DEVICE_SAMSUNG_GALAXY_S23_ULTRA_ANDROID_13 = "synthetics:mobile:device:samsung_galaxy_s23_ultra_android_13".freeze
246
- SYNTHETICS_MOBILE_DEVICE_SAMSUNG_GALAXY_TAB_A_10_1_ANDROID_7 = "synthetics:mobile:device:samsung_galaxy_tab_a_10_1_android_7".freeze
247
- SYNTHETICS_MOBILE_DEVICE_SAMSUNG_GALAXY_TAB_S7_ANDROID_11 = "synthetics:mobile:device:samsung_galaxy_tab_s7_android_11".freeze
248
- SYNTHETICS_MOBILE_DEVICE_SAMSUNG_GALAXY_TAB_S8_ANDROID_12 = "synthetics:mobile:device:samsung_galaxy_tab_s8_android_12".freeze
249
- SYNTHETICS_MOBILE_DEVICE_XIAOMI_REDMI_NOTE_10_5G_ANDROID_11 = "synthetics:mobile:device:xiaomi_redmi_note_10_5g_android_11".freeze
250
- end
251
- end
@@ -1,155 +0,0 @@
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://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
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 'date'
17
- require 'time'
18
-
19
- module DatadogAPIClient::V1
20
- # Object containing the options for a mobile Synthetic test as a monitor
21
- # (for example, renotification).
22
- class SyntheticsMobileTestOptionsMonitorOptions
23
- include BaseGenericModel
24
-
25
- # Message to include in the escalation notification.
26
- attr_accessor :escalation_message
27
-
28
- # The definition of `SyntheticsMobileTestOptionsMonitorOptionsNotificationPresetName` object.
29
- attr_accessor :notification_preset_name
30
-
31
- # Time interval before renotifying if the test is still failing
32
- # (in minutes).
33
- attr_reader :renotify_interval
34
-
35
- # The `SyntheticsMobileTestOptionsMonitorOptions` `renotify_occurrences`.
36
- attr_accessor :renotify_occurrences
37
-
38
- attr_accessor :additional_properties
39
-
40
- # Attribute mapping from ruby-style variable name to JSON key.
41
- # @!visibility private
42
- def self.attribute_map
43
- {
44
- :'escalation_message' => :'escalation_message',
45
- :'notification_preset_name' => :'notification_preset_name',
46
- :'renotify_interval' => :'renotify_interval',
47
- :'renotify_occurrences' => :'renotify_occurrences'
48
- }
49
- end
50
-
51
- # Attribute type mapping.
52
- # @!visibility private
53
- def self.openapi_types
54
- {
55
- :'escalation_message' => :'String',
56
- :'notification_preset_name' => :'SyntheticsMobileTestOptionsMonitorOptionsNotificationPresetName',
57
- :'renotify_interval' => :'Integer',
58
- :'renotify_occurrences' => :'Integer'
59
- }
60
- end
61
-
62
- # Initializes the object
63
- # @param attributes [Hash] Model attributes in the form of hash
64
- # @!visibility private
65
- def initialize(attributes = {})
66
- if (!attributes.is_a?(Hash))
67
- fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::SyntheticsMobileTestOptionsMonitorOptions` initialize method"
68
- end
69
-
70
- self.additional_properties = {}
71
- # check to see if the attribute exists and convert string to symbol for hash key
72
- attributes = attributes.each_with_object({}) { |(k, v), h|
73
- if (!self.class.attribute_map.key?(k.to_sym))
74
- self.additional_properties[k.to_sym] = v
75
- else
76
- h[k.to_sym] = v
77
- end
78
- }
79
-
80
- if attributes.key?(:'escalation_message')
81
- self.escalation_message = attributes[:'escalation_message']
82
- end
83
-
84
- if attributes.key?(:'notification_preset_name')
85
- self.notification_preset_name = attributes[:'notification_preset_name']
86
- end
87
-
88
- if attributes.key?(:'renotify_interval')
89
- self.renotify_interval = attributes[:'renotify_interval']
90
- end
91
-
92
- if attributes.key?(:'renotify_occurrences')
93
- self.renotify_occurrences = attributes[:'renotify_occurrences']
94
- end
95
- end
96
-
97
- # Check to see if the all the properties in the model are valid
98
- # @return true if the model is valid
99
- # @!visibility private
100
- def valid?
101
- return false if !@renotify_interval.nil? && @renotify_interval < 0
102
- true
103
- end
104
-
105
- # Custom attribute writer method with validation
106
- # @param renotify_interval [Object] Object to be assigned
107
- # @!visibility private
108
- def renotify_interval=(renotify_interval)
109
- if !renotify_interval.nil? && renotify_interval < 0
110
- fail ArgumentError, 'invalid value for "renotify_interval", must be greater than or equal to 0.'
111
- end
112
- @renotify_interval = renotify_interval
113
- end
114
-
115
- # Returns the object in the form of hash, with additionalProperties support.
116
- # @return [Hash] Returns the object in the form of hash
117
- # @!visibility private
118
- def to_hash
119
- hash = {}
120
- self.class.attribute_map.each_pair do |attr, param|
121
- value = self.send(attr)
122
- if value.nil?
123
- is_nullable = self.class.openapi_nullable.include?(attr)
124
- next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
125
- end
126
-
127
- hash[param] = _to_hash(value)
128
- end
129
- self.additional_properties.each_pair do |attr, value|
130
- hash[attr] = value
131
- end
132
- hash
133
- end
134
-
135
- # Checks equality by comparing each attribute.
136
- # @param o [Object] Object to be compared
137
- # @!visibility private
138
- def ==(o)
139
- return true if self.equal?(o)
140
- self.class == o.class &&
141
- escalation_message == o.escalation_message &&
142
- notification_preset_name == o.notification_preset_name &&
143
- renotify_interval == o.renotify_interval &&
144
- renotify_occurrences == o.renotify_occurrences
145
- additional_properties == o.additional_properties
146
- end
147
-
148
- # Calculates hash code according to all attributes.
149
- # @return [Integer] Hash code
150
- # @!visibility private
151
- def hash
152
- [escalation_message, notification_preset_name, renotify_interval, renotify_occurrences].hash
153
- end
154
- end
155
- end