instana-client 1.0.0__py3-none-any.whl → 1.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (586) hide show
  1. instana_client/__init__.py +1754 -514
  2. instana_client/api/__init__.py +85 -1
  3. instana_client/api/action_catalog_api.py +329 -6
  4. instana_client/api/action_history_api.py +54 -2
  5. instana_client/api/ai_management_api.py +1973 -0
  6. instana_client/api/apdex_report_api.py +2 -2
  7. instana_client/api/apdex_settings_api.py +8 -9
  8. instana_client/api/api_token_api.py +17 -17
  9. instana_client/api/application_alert_configuration_api.py +79 -66
  10. instana_client/api/application_analyze_api.py +20 -282
  11. instana_client/api/application_catalog_api.py +11 -11
  12. instana_client/api/application_metrics_api.py +14 -14
  13. instana_client/api/application_resources_api.py +21 -21
  14. instana_client/api/application_settings_api.py +134 -104
  15. instana_client/api/application_topology_api.py +11 -2
  16. instana_client/api/audit_log_api.py +2 -2
  17. instana_client/api/authentication_api.py +2 -2
  18. instana_client/api/business_monitoring_api.py +2 -2
  19. instana_client/api/custom_dashboards_api.py +29 -19
  20. instana_client/api/custom_entities_api.py +1673 -0
  21. instana_client/api/end_user_monitoring_api.py +310 -0
  22. instana_client/api/event_settings_api.py +1251 -653
  23. instana_client/api/events_api.py +11 -26
  24. instana_client/api/global_application_alert_configuration_api.py +53 -56
  25. instana_client/api/groups_api.py +1121 -62
  26. instana_client/api/health_api.py +8 -5
  27. instana_client/api/host_agent_api.py +274 -8
  28. instana_client/api/infrastructure_alert_configuration_api.py +2 -2
  29. instana_client/api/infrastructure_analyze_api.py +14 -14
  30. instana_client/api/infrastructure_catalog_api.py +44 -13
  31. instana_client/api/infrastructure_metrics_api.py +5 -5
  32. instana_client/api/infrastructure_resources_api.py +11 -11
  33. instana_client/api/infrastructure_topology_api.py +2 -2
  34. instana_client/api/log_alert_configuration_api.py +44 -30
  35. instana_client/api/logging_analyze_api.py +343 -0
  36. instana_client/api/maintenance_configuration_api.py +32 -20
  37. instana_client/api/mobile_app_analyze_api.py +2 -2
  38. instana_client/api/mobile_app_catalog_api.py +8 -2
  39. instana_client/api/mobile_app_configuration_api.py +3058 -334
  40. instana_client/api/mobile_app_metrics_api.py +3 -6
  41. instana_client/api/policies_api.py +14 -11
  42. instana_client/api/releases_api.py +8 -11
  43. instana_client/api/roles_api.py +1394 -0
  44. instana_client/api/service_levels_alert_configuration_api.py +2 -2
  45. instana_client/api/service_levels_objective_slo_configurations_api.py +160 -89
  46. instana_client/api/service_levels_objective_slo_report_api.py +38 -2
  47. instana_client/api/session_settings_api.py +2 -2
  48. instana_client/api/sli_report_api.py +2 -2
  49. instana_client/api/sli_settings_api.py +5 -8
  50. instana_client/api/slo_correction_configurations_api.py +1528 -0
  51. instana_client/api/slo_correction_windows_api.py +392 -0
  52. instana_client/api/synthetic_alert_configuration_api.py +53 -56
  53. instana_client/api/synthetic_calls_api.py +20 -9
  54. instana_client/api/synthetic_catalog_api.py +20 -2
  55. instana_client/api/synthetic_metrics_api.py +5 -5
  56. instana_client/api/synthetic_settings_api.py +1238 -369
  57. instana_client/api/synthetic_test_playback_results_api.py +307 -20
  58. instana_client/api/teams_api.py +1380 -0
  59. instana_client/api/usage_api.py +2 -2
  60. instana_client/api/user_api.py +302 -28
  61. instana_client/api/website_analyze_api.py +8 -8
  62. instana_client/api/website_catalog_api.py +11 -8
  63. instana_client/api/website_configuration_api.py +1801 -336
  64. instana_client/api/website_metrics_api.py +3 -3
  65. instana_client/api_client.py +11 -4
  66. instana_client/configuration.py +14 -7
  67. instana_client/exceptions.py +2 -2
  68. instana_client/models/__init__.py +585 -9
  69. instana_client/models/abstract_integration.py +11 -5
  70. instana_client/models/abstract_rule.py +2 -2
  71. instana_client/models/access_log_entry.py +12 -7
  72. instana_client/models/access_log_response.py +2 -2
  73. instana_client/models/access_rule.py +2 -2
  74. instana_client/models/action.py +2 -2
  75. instana_client/models/action_configuration.py +2 -2
  76. instana_client/models/action_instance.py +2 -2
  77. instana_client/models/action_instance_metadata_entry.py +2 -2
  78. instana_client/models/action_instance_parameter.py +2 -2
  79. instana_client/models/action_instance_request.py +2 -2
  80. instana_client/models/action_instance_request_parameters.py +2 -2
  81. instana_client/models/action_match.py +19 -6
  82. instana_client/models/action_search_space.py +2 -2
  83. instana_client/models/adaptive_baseline.py +3 -3
  84. instana_client/models/adaptive_threshold_rule.py +3 -3
  85. instana_client/models/addition.py +97 -0
  86. instana_client/models/adjusted_timeframe.py +2 -2
  87. instana_client/models/agent_configuration_update.py +2 -2
  88. instana_client/models/alerting_configuration.py +2 -2
  89. instana_client/models/alerting_configuration_with_last_updated.py +2 -2
  90. instana_client/models/alerting_time_window.py +2 -2
  91. instana_client/models/apdex_configuration.py +2 -2
  92. instana_client/models/apdex_configuration_input.py +2 -2
  93. instana_client/models/apdex_entity.py +2 -2
  94. instana_client/models/apdex_report.py +2 -2
  95. instana_client/models/api_create_group.py +2 -2
  96. instana_client/models/api_create_role.py +101 -0
  97. instana_client/models/api_group.py +2 -2
  98. instana_client/models/api_member.py +5 -3
  99. instana_client/models/api_permission_set.py +12 -3
  100. instana_client/models/api_restricted_application_filter.py +2 -2
  101. instana_client/models/api_role.py +102 -0
  102. instana_client/models/api_tag.py +91 -0
  103. instana_client/models/api_team.py +113 -0
  104. instana_client/models/api_team_info.py +89 -0
  105. instana_client/models/api_team_member.py +102 -0
  106. instana_client/models/api_team_role.py +92 -0
  107. instana_client/models/api_team_scope.py +131 -0
  108. instana_client/models/api_token.py +29 -5
  109. instana_client/models/app_data_metric_configuration.py +2 -2
  110. instana_client/models/application.py +2 -2
  111. instana_client/models/application_alert_config.py +2 -2
  112. instana_client/models/application_alert_config_with_metadata.py +2 -2
  113. instana_client/models/application_alert_rule.py +2 -2
  114. instana_client/models/application_apdex_entity.py +2 -2
  115. instana_client/models/application_config.py +2 -2
  116. instana_client/models/application_event_result.py +5 -7
  117. instana_client/models/application_item.py +2 -2
  118. instana_client/models/application_metric_result.py +2 -2
  119. instana_client/models/application_node.py +2 -2
  120. instana_client/models/application_result.py +2 -2
  121. instana_client/models/application_scope.py +4 -4
  122. instana_client/models/application_scope_with_metadata.py +6 -6
  123. instana_client/models/application_sli_entity.py +2 -2
  124. instana_client/models/application_slo_entity.py +2 -2
  125. instana_client/models/application_time_threshold.py +2 -2
  126. instana_client/models/arithmetic_configuration.py +121 -0
  127. instana_client/models/arithmetic_operand.py +154 -0
  128. instana_client/models/arithmetic_operation.py +128 -0
  129. instana_client/models/audit_log_entry.py +2 -2
  130. instana_client/models/audit_log_ui_response.py +2 -2
  131. instana_client/models/author.py +2 -2
  132. instana_client/models/availability_blueprint_indicator.py +5 -16
  133. instana_client/models/availability_sli_entity.py +2 -2
  134. instana_client/models/available_metrics.py +2 -2
  135. instana_client/models/available_plugins.py +2 -2
  136. instana_client/models/backend_trace_reference.py +2 -2
  137. instana_client/models/bidirectional_ms_teams_app_integration.py +108 -0
  138. instana_client/models/bidirectional_slack_app_integration.py +102 -0
  139. instana_client/models/binary_operator_dto.py +2 -2
  140. instana_client/models/browser_script_configuration.py +5 -3
  141. instana_client/models/built_in_event_specification.py +2 -2
  142. instana_client/models/built_in_event_specification_with_last_updated.py +2 -2
  143. instana_client/models/business_activity.py +5 -3
  144. instana_client/models/business_perspective_config.py +2 -2
  145. instana_client/models/call_groups_item.py +2 -2
  146. instana_client/models/call_groups_result.py +2 -2
  147. instana_client/models/call_relation.py +2 -2
  148. instana_client/models/change_summary.py +2 -2
  149. instana_client/models/cloudfoundry_physical_context.py +4 -4
  150. instana_client/models/condition.py +2 -2
  151. instana_client/models/config_version.py +2 -2
  152. instana_client/models/correction.py +105 -0
  153. instana_client/models/correction_configuration.py +109 -0
  154. instana_client/models/correction_scheduling.py +104 -0
  155. instana_client/models/correction_window.py +95 -0
  156. instana_client/models/crash_mobile_app_alert_rule.py +2 -2
  157. instana_client/models/create_website_request_inner.py +90 -0
  158. instana_client/models/cursor_paginated_business_activity_item.py +2 -2
  159. instana_client/models/cursor_pagination.py +2 -2
  160. instana_client/models/cursor_pagination_infra_explore_cursor.py +2 -2
  161. instana_client/models/custom_blueprint_indicator.py +8 -4
  162. instana_client/models/custom_dashboard.py +2 -2
  163. instana_client/models/custom_dashboard_preview.py +2 -2
  164. instana_client/models/custom_dashboard_with_user_specific_information.py +115 -0
  165. instana_client/models/custom_dependency.py +116 -0
  166. instana_client/models/custom_email_subject_prefix.py +2 -2
  167. instana_client/models/custom_entity_model.py +126 -0
  168. instana_client/models/custom_entity_with_metadata.py +98 -0
  169. instana_client/models/custom_event_mobile_app_alert_rule.py +2 -2
  170. instana_client/models/custom_event_specification.py +9 -3
  171. instana_client/models/custom_event_specification_with_last_updated.py +9 -3
  172. instana_client/models/custom_event_website_alert_rule.py +2 -2
  173. instana_client/models/custom_metric.py +134 -0
  174. instana_client/models/custom_payload_configuration.py +2 -2
  175. instana_client/models/custom_payload_field.py +2 -2
  176. instana_client/models/custom_payload_with_last_updated.py +2 -2
  177. instana_client/models/custom_payload_with_version.py +101 -0
  178. instana_client/models/dashboard_api_token.py +2 -2
  179. instana_client/models/database_integration.py +2 -2
  180. instana_client/models/deprecated_tag_filter.py +4 -4
  181. instana_client/models/division.py +97 -0
  182. instana_client/models/dns_configuration.py +146 -0
  183. instana_client/models/dns_filter_query_time.py +99 -0
  184. instana_client/models/dns_filter_target_value.py +106 -0
  185. instana_client/models/duration.py +2 -2
  186. instana_client/models/dynamic_field.py +2 -2
  187. instana_client/models/dynamic_field_value.py +2 -2
  188. instana_client/models/dynamic_parameter.py +2 -2
  189. instana_client/models/edit_user.py +2 -2
  190. instana_client/models/email_integration.py +2 -2
  191. instana_client/models/empty_configuration.py +2 -2
  192. instana_client/models/endpoint.py +4 -4
  193. instana_client/models/endpoint_config.py +2 -2
  194. instana_client/models/endpoint_event_result.py +7 -9
  195. instana_client/models/endpoint_item.py +2 -2
  196. instana_client/models/endpoint_metric_result.py +2 -2
  197. instana_client/models/endpoint_node.py +2 -2
  198. instana_client/models/endpoint_result.py +3 -3
  199. instana_client/models/endpoint_simple.py +3 -3
  200. instana_client/models/entity_count_rule.py +2 -2
  201. instana_client/models/entity_count_verification_rule.py +3 -3
  202. instana_client/models/entity_health_info.py +2 -2
  203. instana_client/models/entity_id.py +2 -2
  204. instana_client/models/entity_verification_rule.py +3 -3
  205. instana_client/models/error_budget_alert_rule.py +5 -5
  206. instana_client/models/errors_application_alert_rule.py +2 -2
  207. instana_client/models/event.py +7 -3
  208. instana_client/models/event_filtering_configuration.py +2 -2
  209. instana_client/models/event_result.py +2 -2
  210. instana_client/models/event_specification_info.py +2 -2
  211. instana_client/models/extended_service.py +2 -2
  212. instana_client/models/failure_synthetic_alert_rule.py +2 -2
  213. instana_client/models/fixed_http_path_segment_matching_rule.py +2 -2
  214. instana_client/models/fixed_time_window.py +4 -3
  215. instana_client/models/generic_infra_alert_rule.py +12 -4
  216. instana_client/models/geo_location_configuration.py +2 -2
  217. instana_client/models/geo_mapping_rule.py +2 -2
  218. instana_client/models/geo_subdivision.py +2 -2
  219. instana_client/models/get_activities.py +2 -2
  220. instana_client/models/get_application_metrics.py +2 -2
  221. instana_client/models/get_applications.py +2 -2
  222. instana_client/models/get_available_metrics_query.py +2 -2
  223. instana_client/models/get_available_plugins_query.py +2 -2
  224. instana_client/models/get_call_groups.py +2 -2
  225. instana_client/models/get_combined_metrics.py +2 -2
  226. instana_client/models/get_dynamic_parameter_values.py +2 -2
  227. instana_client/models/get_endpoints.py +2 -2
  228. instana_client/models/get_infrastructure_groups_query.py +2 -2
  229. instana_client/models/get_infrastructure_query.py +2 -2
  230. instana_client/models/get_metrics_result.py +2 -2
  231. instana_client/models/get_mobile_app_beacon_groups.py +2 -2
  232. instana_client/models/get_mobile_app_beacons.py +2 -2
  233. instana_client/models/get_mobile_app_metrics.py +2 -2
  234. instana_client/models/get_mobile_app_metrics_v2.py +2 -2
  235. instana_client/models/get_payload_keys_result.py +2 -2
  236. instana_client/models/get_services.py +2 -2
  237. instana_client/models/get_snapshots_query.py +2 -2
  238. instana_client/models/get_test_result.py +2 -2
  239. instana_client/models/get_test_result_analytic.py +126 -0
  240. instana_client/models/get_test_result_base.py +2 -2
  241. instana_client/models/get_test_result_list.py +2 -2
  242. instana_client/models/get_test_summary_result.py +2 -2
  243. instana_client/models/get_trace_download_result_item.py +3 -3
  244. instana_client/models/get_trace_groups.py +2 -2
  245. instana_client/models/get_traces.py +4 -4
  246. instana_client/models/get_website_beacon_groups.py +2 -2
  247. instana_client/models/get_website_beacons.py +2 -2
  248. instana_client/models/get_website_metrics.py +2 -2
  249. instana_client/models/get_website_metrics_v2.py +2 -2
  250. instana_client/models/global_application_alert_config_with_metadata.py +2 -2
  251. instana_client/models/global_applications_alert_config.py +2 -2
  252. instana_client/models/google_chat_integration.py +2 -2
  253. instana_client/models/graph_edge.py +2 -2
  254. instana_client/models/graph_node.py +2 -2
  255. instana_client/models/group.py +2 -2
  256. instana_client/models/group_by_tag.py +2 -2
  257. instana_client/models/group_mapping.py +5 -3
  258. instana_client/models/group_mapping_overview.py +96 -0
  259. instana_client/models/health_state.py +2 -2
  260. instana_client/models/historic_baseline.py +3 -3
  261. instana_client/models/host_availability_rule.py +2 -2
  262. instana_client/models/http_action_configuration.py +2 -2
  263. instana_client/models/http_endpoint_config.py +2 -2
  264. instana_client/models/http_endpoint_rule.py +2 -2
  265. instana_client/models/http_path_segment_matching_rule.py +2 -2
  266. instana_client/models/http_script_configuration.py +5 -3
  267. instana_client/models/hyper_param.py +2 -2
  268. instana_client/models/identity_provider_patch.py +2 -2
  269. instana_client/models/impacted_beacon_info.py +96 -0
  270. instana_client/models/infra_alert_config.py +8 -6
  271. instana_client/models/infra_alert_config_with_metadata.py +7 -5
  272. instana_client/models/infra_alert_rule.py +9 -3
  273. instana_client/models/infra_event_result.py +6 -8
  274. instana_client/models/infra_metric_configuration.py +103 -80
  275. instana_client/models/infra_slo_entity.py +95 -0
  276. instana_client/models/infra_time_threshold.py +2 -2
  277. instana_client/models/infrastructure_entities_result.py +2 -2
  278. instana_client/models/infrastructure_group.py +5 -3
  279. instana_client/models/infrastructure_groups_result.py +2 -2
  280. instana_client/models/infrastructure_item.py +2 -2
  281. instana_client/models/infrastructure_metric_result.py +2 -2
  282. instana_client/models/instana_version_info.py +2 -2
  283. instana_client/models/integration_overview.py +14 -4
  284. instana_client/models/invitation.py +2 -2
  285. instana_client/models/invitation_response.py +2 -2
  286. instana_client/models/invitation_result.py +2 -2
  287. instana_client/models/ip_masking_configuration.py +2 -2
  288. instana_client/models/js_stack_trace_line.py +2 -2
  289. instana_client/models/kubernetes_physical_context.py +3 -3
  290. instana_client/models/latency_blueprint_indicator.py +5 -16
  291. instana_client/models/llm_egress_gateway.py +125 -0
  292. instana_client/models/location_status.py +2 -2
  293. instana_client/models/log_alert_config.py +8 -6
  294. instana_client/models/log_alert_config_with_metadata.py +8 -6
  295. instana_client/models/log_alert_rule.py +2 -2
  296. instana_client/models/log_count_alert_rule.py +2 -2
  297. instana_client/models/log_entry_actor.py +2 -2
  298. instana_client/models/log_event_result.py +5 -7
  299. instana_client/models/log_time_threshold.py +2 -2
  300. instana_client/models/log_volume_group.py +91 -0
  301. instana_client/models/log_volume_usage_item.py +101 -0
  302. instana_client/models/log_volume_usage_result.py +96 -0
  303. instana_client/models/logs_application_alert_rule.py +4 -4
  304. instana_client/models/maintenance_config.py +2 -2
  305. instana_client/models/maintenance_config_scheduling.py +2 -2
  306. instana_client/models/maintenance_config_v2.py +2 -2
  307. instana_client/models/maintenance_config_v2_with_state_and_occurrence.py +2 -2
  308. instana_client/models/maintenance_config_with_last_updated.py +2 -2
  309. instana_client/models/maintenance_window.py +2 -2
  310. instana_client/models/manual_alerting_channel_configuration.py +2 -2
  311. instana_client/models/manual_close_info.py +2 -2
  312. instana_client/models/manual_service_config.py +2 -2
  313. instana_client/models/match_all_http_path_segment_matching_rule.py +2 -2
  314. instana_client/models/match_expression_dto.py +3 -3
  315. instana_client/models/meta_data.py +2 -2
  316. instana_client/models/metric_api_result.py +2 -2
  317. instana_client/models/metric_config.py +2 -2
  318. instana_client/models/metric_configuration.py +3 -3
  319. instana_client/models/metric_description.py +2 -2
  320. instana_client/models/metric_instance.py +2 -2
  321. instana_client/models/metric_item.py +2 -2
  322. instana_client/models/metric_metadata.py +4 -4
  323. instana_client/models/metric_pattern.py +2 -2
  324. instana_client/models/metric_query.py +128 -0
  325. instana_client/models/metrics_result.py +2 -2
  326. instana_client/models/metrics_result_item.py +5 -3
  327. instana_client/models/metrics_test_result_item.py +2 -2
  328. instana_client/models/mobile_app.py +2 -2
  329. instana_client/models/mobile_app_alert_config.py +2 -2
  330. instana_client/models/mobile_app_alert_rule.py +8 -5
  331. instana_client/models/mobile_app_beacon_groups_item.py +2 -2
  332. instana_client/models/mobile_app_beacon_groups_result.py +2 -2
  333. instana_client/models/mobile_app_beacon_result.py +2 -2
  334. instana_client/models/mobile_app_beacon_tag_group.py +2 -2
  335. instana_client/models/mobile_app_beacons_item.py +11 -5
  336. instana_client/models/mobile_app_event_result.py +5 -7
  337. instana_client/models/mobile_app_metric_result.py +2 -2
  338. instana_client/models/mobile_app_monitoring_beacon.py +22 -4
  339. instana_client/models/mobile_app_monitoring_metric_description.py +5 -3
  340. instana_client/models/mobile_app_monitoring_metrics_configuration.py +2 -2
  341. instana_client/models/mobile_app_time_threshold.py +2 -2
  342. instana_client/models/model_field.py +2 -2
  343. instana_client/models/monitored_entities_stats.py +92 -0
  344. instana_client/models/monitoring_state.py +11 -3
  345. instana_client/models/multiple_scripts_configuration.py +2 -2
  346. instana_client/models/multiplication.py +97 -0
  347. instana_client/models/nested_operation.py +128 -0
  348. instana_client/models/new_application_config.py +2 -2
  349. instana_client/models/new_business_perspective_config.py +2 -2
  350. instana_client/models/new_manual_service_config.py +2 -2
  351. instana_client/models/o_auth_config.py +107 -0
  352. instana_client/models/o_auth_integration.py +98 -0
  353. instana_client/models/o_auth_token.py +121 -0
  354. instana_client/models/occurrence.py +2 -2
  355. instana_client/models/office365_integration.py +2 -2
  356. instana_client/models/one_time_maintenance_window.py +2 -2
  357. instana_client/models/opsgenie_integration.py +2 -2
  358. instana_client/models/order.py +2 -2
  359. instana_client/models/pagerduty_integration.py +2 -2
  360. instana_client/models/paginated_result.py +2 -2
  361. instana_client/models/pagination.py +2 -2
  362. instana_client/models/parameter.py +2 -2
  363. instana_client/models/parameter_value.py +2 -2
  364. instana_client/models/path_parameter_http_path_segment_matching_rule.py +2 -2
  365. instana_client/models/physical_context.py +3 -3
  366. instana_client/models/plugin_result.py +2 -2
  367. instana_client/models/policy.py +2 -2
  368. instana_client/models/policy_runnable.py +2 -2
  369. instana_client/models/policy_scheduling.py +91 -0
  370. instana_client/models/post_mobile_app_source_map_config_request.py +88 -0
  371. instana_client/models/post_snapshots_result.py +2 -2
  372. instana_client/models/problem.py +2 -2
  373. instana_client/models/prometheus_webhook_integration.py +2 -2
  374. instana_client/models/recurrent_maintenance_window.py +2 -2
  375. instana_client/models/release.py +6 -6
  376. instana_client/models/release_scope.py +2 -2
  377. instana_client/models/release_with_metadata.py +8 -8
  378. instana_client/models/retention_period.py +101 -0
  379. instana_client/models/rolling_time_window.py +4 -3
  380. instana_client/models/rule_input.py +2 -2
  381. instana_client/models/rule_with_threshold_application_alert_rule.py +2 -2
  382. instana_client/models/rule_with_threshold_infra_alert_rule.py +2 -2
  383. instana_client/models/rule_with_threshold_log_alert_rule.py +2 -2
  384. instana_client/models/rule_with_threshold_mobile_app_alert_rule.py +2 -2
  385. instana_client/models/rule_with_threshold_website_alert_rule.py +2 -2
  386. instana_client/models/run_configuration.py +2 -2
  387. instana_client/models/salesforce_integration.py +2 -2
  388. instana_client/models/saturation_blueprint_indicator.py +97 -0
  389. instana_client/models/scope_binding.py +2 -2
  390. instana_client/models/search_field_result.py +2 -2
  391. instana_client/models/service.py +3 -3
  392. instana_client/models/service_config.py +2 -2
  393. instana_client/models/service_event_result.py +5 -7
  394. instana_client/models/service_item.py +2 -2
  395. instana_client/models/service_level_indicator.py +10 -7
  396. instana_client/models/service_level_objective_alert_rule.py +2 -2
  397. instana_client/models/service_level_objective_configuration.py +3 -3
  398. instana_client/models/service_levels_alert_config.py +15 -5
  399. instana_client/models/service_levels_alert_rule.py +2 -2
  400. instana_client/models/service_levels_burn_rate_config.py +115 -0
  401. instana_client/models/service_levels_burn_rate_time_windows.py +2 -2
  402. instana_client/models/service_levels_static_threshold_config.py +100 -0
  403. instana_client/models/service_levels_time_threshold.py +5 -5
  404. instana_client/models/service_levelse_alert_config_with_metadata.py +15 -5
  405. instana_client/models/service_map.py +2 -2
  406. instana_client/models/service_map_connection.py +2 -2
  407. instana_client/models/service_matching_rule.py +2 -2
  408. instana_client/models/service_metric_result.py +2 -2
  409. instana_client/models/service_node.py +2 -2
  410. instana_client/models/service_now_enhanced_integration.py +2 -2
  411. instana_client/models/service_now_integration.py +2 -2
  412. instana_client/models/service_result.py +3 -3
  413. instana_client/models/service_scope.py +4 -4
  414. instana_client/models/service_scope_with_metadata.py +5 -5
  415. instana_client/models/service_scoped_to.py +3 -3
  416. instana_client/models/service_scoped_to_with_metadata.py +4 -4
  417. instana_client/models/service_simple.py +2 -2
  418. instana_client/models/session_settings.py +4 -4
  419. instana_client/models/simple_metric_configuration.py +121 -0
  420. instana_client/models/single_value.py +128 -0
  421. instana_client/models/slack_integration.py +2 -2
  422. instana_client/models/sli_configuration.py +2 -2
  423. instana_client/models/sli_configuration_with_last_updated.py +2 -2
  424. instana_client/models/sli_entity.py +2 -2
  425. instana_client/models/sli_report.py +2 -2
  426. instana_client/models/slo_config_with_rbac_tag.py +128 -0
  427. instana_client/models/slo_entity.py +8 -5
  428. instana_client/models/slo_report.py +2 -2
  429. instana_client/models/slowness_application_alert_rule.py +2 -2
  430. instana_client/models/slowness_mobile_app_alert_rule.py +90 -0
  431. instana_client/models/slowness_website_alert_rule.py +2 -2
  432. instana_client/models/snapshot_item.py +2 -2
  433. instana_client/models/snapshot_preview.py +7 -7
  434. instana_client/models/snapshot_result.py +2 -2
  435. instana_client/models/software_user.py +2 -2
  436. instana_client/models/software_version.py +2 -2
  437. instana_client/models/source_map_file_blob.py +2 -2
  438. instana_client/models/source_map_file_meta.py +2 -2
  439. instana_client/models/source_map_upload_config.py +2 -2
  440. instana_client/models/source_map_upload_configs.py +106 -0
  441. instana_client/models/span_excerpt.py +12 -12
  442. instana_client/models/span_relation.py +3 -3
  443. instana_client/models/specific_js_errors_website_alert_rule.py +4 -4
  444. instana_client/models/splunk_integration.py +2 -2
  445. instana_client/models/ssl_certificate_configuration.py +17 -5
  446. instana_client/models/ssl_certificate_validation.py +99 -0
  447. instana_client/models/stack_trace_item.py +7 -7
  448. instana_client/models/stack_trace_line.py +2 -2
  449. instana_client/models/static_baseline_threshold_rule.py +3 -3
  450. instana_client/models/static_string_field.py +2 -2
  451. instana_client/models/static_threshold.py +2 -2
  452. instana_client/models/static_threshold_rule.py +2 -2
  453. instana_client/models/status_code_application_alert_rule.py +2 -2
  454. instana_client/models/status_code_mobile_app_alert_rule.py +4 -4
  455. instana_client/models/status_code_website_alert_rule.py +4 -4
  456. instana_client/models/subtraction.py +97 -0
  457. instana_client/models/synthetic_alert_config.py +2 -2
  458. instana_client/models/synthetic_alert_config_with_metadata.py +2 -2
  459. instana_client/models/synthetic_alert_rule.py +2 -2
  460. instana_client/models/synthetic_call_config.py +4 -4
  461. instana_client/models/synthetic_call_rule.py +6 -6
  462. instana_client/models/synthetic_call_with_defaults_config.py +4 -4
  463. instana_client/models/synthetic_configuration.py +93 -0
  464. instana_client/models/synthetic_credential.py +23 -3
  465. instana_client/models/synthetic_datacenter.py +2 -2
  466. instana_client/models/synthetic_datacenter_configuration.py +2 -2
  467. instana_client/models/synthetic_geo_point.py +2 -2
  468. instana_client/models/synthetic_location.py +2 -2
  469. instana_client/models/synthetic_location_configuration.py +2 -2
  470. instana_client/models/synthetic_metric_configuration.py +2 -2
  471. instana_client/models/synthetic_metric_tag_group.py +2 -2
  472. instana_client/models/synthetic_playback_capabilities.py +17 -4
  473. instana_client/models/synthetic_slo_entity.py +7 -5
  474. instana_client/models/synthetic_test.py +27 -3
  475. instana_client/models/synthetic_test_cicd.py +96 -0
  476. instana_client/models/synthetic_test_cicd_customization.py +96 -0
  477. instana_client/models/synthetic_test_cicd_item.py +114 -0
  478. instana_client/models/synthetic_test_cicd_response.py +92 -0
  479. instana_client/models/synthetic_time_threshold.py +2 -2
  480. instana_client/models/synthetic_type_configuration.py +11 -11
  481. instana_client/models/synthetics_event_result.py +5 -7
  482. instana_client/models/system_rule.py +2 -2
  483. instana_client/models/system_rule_label.py +2 -2
  484. instana_client/models/tag.py +6 -6
  485. instana_client/models/tag_catalog.py +2 -2
  486. instana_client/models/tag_filter.py +4 -4
  487. instana_client/models/tag_filter_expression.py +2 -2
  488. instana_client/models/tag_filter_expression_element.py +2 -2
  489. instana_client/models/tag_matcher_dto.py +2 -2
  490. instana_client/models/tag_tree_level.py +2 -2
  491. instana_client/models/tag_tree_node.py +2 -2
  492. instana_client/models/tag_tree_tag.py +2 -2
  493. instana_client/models/test_common_properties.py +2 -2
  494. instana_client/models/test_last_error.py +90 -0
  495. instana_client/models/test_result.py +2 -2
  496. instana_client/models/test_result_common_properties.py +24 -3
  497. instana_client/models/test_result_detail_data.py +2 -2
  498. instana_client/models/test_result_item.py +2 -2
  499. instana_client/models/test_result_list_item.py +2 -2
  500. instana_client/models/test_result_list_result.py +2 -2
  501. instana_client/models/test_result_metadata.py +2 -2
  502. instana_client/models/test_result_subtransaction.py +2 -2
  503. instana_client/models/threshold.py +2 -2
  504. instana_client/models/threshold_config_rule.py +2 -2
  505. instana_client/models/threshold_rule.py +2 -2
  506. instana_client/models/throughput_application_alert_rule.py +2 -2
  507. instana_client/models/throughput_mobile_app_alert_rule.py +2 -2
  508. instana_client/models/throughput_website_alert_rule.py +2 -2
  509. instana_client/models/time_frame.py +2 -2
  510. instana_client/models/time_window.py +5 -4
  511. instana_client/models/topology.py +2 -2
  512. instana_client/models/trace.py +8 -8
  513. instana_client/models/trace_activity_tree_node_details.py +13 -13
  514. instana_client/models/trace_download_result.py +2 -2
  515. instana_client/models/trace_groups_item.py +2 -2
  516. instana_client/models/trace_groups_result.py +2 -2
  517. instana_client/models/trace_impact_application_time_threshold.py +2 -2
  518. instana_client/models/trace_item.py +2 -2
  519. instana_client/models/trace_result.py +2 -2
  520. instana_client/models/traffic_blueprint_indicator.py +3 -3
  521. instana_client/models/trigger.py +15 -7
  522. instana_client/models/type_configuration.py +2 -2
  523. instana_client/models/unsupported_http_path_segment_matching_rule.py +2 -2
  524. instana_client/models/updated_business_perspective_config.py +2 -2
  525. instana_client/models/usage_result.py +2 -2
  526. instana_client/models/usage_result_items.py +2 -2
  527. instana_client/models/user_basic_result.py +2 -2
  528. instana_client/models/user_impact_mobile_app_time_threshold.py +3 -3
  529. instana_client/models/user_impact_website_time_threshold.py +3 -3
  530. instana_client/models/user_result.py +2 -2
  531. instana_client/models/users_result.py +2 -2
  532. instana_client/models/validated_alerting_channel_input_info.py +4 -4
  533. instana_client/models/validated_alerting_configuration.py +2 -2
  534. instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py +2 -2
  535. instana_client/models/validated_maintenance_config_with_status.py +2 -2
  536. instana_client/models/victor_ops_integration.py +2 -2
  537. instana_client/models/violations_in_period_application_time_threshold.py +2 -2
  538. instana_client/models/violations_in_period_mobile_app_time_threshold.py +2 -2
  539. instana_client/models/violations_in_period_website_time_threshold.py +2 -2
  540. instana_client/models/violations_in_sequence_application_time_threshold.py +2 -2
  541. instana_client/models/violations_in_sequence_infra_time_threshold.py +2 -2
  542. instana_client/models/violations_in_sequence_log_time_threshold.py +2 -2
  543. instana_client/models/violations_in_sequence_mobile_app_time_threshold.py +2 -2
  544. instana_client/models/violations_in_sequence_synthetic_time_threshold.py +2 -2
  545. instana_client/models/violations_in_sequence_website_time_threshold.py +2 -2
  546. instana_client/models/watson_ai_ops_webhook_integration.py +2 -2
  547. instana_client/models/webex_teams_webhook_integration.py +2 -2
  548. instana_client/models/webhook_integration.py +14 -4
  549. instana_client/models/webpage_action_configuration.py +2 -2
  550. instana_client/models/webpage_script_configuration.py +5 -3
  551. instana_client/models/website.py +2 -2
  552. instana_client/models/website_alert_config.py +2 -2
  553. instana_client/models/website_alert_config_with_metadata.py +2 -2
  554. instana_client/models/website_alert_rule.py +2 -2
  555. instana_client/models/website_apdex_entity.py +2 -2
  556. instana_client/models/website_beacon_groups_item.py +2 -2
  557. instana_client/models/website_beacon_groups_result.py +2 -2
  558. instana_client/models/website_beacon_result.py +2 -2
  559. instana_client/models/website_beacon_tag_group.py +2 -2
  560. instana_client/models/website_beacons_item.py +11 -5
  561. instana_client/models/website_event_based_sli_entity.py +2 -2
  562. instana_client/models/website_event_result.py +4 -6
  563. instana_client/models/website_metric_result.py +2 -2
  564. instana_client/models/website_monitoring_beacon.py +7 -3
  565. instana_client/models/website_monitoring_metric_description.py +2 -2
  566. instana_client/models/website_monitoring_metrics_configuration.py +2 -2
  567. instana_client/models/website_slo_entity.py +2 -2
  568. instana_client/models/website_time_based_sli_entity.py +2 -2
  569. instana_client/models/website_time_threshold.py +2 -2
  570. instana_client/models/widget.py +2 -2
  571. instana_client/models/with_metadata.py +2 -2
  572. instana_client/models/with_resolved_name.py +2 -2
  573. instana_client/models/z_chat_ops_integration.py +2 -2
  574. instana_client/rest.py +3 -2
  575. instana_client-1.0.1.dist-info/METADATA +1068 -0
  576. instana_client-1.0.1.dist-info/RECORD +581 -0
  577. {instana_client-1.0.0.dist-info → instana_client-1.0.1.dist-info}/WHEEL +1 -1
  578. instana_client/models/dns_action_configuration.py +0 -134
  579. instana_client/models/dns_action_filter_query_time.py +0 -99
  580. instana_client/models/dns_action_filter_target_value.py +0 -106
  581. instana_client/models/full_trace.py +0 -97
  582. instana_client/models/span.py +0 -156
  583. instana_client-1.0.0.dist-info/METADATA +0 -25
  584. instana_client-1.0.0.dist-info/RECORD +0 -515
  585. {instana_client-1.0.0.dist-info → instana_client-1.0.1.dist-info}/licenses/LICENSE +0 -0
  586. {instana_client-1.0.0.dist-info → instana_client-1.0.1.dist-info}/top_level.txt +0 -0
@@ -3,9 +3,9 @@
3
3
  """
4
4
  Instana REST API documentation
5
5
 
6
- Searching for answers and best pratices? Check our [IBM Instana Community](https://community.ibm.com/community/user/aiops/communities/community-home?CommunityKey=58f324a3-3104-41be-9510-5b7c413cc48f). ## Overview The Instana REST API provides programmatic access to the Instana platform. It can be used to retrieve data available through the Instana UI Dashboard -- metrics, events, traces, etc -- and also to automate configuration tasks such as user management. ### Navigating the API documentation The API endpoints are grouped by product area and functionality. This generally maps to how our UI Dashboard is organized, hopefully making it easier to locate which endpoints you'd use to fetch the data you see visualized in our UI. The [UI sections](https://www.ibm.com/docs/en/instana-observability/current?topic=working-user-interface#navigation-menu) include: - Websites & Mobile Apps - Applications - Infrastructure - Synthetic Monitoring - Events - Automation - Service Levels - Settings - etc ### Rate Limiting A rate limit is applied to API usage. Up to 5,000 calls per hour can be made. How many remaining calls can be made and when this call limit resets, can inspected via three headers that are part of the responses of the API server. - **X-RateLimit-Limit:** Shows the maximum number of calls that may be executed per hour. - **X-RateLimit-Remaining:** How many calls may still be executed within the current hour. - **X-RateLimit-Reset:** Time when the remaining calls will be reset to the limit. For compatibility reasons with other rate limited APIs, this date is not the date in milliseconds, but instead in seconds since 1970-01-01T00:00:00+00:00. ### Further Reading We provide additional documentation for our REST API in our [product documentation](https://www.ibm.com/docs/en/instana-observability/current?topic=apis-web-rest-api). Here you'll also find some common queries for retrieving data and configuring Instana. ## Getting Started with the REST API ### API base URL The base URL for an specific instance of Instana can be determined using the tenant and unit information. - `base`: This is the base URL of a tenant unit, e.g. `https://test-example.instana.io`. This is the same URL that is used to access the Instana user interface. - `apiToken`: Requests against the Instana API require valid API tokens. An initial API token can be generated via the Instana user interface. Any additional API tokens can be generated via the API itself. ### Curl Example Here is an Example to use the REST API with Curl. First lets get all the available metrics with possible aggregations with a GET call. ```bash curl --request GET \\ --url https://test-instana.instana.io/api/application-monitoring/catalog/metrics \\ --header 'authorization: apiToken xxxxxxxxxxxxxxxx' ``` Next we can get every call grouped by the endpoint name that has an error count greater then zero. As a metric we could get the mean error rate for example. ```bash curl --request POST \\ --url https://test-instana.instana.io/api/application-monitoring/analyze/call-groups \\ --header 'authorization: apiToken xxxxxxxxxxxxxxxx' \\ --header 'content-type: application/json' \\ --data '{ \"group\":{ \"groupbyTag\":\"endpoint.name\" }, \"tagFilters\":[ { \"name\":\"call.error.count\", \"value\":\"0\", \"operator\":\"GREATER_THAN\" } ], \"metrics\":[ { \"metric\":\"errors\", \"aggregation\":\"MEAN\" } ] }' ``` ### Generating REST API clients The API is specified using the [OpenAPI v3](https://github.com/OAI/OpenAPI-Specification) (previously known as Swagger) format. You can download the current specification at our [GitHub API documentation](https://instana.github.io/openapi/openapi.yaml). OpenAPI tries to solve the issue of ever-evolving APIs and clients lagging behind. Please make sure that you always use the latest version of the generator, as a number of improvements are regularly made. To generate a client library for your language, you can use the [OpenAPI client generators](https://github.com/OpenAPITools/openapi-generator). #### Go For example, to generate a client library for Go to interact with our backend, you can use the following script; mind replacing the values of the `UNIT_NAME` and `TENANT_NAME` environment variables using those for your tenant unit: ```bash #!/bin/bash ### This script assumes you have the `java` and `wget` commands on the path export UNIT_NAME='myunit' # for example: prod export TENANT_NAME='mytenant' # for example: awesomecompany //Download the generator to your current working directory: wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/4.3.1/openapi-generator-cli-4.3.1.jar -O openapi-generator-cli.jar --server-variables \"tenant=${TENANT_NAME},unit=${UNIT_NAME}\" //generate a client library that you can vendor into your repository java -jar openapi-generator-cli.jar generate -i https://instana.github.io/openapi/openapi.yaml -g go \\ -o pkg/instana/openapi \\ --skip-validate-spec //(optional) format the Go code according to the Go code standard gofmt -s -w pkg/instana/openapi ``` The generated clients contain comprehensive READMEs, and you can start right away using the client from the example above: ```go import instana \"./pkg/instana/openapi\" // readTags will read all available application monitoring tags along with their type and category func readTags() { configuration := instana.NewConfiguration() configuration.Host = \"tenant-unit.instana.io\" configuration.BasePath = \"https://tenant-unit.instana.io\" client := instana.NewAPIClient(configuration) auth := context.WithValue(context.Background(), instana.ContextAPIKey, instana.APIKey{ Key: apiKey, Prefix: \"apiToken\", }) tags, _, err := client.ApplicationCatalogApi.GetApplicationTagCatalog(auth) if err != nil { fmt.Fatalf(\"Error calling the API, aborting.\") } for _, tag := range tags { fmt.Printf(\"%s (%s): %s\\n\", tag.Category, tag.Type, tag.Name) } } ``` #### Java Follow the instructions provided in the official documentation from [OpenAPI Tools](https://github.com/OpenAPITools) to download the [openapi-generator-cli.jar](https://github.com/OpenAPITools/openapi-generator?tab=readme-ov-file#13---download-jar). Depending on your environment, use one of the following java http client implementations which will create a valid client for our OpenAPI specification: ``` //Nativ Java HTTP Client java -jar openapi-generator-cli.jar generate -i https://instana.github.io/openapi/openapi.yaml -g java -o pkg/instana/openapi --skip-validate-spec -p dateLibrary=java8 --library native //Spring WebClient java -jar openapi-generator-cli.jar generate -i https://instana.github.io/openapi/openapi.yaml -g java -o pkg/instana/openapi --skip-validate-spec -p dateLibrary=java8,hideGenerationTimestamp=true --library webclient //Spring RestTemplate java -jar openapi-generator-cli.jar generate -i https://instana.github.io/openapi/openapi.yaml -g java -o pkg/instana/openapi --skip-validate-spec -p dateLibrary=java8,hideGenerationTimestamp=true --library resttemplate ```
6
+ Documentation for INSTANA REST API
7
7
 
8
- The version of the OpenAPI document: 1.291.1002
8
+ The version of the OpenAPI document: 1.306.1368
9
9
  Contact: support@instana.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -17,12 +17,16 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
17
17
  from typing import Any, Dict, List, Optional, Tuple, Union
18
18
  from typing_extensions import Annotated
19
19
 
20
- from pydantic import Field, StrictStr
21
- from typing import List, Optional
20
+ from pydantic import Field, StrictBytes, StrictInt, StrictStr
21
+ from typing import List, Optional, Tuple, Union
22
22
  from typing_extensions import Annotated
23
+ from instana_client.models.api_tag import ApiTag
23
24
  from instana_client.models.geo_location_configuration import GeoLocationConfiguration
24
25
  from instana_client.models.ip_masking_configuration import IpMaskingConfiguration
25
26
  from instana_client.models.mobile_app import MobileApp
27
+ from instana_client.models.post_mobile_app_source_map_config_request import PostMobileAppSourceMapConfigRequest
28
+ from instana_client.models.source_map_upload_config import SourceMapUploadConfig
29
+ from instana_client.models.source_map_upload_configs import SourceMapUploadConfigs
26
30
 
27
31
  from instana_client.api_client import ApiClient, RequestSerialized
28
32
  from instana_client.api_response import ApiResponse
@@ -43,9 +47,10 @@ class MobileAppConfigurationApi:
43
47
 
44
48
 
45
49
  @validate_call
46
- def delete_mobile_app_config(
50
+ def clear_mobile_app_source_map_upload_configuration(
47
51
  self,
48
52
  mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
53
+ source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
49
54
  _request_timeout: Union[
50
55
  None,
51
56
  Annotated[StrictFloat, Field(gt=0)],
@@ -59,12 +64,14 @@ class MobileAppConfigurationApi:
59
64
  _headers: Optional[Dict[StrictStr, Any]] = None,
60
65
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
61
66
  ) -> None:
62
- """Remove mobile app
67
+ """Clear sourcemap files for sourcemap upload configuration
63
68
 
64
- API request to remove mobile app.
69
+ API request to clear sourcemap files of a configuration for mobile app.
65
70
 
66
71
  :param mobile_app_id: Mobile App ID (required)
67
72
  :type mobile_app_id: str
73
+ :param source_map_config_id: Source Map Config ID (required)
74
+ :type source_map_config_id: str
68
75
  :param _request_timeout: timeout setting for this request. If one
69
76
  number provided, it will be total request
70
77
  timeout. It can also be a pair (tuple) of
@@ -87,8 +94,9 @@ class MobileAppConfigurationApi:
87
94
  :return: Returns the result object.
88
95
  """ # noqa: E501
89
96
 
90
- _param = self._delete_mobile_app_config_serialize(
97
+ _param = self._clear_mobile_app_source_map_upload_configuration_serialize(
91
98
  mobile_app_id=mobile_app_id,
99
+ source_map_config_id=source_map_config_id,
92
100
  _request_auth=_request_auth,
93
101
  _content_type=_content_type,
94
102
  _headers=_headers,
@@ -99,6 +107,7 @@ class MobileAppConfigurationApi:
99
107
  '204': None,
100
108
  '401': None,
101
109
  '403': None,
110
+ '404': None,
102
111
  '500': None,
103
112
  }
104
113
  response_data = self.api_client.call_api(
@@ -113,9 +122,10 @@ class MobileAppConfigurationApi:
113
122
 
114
123
 
115
124
  @validate_call
116
- def delete_mobile_app_config_with_http_info(
125
+ def clear_mobile_app_source_map_upload_configuration_with_http_info(
117
126
  self,
118
127
  mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
128
+ source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
119
129
  _request_timeout: Union[
120
130
  None,
121
131
  Annotated[StrictFloat, Field(gt=0)],
@@ -129,12 +139,14 @@ class MobileAppConfigurationApi:
129
139
  _headers: Optional[Dict[StrictStr, Any]] = None,
130
140
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
131
141
  ) -> ApiResponse[None]:
132
- """Remove mobile app
142
+ """Clear sourcemap files for sourcemap upload configuration
133
143
 
134
- API request to remove mobile app.
144
+ API request to clear sourcemap files of a configuration for mobile app.
135
145
 
136
146
  :param mobile_app_id: Mobile App ID (required)
137
147
  :type mobile_app_id: str
148
+ :param source_map_config_id: Source Map Config ID (required)
149
+ :type source_map_config_id: str
138
150
  :param _request_timeout: timeout setting for this request. If one
139
151
  number provided, it will be total request
140
152
  timeout. It can also be a pair (tuple) of
@@ -157,8 +169,9 @@ class MobileAppConfigurationApi:
157
169
  :return: Returns the result object.
158
170
  """ # noqa: E501
159
171
 
160
- _param = self._delete_mobile_app_config_serialize(
172
+ _param = self._clear_mobile_app_source_map_upload_configuration_serialize(
161
173
  mobile_app_id=mobile_app_id,
174
+ source_map_config_id=source_map_config_id,
162
175
  _request_auth=_request_auth,
163
176
  _content_type=_content_type,
164
177
  _headers=_headers,
@@ -169,6 +182,7 @@ class MobileAppConfigurationApi:
169
182
  '204': None,
170
183
  '401': None,
171
184
  '403': None,
185
+ '404': None,
172
186
  '500': None,
173
187
  }
174
188
  response_data = self.api_client.call_api(
@@ -183,9 +197,10 @@ class MobileAppConfigurationApi:
183
197
 
184
198
 
185
199
  @validate_call
186
- def delete_mobile_app_config_without_preload_content(
200
+ def clear_mobile_app_source_map_upload_configuration_without_preload_content(
187
201
  self,
188
202
  mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
203
+ source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
189
204
  _request_timeout: Union[
190
205
  None,
191
206
  Annotated[StrictFloat, Field(gt=0)],
@@ -199,12 +214,14 @@ class MobileAppConfigurationApi:
199
214
  _headers: Optional[Dict[StrictStr, Any]] = None,
200
215
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
201
216
  ) -> RESTResponseType:
202
- """Remove mobile app
217
+ """Clear sourcemap files for sourcemap upload configuration
203
218
 
204
- API request to remove mobile app.
219
+ API request to clear sourcemap files of a configuration for mobile app.
205
220
 
206
221
  :param mobile_app_id: Mobile App ID (required)
207
222
  :type mobile_app_id: str
223
+ :param source_map_config_id: Source Map Config ID (required)
224
+ :type source_map_config_id: str
208
225
  :param _request_timeout: timeout setting for this request. If one
209
226
  number provided, it will be total request
210
227
  timeout. It can also be a pair (tuple) of
@@ -227,8 +244,9 @@ class MobileAppConfigurationApi:
227
244
  :return: Returns the result object.
228
245
  """ # noqa: E501
229
246
 
230
- _param = self._delete_mobile_app_config_serialize(
247
+ _param = self._clear_mobile_app_source_map_upload_configuration_serialize(
231
248
  mobile_app_id=mobile_app_id,
249
+ source_map_config_id=source_map_config_id,
232
250
  _request_auth=_request_auth,
233
251
  _content_type=_content_type,
234
252
  _headers=_headers,
@@ -239,6 +257,7 @@ class MobileAppConfigurationApi:
239
257
  '204': None,
240
258
  '401': None,
241
259
  '403': None,
260
+ '404': None,
242
261
  '500': None,
243
262
  }
244
263
  response_data = self.api_client.call_api(
@@ -248,9 +267,10 @@ class MobileAppConfigurationApi:
248
267
  return response_data.response
249
268
 
250
269
 
251
- def _delete_mobile_app_config_serialize(
270
+ def _clear_mobile_app_source_map_upload_configuration_serialize(
252
271
  self,
253
272
  mobile_app_id,
273
+ source_map_config_id,
254
274
  _request_auth,
255
275
  _content_type,
256
276
  _headers,
@@ -274,6 +294,8 @@ class MobileAppConfigurationApi:
274
294
  # process the path parameters
275
295
  if mobile_app_id is not None:
276
296
  _path_params['mobileAppId'] = mobile_app_id
297
+ if source_map_config_id is not None:
298
+ _path_params['sourceMapConfigId'] = source_map_config_id
277
299
  # process the query parameters
278
300
  # process the header parameters
279
301
  # process the form parameters
@@ -288,8 +310,8 @@ class MobileAppConfigurationApi:
288
310
  ]
289
311
 
290
312
  return self.api_client.param_serialize(
291
- method='DELETE',
292
- resource_path='/api/mobile-app-monitoring/config/{mobileAppId}',
313
+ method='PUT',
314
+ resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload/{sourceMapConfigId}/clear',
293
315
  path_params=_path_params,
294
316
  query_params=_query_params,
295
317
  header_params=_header_params,
@@ -306,8 +328,12 @@ class MobileAppConfigurationApi:
306
328
 
307
329
 
308
330
  @validate_call
309
- def get_mobile_app_config(
331
+ def commit_mobile_app_source_map_file(
310
332
  self,
333
+ mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
334
+ source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
335
+ file_id: Optional[StrictStr] = None,
336
+ file_type: Optional[StrictStr] = None,
311
337
  _request_timeout: Union[
312
338
  None,
313
339
  Annotated[StrictFloat, Field(gt=0)],
@@ -320,11 +346,19 @@ class MobileAppConfigurationApi:
320
346
  _content_type: Optional[StrictStr] = None,
321
347
  _headers: Optional[Dict[StrictStr, Any]] = None,
322
348
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
323
- ) -> List[MobileApp]:
324
- """Get configured mobile apps
349
+ ) -> SourceMapUploadConfig:
350
+ """Commit sourcemap file upload for mobile app
325
351
 
326
- API request to get configured mobile apps.
352
+ API request to commit sourcemap file upload for mobile app.
327
353
 
354
+ :param mobile_app_id: Mobile App ID (required)
355
+ :type mobile_app_id: str
356
+ :param source_map_config_id: Source Map Config ID (required)
357
+ :type source_map_config_id: str
358
+ :param file_id:
359
+ :type file_id: str
360
+ :param file_type:
361
+ :type file_type: str
328
362
  :param _request_timeout: timeout setting for this request. If one
329
363
  number provided, it will be total request
330
364
  timeout. It can also be a pair (tuple) of
@@ -347,7 +381,11 @@ class MobileAppConfigurationApi:
347
381
  :return: Returns the result object.
348
382
  """ # noqa: E501
349
383
 
350
- _param = self._get_mobile_app_config_serialize(
384
+ _param = self._commit_mobile_app_source_map_file_serialize(
385
+ mobile_app_id=mobile_app_id,
386
+ source_map_config_id=source_map_config_id,
387
+ file_id=file_id,
388
+ file_type=file_type,
351
389
  _request_auth=_request_auth,
352
390
  _content_type=_content_type,
353
391
  _headers=_headers,
@@ -355,8 +393,9 @@ class MobileAppConfigurationApi:
355
393
  )
356
394
 
357
395
  _response_types_map: Dict[str, Optional[str]] = {
358
- '200': "List[MobileApp]",
396
+ '200': "SourceMapUploadConfig",
359
397
  '401': None,
398
+ '403': None,
360
399
  '500': None,
361
400
  }
362
401
  response_data = self.api_client.call_api(
@@ -371,8 +410,12 @@ class MobileAppConfigurationApi:
371
410
 
372
411
 
373
412
  @validate_call
374
- def get_mobile_app_config_with_http_info(
413
+ def commit_mobile_app_source_map_file_with_http_info(
375
414
  self,
415
+ mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
416
+ source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
417
+ file_id: Optional[StrictStr] = None,
418
+ file_type: Optional[StrictStr] = None,
376
419
  _request_timeout: Union[
377
420
  None,
378
421
  Annotated[StrictFloat, Field(gt=0)],
@@ -385,11 +428,19 @@ class MobileAppConfigurationApi:
385
428
  _content_type: Optional[StrictStr] = None,
386
429
  _headers: Optional[Dict[StrictStr, Any]] = None,
387
430
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
388
- ) -> ApiResponse[List[MobileApp]]:
389
- """Get configured mobile apps
431
+ ) -> ApiResponse[SourceMapUploadConfig]:
432
+ """Commit sourcemap file upload for mobile app
390
433
 
391
- API request to get configured mobile apps.
434
+ API request to commit sourcemap file upload for mobile app.
392
435
 
436
+ :param mobile_app_id: Mobile App ID (required)
437
+ :type mobile_app_id: str
438
+ :param source_map_config_id: Source Map Config ID (required)
439
+ :type source_map_config_id: str
440
+ :param file_id:
441
+ :type file_id: str
442
+ :param file_type:
443
+ :type file_type: str
393
444
  :param _request_timeout: timeout setting for this request. If one
394
445
  number provided, it will be total request
395
446
  timeout. It can also be a pair (tuple) of
@@ -412,7 +463,11 @@ class MobileAppConfigurationApi:
412
463
  :return: Returns the result object.
413
464
  """ # noqa: E501
414
465
 
415
- _param = self._get_mobile_app_config_serialize(
466
+ _param = self._commit_mobile_app_source_map_file_serialize(
467
+ mobile_app_id=mobile_app_id,
468
+ source_map_config_id=source_map_config_id,
469
+ file_id=file_id,
470
+ file_type=file_type,
416
471
  _request_auth=_request_auth,
417
472
  _content_type=_content_type,
418
473
  _headers=_headers,
@@ -420,8 +475,9 @@ class MobileAppConfigurationApi:
420
475
  )
421
476
 
422
477
  _response_types_map: Dict[str, Optional[str]] = {
423
- '200': "List[MobileApp]",
478
+ '200': "SourceMapUploadConfig",
424
479
  '401': None,
480
+ '403': None,
425
481
  '500': None,
426
482
  }
427
483
  response_data = self.api_client.call_api(
@@ -436,8 +492,12 @@ class MobileAppConfigurationApi:
436
492
 
437
493
 
438
494
  @validate_call
439
- def get_mobile_app_config_without_preload_content(
495
+ def commit_mobile_app_source_map_file_without_preload_content(
440
496
  self,
497
+ mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
498
+ source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
499
+ file_id: Optional[StrictStr] = None,
500
+ file_type: Optional[StrictStr] = None,
441
501
  _request_timeout: Union[
442
502
  None,
443
503
  Annotated[StrictFloat, Field(gt=0)],
@@ -451,10 +511,18 @@ class MobileAppConfigurationApi:
451
511
  _headers: Optional[Dict[StrictStr, Any]] = None,
452
512
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
453
513
  ) -> RESTResponseType:
454
- """Get configured mobile apps
514
+ """Commit sourcemap file upload for mobile app
455
515
 
456
- API request to get configured mobile apps.
516
+ API request to commit sourcemap file upload for mobile app.
457
517
 
518
+ :param mobile_app_id: Mobile App ID (required)
519
+ :type mobile_app_id: str
520
+ :param source_map_config_id: Source Map Config ID (required)
521
+ :type source_map_config_id: str
522
+ :param file_id:
523
+ :type file_id: str
524
+ :param file_type:
525
+ :type file_type: str
458
526
  :param _request_timeout: timeout setting for this request. If one
459
527
  number provided, it will be total request
460
528
  timeout. It can also be a pair (tuple) of
@@ -477,7 +545,11 @@ class MobileAppConfigurationApi:
477
545
  :return: Returns the result object.
478
546
  """ # noqa: E501
479
547
 
480
- _param = self._get_mobile_app_config_serialize(
548
+ _param = self._commit_mobile_app_source_map_file_serialize(
549
+ mobile_app_id=mobile_app_id,
550
+ source_map_config_id=source_map_config_id,
551
+ file_id=file_id,
552
+ file_type=file_type,
481
553
  _request_auth=_request_auth,
482
554
  _content_type=_content_type,
483
555
  _headers=_headers,
@@ -485,8 +557,9 @@ class MobileAppConfigurationApi:
485
557
  )
486
558
 
487
559
  _response_types_map: Dict[str, Optional[str]] = {
488
- '200': "List[MobileApp]",
560
+ '200': "SourceMapUploadConfig",
489
561
  '401': None,
562
+ '403': None,
490
563
  '500': None,
491
564
  }
492
565
  response_data = self.api_client.call_api(
@@ -496,8 +569,12 @@ class MobileAppConfigurationApi:
496
569
  return response_data.response
497
570
 
498
571
 
499
- def _get_mobile_app_config_serialize(
572
+ def _commit_mobile_app_source_map_file_serialize(
500
573
  self,
574
+ mobile_app_id,
575
+ source_map_config_id,
576
+ file_id,
577
+ file_type,
501
578
  _request_auth,
502
579
  _content_type,
503
580
  _headers,
@@ -519,9 +596,17 @@ class MobileAppConfigurationApi:
519
596
  _body_params: Optional[bytes] = None
520
597
 
521
598
  # process the path parameters
599
+ if mobile_app_id is not None:
600
+ _path_params['mobileAppId'] = mobile_app_id
601
+ if source_map_config_id is not None:
602
+ _path_params['sourceMapConfigId'] = source_map_config_id
522
603
  # process the query parameters
523
604
  # process the header parameters
524
605
  # process the form parameters
606
+ if file_id is not None:
607
+ _form_params.append(('fileId', file_id))
608
+ if file_type is not None:
609
+ _form_params.append(('fileType', file_type))
525
610
  # process the body parameter
526
611
 
527
612
 
@@ -533,6 +618,19 @@ class MobileAppConfigurationApi:
533
618
  ]
534
619
  )
535
620
 
621
+ # set the HTTP header `Content-Type`
622
+ if _content_type:
623
+ _header_params['Content-Type'] = _content_type
624
+ else:
625
+ _default_content_type = (
626
+ self.api_client.select_header_content_type(
627
+ [
628
+ 'multipart/form-data'
629
+ ]
630
+ )
631
+ )
632
+ if _default_content_type is not None:
633
+ _header_params['Content-Type'] = _default_content_type
536
634
 
537
635
  # authentication setting
538
636
  _auth_settings: List[str] = [
@@ -540,8 +638,8 @@ class MobileAppConfigurationApi:
540
638
  ]
541
639
 
542
640
  return self.api_client.param_serialize(
543
- method='GET',
544
- resource_path='/api/mobile-app-monitoring/config',
641
+ method='PUT',
642
+ resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload/{sourceMapConfigId}/commit',
545
643
  path_params=_path_params,
546
644
  query_params=_query_params,
547
645
  header_params=_header_params,
@@ -558,7 +656,7 @@ class MobileAppConfigurationApi:
558
656
 
559
657
 
560
658
  @validate_call
561
- def get_mobile_app_geo_location_configuration(
659
+ def delete_mobile_app_config(
562
660
  self,
563
661
  mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
564
662
  _request_timeout: Union[
@@ -573,10 +671,10 @@ class MobileAppConfigurationApi:
573
671
  _content_type: Optional[StrictStr] = None,
574
672
  _headers: Optional[Dict[StrictStr, Any]] = None,
575
673
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
576
- ) -> GeoLocationConfiguration:
577
- """Get geo location configuration for mobile app
674
+ ) -> None:
675
+ """Remove mobile app
578
676
 
579
- API request to get geo location configuration for mobile app.
677
+ API request to remove mobile app.
580
678
 
581
679
  :param mobile_app_id: Mobile App ID (required)
582
680
  :type mobile_app_id: str
@@ -602,7 +700,7 @@ class MobileAppConfigurationApi:
602
700
  :return: Returns the result object.
603
701
  """ # noqa: E501
604
702
 
605
- _param = self._get_mobile_app_geo_location_configuration_serialize(
703
+ _param = self._delete_mobile_app_config_serialize(
606
704
  mobile_app_id=mobile_app_id,
607
705
  _request_auth=_request_auth,
608
706
  _content_type=_content_type,
@@ -611,10 +709,9 @@ class MobileAppConfigurationApi:
611
709
  )
612
710
 
613
711
  _response_types_map: Dict[str, Optional[str]] = {
614
- '200': "GeoLocationConfiguration",
712
+ '204': None,
615
713
  '401': None,
616
714
  '403': None,
617
- '404': None,
618
715
  '500': None,
619
716
  }
620
717
  response_data = self.api_client.call_api(
@@ -629,7 +726,7 @@ class MobileAppConfigurationApi:
629
726
 
630
727
 
631
728
  @validate_call
632
- def get_mobile_app_geo_location_configuration_with_http_info(
729
+ def delete_mobile_app_config_with_http_info(
633
730
  self,
634
731
  mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
635
732
  _request_timeout: Union[
@@ -644,10 +741,10 @@ class MobileAppConfigurationApi:
644
741
  _content_type: Optional[StrictStr] = None,
645
742
  _headers: Optional[Dict[StrictStr, Any]] = None,
646
743
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
647
- ) -> ApiResponse[GeoLocationConfiguration]:
648
- """Get geo location configuration for mobile app
744
+ ) -> ApiResponse[None]:
745
+ """Remove mobile app
649
746
 
650
- API request to get geo location configuration for mobile app.
747
+ API request to remove mobile app.
651
748
 
652
749
  :param mobile_app_id: Mobile App ID (required)
653
750
  :type mobile_app_id: str
@@ -673,7 +770,7 @@ class MobileAppConfigurationApi:
673
770
  :return: Returns the result object.
674
771
  """ # noqa: E501
675
772
 
676
- _param = self._get_mobile_app_geo_location_configuration_serialize(
773
+ _param = self._delete_mobile_app_config_serialize(
677
774
  mobile_app_id=mobile_app_id,
678
775
  _request_auth=_request_auth,
679
776
  _content_type=_content_type,
@@ -682,10 +779,9 @@ class MobileAppConfigurationApi:
682
779
  )
683
780
 
684
781
  _response_types_map: Dict[str, Optional[str]] = {
685
- '200': "GeoLocationConfiguration",
782
+ '204': None,
686
783
  '401': None,
687
784
  '403': None,
688
- '404': None,
689
785
  '500': None,
690
786
  }
691
787
  response_data = self.api_client.call_api(
@@ -700,7 +796,7 @@ class MobileAppConfigurationApi:
700
796
 
701
797
 
702
798
  @validate_call
703
- def get_mobile_app_geo_location_configuration_without_preload_content(
799
+ def delete_mobile_app_config_without_preload_content(
704
800
  self,
705
801
  mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
706
802
  _request_timeout: Union[
@@ -716,9 +812,9 @@ class MobileAppConfigurationApi:
716
812
  _headers: Optional[Dict[StrictStr, Any]] = None,
717
813
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
718
814
  ) -> RESTResponseType:
719
- """Get geo location configuration for mobile app
815
+ """Remove mobile app
720
816
 
721
- API request to get geo location configuration for mobile app.
817
+ API request to remove mobile app.
722
818
 
723
819
  :param mobile_app_id: Mobile App ID (required)
724
820
  :type mobile_app_id: str
@@ -744,7 +840,7 @@ class MobileAppConfigurationApi:
744
840
  :return: Returns the result object.
745
841
  """ # noqa: E501
746
842
 
747
- _param = self._get_mobile_app_geo_location_configuration_serialize(
843
+ _param = self._delete_mobile_app_config_serialize(
748
844
  mobile_app_id=mobile_app_id,
749
845
  _request_auth=_request_auth,
750
846
  _content_type=_content_type,
@@ -753,10 +849,9 @@ class MobileAppConfigurationApi:
753
849
  )
754
850
 
755
851
  _response_types_map: Dict[str, Optional[str]] = {
756
- '200': "GeoLocationConfiguration",
852
+ '204': None,
757
853
  '401': None,
758
854
  '403': None,
759
- '404': None,
760
855
  '500': None,
761
856
  }
762
857
  response_data = self.api_client.call_api(
@@ -766,7 +861,7 @@ class MobileAppConfigurationApi:
766
861
  return response_data.response
767
862
 
768
863
 
769
- def _get_mobile_app_geo_location_configuration_serialize(
864
+ def _delete_mobile_app_config_serialize(
770
865
  self,
771
866
  mobile_app_id,
772
867
  _request_auth,
@@ -798,13 +893,6 @@ class MobileAppConfigurationApi:
798
893
  # process the body parameter
799
894
 
800
895
 
801
- # set the HTTP header `Accept`
802
- if 'Accept' not in _header_params:
803
- _header_params['Accept'] = self.api_client.select_header_accept(
804
- [
805
- 'application/json'
806
- ]
807
- )
808
896
 
809
897
 
810
898
  # authentication setting
@@ -813,8 +901,8 @@ class MobileAppConfigurationApi:
813
901
  ]
814
902
 
815
903
  return self.api_client.param_serialize(
816
- method='GET',
817
- resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/geo-location',
904
+ method='DELETE',
905
+ resource_path='/api/mobile-app-monitoring/config/{mobileAppId}',
818
906
  path_params=_path_params,
819
907
  query_params=_query_params,
820
908
  header_params=_header_params,
@@ -831,9 +919,10 @@ class MobileAppConfigurationApi:
831
919
 
832
920
 
833
921
  @validate_call
834
- def get_mobile_app_geo_mapping_rules(
922
+ def delete_mobile_app_source_map_upload_configuration(
835
923
  self,
836
924
  mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
925
+ source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
837
926
  _request_timeout: Union[
838
927
  None,
839
928
  Annotated[StrictFloat, Field(gt=0)],
@@ -847,12 +936,14 @@ class MobileAppConfigurationApi:
847
936
  _headers: Optional[Dict[StrictStr, Any]] = None,
848
937
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
849
938
  ) -> None:
850
- """Get custom geo mapping rules for mobile app
939
+ """Delete sourcemap configuration for mobile app
851
940
 
852
- API request to get custom geo mapping rules for mobile app.
941
+ API request to delete sourcemap configuration for mobile app.
853
942
 
854
943
  :param mobile_app_id: Mobile App ID (required)
855
944
  :type mobile_app_id: str
945
+ :param source_map_config_id: Source Map Config ID (required)
946
+ :type source_map_config_id: str
856
947
  :param _request_timeout: timeout setting for this request. If one
857
948
  number provided, it will be total request
858
949
  timeout. It can also be a pair (tuple) of
@@ -875,8 +966,9 @@ class MobileAppConfigurationApi:
875
966
  :return: Returns the result object.
876
967
  """ # noqa: E501
877
968
 
878
- _param = self._get_mobile_app_geo_mapping_rules_serialize(
969
+ _param = self._delete_mobile_app_source_map_upload_configuration_serialize(
879
970
  mobile_app_id=mobile_app_id,
971
+ source_map_config_id=source_map_config_id,
880
972
  _request_auth=_request_auth,
881
973
  _content_type=_content_type,
882
974
  _headers=_headers,
@@ -884,10 +976,9 @@ class MobileAppConfigurationApi:
884
976
  )
885
977
 
886
978
  _response_types_map: Dict[str, Optional[str]] = {
887
- '200': None,
979
+ '204': None,
888
980
  '401': None,
889
981
  '403': None,
890
- '404': None,
891
982
  '500': None,
892
983
  }
893
984
  response_data = self.api_client.call_api(
@@ -902,9 +993,10 @@ class MobileAppConfigurationApi:
902
993
 
903
994
 
904
995
  @validate_call
905
- def get_mobile_app_geo_mapping_rules_with_http_info(
996
+ def delete_mobile_app_source_map_upload_configuration_with_http_info(
906
997
  self,
907
998
  mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
999
+ source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
908
1000
  _request_timeout: Union[
909
1001
  None,
910
1002
  Annotated[StrictFloat, Field(gt=0)],
@@ -918,12 +1010,14 @@ class MobileAppConfigurationApi:
918
1010
  _headers: Optional[Dict[StrictStr, Any]] = None,
919
1011
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
920
1012
  ) -> ApiResponse[None]:
921
- """Get custom geo mapping rules for mobile app
1013
+ """Delete sourcemap configuration for mobile app
922
1014
 
923
- API request to get custom geo mapping rules for mobile app.
1015
+ API request to delete sourcemap configuration for mobile app.
924
1016
 
925
1017
  :param mobile_app_id: Mobile App ID (required)
926
1018
  :type mobile_app_id: str
1019
+ :param source_map_config_id: Source Map Config ID (required)
1020
+ :type source_map_config_id: str
927
1021
  :param _request_timeout: timeout setting for this request. If one
928
1022
  number provided, it will be total request
929
1023
  timeout. It can also be a pair (tuple) of
@@ -946,8 +1040,9 @@ class MobileAppConfigurationApi:
946
1040
  :return: Returns the result object.
947
1041
  """ # noqa: E501
948
1042
 
949
- _param = self._get_mobile_app_geo_mapping_rules_serialize(
1043
+ _param = self._delete_mobile_app_source_map_upload_configuration_serialize(
950
1044
  mobile_app_id=mobile_app_id,
1045
+ source_map_config_id=source_map_config_id,
951
1046
  _request_auth=_request_auth,
952
1047
  _content_type=_content_type,
953
1048
  _headers=_headers,
@@ -955,10 +1050,9 @@ class MobileAppConfigurationApi:
955
1050
  )
956
1051
 
957
1052
  _response_types_map: Dict[str, Optional[str]] = {
958
- '200': None,
1053
+ '204': None,
959
1054
  '401': None,
960
1055
  '403': None,
961
- '404': None,
962
1056
  '500': None,
963
1057
  }
964
1058
  response_data = self.api_client.call_api(
@@ -973,9 +1067,10 @@ class MobileAppConfigurationApi:
973
1067
 
974
1068
 
975
1069
  @validate_call
976
- def get_mobile_app_geo_mapping_rules_without_preload_content(
1070
+ def delete_mobile_app_source_map_upload_configuration_without_preload_content(
977
1071
  self,
978
1072
  mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
1073
+ source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
979
1074
  _request_timeout: Union[
980
1075
  None,
981
1076
  Annotated[StrictFloat, Field(gt=0)],
@@ -989,12 +1084,14 @@ class MobileAppConfigurationApi:
989
1084
  _headers: Optional[Dict[StrictStr, Any]] = None,
990
1085
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
991
1086
  ) -> RESTResponseType:
992
- """Get custom geo mapping rules for mobile app
1087
+ """Delete sourcemap configuration for mobile app
993
1088
 
994
- API request to get custom geo mapping rules for mobile app.
1089
+ API request to delete sourcemap configuration for mobile app.
995
1090
 
996
1091
  :param mobile_app_id: Mobile App ID (required)
997
1092
  :type mobile_app_id: str
1093
+ :param source_map_config_id: Source Map Config ID (required)
1094
+ :type source_map_config_id: str
998
1095
  :param _request_timeout: timeout setting for this request. If one
999
1096
  number provided, it will be total request
1000
1097
  timeout. It can also be a pair (tuple) of
@@ -1017,8 +1114,9 @@ class MobileAppConfigurationApi:
1017
1114
  :return: Returns the result object.
1018
1115
  """ # noqa: E501
1019
1116
 
1020
- _param = self._get_mobile_app_geo_mapping_rules_serialize(
1117
+ _param = self._delete_mobile_app_source_map_upload_configuration_serialize(
1021
1118
  mobile_app_id=mobile_app_id,
1119
+ source_map_config_id=source_map_config_id,
1022
1120
  _request_auth=_request_auth,
1023
1121
  _content_type=_content_type,
1024
1122
  _headers=_headers,
@@ -1026,10 +1124,9 @@ class MobileAppConfigurationApi:
1026
1124
  )
1027
1125
 
1028
1126
  _response_types_map: Dict[str, Optional[str]] = {
1029
- '200': None,
1127
+ '204': None,
1030
1128
  '401': None,
1031
1129
  '403': None,
1032
- '404': None,
1033
1130
  '500': None,
1034
1131
  }
1035
1132
  response_data = self.api_client.call_api(
@@ -1039,9 +1136,10 @@ class MobileAppConfigurationApi:
1039
1136
  return response_data.response
1040
1137
 
1041
1138
 
1042
- def _get_mobile_app_geo_mapping_rules_serialize(
1139
+ def _delete_mobile_app_source_map_upload_configuration_serialize(
1043
1140
  self,
1044
1141
  mobile_app_id,
1142
+ source_map_config_id,
1045
1143
  _request_auth,
1046
1144
  _content_type,
1047
1145
  _headers,
@@ -1065,19 +1163,14 @@ class MobileAppConfigurationApi:
1065
1163
  # process the path parameters
1066
1164
  if mobile_app_id is not None:
1067
1165
  _path_params['mobileAppId'] = mobile_app_id
1166
+ if source_map_config_id is not None:
1167
+ _path_params['sourceMapConfigId'] = source_map_config_id
1068
1168
  # process the query parameters
1069
1169
  # process the header parameters
1070
1170
  # process the form parameters
1071
1171
  # process the body parameter
1072
1172
 
1073
1173
 
1074
- # set the HTTP header `Accept`
1075
- if 'Accept' not in _header_params:
1076
- _header_params['Accept'] = self.api_client.select_header_accept(
1077
- [
1078
- 'text/csv'
1079
- ]
1080
- )
1081
1174
 
1082
1175
 
1083
1176
  # authentication setting
@@ -1086,8 +1179,8 @@ class MobileAppConfigurationApi:
1086
1179
  ]
1087
1180
 
1088
1181
  return self.api_client.param_serialize(
1089
- method='GET',
1090
- resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/geo-mapping-rules',
1182
+ method='DELETE',
1183
+ resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload/{sourceMapConfigId}',
1091
1184
  path_params=_path_params,
1092
1185
  query_params=_query_params,
1093
1186
  header_params=_header_params,
@@ -1104,9 +1197,8 @@ class MobileAppConfigurationApi:
1104
1197
 
1105
1198
 
1106
1199
  @validate_call
1107
- def get_mobile_app_ip_masking_configuration(
1200
+ def get_mobile_app_config(
1108
1201
  self,
1109
- mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
1110
1202
  _request_timeout: Union[
1111
1203
  None,
1112
1204
  Annotated[StrictFloat, Field(gt=0)],
@@ -1119,13 +1211,11 @@ class MobileAppConfigurationApi:
1119
1211
  _content_type: Optional[StrictStr] = None,
1120
1212
  _headers: Optional[Dict[StrictStr, Any]] = None,
1121
1213
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1122
- ) -> IpMaskingConfiguration:
1123
- """Get IP masking configuration for mobile app
1214
+ ) -> List[MobileApp]:
1215
+ """Get configured mobile apps
1124
1216
 
1125
- API request to get IP masking configuration for mobile app.
1217
+ API request to get configured mobile apps.
1126
1218
 
1127
- :param mobile_app_id: Mobile App ID (required)
1128
- :type mobile_app_id: str
1129
1219
  :param _request_timeout: timeout setting for this request. If one
1130
1220
  number provided, it will be total request
1131
1221
  timeout. It can also be a pair (tuple) of
@@ -1148,8 +1238,7 @@ class MobileAppConfigurationApi:
1148
1238
  :return: Returns the result object.
1149
1239
  """ # noqa: E501
1150
1240
 
1151
- _param = self._get_mobile_app_ip_masking_configuration_serialize(
1152
- mobile_app_id=mobile_app_id,
1241
+ _param = self._get_mobile_app_config_serialize(
1153
1242
  _request_auth=_request_auth,
1154
1243
  _content_type=_content_type,
1155
1244
  _headers=_headers,
@@ -1157,10 +1246,8 @@ class MobileAppConfigurationApi:
1157
1246
  )
1158
1247
 
1159
1248
  _response_types_map: Dict[str, Optional[str]] = {
1160
- '200': "IpMaskingConfiguration",
1249
+ '200': "List[MobileApp]",
1161
1250
  '401': None,
1162
- '403': None,
1163
- '404': None,
1164
1251
  '500': None,
1165
1252
  }
1166
1253
  response_data = self.api_client.call_api(
@@ -1175,9 +1262,8 @@ class MobileAppConfigurationApi:
1175
1262
 
1176
1263
 
1177
1264
  @validate_call
1178
- def get_mobile_app_ip_masking_configuration_with_http_info(
1265
+ def get_mobile_app_config_with_http_info(
1179
1266
  self,
1180
- mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
1181
1267
  _request_timeout: Union[
1182
1268
  None,
1183
1269
  Annotated[StrictFloat, Field(gt=0)],
@@ -1190,13 +1276,11 @@ class MobileAppConfigurationApi:
1190
1276
  _content_type: Optional[StrictStr] = None,
1191
1277
  _headers: Optional[Dict[StrictStr, Any]] = None,
1192
1278
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1193
- ) -> ApiResponse[IpMaskingConfiguration]:
1194
- """Get IP masking configuration for mobile app
1279
+ ) -> ApiResponse[List[MobileApp]]:
1280
+ """Get configured mobile apps
1195
1281
 
1196
- API request to get IP masking configuration for mobile app.
1282
+ API request to get configured mobile apps.
1197
1283
 
1198
- :param mobile_app_id: Mobile App ID (required)
1199
- :type mobile_app_id: str
1200
1284
  :param _request_timeout: timeout setting for this request. If one
1201
1285
  number provided, it will be total request
1202
1286
  timeout. It can also be a pair (tuple) of
@@ -1219,8 +1303,7 @@ class MobileAppConfigurationApi:
1219
1303
  :return: Returns the result object.
1220
1304
  """ # noqa: E501
1221
1305
 
1222
- _param = self._get_mobile_app_ip_masking_configuration_serialize(
1223
- mobile_app_id=mobile_app_id,
1306
+ _param = self._get_mobile_app_config_serialize(
1224
1307
  _request_auth=_request_auth,
1225
1308
  _content_type=_content_type,
1226
1309
  _headers=_headers,
@@ -1228,10 +1311,8 @@ class MobileAppConfigurationApi:
1228
1311
  )
1229
1312
 
1230
1313
  _response_types_map: Dict[str, Optional[str]] = {
1231
- '200': "IpMaskingConfiguration",
1314
+ '200': "List[MobileApp]",
1232
1315
  '401': None,
1233
- '403': None,
1234
- '404': None,
1235
1316
  '500': None,
1236
1317
  }
1237
1318
  response_data = self.api_client.call_api(
@@ -1246,9 +1327,8 @@ class MobileAppConfigurationApi:
1246
1327
 
1247
1328
 
1248
1329
  @validate_call
1249
- def get_mobile_app_ip_masking_configuration_without_preload_content(
1330
+ def get_mobile_app_config_without_preload_content(
1250
1331
  self,
1251
- mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
1252
1332
  _request_timeout: Union[
1253
1333
  None,
1254
1334
  Annotated[StrictFloat, Field(gt=0)],
@@ -1262,12 +1342,10 @@ class MobileAppConfigurationApi:
1262
1342
  _headers: Optional[Dict[StrictStr, Any]] = None,
1263
1343
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1264
1344
  ) -> RESTResponseType:
1265
- """Get IP masking configuration for mobile app
1345
+ """Get configured mobile apps
1266
1346
 
1267
- API request to get IP masking configuration for mobile app.
1347
+ API request to get configured mobile apps.
1268
1348
 
1269
- :param mobile_app_id: Mobile App ID (required)
1270
- :type mobile_app_id: str
1271
1349
  :param _request_timeout: timeout setting for this request. If one
1272
1350
  number provided, it will be total request
1273
1351
  timeout. It can also be a pair (tuple) of
@@ -1290,8 +1368,7 @@ class MobileAppConfigurationApi:
1290
1368
  :return: Returns the result object.
1291
1369
  """ # noqa: E501
1292
1370
 
1293
- _param = self._get_mobile_app_ip_masking_configuration_serialize(
1294
- mobile_app_id=mobile_app_id,
1371
+ _param = self._get_mobile_app_config_serialize(
1295
1372
  _request_auth=_request_auth,
1296
1373
  _content_type=_content_type,
1297
1374
  _headers=_headers,
@@ -1299,10 +1376,8 @@ class MobileAppConfigurationApi:
1299
1376
  )
1300
1377
 
1301
1378
  _response_types_map: Dict[str, Optional[str]] = {
1302
- '200': "IpMaskingConfiguration",
1379
+ '200': "List[MobileApp]",
1303
1380
  '401': None,
1304
- '403': None,
1305
- '404': None,
1306
1381
  '500': None,
1307
1382
  }
1308
1383
  response_data = self.api_client.call_api(
@@ -1312,9 +1387,8 @@ class MobileAppConfigurationApi:
1312
1387
  return response_data.response
1313
1388
 
1314
1389
 
1315
- def _get_mobile_app_ip_masking_configuration_serialize(
1390
+ def _get_mobile_app_config_serialize(
1316
1391
  self,
1317
- mobile_app_id,
1318
1392
  _request_auth,
1319
1393
  _content_type,
1320
1394
  _headers,
@@ -1336,8 +1410,6 @@ class MobileAppConfigurationApi:
1336
1410
  _body_params: Optional[bytes] = None
1337
1411
 
1338
1412
  # process the path parameters
1339
- if mobile_app_id is not None:
1340
- _path_params['mobileAppId'] = mobile_app_id
1341
1413
  # process the query parameters
1342
1414
  # process the header parameters
1343
1415
  # process the form parameters
@@ -1360,7 +1432,7 @@ class MobileAppConfigurationApi:
1360
1432
 
1361
1433
  return self.api_client.param_serialize(
1362
1434
  method='GET',
1363
- resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/ip-masking',
1435
+ resource_path='/api/mobile-app-monitoring/config',
1364
1436
  path_params=_path_params,
1365
1437
  query_params=_query_params,
1366
1438
  header_params=_header_params,
@@ -1377,9 +1449,9 @@ class MobileAppConfigurationApi:
1377
1449
 
1378
1450
 
1379
1451
  @validate_call
1380
- def post_mobile_app_config(
1452
+ def get_mobile_app_geo_location_configuration(
1381
1453
  self,
1382
- name: Annotated[Optional[StrictStr], Field(description="Name of the mobile app")] = None,
1454
+ mobile_app_id: StrictStr,
1383
1455
  _request_timeout: Union[
1384
1456
  None,
1385
1457
  Annotated[StrictFloat, Field(gt=0)],
@@ -1392,13 +1464,13 @@ class MobileAppConfigurationApi:
1392
1464
  _content_type: Optional[StrictStr] = None,
1393
1465
  _headers: Optional[Dict[StrictStr, Any]] = None,
1394
1466
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1395
- ) -> MobileApp:
1396
- """Configure new mobile app
1467
+ ) -> GeoLocationConfiguration:
1468
+ """Get geo location configuration for mobile app
1397
1469
 
1398
- API request to add new mobile app.
1470
+ API request to get geo location configuration for mobile app.
1399
1471
 
1400
- :param name: Name of the mobile app
1401
- :type name: str
1472
+ :param mobile_app_id: (required)
1473
+ :type mobile_app_id: str
1402
1474
  :param _request_timeout: timeout setting for this request. If one
1403
1475
  number provided, it will be total request
1404
1476
  timeout. It can also be a pair (tuple) of
@@ -1421,8 +1493,8 @@ class MobileAppConfigurationApi:
1421
1493
  :return: Returns the result object.
1422
1494
  """ # noqa: E501
1423
1495
 
1424
- _param = self._post_mobile_app_config_serialize(
1425
- name=name,
1496
+ _param = self._get_mobile_app_geo_location_configuration_serialize(
1497
+ mobile_app_id=mobile_app_id,
1426
1498
  _request_auth=_request_auth,
1427
1499
  _content_type=_content_type,
1428
1500
  _headers=_headers,
@@ -1430,10 +1502,10 @@ class MobileAppConfigurationApi:
1430
1502
  )
1431
1503
 
1432
1504
  _response_types_map: Dict[str, Optional[str]] = {
1433
- '200': "MobileApp",
1434
- '400': None,
1505
+ '200': "GeoLocationConfiguration",
1435
1506
  '401': None,
1436
1507
  '403': None,
1508
+ '404': None,
1437
1509
  '500': None,
1438
1510
  }
1439
1511
  response_data = self.api_client.call_api(
@@ -1448,9 +1520,9 @@ class MobileAppConfigurationApi:
1448
1520
 
1449
1521
 
1450
1522
  @validate_call
1451
- def post_mobile_app_config_with_http_info(
1523
+ def get_mobile_app_geo_location_configuration_with_http_info(
1452
1524
  self,
1453
- name: Annotated[Optional[StrictStr], Field(description="Name of the mobile app")] = None,
1525
+ mobile_app_id: StrictStr,
1454
1526
  _request_timeout: Union[
1455
1527
  None,
1456
1528
  Annotated[StrictFloat, Field(gt=0)],
@@ -1463,13 +1535,13 @@ class MobileAppConfigurationApi:
1463
1535
  _content_type: Optional[StrictStr] = None,
1464
1536
  _headers: Optional[Dict[StrictStr, Any]] = None,
1465
1537
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1466
- ) -> ApiResponse[MobileApp]:
1467
- """Configure new mobile app
1538
+ ) -> ApiResponse[GeoLocationConfiguration]:
1539
+ """Get geo location configuration for mobile app
1468
1540
 
1469
- API request to add new mobile app.
1541
+ API request to get geo location configuration for mobile app.
1470
1542
 
1471
- :param name: Name of the mobile app
1472
- :type name: str
1543
+ :param mobile_app_id: (required)
1544
+ :type mobile_app_id: str
1473
1545
  :param _request_timeout: timeout setting for this request. If one
1474
1546
  number provided, it will be total request
1475
1547
  timeout. It can also be a pair (tuple) of
@@ -1492,8 +1564,8 @@ class MobileAppConfigurationApi:
1492
1564
  :return: Returns the result object.
1493
1565
  """ # noqa: E501
1494
1566
 
1495
- _param = self._post_mobile_app_config_serialize(
1496
- name=name,
1567
+ _param = self._get_mobile_app_geo_location_configuration_serialize(
1568
+ mobile_app_id=mobile_app_id,
1497
1569
  _request_auth=_request_auth,
1498
1570
  _content_type=_content_type,
1499
1571
  _headers=_headers,
@@ -1501,10 +1573,10 @@ class MobileAppConfigurationApi:
1501
1573
  )
1502
1574
 
1503
1575
  _response_types_map: Dict[str, Optional[str]] = {
1504
- '200': "MobileApp",
1505
- '400': None,
1576
+ '200': "GeoLocationConfiguration",
1506
1577
  '401': None,
1507
1578
  '403': None,
1579
+ '404': None,
1508
1580
  '500': None,
1509
1581
  }
1510
1582
  response_data = self.api_client.call_api(
@@ -1519,9 +1591,9 @@ class MobileAppConfigurationApi:
1519
1591
 
1520
1592
 
1521
1593
  @validate_call
1522
- def post_mobile_app_config_without_preload_content(
1594
+ def get_mobile_app_geo_location_configuration_without_preload_content(
1523
1595
  self,
1524
- name: Annotated[Optional[StrictStr], Field(description="Name of the mobile app")] = None,
1596
+ mobile_app_id: StrictStr,
1525
1597
  _request_timeout: Union[
1526
1598
  None,
1527
1599
  Annotated[StrictFloat, Field(gt=0)],
@@ -1535,12 +1607,12 @@ class MobileAppConfigurationApi:
1535
1607
  _headers: Optional[Dict[StrictStr, Any]] = None,
1536
1608
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1537
1609
  ) -> RESTResponseType:
1538
- """Configure new mobile app
1610
+ """Get geo location configuration for mobile app
1539
1611
 
1540
- API request to add new mobile app.
1612
+ API request to get geo location configuration for mobile app.
1541
1613
 
1542
- :param name: Name of the mobile app
1543
- :type name: str
1614
+ :param mobile_app_id: (required)
1615
+ :type mobile_app_id: str
1544
1616
  :param _request_timeout: timeout setting for this request. If one
1545
1617
  number provided, it will be total request
1546
1618
  timeout. It can also be a pair (tuple) of
@@ -1563,8 +1635,8 @@ class MobileAppConfigurationApi:
1563
1635
  :return: Returns the result object.
1564
1636
  """ # noqa: E501
1565
1637
 
1566
- _param = self._post_mobile_app_config_serialize(
1567
- name=name,
1638
+ _param = self._get_mobile_app_geo_location_configuration_serialize(
1639
+ mobile_app_id=mobile_app_id,
1568
1640
  _request_auth=_request_auth,
1569
1641
  _content_type=_content_type,
1570
1642
  _headers=_headers,
@@ -1572,10 +1644,10 @@ class MobileAppConfigurationApi:
1572
1644
  )
1573
1645
 
1574
1646
  _response_types_map: Dict[str, Optional[str]] = {
1575
- '200': "MobileApp",
1576
- '400': None,
1647
+ '200': "GeoLocationConfiguration",
1577
1648
  '401': None,
1578
1649
  '403': None,
1650
+ '404': None,
1579
1651
  '500': None,
1580
1652
  }
1581
1653
  response_data = self.api_client.call_api(
@@ -1585,9 +1657,9 @@ class MobileAppConfigurationApi:
1585
1657
  return response_data.response
1586
1658
 
1587
1659
 
1588
- def _post_mobile_app_config_serialize(
1660
+ def _get_mobile_app_geo_location_configuration_serialize(
1589
1661
  self,
1590
- name,
1662
+ mobile_app_id,
1591
1663
  _request_auth,
1592
1664
  _content_type,
1593
1665
  _headers,
@@ -1609,11 +1681,9 @@ class MobileAppConfigurationApi:
1609
1681
  _body_params: Optional[bytes] = None
1610
1682
 
1611
1683
  # process the path parameters
1684
+ if mobile_app_id is not None:
1685
+ _path_params['mobileAppId'] = mobile_app_id
1612
1686
  # process the query parameters
1613
- if name is not None:
1614
-
1615
- _query_params.append(('name', name))
1616
-
1617
1687
  # process the header parameters
1618
1688
  # process the form parameters
1619
1689
  # process the body parameter
@@ -1626,7 +1696,2574 @@ class MobileAppConfigurationApi:
1626
1696
  'application/json'
1627
1697
  ]
1628
1698
  )
1629
-
1699
+
1700
+
1701
+ # authentication setting
1702
+ _auth_settings: List[str] = [
1703
+ 'ApiKeyAuth'
1704
+ ]
1705
+
1706
+ return self.api_client.param_serialize(
1707
+ method='GET',
1708
+ resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/geo-location',
1709
+ path_params=_path_params,
1710
+ query_params=_query_params,
1711
+ header_params=_header_params,
1712
+ body=_body_params,
1713
+ post_params=_form_params,
1714
+ files=_files,
1715
+ auth_settings=_auth_settings,
1716
+ collection_formats=_collection_formats,
1717
+ _host=_host,
1718
+ _request_auth=_request_auth
1719
+ )
1720
+
1721
+
1722
+
1723
+
1724
+ @validate_call
1725
+ def get_mobile_app_geo_mapping_rules(
1726
+ self,
1727
+ mobile_app_id: StrictStr,
1728
+ _request_timeout: Union[
1729
+ None,
1730
+ Annotated[StrictFloat, Field(gt=0)],
1731
+ Tuple[
1732
+ Annotated[StrictFloat, Field(gt=0)],
1733
+ Annotated[StrictFloat, Field(gt=0)]
1734
+ ]
1735
+ ] = None,
1736
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1737
+ _content_type: Optional[StrictStr] = None,
1738
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1739
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1740
+ ) -> None:
1741
+ """Get custom geo mapping rules for mobile app
1742
+
1743
+ API request to get custom geo mapping rules for mobile app.
1744
+
1745
+ :param mobile_app_id: (required)
1746
+ :type mobile_app_id: str
1747
+ :param _request_timeout: timeout setting for this request. If one
1748
+ number provided, it will be total request
1749
+ timeout. It can also be a pair (tuple) of
1750
+ (connection, read) timeouts.
1751
+ :type _request_timeout: int, tuple(int, int), optional
1752
+ :param _request_auth: set to override the auth_settings for an a single
1753
+ request; this effectively ignores the
1754
+ authentication in the spec for a single request.
1755
+ :type _request_auth: dict, optional
1756
+ :param _content_type: force content-type for the request.
1757
+ :type _content_type: str, Optional
1758
+ :param _headers: set to override the headers for a single
1759
+ request; this effectively ignores the headers
1760
+ in the spec for a single request.
1761
+ :type _headers: dict, optional
1762
+ :param _host_index: set to override the host_index for a single
1763
+ request; this effectively ignores the host_index
1764
+ in the spec for a single request.
1765
+ :type _host_index: int, optional
1766
+ :return: Returns the result object.
1767
+ """ # noqa: E501
1768
+
1769
+ _param = self._get_mobile_app_geo_mapping_rules_serialize(
1770
+ mobile_app_id=mobile_app_id,
1771
+ _request_auth=_request_auth,
1772
+ _content_type=_content_type,
1773
+ _headers=_headers,
1774
+ _host_index=_host_index
1775
+ )
1776
+
1777
+ _response_types_map: Dict[str, Optional[str]] = {
1778
+ '200': None,
1779
+ '401': None,
1780
+ '403': None,
1781
+ '404': None,
1782
+ '500': None,
1783
+ }
1784
+ response_data = self.api_client.call_api(
1785
+ *_param,
1786
+ _request_timeout=_request_timeout
1787
+ )
1788
+ response_data.read()
1789
+ return self.api_client.response_deserialize(
1790
+ response_data=response_data,
1791
+ response_types_map=_response_types_map,
1792
+ ).data
1793
+
1794
+
1795
+ @validate_call
1796
+ def get_mobile_app_geo_mapping_rules_with_http_info(
1797
+ self,
1798
+ mobile_app_id: StrictStr,
1799
+ _request_timeout: Union[
1800
+ None,
1801
+ Annotated[StrictFloat, Field(gt=0)],
1802
+ Tuple[
1803
+ Annotated[StrictFloat, Field(gt=0)],
1804
+ Annotated[StrictFloat, Field(gt=0)]
1805
+ ]
1806
+ ] = None,
1807
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1808
+ _content_type: Optional[StrictStr] = None,
1809
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1810
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1811
+ ) -> ApiResponse[None]:
1812
+ """Get custom geo mapping rules for mobile app
1813
+
1814
+ API request to get custom geo mapping rules for mobile app.
1815
+
1816
+ :param mobile_app_id: (required)
1817
+ :type mobile_app_id: str
1818
+ :param _request_timeout: timeout setting for this request. If one
1819
+ number provided, it will be total request
1820
+ timeout. It can also be a pair (tuple) of
1821
+ (connection, read) timeouts.
1822
+ :type _request_timeout: int, tuple(int, int), optional
1823
+ :param _request_auth: set to override the auth_settings for an a single
1824
+ request; this effectively ignores the
1825
+ authentication in the spec for a single request.
1826
+ :type _request_auth: dict, optional
1827
+ :param _content_type: force content-type for the request.
1828
+ :type _content_type: str, Optional
1829
+ :param _headers: set to override the headers for a single
1830
+ request; this effectively ignores the headers
1831
+ in the spec for a single request.
1832
+ :type _headers: dict, optional
1833
+ :param _host_index: set to override the host_index for a single
1834
+ request; this effectively ignores the host_index
1835
+ in the spec for a single request.
1836
+ :type _host_index: int, optional
1837
+ :return: Returns the result object.
1838
+ """ # noqa: E501
1839
+
1840
+ _param = self._get_mobile_app_geo_mapping_rules_serialize(
1841
+ mobile_app_id=mobile_app_id,
1842
+ _request_auth=_request_auth,
1843
+ _content_type=_content_type,
1844
+ _headers=_headers,
1845
+ _host_index=_host_index
1846
+ )
1847
+
1848
+ _response_types_map: Dict[str, Optional[str]] = {
1849
+ '200': None,
1850
+ '401': None,
1851
+ '403': None,
1852
+ '404': None,
1853
+ '500': None,
1854
+ }
1855
+ response_data = self.api_client.call_api(
1856
+ *_param,
1857
+ _request_timeout=_request_timeout
1858
+ )
1859
+ response_data.read()
1860
+ return self.api_client.response_deserialize(
1861
+ response_data=response_data,
1862
+ response_types_map=_response_types_map,
1863
+ )
1864
+
1865
+
1866
+ @validate_call
1867
+ def get_mobile_app_geo_mapping_rules_without_preload_content(
1868
+ self,
1869
+ mobile_app_id: StrictStr,
1870
+ _request_timeout: Union[
1871
+ None,
1872
+ Annotated[StrictFloat, Field(gt=0)],
1873
+ Tuple[
1874
+ Annotated[StrictFloat, Field(gt=0)],
1875
+ Annotated[StrictFloat, Field(gt=0)]
1876
+ ]
1877
+ ] = None,
1878
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1879
+ _content_type: Optional[StrictStr] = None,
1880
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1881
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1882
+ ) -> RESTResponseType:
1883
+ """Get custom geo mapping rules for mobile app
1884
+
1885
+ API request to get custom geo mapping rules for mobile app.
1886
+
1887
+ :param mobile_app_id: (required)
1888
+ :type mobile_app_id: str
1889
+ :param _request_timeout: timeout setting for this request. If one
1890
+ number provided, it will be total request
1891
+ timeout. It can also be a pair (tuple) of
1892
+ (connection, read) timeouts.
1893
+ :type _request_timeout: int, tuple(int, int), optional
1894
+ :param _request_auth: set to override the auth_settings for an a single
1895
+ request; this effectively ignores the
1896
+ authentication in the spec for a single request.
1897
+ :type _request_auth: dict, optional
1898
+ :param _content_type: force content-type for the request.
1899
+ :type _content_type: str, Optional
1900
+ :param _headers: set to override the headers for a single
1901
+ request; this effectively ignores the headers
1902
+ in the spec for a single request.
1903
+ :type _headers: dict, optional
1904
+ :param _host_index: set to override the host_index for a single
1905
+ request; this effectively ignores the host_index
1906
+ in the spec for a single request.
1907
+ :type _host_index: int, optional
1908
+ :return: Returns the result object.
1909
+ """ # noqa: E501
1910
+
1911
+ _param = self._get_mobile_app_geo_mapping_rules_serialize(
1912
+ mobile_app_id=mobile_app_id,
1913
+ _request_auth=_request_auth,
1914
+ _content_type=_content_type,
1915
+ _headers=_headers,
1916
+ _host_index=_host_index
1917
+ )
1918
+
1919
+ _response_types_map: Dict[str, Optional[str]] = {
1920
+ '200': None,
1921
+ '401': None,
1922
+ '403': None,
1923
+ '404': None,
1924
+ '500': None,
1925
+ }
1926
+ response_data = self.api_client.call_api(
1927
+ *_param,
1928
+ _request_timeout=_request_timeout
1929
+ )
1930
+ return response_data.response
1931
+
1932
+
1933
+ def _get_mobile_app_geo_mapping_rules_serialize(
1934
+ self,
1935
+ mobile_app_id,
1936
+ _request_auth,
1937
+ _content_type,
1938
+ _headers,
1939
+ _host_index,
1940
+ ) -> RequestSerialized:
1941
+
1942
+ _host = None
1943
+
1944
+ _collection_formats: Dict[str, str] = {
1945
+ }
1946
+
1947
+ _path_params: Dict[str, str] = {}
1948
+ _query_params: List[Tuple[str, str]] = []
1949
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1950
+ _form_params: List[Tuple[str, str]] = []
1951
+ _files: Dict[
1952
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1953
+ ] = {}
1954
+ _body_params: Optional[bytes] = None
1955
+
1956
+ # process the path parameters
1957
+ if mobile_app_id is not None:
1958
+ _path_params['mobileAppId'] = mobile_app_id
1959
+ # process the query parameters
1960
+ # process the header parameters
1961
+ # process the form parameters
1962
+ # process the body parameter
1963
+
1964
+
1965
+ # set the HTTP header `Accept`
1966
+ if 'Accept' not in _header_params:
1967
+ _header_params['Accept'] = self.api_client.select_header_accept(
1968
+ [
1969
+ 'text/csv'
1970
+ ]
1971
+ )
1972
+
1973
+
1974
+ # authentication setting
1975
+ _auth_settings: List[str] = [
1976
+ 'ApiKeyAuth'
1977
+ ]
1978
+
1979
+ return self.api_client.param_serialize(
1980
+ method='GET',
1981
+ resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/geo-mapping-rules',
1982
+ path_params=_path_params,
1983
+ query_params=_query_params,
1984
+ header_params=_header_params,
1985
+ body=_body_params,
1986
+ post_params=_form_params,
1987
+ files=_files,
1988
+ auth_settings=_auth_settings,
1989
+ collection_formats=_collection_formats,
1990
+ _host=_host,
1991
+ _request_auth=_request_auth
1992
+ )
1993
+
1994
+
1995
+
1996
+
1997
+ @validate_call
1998
+ def get_mobile_app_ip_masking_configuration(
1999
+ self,
2000
+ mobile_app_id: StrictStr,
2001
+ _request_timeout: Union[
2002
+ None,
2003
+ Annotated[StrictFloat, Field(gt=0)],
2004
+ Tuple[
2005
+ Annotated[StrictFloat, Field(gt=0)],
2006
+ Annotated[StrictFloat, Field(gt=0)]
2007
+ ]
2008
+ ] = None,
2009
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2010
+ _content_type: Optional[StrictStr] = None,
2011
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2012
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2013
+ ) -> IpMaskingConfiguration:
2014
+ """Get IP masking configuration for mobile app
2015
+
2016
+ API request to get IP masking configuration for mobile app.
2017
+
2018
+ :param mobile_app_id: (required)
2019
+ :type mobile_app_id: str
2020
+ :param _request_timeout: timeout setting for this request. If one
2021
+ number provided, it will be total request
2022
+ timeout. It can also be a pair (tuple) of
2023
+ (connection, read) timeouts.
2024
+ :type _request_timeout: int, tuple(int, int), optional
2025
+ :param _request_auth: set to override the auth_settings for an a single
2026
+ request; this effectively ignores the
2027
+ authentication in the spec for a single request.
2028
+ :type _request_auth: dict, optional
2029
+ :param _content_type: force content-type for the request.
2030
+ :type _content_type: str, Optional
2031
+ :param _headers: set to override the headers for a single
2032
+ request; this effectively ignores the headers
2033
+ in the spec for a single request.
2034
+ :type _headers: dict, optional
2035
+ :param _host_index: set to override the host_index for a single
2036
+ request; this effectively ignores the host_index
2037
+ in the spec for a single request.
2038
+ :type _host_index: int, optional
2039
+ :return: Returns the result object.
2040
+ """ # noqa: E501
2041
+
2042
+ _param = self._get_mobile_app_ip_masking_configuration_serialize(
2043
+ mobile_app_id=mobile_app_id,
2044
+ _request_auth=_request_auth,
2045
+ _content_type=_content_type,
2046
+ _headers=_headers,
2047
+ _host_index=_host_index
2048
+ )
2049
+
2050
+ _response_types_map: Dict[str, Optional[str]] = {
2051
+ '200': "IpMaskingConfiguration",
2052
+ '401': None,
2053
+ '403': None,
2054
+ '404': None,
2055
+ '500': None,
2056
+ }
2057
+ response_data = self.api_client.call_api(
2058
+ *_param,
2059
+ _request_timeout=_request_timeout
2060
+ )
2061
+ response_data.read()
2062
+ return self.api_client.response_deserialize(
2063
+ response_data=response_data,
2064
+ response_types_map=_response_types_map,
2065
+ ).data
2066
+
2067
+
2068
+ @validate_call
2069
+ def get_mobile_app_ip_masking_configuration_with_http_info(
2070
+ self,
2071
+ mobile_app_id: StrictStr,
2072
+ _request_timeout: Union[
2073
+ None,
2074
+ Annotated[StrictFloat, Field(gt=0)],
2075
+ Tuple[
2076
+ Annotated[StrictFloat, Field(gt=0)],
2077
+ Annotated[StrictFloat, Field(gt=0)]
2078
+ ]
2079
+ ] = None,
2080
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2081
+ _content_type: Optional[StrictStr] = None,
2082
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2083
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2084
+ ) -> ApiResponse[IpMaskingConfiguration]:
2085
+ """Get IP masking configuration for mobile app
2086
+
2087
+ API request to get IP masking configuration for mobile app.
2088
+
2089
+ :param mobile_app_id: (required)
2090
+ :type mobile_app_id: str
2091
+ :param _request_timeout: timeout setting for this request. If one
2092
+ number provided, it will be total request
2093
+ timeout. It can also be a pair (tuple) of
2094
+ (connection, read) timeouts.
2095
+ :type _request_timeout: int, tuple(int, int), optional
2096
+ :param _request_auth: set to override the auth_settings for an a single
2097
+ request; this effectively ignores the
2098
+ authentication in the spec for a single request.
2099
+ :type _request_auth: dict, optional
2100
+ :param _content_type: force content-type for the request.
2101
+ :type _content_type: str, Optional
2102
+ :param _headers: set to override the headers for a single
2103
+ request; this effectively ignores the headers
2104
+ in the spec for a single request.
2105
+ :type _headers: dict, optional
2106
+ :param _host_index: set to override the host_index for a single
2107
+ request; this effectively ignores the host_index
2108
+ in the spec for a single request.
2109
+ :type _host_index: int, optional
2110
+ :return: Returns the result object.
2111
+ """ # noqa: E501
2112
+
2113
+ _param = self._get_mobile_app_ip_masking_configuration_serialize(
2114
+ mobile_app_id=mobile_app_id,
2115
+ _request_auth=_request_auth,
2116
+ _content_type=_content_type,
2117
+ _headers=_headers,
2118
+ _host_index=_host_index
2119
+ )
2120
+
2121
+ _response_types_map: Dict[str, Optional[str]] = {
2122
+ '200': "IpMaskingConfiguration",
2123
+ '401': None,
2124
+ '403': None,
2125
+ '404': None,
2126
+ '500': None,
2127
+ }
2128
+ response_data = self.api_client.call_api(
2129
+ *_param,
2130
+ _request_timeout=_request_timeout
2131
+ )
2132
+ response_data.read()
2133
+ return self.api_client.response_deserialize(
2134
+ response_data=response_data,
2135
+ response_types_map=_response_types_map,
2136
+ )
2137
+
2138
+
2139
+ @validate_call
2140
+ def get_mobile_app_ip_masking_configuration_without_preload_content(
2141
+ self,
2142
+ mobile_app_id: StrictStr,
2143
+ _request_timeout: Union[
2144
+ None,
2145
+ Annotated[StrictFloat, Field(gt=0)],
2146
+ Tuple[
2147
+ Annotated[StrictFloat, Field(gt=0)],
2148
+ Annotated[StrictFloat, Field(gt=0)]
2149
+ ]
2150
+ ] = None,
2151
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2152
+ _content_type: Optional[StrictStr] = None,
2153
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2154
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2155
+ ) -> RESTResponseType:
2156
+ """Get IP masking configuration for mobile app
2157
+
2158
+ API request to get IP masking configuration for mobile app.
2159
+
2160
+ :param mobile_app_id: (required)
2161
+ :type mobile_app_id: str
2162
+ :param _request_timeout: timeout setting for this request. If one
2163
+ number provided, it will be total request
2164
+ timeout. It can also be a pair (tuple) of
2165
+ (connection, read) timeouts.
2166
+ :type _request_timeout: int, tuple(int, int), optional
2167
+ :param _request_auth: set to override the auth_settings for an a single
2168
+ request; this effectively ignores the
2169
+ authentication in the spec for a single request.
2170
+ :type _request_auth: dict, optional
2171
+ :param _content_type: force content-type for the request.
2172
+ :type _content_type: str, Optional
2173
+ :param _headers: set to override the headers for a single
2174
+ request; this effectively ignores the headers
2175
+ in the spec for a single request.
2176
+ :type _headers: dict, optional
2177
+ :param _host_index: set to override the host_index for a single
2178
+ request; this effectively ignores the host_index
2179
+ in the spec for a single request.
2180
+ :type _host_index: int, optional
2181
+ :return: Returns the result object.
2182
+ """ # noqa: E501
2183
+
2184
+ _param = self._get_mobile_app_ip_masking_configuration_serialize(
2185
+ mobile_app_id=mobile_app_id,
2186
+ _request_auth=_request_auth,
2187
+ _content_type=_content_type,
2188
+ _headers=_headers,
2189
+ _host_index=_host_index
2190
+ )
2191
+
2192
+ _response_types_map: Dict[str, Optional[str]] = {
2193
+ '200': "IpMaskingConfiguration",
2194
+ '401': None,
2195
+ '403': None,
2196
+ '404': None,
2197
+ '500': None,
2198
+ }
2199
+ response_data = self.api_client.call_api(
2200
+ *_param,
2201
+ _request_timeout=_request_timeout
2202
+ )
2203
+ return response_data.response
2204
+
2205
+
2206
+ def _get_mobile_app_ip_masking_configuration_serialize(
2207
+ self,
2208
+ mobile_app_id,
2209
+ _request_auth,
2210
+ _content_type,
2211
+ _headers,
2212
+ _host_index,
2213
+ ) -> RequestSerialized:
2214
+
2215
+ _host = None
2216
+
2217
+ _collection_formats: Dict[str, str] = {
2218
+ }
2219
+
2220
+ _path_params: Dict[str, str] = {}
2221
+ _query_params: List[Tuple[str, str]] = []
2222
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2223
+ _form_params: List[Tuple[str, str]] = []
2224
+ _files: Dict[
2225
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2226
+ ] = {}
2227
+ _body_params: Optional[bytes] = None
2228
+
2229
+ # process the path parameters
2230
+ if mobile_app_id is not None:
2231
+ _path_params['mobileAppId'] = mobile_app_id
2232
+ # process the query parameters
2233
+ # process the header parameters
2234
+ # process the form parameters
2235
+ # process the body parameter
2236
+
2237
+
2238
+ # set the HTTP header `Accept`
2239
+ if 'Accept' not in _header_params:
2240
+ _header_params['Accept'] = self.api_client.select_header_accept(
2241
+ [
2242
+ 'application/json'
2243
+ ]
2244
+ )
2245
+
2246
+
2247
+ # authentication setting
2248
+ _auth_settings: List[str] = [
2249
+ 'ApiKeyAuth'
2250
+ ]
2251
+
2252
+ return self.api_client.param_serialize(
2253
+ method='GET',
2254
+ resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/ip-masking',
2255
+ path_params=_path_params,
2256
+ query_params=_query_params,
2257
+ header_params=_header_params,
2258
+ body=_body_params,
2259
+ post_params=_form_params,
2260
+ files=_files,
2261
+ auth_settings=_auth_settings,
2262
+ collection_formats=_collection_formats,
2263
+ _host=_host,
2264
+ _request_auth=_request_auth
2265
+ )
2266
+
2267
+
2268
+
2269
+
2270
+ @validate_call
2271
+ def get_mobile_app_source_map_file(
2272
+ self,
2273
+ mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
2274
+ source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
2275
+ _request_timeout: Union[
2276
+ None,
2277
+ Annotated[StrictFloat, Field(gt=0)],
2278
+ Tuple[
2279
+ Annotated[StrictFloat, Field(gt=0)],
2280
+ Annotated[StrictFloat, Field(gt=0)]
2281
+ ]
2282
+ ] = None,
2283
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2284
+ _content_type: Optional[StrictStr] = None,
2285
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2286
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2287
+ ) -> SourceMapUploadConfig:
2288
+ """Get sourcemap configuration for mobile app
2289
+
2290
+ API request to get sourcemap configuration for mobile app.
2291
+
2292
+ :param mobile_app_id: Mobile App ID (required)
2293
+ :type mobile_app_id: str
2294
+ :param source_map_config_id: Source Map Config ID (required)
2295
+ :type source_map_config_id: str
2296
+ :param _request_timeout: timeout setting for this request. If one
2297
+ number provided, it will be total request
2298
+ timeout. It can also be a pair (tuple) of
2299
+ (connection, read) timeouts.
2300
+ :type _request_timeout: int, tuple(int, int), optional
2301
+ :param _request_auth: set to override the auth_settings for an a single
2302
+ request; this effectively ignores the
2303
+ authentication in the spec for a single request.
2304
+ :type _request_auth: dict, optional
2305
+ :param _content_type: force content-type for the request.
2306
+ :type _content_type: str, Optional
2307
+ :param _headers: set to override the headers for a single
2308
+ request; this effectively ignores the headers
2309
+ in the spec for a single request.
2310
+ :type _headers: dict, optional
2311
+ :param _host_index: set to override the host_index for a single
2312
+ request; this effectively ignores the host_index
2313
+ in the spec for a single request.
2314
+ :type _host_index: int, optional
2315
+ :return: Returns the result object.
2316
+ """ # noqa: E501
2317
+
2318
+ _param = self._get_mobile_app_source_map_file_serialize(
2319
+ mobile_app_id=mobile_app_id,
2320
+ source_map_config_id=source_map_config_id,
2321
+ _request_auth=_request_auth,
2322
+ _content_type=_content_type,
2323
+ _headers=_headers,
2324
+ _host_index=_host_index
2325
+ )
2326
+
2327
+ _response_types_map: Dict[str, Optional[str]] = {
2328
+ '200': "SourceMapUploadConfig",
2329
+ '401': None,
2330
+ '500': None,
2331
+ }
2332
+ response_data = self.api_client.call_api(
2333
+ *_param,
2334
+ _request_timeout=_request_timeout
2335
+ )
2336
+ response_data.read()
2337
+ return self.api_client.response_deserialize(
2338
+ response_data=response_data,
2339
+ response_types_map=_response_types_map,
2340
+ ).data
2341
+
2342
+
2343
+ @validate_call
2344
+ def get_mobile_app_source_map_file_with_http_info(
2345
+ self,
2346
+ mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
2347
+ source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
2348
+ _request_timeout: Union[
2349
+ None,
2350
+ Annotated[StrictFloat, Field(gt=0)],
2351
+ Tuple[
2352
+ Annotated[StrictFloat, Field(gt=0)],
2353
+ Annotated[StrictFloat, Field(gt=0)]
2354
+ ]
2355
+ ] = None,
2356
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2357
+ _content_type: Optional[StrictStr] = None,
2358
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2359
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2360
+ ) -> ApiResponse[SourceMapUploadConfig]:
2361
+ """Get sourcemap configuration for mobile app
2362
+
2363
+ API request to get sourcemap configuration for mobile app.
2364
+
2365
+ :param mobile_app_id: Mobile App ID (required)
2366
+ :type mobile_app_id: str
2367
+ :param source_map_config_id: Source Map Config ID (required)
2368
+ :type source_map_config_id: str
2369
+ :param _request_timeout: timeout setting for this request. If one
2370
+ number provided, it will be total request
2371
+ timeout. It can also be a pair (tuple) of
2372
+ (connection, read) timeouts.
2373
+ :type _request_timeout: int, tuple(int, int), optional
2374
+ :param _request_auth: set to override the auth_settings for an a single
2375
+ request; this effectively ignores the
2376
+ authentication in the spec for a single request.
2377
+ :type _request_auth: dict, optional
2378
+ :param _content_type: force content-type for the request.
2379
+ :type _content_type: str, Optional
2380
+ :param _headers: set to override the headers for a single
2381
+ request; this effectively ignores the headers
2382
+ in the spec for a single request.
2383
+ :type _headers: dict, optional
2384
+ :param _host_index: set to override the host_index for a single
2385
+ request; this effectively ignores the host_index
2386
+ in the spec for a single request.
2387
+ :type _host_index: int, optional
2388
+ :return: Returns the result object.
2389
+ """ # noqa: E501
2390
+
2391
+ _param = self._get_mobile_app_source_map_file_serialize(
2392
+ mobile_app_id=mobile_app_id,
2393
+ source_map_config_id=source_map_config_id,
2394
+ _request_auth=_request_auth,
2395
+ _content_type=_content_type,
2396
+ _headers=_headers,
2397
+ _host_index=_host_index
2398
+ )
2399
+
2400
+ _response_types_map: Dict[str, Optional[str]] = {
2401
+ '200': "SourceMapUploadConfig",
2402
+ '401': None,
2403
+ '500': None,
2404
+ }
2405
+ response_data = self.api_client.call_api(
2406
+ *_param,
2407
+ _request_timeout=_request_timeout
2408
+ )
2409
+ response_data.read()
2410
+ return self.api_client.response_deserialize(
2411
+ response_data=response_data,
2412
+ response_types_map=_response_types_map,
2413
+ )
2414
+
2415
+
2416
+ @validate_call
2417
+ def get_mobile_app_source_map_file_without_preload_content(
2418
+ self,
2419
+ mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
2420
+ source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
2421
+ _request_timeout: Union[
2422
+ None,
2423
+ Annotated[StrictFloat, Field(gt=0)],
2424
+ Tuple[
2425
+ Annotated[StrictFloat, Field(gt=0)],
2426
+ Annotated[StrictFloat, Field(gt=0)]
2427
+ ]
2428
+ ] = None,
2429
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2430
+ _content_type: Optional[StrictStr] = None,
2431
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2432
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2433
+ ) -> RESTResponseType:
2434
+ """Get sourcemap configuration for mobile app
2435
+
2436
+ API request to get sourcemap configuration for mobile app.
2437
+
2438
+ :param mobile_app_id: Mobile App ID (required)
2439
+ :type mobile_app_id: str
2440
+ :param source_map_config_id: Source Map Config ID (required)
2441
+ :type source_map_config_id: str
2442
+ :param _request_timeout: timeout setting for this request. If one
2443
+ number provided, it will be total request
2444
+ timeout. It can also be a pair (tuple) of
2445
+ (connection, read) timeouts.
2446
+ :type _request_timeout: int, tuple(int, int), optional
2447
+ :param _request_auth: set to override the auth_settings for an a single
2448
+ request; this effectively ignores the
2449
+ authentication in the spec for a single request.
2450
+ :type _request_auth: dict, optional
2451
+ :param _content_type: force content-type for the request.
2452
+ :type _content_type: str, Optional
2453
+ :param _headers: set to override the headers for a single
2454
+ request; this effectively ignores the headers
2455
+ in the spec for a single request.
2456
+ :type _headers: dict, optional
2457
+ :param _host_index: set to override the host_index for a single
2458
+ request; this effectively ignores the host_index
2459
+ in the spec for a single request.
2460
+ :type _host_index: int, optional
2461
+ :return: Returns the result object.
2462
+ """ # noqa: E501
2463
+
2464
+ _param = self._get_mobile_app_source_map_file_serialize(
2465
+ mobile_app_id=mobile_app_id,
2466
+ source_map_config_id=source_map_config_id,
2467
+ _request_auth=_request_auth,
2468
+ _content_type=_content_type,
2469
+ _headers=_headers,
2470
+ _host_index=_host_index
2471
+ )
2472
+
2473
+ _response_types_map: Dict[str, Optional[str]] = {
2474
+ '200': "SourceMapUploadConfig",
2475
+ '401': None,
2476
+ '500': None,
2477
+ }
2478
+ response_data = self.api_client.call_api(
2479
+ *_param,
2480
+ _request_timeout=_request_timeout
2481
+ )
2482
+ return response_data.response
2483
+
2484
+
2485
+ def _get_mobile_app_source_map_file_serialize(
2486
+ self,
2487
+ mobile_app_id,
2488
+ source_map_config_id,
2489
+ _request_auth,
2490
+ _content_type,
2491
+ _headers,
2492
+ _host_index,
2493
+ ) -> RequestSerialized:
2494
+
2495
+ _host = None
2496
+
2497
+ _collection_formats: Dict[str, str] = {
2498
+ }
2499
+
2500
+ _path_params: Dict[str, str] = {}
2501
+ _query_params: List[Tuple[str, str]] = []
2502
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2503
+ _form_params: List[Tuple[str, str]] = []
2504
+ _files: Dict[
2505
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2506
+ ] = {}
2507
+ _body_params: Optional[bytes] = None
2508
+
2509
+ # process the path parameters
2510
+ if mobile_app_id is not None:
2511
+ _path_params['mobileAppId'] = mobile_app_id
2512
+ if source_map_config_id is not None:
2513
+ _path_params['sourceMapConfigId'] = source_map_config_id
2514
+ # process the query parameters
2515
+ # process the header parameters
2516
+ # process the form parameters
2517
+ # process the body parameter
2518
+
2519
+
2520
+ # set the HTTP header `Accept`
2521
+ if 'Accept' not in _header_params:
2522
+ _header_params['Accept'] = self.api_client.select_header_accept(
2523
+ [
2524
+ 'application/json'
2525
+ ]
2526
+ )
2527
+
2528
+
2529
+ # authentication setting
2530
+ _auth_settings: List[str] = [
2531
+ 'ApiKeyAuth'
2532
+ ]
2533
+
2534
+ return self.api_client.param_serialize(
2535
+ method='GET',
2536
+ resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload/{sourceMapConfigId}',
2537
+ path_params=_path_params,
2538
+ query_params=_query_params,
2539
+ header_params=_header_params,
2540
+ body=_body_params,
2541
+ post_params=_form_params,
2542
+ files=_files,
2543
+ auth_settings=_auth_settings,
2544
+ collection_formats=_collection_formats,
2545
+ _host=_host,
2546
+ _request_auth=_request_auth
2547
+ )
2548
+
2549
+
2550
+
2551
+
2552
+ @validate_call
2553
+ def get_mobile_app_source_map_files(
2554
+ self,
2555
+ mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
2556
+ _request_timeout: Union[
2557
+ None,
2558
+ Annotated[StrictFloat, Field(gt=0)],
2559
+ Tuple[
2560
+ Annotated[StrictFloat, Field(gt=0)],
2561
+ Annotated[StrictFloat, Field(gt=0)]
2562
+ ]
2563
+ ] = None,
2564
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2565
+ _content_type: Optional[StrictStr] = None,
2566
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2567
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2568
+ ) -> SourceMapUploadConfigs:
2569
+ """Get all sourcemap configurations for mobile app
2570
+
2571
+ API request to get all sourcemap configurations for mobile app.
2572
+
2573
+ :param mobile_app_id: Mobile App ID (required)
2574
+ :type mobile_app_id: str
2575
+ :param _request_timeout: timeout setting for this request. If one
2576
+ number provided, it will be total request
2577
+ timeout. It can also be a pair (tuple) of
2578
+ (connection, read) timeouts.
2579
+ :type _request_timeout: int, tuple(int, int), optional
2580
+ :param _request_auth: set to override the auth_settings for an a single
2581
+ request; this effectively ignores the
2582
+ authentication in the spec for a single request.
2583
+ :type _request_auth: dict, optional
2584
+ :param _content_type: force content-type for the request.
2585
+ :type _content_type: str, Optional
2586
+ :param _headers: set to override the headers for a single
2587
+ request; this effectively ignores the headers
2588
+ in the spec for a single request.
2589
+ :type _headers: dict, optional
2590
+ :param _host_index: set to override the host_index for a single
2591
+ request; this effectively ignores the host_index
2592
+ in the spec for a single request.
2593
+ :type _host_index: int, optional
2594
+ :return: Returns the result object.
2595
+ """ # noqa: E501
2596
+
2597
+ _param = self._get_mobile_app_source_map_files_serialize(
2598
+ mobile_app_id=mobile_app_id,
2599
+ _request_auth=_request_auth,
2600
+ _content_type=_content_type,
2601
+ _headers=_headers,
2602
+ _host_index=_host_index
2603
+ )
2604
+
2605
+ _response_types_map: Dict[str, Optional[str]] = {
2606
+ '200': "SourceMapUploadConfigs",
2607
+ '401': None,
2608
+ '500': None,
2609
+ }
2610
+ response_data = self.api_client.call_api(
2611
+ *_param,
2612
+ _request_timeout=_request_timeout
2613
+ )
2614
+ response_data.read()
2615
+ return self.api_client.response_deserialize(
2616
+ response_data=response_data,
2617
+ response_types_map=_response_types_map,
2618
+ ).data
2619
+
2620
+
2621
+ @validate_call
2622
+ def get_mobile_app_source_map_files_with_http_info(
2623
+ self,
2624
+ mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
2625
+ _request_timeout: Union[
2626
+ None,
2627
+ Annotated[StrictFloat, Field(gt=0)],
2628
+ Tuple[
2629
+ Annotated[StrictFloat, Field(gt=0)],
2630
+ Annotated[StrictFloat, Field(gt=0)]
2631
+ ]
2632
+ ] = None,
2633
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2634
+ _content_type: Optional[StrictStr] = None,
2635
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2636
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2637
+ ) -> ApiResponse[SourceMapUploadConfigs]:
2638
+ """Get all sourcemap configurations for mobile app
2639
+
2640
+ API request to get all sourcemap configurations for mobile app.
2641
+
2642
+ :param mobile_app_id: Mobile App ID (required)
2643
+ :type mobile_app_id: str
2644
+ :param _request_timeout: timeout setting for this request. If one
2645
+ number provided, it will be total request
2646
+ timeout. It can also be a pair (tuple) of
2647
+ (connection, read) timeouts.
2648
+ :type _request_timeout: int, tuple(int, int), optional
2649
+ :param _request_auth: set to override the auth_settings for an a single
2650
+ request; this effectively ignores the
2651
+ authentication in the spec for a single request.
2652
+ :type _request_auth: dict, optional
2653
+ :param _content_type: force content-type for the request.
2654
+ :type _content_type: str, Optional
2655
+ :param _headers: set to override the headers for a single
2656
+ request; this effectively ignores the headers
2657
+ in the spec for a single request.
2658
+ :type _headers: dict, optional
2659
+ :param _host_index: set to override the host_index for a single
2660
+ request; this effectively ignores the host_index
2661
+ in the spec for a single request.
2662
+ :type _host_index: int, optional
2663
+ :return: Returns the result object.
2664
+ """ # noqa: E501
2665
+
2666
+ _param = self._get_mobile_app_source_map_files_serialize(
2667
+ mobile_app_id=mobile_app_id,
2668
+ _request_auth=_request_auth,
2669
+ _content_type=_content_type,
2670
+ _headers=_headers,
2671
+ _host_index=_host_index
2672
+ )
2673
+
2674
+ _response_types_map: Dict[str, Optional[str]] = {
2675
+ '200': "SourceMapUploadConfigs",
2676
+ '401': None,
2677
+ '500': None,
2678
+ }
2679
+ response_data = self.api_client.call_api(
2680
+ *_param,
2681
+ _request_timeout=_request_timeout
2682
+ )
2683
+ response_data.read()
2684
+ return self.api_client.response_deserialize(
2685
+ response_data=response_data,
2686
+ response_types_map=_response_types_map,
2687
+ )
2688
+
2689
+
2690
+ @validate_call
2691
+ def get_mobile_app_source_map_files_without_preload_content(
2692
+ self,
2693
+ mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
2694
+ _request_timeout: Union[
2695
+ None,
2696
+ Annotated[StrictFloat, Field(gt=0)],
2697
+ Tuple[
2698
+ Annotated[StrictFloat, Field(gt=0)],
2699
+ Annotated[StrictFloat, Field(gt=0)]
2700
+ ]
2701
+ ] = None,
2702
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2703
+ _content_type: Optional[StrictStr] = None,
2704
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2705
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2706
+ ) -> RESTResponseType:
2707
+ """Get all sourcemap configurations for mobile app
2708
+
2709
+ API request to get all sourcemap configurations for mobile app.
2710
+
2711
+ :param mobile_app_id: Mobile App ID (required)
2712
+ :type mobile_app_id: str
2713
+ :param _request_timeout: timeout setting for this request. If one
2714
+ number provided, it will be total request
2715
+ timeout. It can also be a pair (tuple) of
2716
+ (connection, read) timeouts.
2717
+ :type _request_timeout: int, tuple(int, int), optional
2718
+ :param _request_auth: set to override the auth_settings for an a single
2719
+ request; this effectively ignores the
2720
+ authentication in the spec for a single request.
2721
+ :type _request_auth: dict, optional
2722
+ :param _content_type: force content-type for the request.
2723
+ :type _content_type: str, Optional
2724
+ :param _headers: set to override the headers for a single
2725
+ request; this effectively ignores the headers
2726
+ in the spec for a single request.
2727
+ :type _headers: dict, optional
2728
+ :param _host_index: set to override the host_index for a single
2729
+ request; this effectively ignores the host_index
2730
+ in the spec for a single request.
2731
+ :type _host_index: int, optional
2732
+ :return: Returns the result object.
2733
+ """ # noqa: E501
2734
+
2735
+ _param = self._get_mobile_app_source_map_files_serialize(
2736
+ mobile_app_id=mobile_app_id,
2737
+ _request_auth=_request_auth,
2738
+ _content_type=_content_type,
2739
+ _headers=_headers,
2740
+ _host_index=_host_index
2741
+ )
2742
+
2743
+ _response_types_map: Dict[str, Optional[str]] = {
2744
+ '200': "SourceMapUploadConfigs",
2745
+ '401': None,
2746
+ '500': None,
2747
+ }
2748
+ response_data = self.api_client.call_api(
2749
+ *_param,
2750
+ _request_timeout=_request_timeout
2751
+ )
2752
+ return response_data.response
2753
+
2754
+
2755
+ def _get_mobile_app_source_map_files_serialize(
2756
+ self,
2757
+ mobile_app_id,
2758
+ _request_auth,
2759
+ _content_type,
2760
+ _headers,
2761
+ _host_index,
2762
+ ) -> RequestSerialized:
2763
+
2764
+ _host = None
2765
+
2766
+ _collection_formats: Dict[str, str] = {
2767
+ }
2768
+
2769
+ _path_params: Dict[str, str] = {}
2770
+ _query_params: List[Tuple[str, str]] = []
2771
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2772
+ _form_params: List[Tuple[str, str]] = []
2773
+ _files: Dict[
2774
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2775
+ ] = {}
2776
+ _body_params: Optional[bytes] = None
2777
+
2778
+ # process the path parameters
2779
+ if mobile_app_id is not None:
2780
+ _path_params['mobileAppId'] = mobile_app_id
2781
+ # process the query parameters
2782
+ # process the header parameters
2783
+ # process the form parameters
2784
+ # process the body parameter
2785
+
2786
+
2787
+ # set the HTTP header `Accept`
2788
+ if 'Accept' not in _header_params:
2789
+ _header_params['Accept'] = self.api_client.select_header_accept(
2790
+ [
2791
+ 'application/json'
2792
+ ]
2793
+ )
2794
+
2795
+
2796
+ # authentication setting
2797
+ _auth_settings: List[str] = [
2798
+ 'ApiKeyAuth'
2799
+ ]
2800
+
2801
+ return self.api_client.param_serialize(
2802
+ method='GET',
2803
+ resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload',
2804
+ path_params=_path_params,
2805
+ query_params=_query_params,
2806
+ header_params=_header_params,
2807
+ body=_body_params,
2808
+ post_params=_form_params,
2809
+ files=_files,
2810
+ auth_settings=_auth_settings,
2811
+ collection_formats=_collection_formats,
2812
+ _host=_host,
2813
+ _request_auth=_request_auth
2814
+ )
2815
+
2816
+
2817
+
2818
+
2819
+ @validate_call
2820
+ def get_single_mobile_app_config(
2821
+ self,
2822
+ mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
2823
+ _request_timeout: Union[
2824
+ None,
2825
+ Annotated[StrictFloat, Field(gt=0)],
2826
+ Tuple[
2827
+ Annotated[StrictFloat, Field(gt=0)],
2828
+ Annotated[StrictFloat, Field(gt=0)]
2829
+ ]
2830
+ ] = None,
2831
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2832
+ _content_type: Optional[StrictStr] = None,
2833
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2834
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2835
+ ) -> MobileApp:
2836
+ """Get mobile app configuration by ID
2837
+
2838
+ API request to get a specific mobile app configuration by ID.
2839
+
2840
+ :param mobile_app_id: Mobile App ID (required)
2841
+ :type mobile_app_id: str
2842
+ :param _request_timeout: timeout setting for this request. If one
2843
+ number provided, it will be total request
2844
+ timeout. It can also be a pair (tuple) of
2845
+ (connection, read) timeouts.
2846
+ :type _request_timeout: int, tuple(int, int), optional
2847
+ :param _request_auth: set to override the auth_settings for an a single
2848
+ request; this effectively ignores the
2849
+ authentication in the spec for a single request.
2850
+ :type _request_auth: dict, optional
2851
+ :param _content_type: force content-type for the request.
2852
+ :type _content_type: str, Optional
2853
+ :param _headers: set to override the headers for a single
2854
+ request; this effectively ignores the headers
2855
+ in the spec for a single request.
2856
+ :type _headers: dict, optional
2857
+ :param _host_index: set to override the host_index for a single
2858
+ request; this effectively ignores the host_index
2859
+ in the spec for a single request.
2860
+ :type _host_index: int, optional
2861
+ :return: Returns the result object.
2862
+ """ # noqa: E501
2863
+
2864
+ _param = self._get_single_mobile_app_config_serialize(
2865
+ mobile_app_id=mobile_app_id,
2866
+ _request_auth=_request_auth,
2867
+ _content_type=_content_type,
2868
+ _headers=_headers,
2869
+ _host_index=_host_index
2870
+ )
2871
+
2872
+ _response_types_map: Dict[str, Optional[str]] = {
2873
+ '200': "MobileApp",
2874
+ '401': None,
2875
+ '404': None,
2876
+ '500': None,
2877
+ }
2878
+ response_data = self.api_client.call_api(
2879
+ *_param,
2880
+ _request_timeout=_request_timeout
2881
+ )
2882
+ response_data.read()
2883
+ return self.api_client.response_deserialize(
2884
+ response_data=response_data,
2885
+ response_types_map=_response_types_map,
2886
+ ).data
2887
+
2888
+
2889
+ @validate_call
2890
+ def get_single_mobile_app_config_with_http_info(
2891
+ self,
2892
+ mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
2893
+ _request_timeout: Union[
2894
+ None,
2895
+ Annotated[StrictFloat, Field(gt=0)],
2896
+ Tuple[
2897
+ Annotated[StrictFloat, Field(gt=0)],
2898
+ Annotated[StrictFloat, Field(gt=0)]
2899
+ ]
2900
+ ] = None,
2901
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2902
+ _content_type: Optional[StrictStr] = None,
2903
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2904
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2905
+ ) -> ApiResponse[MobileApp]:
2906
+ """Get mobile app configuration by ID
2907
+
2908
+ API request to get a specific mobile app configuration by ID.
2909
+
2910
+ :param mobile_app_id: Mobile App ID (required)
2911
+ :type mobile_app_id: str
2912
+ :param _request_timeout: timeout setting for this request. If one
2913
+ number provided, it will be total request
2914
+ timeout. It can also be a pair (tuple) of
2915
+ (connection, read) timeouts.
2916
+ :type _request_timeout: int, tuple(int, int), optional
2917
+ :param _request_auth: set to override the auth_settings for an a single
2918
+ request; this effectively ignores the
2919
+ authentication in the spec for a single request.
2920
+ :type _request_auth: dict, optional
2921
+ :param _content_type: force content-type for the request.
2922
+ :type _content_type: str, Optional
2923
+ :param _headers: set to override the headers for a single
2924
+ request; this effectively ignores the headers
2925
+ in the spec for a single request.
2926
+ :type _headers: dict, optional
2927
+ :param _host_index: set to override the host_index for a single
2928
+ request; this effectively ignores the host_index
2929
+ in the spec for a single request.
2930
+ :type _host_index: int, optional
2931
+ :return: Returns the result object.
2932
+ """ # noqa: E501
2933
+
2934
+ _param = self._get_single_mobile_app_config_serialize(
2935
+ mobile_app_id=mobile_app_id,
2936
+ _request_auth=_request_auth,
2937
+ _content_type=_content_type,
2938
+ _headers=_headers,
2939
+ _host_index=_host_index
2940
+ )
2941
+
2942
+ _response_types_map: Dict[str, Optional[str]] = {
2943
+ '200': "MobileApp",
2944
+ '401': None,
2945
+ '404': None,
2946
+ '500': None,
2947
+ }
2948
+ response_data = self.api_client.call_api(
2949
+ *_param,
2950
+ _request_timeout=_request_timeout
2951
+ )
2952
+ response_data.read()
2953
+ return self.api_client.response_deserialize(
2954
+ response_data=response_data,
2955
+ response_types_map=_response_types_map,
2956
+ )
2957
+
2958
+
2959
+ @validate_call
2960
+ def get_single_mobile_app_config_without_preload_content(
2961
+ self,
2962
+ mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
2963
+ _request_timeout: Union[
2964
+ None,
2965
+ Annotated[StrictFloat, Field(gt=0)],
2966
+ Tuple[
2967
+ Annotated[StrictFloat, Field(gt=0)],
2968
+ Annotated[StrictFloat, Field(gt=0)]
2969
+ ]
2970
+ ] = None,
2971
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2972
+ _content_type: Optional[StrictStr] = None,
2973
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2974
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2975
+ ) -> RESTResponseType:
2976
+ """Get mobile app configuration by ID
2977
+
2978
+ API request to get a specific mobile app configuration by ID.
2979
+
2980
+ :param mobile_app_id: Mobile App ID (required)
2981
+ :type mobile_app_id: str
2982
+ :param _request_timeout: timeout setting for this request. If one
2983
+ number provided, it will be total request
2984
+ timeout. It can also be a pair (tuple) of
2985
+ (connection, read) timeouts.
2986
+ :type _request_timeout: int, tuple(int, int), optional
2987
+ :param _request_auth: set to override the auth_settings for an a single
2988
+ request; this effectively ignores the
2989
+ authentication in the spec for a single request.
2990
+ :type _request_auth: dict, optional
2991
+ :param _content_type: force content-type for the request.
2992
+ :type _content_type: str, Optional
2993
+ :param _headers: set to override the headers for a single
2994
+ request; this effectively ignores the headers
2995
+ in the spec for a single request.
2996
+ :type _headers: dict, optional
2997
+ :param _host_index: set to override the host_index for a single
2998
+ request; this effectively ignores the host_index
2999
+ in the spec for a single request.
3000
+ :type _host_index: int, optional
3001
+ :return: Returns the result object.
3002
+ """ # noqa: E501
3003
+
3004
+ _param = self._get_single_mobile_app_config_serialize(
3005
+ mobile_app_id=mobile_app_id,
3006
+ _request_auth=_request_auth,
3007
+ _content_type=_content_type,
3008
+ _headers=_headers,
3009
+ _host_index=_host_index
3010
+ )
3011
+
3012
+ _response_types_map: Dict[str, Optional[str]] = {
3013
+ '200': "MobileApp",
3014
+ '401': None,
3015
+ '404': None,
3016
+ '500': None,
3017
+ }
3018
+ response_data = self.api_client.call_api(
3019
+ *_param,
3020
+ _request_timeout=_request_timeout
3021
+ )
3022
+ return response_data.response
3023
+
3024
+
3025
+ def _get_single_mobile_app_config_serialize(
3026
+ self,
3027
+ mobile_app_id,
3028
+ _request_auth,
3029
+ _content_type,
3030
+ _headers,
3031
+ _host_index,
3032
+ ) -> RequestSerialized:
3033
+
3034
+ _host = None
3035
+
3036
+ _collection_formats: Dict[str, str] = {
3037
+ }
3038
+
3039
+ _path_params: Dict[str, str] = {}
3040
+ _query_params: List[Tuple[str, str]] = []
3041
+ _header_params: Dict[str, Optional[str]] = _headers or {}
3042
+ _form_params: List[Tuple[str, str]] = []
3043
+ _files: Dict[
3044
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3045
+ ] = {}
3046
+ _body_params: Optional[bytes] = None
3047
+
3048
+ # process the path parameters
3049
+ if mobile_app_id is not None:
3050
+ _path_params['mobileAppId'] = mobile_app_id
3051
+ # process the query parameters
3052
+ # process the header parameters
3053
+ # process the form parameters
3054
+ # process the body parameter
3055
+
3056
+
3057
+ # set the HTTP header `Accept`
3058
+ if 'Accept' not in _header_params:
3059
+ _header_params['Accept'] = self.api_client.select_header_accept(
3060
+ [
3061
+ 'application/json'
3062
+ ]
3063
+ )
3064
+
3065
+
3066
+ # authentication setting
3067
+ _auth_settings: List[str] = [
3068
+ 'ApiKeyAuth'
3069
+ ]
3070
+
3071
+ return self.api_client.param_serialize(
3072
+ method='GET',
3073
+ resource_path='/api/mobile-app-monitoring/config/{mobileAppId}',
3074
+ path_params=_path_params,
3075
+ query_params=_query_params,
3076
+ header_params=_header_params,
3077
+ body=_body_params,
3078
+ post_params=_form_params,
3079
+ files=_files,
3080
+ auth_settings=_auth_settings,
3081
+ collection_formats=_collection_formats,
3082
+ _host=_host,
3083
+ _request_auth=_request_auth
3084
+ )
3085
+
3086
+
3087
+
3088
+
3089
+ @validate_call
3090
+ def post_mobile_app_config(
3091
+ self,
3092
+ name: Annotated[Optional[StrictStr], Field(description="Name of the mobile app")] = None,
3093
+ api_tag: Optional[List[ApiTag]] = None,
3094
+ _request_timeout: Union[
3095
+ None,
3096
+ Annotated[StrictFloat, Field(gt=0)],
3097
+ Tuple[
3098
+ Annotated[StrictFloat, Field(gt=0)],
3099
+ Annotated[StrictFloat, Field(gt=0)]
3100
+ ]
3101
+ ] = None,
3102
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3103
+ _content_type: Optional[StrictStr] = None,
3104
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3105
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3106
+ ) -> MobileApp:
3107
+ """Configure new mobile app
3108
+
3109
+ API request to add new mobile app.
3110
+
3111
+ :param name: Name of the mobile app
3112
+ :type name: str
3113
+ :param api_tag:
3114
+ :type api_tag: List[ApiTag]
3115
+ :param _request_timeout: timeout setting for this request. If one
3116
+ number provided, it will be total request
3117
+ timeout. It can also be a pair (tuple) of
3118
+ (connection, read) timeouts.
3119
+ :type _request_timeout: int, tuple(int, int), optional
3120
+ :param _request_auth: set to override the auth_settings for an a single
3121
+ request; this effectively ignores the
3122
+ authentication in the spec for a single request.
3123
+ :type _request_auth: dict, optional
3124
+ :param _content_type: force content-type for the request.
3125
+ :type _content_type: str, Optional
3126
+ :param _headers: set to override the headers for a single
3127
+ request; this effectively ignores the headers
3128
+ in the spec for a single request.
3129
+ :type _headers: dict, optional
3130
+ :param _host_index: set to override the host_index for a single
3131
+ request; this effectively ignores the host_index
3132
+ in the spec for a single request.
3133
+ :type _host_index: int, optional
3134
+ :return: Returns the result object.
3135
+ """ # noqa: E501
3136
+
3137
+ _param = self._post_mobile_app_config_serialize(
3138
+ name=name,
3139
+ api_tag=api_tag,
3140
+ _request_auth=_request_auth,
3141
+ _content_type=_content_type,
3142
+ _headers=_headers,
3143
+ _host_index=_host_index
3144
+ )
3145
+
3146
+ _response_types_map: Dict[str, Optional[str]] = {
3147
+ '200': "MobileApp",
3148
+ '400': None,
3149
+ '401': None,
3150
+ '403': None,
3151
+ '500': None,
3152
+ }
3153
+ response_data = self.api_client.call_api(
3154
+ *_param,
3155
+ _request_timeout=_request_timeout
3156
+ )
3157
+ response_data.read()
3158
+ return self.api_client.response_deserialize(
3159
+ response_data=response_data,
3160
+ response_types_map=_response_types_map,
3161
+ ).data
3162
+
3163
+
3164
+ @validate_call
3165
+ def post_mobile_app_config_with_http_info(
3166
+ self,
3167
+ name: Annotated[Optional[StrictStr], Field(description="Name of the mobile app")] = None,
3168
+ api_tag: Optional[List[ApiTag]] = None,
3169
+ _request_timeout: Union[
3170
+ None,
3171
+ Annotated[StrictFloat, Field(gt=0)],
3172
+ Tuple[
3173
+ Annotated[StrictFloat, Field(gt=0)],
3174
+ Annotated[StrictFloat, Field(gt=0)]
3175
+ ]
3176
+ ] = None,
3177
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3178
+ _content_type: Optional[StrictStr] = None,
3179
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3180
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3181
+ ) -> ApiResponse[MobileApp]:
3182
+ """Configure new mobile app
3183
+
3184
+ API request to add new mobile app.
3185
+
3186
+ :param name: Name of the mobile app
3187
+ :type name: str
3188
+ :param api_tag:
3189
+ :type api_tag: List[ApiTag]
3190
+ :param _request_timeout: timeout setting for this request. If one
3191
+ number provided, it will be total request
3192
+ timeout. It can also be a pair (tuple) of
3193
+ (connection, read) timeouts.
3194
+ :type _request_timeout: int, tuple(int, int), optional
3195
+ :param _request_auth: set to override the auth_settings for an a single
3196
+ request; this effectively ignores the
3197
+ authentication in the spec for a single request.
3198
+ :type _request_auth: dict, optional
3199
+ :param _content_type: force content-type for the request.
3200
+ :type _content_type: str, Optional
3201
+ :param _headers: set to override the headers for a single
3202
+ request; this effectively ignores the headers
3203
+ in the spec for a single request.
3204
+ :type _headers: dict, optional
3205
+ :param _host_index: set to override the host_index for a single
3206
+ request; this effectively ignores the host_index
3207
+ in the spec for a single request.
3208
+ :type _host_index: int, optional
3209
+ :return: Returns the result object.
3210
+ """ # noqa: E501
3211
+
3212
+ _param = self._post_mobile_app_config_serialize(
3213
+ name=name,
3214
+ api_tag=api_tag,
3215
+ _request_auth=_request_auth,
3216
+ _content_type=_content_type,
3217
+ _headers=_headers,
3218
+ _host_index=_host_index
3219
+ )
3220
+
3221
+ _response_types_map: Dict[str, Optional[str]] = {
3222
+ '200': "MobileApp",
3223
+ '400': None,
3224
+ '401': None,
3225
+ '403': None,
3226
+ '500': None,
3227
+ }
3228
+ response_data = self.api_client.call_api(
3229
+ *_param,
3230
+ _request_timeout=_request_timeout
3231
+ )
3232
+ response_data.read()
3233
+ return self.api_client.response_deserialize(
3234
+ response_data=response_data,
3235
+ response_types_map=_response_types_map,
3236
+ )
3237
+
3238
+
3239
+ @validate_call
3240
+ def post_mobile_app_config_without_preload_content(
3241
+ self,
3242
+ name: Annotated[Optional[StrictStr], Field(description="Name of the mobile app")] = None,
3243
+ api_tag: Optional[List[ApiTag]] = None,
3244
+ _request_timeout: Union[
3245
+ None,
3246
+ Annotated[StrictFloat, Field(gt=0)],
3247
+ Tuple[
3248
+ Annotated[StrictFloat, Field(gt=0)],
3249
+ Annotated[StrictFloat, Field(gt=0)]
3250
+ ]
3251
+ ] = None,
3252
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3253
+ _content_type: Optional[StrictStr] = None,
3254
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3255
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3256
+ ) -> RESTResponseType:
3257
+ """Configure new mobile app
3258
+
3259
+ API request to add new mobile app.
3260
+
3261
+ :param name: Name of the mobile app
3262
+ :type name: str
3263
+ :param api_tag:
3264
+ :type api_tag: List[ApiTag]
3265
+ :param _request_timeout: timeout setting for this request. If one
3266
+ number provided, it will be total request
3267
+ timeout. It can also be a pair (tuple) of
3268
+ (connection, read) timeouts.
3269
+ :type _request_timeout: int, tuple(int, int), optional
3270
+ :param _request_auth: set to override the auth_settings for an a single
3271
+ request; this effectively ignores the
3272
+ authentication in the spec for a single request.
3273
+ :type _request_auth: dict, optional
3274
+ :param _content_type: force content-type for the request.
3275
+ :type _content_type: str, Optional
3276
+ :param _headers: set to override the headers for a single
3277
+ request; this effectively ignores the headers
3278
+ in the spec for a single request.
3279
+ :type _headers: dict, optional
3280
+ :param _host_index: set to override the host_index for a single
3281
+ request; this effectively ignores the host_index
3282
+ in the spec for a single request.
3283
+ :type _host_index: int, optional
3284
+ :return: Returns the result object.
3285
+ """ # noqa: E501
3286
+
3287
+ _param = self._post_mobile_app_config_serialize(
3288
+ name=name,
3289
+ api_tag=api_tag,
3290
+ _request_auth=_request_auth,
3291
+ _content_type=_content_type,
3292
+ _headers=_headers,
3293
+ _host_index=_host_index
3294
+ )
3295
+
3296
+ _response_types_map: Dict[str, Optional[str]] = {
3297
+ '200': "MobileApp",
3298
+ '400': None,
3299
+ '401': None,
3300
+ '403': None,
3301
+ '500': None,
3302
+ }
3303
+ response_data = self.api_client.call_api(
3304
+ *_param,
3305
+ _request_timeout=_request_timeout
3306
+ )
3307
+ return response_data.response
3308
+
3309
+
3310
+ def _post_mobile_app_config_serialize(
3311
+ self,
3312
+ name,
3313
+ api_tag,
3314
+ _request_auth,
3315
+ _content_type,
3316
+ _headers,
3317
+ _host_index,
3318
+ ) -> RequestSerialized:
3319
+
3320
+ _host = None
3321
+
3322
+ _collection_formats: Dict[str, str] = {
3323
+ 'ApiTag': '',
3324
+ }
3325
+
3326
+ _path_params: Dict[str, str] = {}
3327
+ _query_params: List[Tuple[str, str]] = []
3328
+ _header_params: Dict[str, Optional[str]] = _headers or {}
3329
+ _form_params: List[Tuple[str, str]] = []
3330
+ _files: Dict[
3331
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3332
+ ] = {}
3333
+ _body_params: Optional[bytes] = None
3334
+
3335
+ # process the path parameters
3336
+ # process the query parameters
3337
+ if name is not None:
3338
+
3339
+ _query_params.append(('name', name))
3340
+
3341
+ # process the header parameters
3342
+ # process the form parameters
3343
+ # process the body parameter
3344
+ if api_tag is not None:
3345
+ _body_params = api_tag
3346
+
3347
+
3348
+ # set the HTTP header `Accept`
3349
+ if 'Accept' not in _header_params:
3350
+ _header_params['Accept'] = self.api_client.select_header_accept(
3351
+ [
3352
+ 'application/json'
3353
+ ]
3354
+ )
3355
+
3356
+ # set the HTTP header `Content-Type`
3357
+ if _content_type:
3358
+ _header_params['Content-Type'] = _content_type
3359
+ else:
3360
+ _default_content_type = (
3361
+ self.api_client.select_header_content_type(
3362
+ [
3363
+ 'application/json'
3364
+ ]
3365
+ )
3366
+ )
3367
+ if _default_content_type is not None:
3368
+ _header_params['Content-Type'] = _default_content_type
3369
+
3370
+ # authentication setting
3371
+ _auth_settings: List[str] = [
3372
+ 'ApiKeyAuth'
3373
+ ]
3374
+
3375
+ return self.api_client.param_serialize(
3376
+ method='POST',
3377
+ resource_path='/api/mobile-app-monitoring/config',
3378
+ path_params=_path_params,
3379
+ query_params=_query_params,
3380
+ header_params=_header_params,
3381
+ body=_body_params,
3382
+ post_params=_form_params,
3383
+ files=_files,
3384
+ auth_settings=_auth_settings,
3385
+ collection_formats=_collection_formats,
3386
+ _host=_host,
3387
+ _request_auth=_request_auth
3388
+ )
3389
+
3390
+
3391
+
3392
+
3393
+ @validate_call
3394
+ def post_mobile_app_source_map_config(
3395
+ self,
3396
+ mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
3397
+ post_mobile_app_source_map_config_request: Optional[PostMobileAppSourceMapConfigRequest] = None,
3398
+ _request_timeout: Union[
3399
+ None,
3400
+ Annotated[StrictFloat, Field(gt=0)],
3401
+ Tuple[
3402
+ Annotated[StrictFloat, Field(gt=0)],
3403
+ Annotated[StrictFloat, Field(gt=0)]
3404
+ ]
3405
+ ] = None,
3406
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3407
+ _content_type: Optional[StrictStr] = None,
3408
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3409
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3410
+ ) -> SourceMapUploadConfig:
3411
+ """Add new sourcemap configuration for mobile app
3412
+
3413
+ API request to add sourcemap configuration for mobile app.
3414
+
3415
+ :param mobile_app_id: Mobile App ID (required)
3416
+ :type mobile_app_id: str
3417
+ :param post_mobile_app_source_map_config_request:
3418
+ :type post_mobile_app_source_map_config_request: PostMobileAppSourceMapConfigRequest
3419
+ :param _request_timeout: timeout setting for this request. If one
3420
+ number provided, it will be total request
3421
+ timeout. It can also be a pair (tuple) of
3422
+ (connection, read) timeouts.
3423
+ :type _request_timeout: int, tuple(int, int), optional
3424
+ :param _request_auth: set to override the auth_settings for an a single
3425
+ request; this effectively ignores the
3426
+ authentication in the spec for a single request.
3427
+ :type _request_auth: dict, optional
3428
+ :param _content_type: force content-type for the request.
3429
+ :type _content_type: str, Optional
3430
+ :param _headers: set to override the headers for a single
3431
+ request; this effectively ignores the headers
3432
+ in the spec for a single request.
3433
+ :type _headers: dict, optional
3434
+ :param _host_index: set to override the host_index for a single
3435
+ request; this effectively ignores the host_index
3436
+ in the spec for a single request.
3437
+ :type _host_index: int, optional
3438
+ :return: Returns the result object.
3439
+ """ # noqa: E501
3440
+
3441
+ _param = self._post_mobile_app_source_map_config_serialize(
3442
+ mobile_app_id=mobile_app_id,
3443
+ post_mobile_app_source_map_config_request=post_mobile_app_source_map_config_request,
3444
+ _request_auth=_request_auth,
3445
+ _content_type=_content_type,
3446
+ _headers=_headers,
3447
+ _host_index=_host_index
3448
+ )
3449
+
3450
+ _response_types_map: Dict[str, Optional[str]] = {
3451
+ '200': "SourceMapUploadConfig",
3452
+ '400': None,
3453
+ '401': None,
3454
+ '403': None,
3455
+ '422': None,
3456
+ '500': None,
3457
+ }
3458
+ response_data = self.api_client.call_api(
3459
+ *_param,
3460
+ _request_timeout=_request_timeout
3461
+ )
3462
+ response_data.read()
3463
+ return self.api_client.response_deserialize(
3464
+ response_data=response_data,
3465
+ response_types_map=_response_types_map,
3466
+ ).data
3467
+
3468
+
3469
+ @validate_call
3470
+ def post_mobile_app_source_map_config_with_http_info(
3471
+ self,
3472
+ mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
3473
+ post_mobile_app_source_map_config_request: Optional[PostMobileAppSourceMapConfigRequest] = None,
3474
+ _request_timeout: Union[
3475
+ None,
3476
+ Annotated[StrictFloat, Field(gt=0)],
3477
+ Tuple[
3478
+ Annotated[StrictFloat, Field(gt=0)],
3479
+ Annotated[StrictFloat, Field(gt=0)]
3480
+ ]
3481
+ ] = None,
3482
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3483
+ _content_type: Optional[StrictStr] = None,
3484
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3485
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3486
+ ) -> ApiResponse[SourceMapUploadConfig]:
3487
+ """Add new sourcemap configuration for mobile app
3488
+
3489
+ API request to add sourcemap configuration for mobile app.
3490
+
3491
+ :param mobile_app_id: Mobile App ID (required)
3492
+ :type mobile_app_id: str
3493
+ :param post_mobile_app_source_map_config_request:
3494
+ :type post_mobile_app_source_map_config_request: PostMobileAppSourceMapConfigRequest
3495
+ :param _request_timeout: timeout setting for this request. If one
3496
+ number provided, it will be total request
3497
+ timeout. It can also be a pair (tuple) of
3498
+ (connection, read) timeouts.
3499
+ :type _request_timeout: int, tuple(int, int), optional
3500
+ :param _request_auth: set to override the auth_settings for an a single
3501
+ request; this effectively ignores the
3502
+ authentication in the spec for a single request.
3503
+ :type _request_auth: dict, optional
3504
+ :param _content_type: force content-type for the request.
3505
+ :type _content_type: str, Optional
3506
+ :param _headers: set to override the headers for a single
3507
+ request; this effectively ignores the headers
3508
+ in the spec for a single request.
3509
+ :type _headers: dict, optional
3510
+ :param _host_index: set to override the host_index for a single
3511
+ request; this effectively ignores the host_index
3512
+ in the spec for a single request.
3513
+ :type _host_index: int, optional
3514
+ :return: Returns the result object.
3515
+ """ # noqa: E501
3516
+
3517
+ _param = self._post_mobile_app_source_map_config_serialize(
3518
+ mobile_app_id=mobile_app_id,
3519
+ post_mobile_app_source_map_config_request=post_mobile_app_source_map_config_request,
3520
+ _request_auth=_request_auth,
3521
+ _content_type=_content_type,
3522
+ _headers=_headers,
3523
+ _host_index=_host_index
3524
+ )
3525
+
3526
+ _response_types_map: Dict[str, Optional[str]] = {
3527
+ '200': "SourceMapUploadConfig",
3528
+ '400': None,
3529
+ '401': None,
3530
+ '403': None,
3531
+ '422': None,
3532
+ '500': None,
3533
+ }
3534
+ response_data = self.api_client.call_api(
3535
+ *_param,
3536
+ _request_timeout=_request_timeout
3537
+ )
3538
+ response_data.read()
3539
+ return self.api_client.response_deserialize(
3540
+ response_data=response_data,
3541
+ response_types_map=_response_types_map,
3542
+ )
3543
+
3544
+
3545
+ @validate_call
3546
+ def post_mobile_app_source_map_config_without_preload_content(
3547
+ self,
3548
+ mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
3549
+ post_mobile_app_source_map_config_request: Optional[PostMobileAppSourceMapConfigRequest] = None,
3550
+ _request_timeout: Union[
3551
+ None,
3552
+ Annotated[StrictFloat, Field(gt=0)],
3553
+ Tuple[
3554
+ Annotated[StrictFloat, Field(gt=0)],
3555
+ Annotated[StrictFloat, Field(gt=0)]
3556
+ ]
3557
+ ] = None,
3558
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3559
+ _content_type: Optional[StrictStr] = None,
3560
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3561
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3562
+ ) -> RESTResponseType:
3563
+ """Add new sourcemap configuration for mobile app
3564
+
3565
+ API request to add sourcemap configuration for mobile app.
3566
+
3567
+ :param mobile_app_id: Mobile App ID (required)
3568
+ :type mobile_app_id: str
3569
+ :param post_mobile_app_source_map_config_request:
3570
+ :type post_mobile_app_source_map_config_request: PostMobileAppSourceMapConfigRequest
3571
+ :param _request_timeout: timeout setting for this request. If one
3572
+ number provided, it will be total request
3573
+ timeout. It can also be a pair (tuple) of
3574
+ (connection, read) timeouts.
3575
+ :type _request_timeout: int, tuple(int, int), optional
3576
+ :param _request_auth: set to override the auth_settings for an a single
3577
+ request; this effectively ignores the
3578
+ authentication in the spec for a single request.
3579
+ :type _request_auth: dict, optional
3580
+ :param _content_type: force content-type for the request.
3581
+ :type _content_type: str, Optional
3582
+ :param _headers: set to override the headers for a single
3583
+ request; this effectively ignores the headers
3584
+ in the spec for a single request.
3585
+ :type _headers: dict, optional
3586
+ :param _host_index: set to override the host_index for a single
3587
+ request; this effectively ignores the host_index
3588
+ in the spec for a single request.
3589
+ :type _host_index: int, optional
3590
+ :return: Returns the result object.
3591
+ """ # noqa: E501
3592
+
3593
+ _param = self._post_mobile_app_source_map_config_serialize(
3594
+ mobile_app_id=mobile_app_id,
3595
+ post_mobile_app_source_map_config_request=post_mobile_app_source_map_config_request,
3596
+ _request_auth=_request_auth,
3597
+ _content_type=_content_type,
3598
+ _headers=_headers,
3599
+ _host_index=_host_index
3600
+ )
3601
+
3602
+ _response_types_map: Dict[str, Optional[str]] = {
3603
+ '200': "SourceMapUploadConfig",
3604
+ '400': None,
3605
+ '401': None,
3606
+ '403': None,
3607
+ '422': None,
3608
+ '500': None,
3609
+ }
3610
+ response_data = self.api_client.call_api(
3611
+ *_param,
3612
+ _request_timeout=_request_timeout
3613
+ )
3614
+ return response_data.response
3615
+
3616
+
3617
+ def _post_mobile_app_source_map_config_serialize(
3618
+ self,
3619
+ mobile_app_id,
3620
+ post_mobile_app_source_map_config_request,
3621
+ _request_auth,
3622
+ _content_type,
3623
+ _headers,
3624
+ _host_index,
3625
+ ) -> RequestSerialized:
3626
+
3627
+ _host = None
3628
+
3629
+ _collection_formats: Dict[str, str] = {
3630
+ }
3631
+
3632
+ _path_params: Dict[str, str] = {}
3633
+ _query_params: List[Tuple[str, str]] = []
3634
+ _header_params: Dict[str, Optional[str]] = _headers or {}
3635
+ _form_params: List[Tuple[str, str]] = []
3636
+ _files: Dict[
3637
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3638
+ ] = {}
3639
+ _body_params: Optional[bytes] = None
3640
+
3641
+ # process the path parameters
3642
+ if mobile_app_id is not None:
3643
+ _path_params['mobileAppId'] = mobile_app_id
3644
+ # process the query parameters
3645
+ # process the header parameters
3646
+ # process the form parameters
3647
+ # process the body parameter
3648
+ if post_mobile_app_source_map_config_request is not None:
3649
+ _body_params = post_mobile_app_source_map_config_request
3650
+
3651
+
3652
+ # set the HTTP header `Accept`
3653
+ if 'Accept' not in _header_params:
3654
+ _header_params['Accept'] = self.api_client.select_header_accept(
3655
+ [
3656
+ 'application/json'
3657
+ ]
3658
+ )
3659
+
3660
+ # set the HTTP header `Content-Type`
3661
+ if _content_type:
3662
+ _header_params['Content-Type'] = _content_type
3663
+ else:
3664
+ _default_content_type = (
3665
+ self.api_client.select_header_content_type(
3666
+ [
3667
+ 'application/json'
3668
+ ]
3669
+ )
3670
+ )
3671
+ if _default_content_type is not None:
3672
+ _header_params['Content-Type'] = _default_content_type
3673
+
3674
+ # authentication setting
3675
+ _auth_settings: List[str] = [
3676
+ 'ApiKeyAuth'
3677
+ ]
3678
+
3679
+ return self.api_client.param_serialize(
3680
+ method='POST',
3681
+ resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload',
3682
+ path_params=_path_params,
3683
+ query_params=_query_params,
3684
+ header_params=_header_params,
3685
+ body=_body_params,
3686
+ post_params=_form_params,
3687
+ files=_files,
3688
+ auth_settings=_auth_settings,
3689
+ collection_formats=_collection_formats,
3690
+ _host=_host,
3691
+ _request_auth=_request_auth
3692
+ )
3693
+
3694
+
3695
+
3696
+
3697
+ @validate_call
3698
+ def rename_mobile_app_config(
3699
+ self,
3700
+ mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
3701
+ name: Annotated[Optional[StrictStr], Field(description="New name of the mobile app")] = None,
3702
+ _request_timeout: Union[
3703
+ None,
3704
+ Annotated[StrictFloat, Field(gt=0)],
3705
+ Tuple[
3706
+ Annotated[StrictFloat, Field(gt=0)],
3707
+ Annotated[StrictFloat, Field(gt=0)]
3708
+ ]
3709
+ ] = None,
3710
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3711
+ _content_type: Optional[StrictStr] = None,
3712
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3713
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3714
+ ) -> MobileApp:
3715
+ """Rename mobile app
3716
+
3717
+ API request to rename mobile app.
3718
+
3719
+ :param mobile_app_id: Mobile App ID (required)
3720
+ :type mobile_app_id: str
3721
+ :param name: New name of the mobile app
3722
+ :type name: str
3723
+ :param _request_timeout: timeout setting for this request. If one
3724
+ number provided, it will be total request
3725
+ timeout. It can also be a pair (tuple) of
3726
+ (connection, read) timeouts.
3727
+ :type _request_timeout: int, tuple(int, int), optional
3728
+ :param _request_auth: set to override the auth_settings for an a single
3729
+ request; this effectively ignores the
3730
+ authentication in the spec for a single request.
3731
+ :type _request_auth: dict, optional
3732
+ :param _content_type: force content-type for the request.
3733
+ :type _content_type: str, Optional
3734
+ :param _headers: set to override the headers for a single
3735
+ request; this effectively ignores the headers
3736
+ in the spec for a single request.
3737
+ :type _headers: dict, optional
3738
+ :param _host_index: set to override the host_index for a single
3739
+ request; this effectively ignores the host_index
3740
+ in the spec for a single request.
3741
+ :type _host_index: int, optional
3742
+ :return: Returns the result object.
3743
+ """ # noqa: E501
3744
+
3745
+ _param = self._rename_mobile_app_config_serialize(
3746
+ mobile_app_id=mobile_app_id,
3747
+ name=name,
3748
+ _request_auth=_request_auth,
3749
+ _content_type=_content_type,
3750
+ _headers=_headers,
3751
+ _host_index=_host_index
3752
+ )
3753
+
3754
+ _response_types_map: Dict[str, Optional[str]] = {
3755
+ '200': "MobileApp",
3756
+ '400': None,
3757
+ '401': None,
3758
+ '403': None,
3759
+ '500': None,
3760
+ }
3761
+ response_data = self.api_client.call_api(
3762
+ *_param,
3763
+ _request_timeout=_request_timeout
3764
+ )
3765
+ response_data.read()
3766
+ return self.api_client.response_deserialize(
3767
+ response_data=response_data,
3768
+ response_types_map=_response_types_map,
3769
+ ).data
3770
+
3771
+
3772
+ @validate_call
3773
+ def rename_mobile_app_config_with_http_info(
3774
+ self,
3775
+ mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
3776
+ name: Annotated[Optional[StrictStr], Field(description="New name of the mobile app")] = None,
3777
+ _request_timeout: Union[
3778
+ None,
3779
+ Annotated[StrictFloat, Field(gt=0)],
3780
+ Tuple[
3781
+ Annotated[StrictFloat, Field(gt=0)],
3782
+ Annotated[StrictFloat, Field(gt=0)]
3783
+ ]
3784
+ ] = None,
3785
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3786
+ _content_type: Optional[StrictStr] = None,
3787
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3788
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3789
+ ) -> ApiResponse[MobileApp]:
3790
+ """Rename mobile app
3791
+
3792
+ API request to rename mobile app.
3793
+
3794
+ :param mobile_app_id: Mobile App ID (required)
3795
+ :type mobile_app_id: str
3796
+ :param name: New name of the mobile app
3797
+ :type name: str
3798
+ :param _request_timeout: timeout setting for this request. If one
3799
+ number provided, it will be total request
3800
+ timeout. It can also be a pair (tuple) of
3801
+ (connection, read) timeouts.
3802
+ :type _request_timeout: int, tuple(int, int), optional
3803
+ :param _request_auth: set to override the auth_settings for an a single
3804
+ request; this effectively ignores the
3805
+ authentication in the spec for a single request.
3806
+ :type _request_auth: dict, optional
3807
+ :param _content_type: force content-type for the request.
3808
+ :type _content_type: str, Optional
3809
+ :param _headers: set to override the headers for a single
3810
+ request; this effectively ignores the headers
3811
+ in the spec for a single request.
3812
+ :type _headers: dict, optional
3813
+ :param _host_index: set to override the host_index for a single
3814
+ request; this effectively ignores the host_index
3815
+ in the spec for a single request.
3816
+ :type _host_index: int, optional
3817
+ :return: Returns the result object.
3818
+ """ # noqa: E501
3819
+
3820
+ _param = self._rename_mobile_app_config_serialize(
3821
+ mobile_app_id=mobile_app_id,
3822
+ name=name,
3823
+ _request_auth=_request_auth,
3824
+ _content_type=_content_type,
3825
+ _headers=_headers,
3826
+ _host_index=_host_index
3827
+ )
3828
+
3829
+ _response_types_map: Dict[str, Optional[str]] = {
3830
+ '200': "MobileApp",
3831
+ '400': None,
3832
+ '401': None,
3833
+ '403': None,
3834
+ '500': None,
3835
+ }
3836
+ response_data = self.api_client.call_api(
3837
+ *_param,
3838
+ _request_timeout=_request_timeout
3839
+ )
3840
+ response_data.read()
3841
+ return self.api_client.response_deserialize(
3842
+ response_data=response_data,
3843
+ response_types_map=_response_types_map,
3844
+ )
3845
+
3846
+
3847
+ @validate_call
3848
+ def rename_mobile_app_config_without_preload_content(
3849
+ self,
3850
+ mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
3851
+ name: Annotated[Optional[StrictStr], Field(description="New name of the mobile app")] = None,
3852
+ _request_timeout: Union[
3853
+ None,
3854
+ Annotated[StrictFloat, Field(gt=0)],
3855
+ Tuple[
3856
+ Annotated[StrictFloat, Field(gt=0)],
3857
+ Annotated[StrictFloat, Field(gt=0)]
3858
+ ]
3859
+ ] = None,
3860
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3861
+ _content_type: Optional[StrictStr] = None,
3862
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3863
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3864
+ ) -> RESTResponseType:
3865
+ """Rename mobile app
3866
+
3867
+ API request to rename mobile app.
3868
+
3869
+ :param mobile_app_id: Mobile App ID (required)
3870
+ :type mobile_app_id: str
3871
+ :param name: New name of the mobile app
3872
+ :type name: str
3873
+ :param _request_timeout: timeout setting for this request. If one
3874
+ number provided, it will be total request
3875
+ timeout. It can also be a pair (tuple) of
3876
+ (connection, read) timeouts.
3877
+ :type _request_timeout: int, tuple(int, int), optional
3878
+ :param _request_auth: set to override the auth_settings for an a single
3879
+ request; this effectively ignores the
3880
+ authentication in the spec for a single request.
3881
+ :type _request_auth: dict, optional
3882
+ :param _content_type: force content-type for the request.
3883
+ :type _content_type: str, Optional
3884
+ :param _headers: set to override the headers for a single
3885
+ request; this effectively ignores the headers
3886
+ in the spec for a single request.
3887
+ :type _headers: dict, optional
3888
+ :param _host_index: set to override the host_index for a single
3889
+ request; this effectively ignores the host_index
3890
+ in the spec for a single request.
3891
+ :type _host_index: int, optional
3892
+ :return: Returns the result object.
3893
+ """ # noqa: E501
3894
+
3895
+ _param = self._rename_mobile_app_config_serialize(
3896
+ mobile_app_id=mobile_app_id,
3897
+ name=name,
3898
+ _request_auth=_request_auth,
3899
+ _content_type=_content_type,
3900
+ _headers=_headers,
3901
+ _host_index=_host_index
3902
+ )
3903
+
3904
+ _response_types_map: Dict[str, Optional[str]] = {
3905
+ '200': "MobileApp",
3906
+ '400': None,
3907
+ '401': None,
3908
+ '403': None,
3909
+ '500': None,
3910
+ }
3911
+ response_data = self.api_client.call_api(
3912
+ *_param,
3913
+ _request_timeout=_request_timeout
3914
+ )
3915
+ return response_data.response
3916
+
3917
+
3918
+ def _rename_mobile_app_config_serialize(
3919
+ self,
3920
+ mobile_app_id,
3921
+ name,
3922
+ _request_auth,
3923
+ _content_type,
3924
+ _headers,
3925
+ _host_index,
3926
+ ) -> RequestSerialized:
3927
+
3928
+ _host = None
3929
+
3930
+ _collection_formats: Dict[str, str] = {
3931
+ }
3932
+
3933
+ _path_params: Dict[str, str] = {}
3934
+ _query_params: List[Tuple[str, str]] = []
3935
+ _header_params: Dict[str, Optional[str]] = _headers or {}
3936
+ _form_params: List[Tuple[str, str]] = []
3937
+ _files: Dict[
3938
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
3939
+ ] = {}
3940
+ _body_params: Optional[bytes] = None
3941
+
3942
+ # process the path parameters
3943
+ if mobile_app_id is not None:
3944
+ _path_params['mobileAppId'] = mobile_app_id
3945
+ # process the query parameters
3946
+ if name is not None:
3947
+
3948
+ _query_params.append(('name', name))
3949
+
3950
+ # process the header parameters
3951
+ # process the form parameters
3952
+ # process the body parameter
3953
+
3954
+
3955
+ # set the HTTP header `Accept`
3956
+ if 'Accept' not in _header_params:
3957
+ _header_params['Accept'] = self.api_client.select_header_accept(
3958
+ [
3959
+ 'application/json'
3960
+ ]
3961
+ )
3962
+
3963
+
3964
+ # authentication setting
3965
+ _auth_settings: List[str] = [
3966
+ 'ApiKeyAuth'
3967
+ ]
3968
+
3969
+ return self.api_client.param_serialize(
3970
+ method='PUT',
3971
+ resource_path='/api/mobile-app-monitoring/config/{mobileAppId}',
3972
+ path_params=_path_params,
3973
+ query_params=_query_params,
3974
+ header_params=_header_params,
3975
+ body=_body_params,
3976
+ post_params=_form_params,
3977
+ files=_files,
3978
+ auth_settings=_auth_settings,
3979
+ collection_formats=_collection_formats,
3980
+ _host=_host,
3981
+ _request_auth=_request_auth
3982
+ )
3983
+
3984
+
3985
+
3986
+
3987
+ @validate_call
3988
+ def set_mobile_app_geo_mapping_rules(
3989
+ self,
3990
+ mobile_app_id: StrictStr,
3991
+ body: Optional[StrictStr] = None,
3992
+ _request_timeout: Union[
3993
+ None,
3994
+ Annotated[StrictFloat, Field(gt=0)],
3995
+ Tuple[
3996
+ Annotated[StrictFloat, Field(gt=0)],
3997
+ Annotated[StrictFloat, Field(gt=0)]
3998
+ ]
3999
+ ] = None,
4000
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
4001
+ _content_type: Optional[StrictStr] = None,
4002
+ _headers: Optional[Dict[StrictStr, Any]] = None,
4003
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4004
+ ) -> None:
4005
+ """Set custom geo mapping rules for mobile app
4006
+
4007
+ API request to set custom geo mapping rules for mobile app.
4008
+
4009
+ :param mobile_app_id: (required)
4010
+ :type mobile_app_id: str
4011
+ :param body:
4012
+ :type body: str
4013
+ :param _request_timeout: timeout setting for this request. If one
4014
+ number provided, it will be total request
4015
+ timeout. It can also be a pair (tuple) of
4016
+ (connection, read) timeouts.
4017
+ :type _request_timeout: int, tuple(int, int), optional
4018
+ :param _request_auth: set to override the auth_settings for an a single
4019
+ request; this effectively ignores the
4020
+ authentication in the spec for a single request.
4021
+ :type _request_auth: dict, optional
4022
+ :param _content_type: force content-type for the request.
4023
+ :type _content_type: str, Optional
4024
+ :param _headers: set to override the headers for a single
4025
+ request; this effectively ignores the headers
4026
+ in the spec for a single request.
4027
+ :type _headers: dict, optional
4028
+ :param _host_index: set to override the host_index for a single
4029
+ request; this effectively ignores the host_index
4030
+ in the spec for a single request.
4031
+ :type _host_index: int, optional
4032
+ :return: Returns the result object.
4033
+ """ # noqa: E501
4034
+
4035
+ _param = self._set_mobile_app_geo_mapping_rules_serialize(
4036
+ mobile_app_id=mobile_app_id,
4037
+ body=body,
4038
+ _request_auth=_request_auth,
4039
+ _content_type=_content_type,
4040
+ _headers=_headers,
4041
+ _host_index=_host_index
4042
+ )
4043
+
4044
+ _response_types_map: Dict[str, Optional[str]] = {
4045
+ '200': None,
4046
+ '401': None,
4047
+ '403': None,
4048
+ '404': None,
4049
+ '415': None,
4050
+ '500': None,
4051
+ }
4052
+ response_data = self.api_client.call_api(
4053
+ *_param,
4054
+ _request_timeout=_request_timeout
4055
+ )
4056
+ response_data.read()
4057
+ return self.api_client.response_deserialize(
4058
+ response_data=response_data,
4059
+ response_types_map=_response_types_map,
4060
+ ).data
4061
+
4062
+
4063
+ @validate_call
4064
+ def set_mobile_app_geo_mapping_rules_with_http_info(
4065
+ self,
4066
+ mobile_app_id: StrictStr,
4067
+ body: Optional[StrictStr] = None,
4068
+ _request_timeout: Union[
4069
+ None,
4070
+ Annotated[StrictFloat, Field(gt=0)],
4071
+ Tuple[
4072
+ Annotated[StrictFloat, Field(gt=0)],
4073
+ Annotated[StrictFloat, Field(gt=0)]
4074
+ ]
4075
+ ] = None,
4076
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
4077
+ _content_type: Optional[StrictStr] = None,
4078
+ _headers: Optional[Dict[StrictStr, Any]] = None,
4079
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4080
+ ) -> ApiResponse[None]:
4081
+ """Set custom geo mapping rules for mobile app
4082
+
4083
+ API request to set custom geo mapping rules for mobile app.
4084
+
4085
+ :param mobile_app_id: (required)
4086
+ :type mobile_app_id: str
4087
+ :param body:
4088
+ :type body: str
4089
+ :param _request_timeout: timeout setting for this request. If one
4090
+ number provided, it will be total request
4091
+ timeout. It can also be a pair (tuple) of
4092
+ (connection, read) timeouts.
4093
+ :type _request_timeout: int, tuple(int, int), optional
4094
+ :param _request_auth: set to override the auth_settings for an a single
4095
+ request; this effectively ignores the
4096
+ authentication in the spec for a single request.
4097
+ :type _request_auth: dict, optional
4098
+ :param _content_type: force content-type for the request.
4099
+ :type _content_type: str, Optional
4100
+ :param _headers: set to override the headers for a single
4101
+ request; this effectively ignores the headers
4102
+ in the spec for a single request.
4103
+ :type _headers: dict, optional
4104
+ :param _host_index: set to override the host_index for a single
4105
+ request; this effectively ignores the host_index
4106
+ in the spec for a single request.
4107
+ :type _host_index: int, optional
4108
+ :return: Returns the result object.
4109
+ """ # noqa: E501
4110
+
4111
+ _param = self._set_mobile_app_geo_mapping_rules_serialize(
4112
+ mobile_app_id=mobile_app_id,
4113
+ body=body,
4114
+ _request_auth=_request_auth,
4115
+ _content_type=_content_type,
4116
+ _headers=_headers,
4117
+ _host_index=_host_index
4118
+ )
4119
+
4120
+ _response_types_map: Dict[str, Optional[str]] = {
4121
+ '200': None,
4122
+ '401': None,
4123
+ '403': None,
4124
+ '404': None,
4125
+ '415': None,
4126
+ '500': None,
4127
+ }
4128
+ response_data = self.api_client.call_api(
4129
+ *_param,
4130
+ _request_timeout=_request_timeout
4131
+ )
4132
+ response_data.read()
4133
+ return self.api_client.response_deserialize(
4134
+ response_data=response_data,
4135
+ response_types_map=_response_types_map,
4136
+ )
4137
+
4138
+
4139
+ @validate_call
4140
+ def set_mobile_app_geo_mapping_rules_without_preload_content(
4141
+ self,
4142
+ mobile_app_id: StrictStr,
4143
+ body: Optional[StrictStr] = None,
4144
+ _request_timeout: Union[
4145
+ None,
4146
+ Annotated[StrictFloat, Field(gt=0)],
4147
+ Tuple[
4148
+ Annotated[StrictFloat, Field(gt=0)],
4149
+ Annotated[StrictFloat, Field(gt=0)]
4150
+ ]
4151
+ ] = None,
4152
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
4153
+ _content_type: Optional[StrictStr] = None,
4154
+ _headers: Optional[Dict[StrictStr, Any]] = None,
4155
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4156
+ ) -> RESTResponseType:
4157
+ """Set custom geo mapping rules for mobile app
4158
+
4159
+ API request to set custom geo mapping rules for mobile app.
4160
+
4161
+ :param mobile_app_id: (required)
4162
+ :type mobile_app_id: str
4163
+ :param body:
4164
+ :type body: str
4165
+ :param _request_timeout: timeout setting for this request. If one
4166
+ number provided, it will be total request
4167
+ timeout. It can also be a pair (tuple) of
4168
+ (connection, read) timeouts.
4169
+ :type _request_timeout: int, tuple(int, int), optional
4170
+ :param _request_auth: set to override the auth_settings for an a single
4171
+ request; this effectively ignores the
4172
+ authentication in the spec for a single request.
4173
+ :type _request_auth: dict, optional
4174
+ :param _content_type: force content-type for the request.
4175
+ :type _content_type: str, Optional
4176
+ :param _headers: set to override the headers for a single
4177
+ request; this effectively ignores the headers
4178
+ in the spec for a single request.
4179
+ :type _headers: dict, optional
4180
+ :param _host_index: set to override the host_index for a single
4181
+ request; this effectively ignores the host_index
4182
+ in the spec for a single request.
4183
+ :type _host_index: int, optional
4184
+ :return: Returns the result object.
4185
+ """ # noqa: E501
4186
+
4187
+ _param = self._set_mobile_app_geo_mapping_rules_serialize(
4188
+ mobile_app_id=mobile_app_id,
4189
+ body=body,
4190
+ _request_auth=_request_auth,
4191
+ _content_type=_content_type,
4192
+ _headers=_headers,
4193
+ _host_index=_host_index
4194
+ )
4195
+
4196
+ _response_types_map: Dict[str, Optional[str]] = {
4197
+ '200': None,
4198
+ '401': None,
4199
+ '403': None,
4200
+ '404': None,
4201
+ '415': None,
4202
+ '500': None,
4203
+ }
4204
+ response_data = self.api_client.call_api(
4205
+ *_param,
4206
+ _request_timeout=_request_timeout
4207
+ )
4208
+ return response_data.response
4209
+
4210
+
4211
+ def _set_mobile_app_geo_mapping_rules_serialize(
4212
+ self,
4213
+ mobile_app_id,
4214
+ body,
4215
+ _request_auth,
4216
+ _content_type,
4217
+ _headers,
4218
+ _host_index,
4219
+ ) -> RequestSerialized:
4220
+
4221
+ _host = None
4222
+
4223
+ _collection_formats: Dict[str, str] = {
4224
+ }
4225
+
4226
+ _path_params: Dict[str, str] = {}
4227
+ _query_params: List[Tuple[str, str]] = []
4228
+ _header_params: Dict[str, Optional[str]] = _headers or {}
4229
+ _form_params: List[Tuple[str, str]] = []
4230
+ _files: Dict[
4231
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
4232
+ ] = {}
4233
+ _body_params: Optional[bytes] = None
4234
+
4235
+ # process the path parameters
4236
+ if mobile_app_id is not None:
4237
+ _path_params['mobileAppId'] = mobile_app_id
4238
+ # process the query parameters
4239
+ # process the header parameters
4240
+ # process the form parameters
4241
+ # process the body parameter
4242
+ if body is not None:
4243
+ _body_params = body
4244
+
4245
+
4246
+ # set the HTTP header `Accept`
4247
+ if 'Accept' not in _header_params:
4248
+ _header_params['Accept'] = self.api_client.select_header_accept(
4249
+ [
4250
+ 'text/csv'
4251
+ ]
4252
+ )
4253
+
4254
+ # set the HTTP header `Content-Type`
4255
+ if _content_type:
4256
+ _header_params['Content-Type'] = _content_type
4257
+ else:
4258
+ _default_content_type = (
4259
+ self.api_client.select_header_content_type(
4260
+ [
4261
+ 'text/csv'
4262
+ ]
4263
+ )
4264
+ )
4265
+ if _default_content_type is not None:
4266
+ _header_params['Content-Type'] = _default_content_type
1630
4267
 
1631
4268
  # authentication setting
1632
4269
  _auth_settings: List[str] = [
@@ -1634,8 +4271,8 @@ class MobileAppConfigurationApi:
1634
4271
  ]
1635
4272
 
1636
4273
  return self.api_client.param_serialize(
1637
- method='POST',
1638
- resource_path='/api/mobile-app-monitoring/config',
4274
+ method='PUT',
4275
+ resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/geo-mapping-rules',
1639
4276
  path_params=_path_params,
1640
4277
  query_params=_query_params,
1641
4278
  header_params=_header_params,
@@ -1652,10 +4289,10 @@ class MobileAppConfigurationApi:
1652
4289
 
1653
4290
 
1654
4291
  @validate_call
1655
- def rename_mobile_app_config(
4292
+ def update_mobile_app_geo_location_configuration(
1656
4293
  self,
1657
4294
  mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
1658
- name: Annotated[Optional[StrictStr], Field(description="New name of the mobile app")] = None,
4295
+ geo_location_configuration: Optional[GeoLocationConfiguration] = None,
1659
4296
  _request_timeout: Union[
1660
4297
  None,
1661
4298
  Annotated[StrictFloat, Field(gt=0)],
@@ -1668,15 +4305,15 @@ class MobileAppConfigurationApi:
1668
4305
  _content_type: Optional[StrictStr] = None,
1669
4306
  _headers: Optional[Dict[StrictStr, Any]] = None,
1670
4307
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1671
- ) -> MobileApp:
1672
- """Rename mobile app
4308
+ ) -> GeoLocationConfiguration:
4309
+ """Update geo location configuration for mobile app
1673
4310
 
1674
- API request to rename mobile app.
4311
+ API request to update geo location configuration for mobile app.
1675
4312
 
1676
4313
  :param mobile_app_id: Mobile App ID (required)
1677
4314
  :type mobile_app_id: str
1678
- :param name: New name of the mobile app
1679
- :type name: str
4315
+ :param geo_location_configuration:
4316
+ :type geo_location_configuration: GeoLocationConfiguration
1680
4317
  :param _request_timeout: timeout setting for this request. If one
1681
4318
  number provided, it will be total request
1682
4319
  timeout. It can also be a pair (tuple) of
@@ -1699,9 +4336,9 @@ class MobileAppConfigurationApi:
1699
4336
  :return: Returns the result object.
1700
4337
  """ # noqa: E501
1701
4338
 
1702
- _param = self._rename_mobile_app_config_serialize(
4339
+ _param = self._update_mobile_app_geo_location_configuration_serialize(
1703
4340
  mobile_app_id=mobile_app_id,
1704
- name=name,
4341
+ geo_location_configuration=geo_location_configuration,
1705
4342
  _request_auth=_request_auth,
1706
4343
  _content_type=_content_type,
1707
4344
  _headers=_headers,
@@ -1709,10 +4346,10 @@ class MobileAppConfigurationApi:
1709
4346
  )
1710
4347
 
1711
4348
  _response_types_map: Dict[str, Optional[str]] = {
1712
- '200': "MobileApp",
1713
- '400': None,
4349
+ '200': "GeoLocationConfiguration",
1714
4350
  '401': None,
1715
4351
  '403': None,
4352
+ '404': None,
1716
4353
  '500': None,
1717
4354
  }
1718
4355
  response_data = self.api_client.call_api(
@@ -1727,10 +4364,10 @@ class MobileAppConfigurationApi:
1727
4364
 
1728
4365
 
1729
4366
  @validate_call
1730
- def rename_mobile_app_config_with_http_info(
4367
+ def update_mobile_app_geo_location_configuration_with_http_info(
1731
4368
  self,
1732
4369
  mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
1733
- name: Annotated[Optional[StrictStr], Field(description="New name of the mobile app")] = None,
4370
+ geo_location_configuration: Optional[GeoLocationConfiguration] = None,
1734
4371
  _request_timeout: Union[
1735
4372
  None,
1736
4373
  Annotated[StrictFloat, Field(gt=0)],
@@ -1743,15 +4380,15 @@ class MobileAppConfigurationApi:
1743
4380
  _content_type: Optional[StrictStr] = None,
1744
4381
  _headers: Optional[Dict[StrictStr, Any]] = None,
1745
4382
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1746
- ) -> ApiResponse[MobileApp]:
1747
- """Rename mobile app
4383
+ ) -> ApiResponse[GeoLocationConfiguration]:
4384
+ """Update geo location configuration for mobile app
1748
4385
 
1749
- API request to rename mobile app.
4386
+ API request to update geo location configuration for mobile app.
1750
4387
 
1751
4388
  :param mobile_app_id: Mobile App ID (required)
1752
4389
  :type mobile_app_id: str
1753
- :param name: New name of the mobile app
1754
- :type name: str
4390
+ :param geo_location_configuration:
4391
+ :type geo_location_configuration: GeoLocationConfiguration
1755
4392
  :param _request_timeout: timeout setting for this request. If one
1756
4393
  number provided, it will be total request
1757
4394
  timeout. It can also be a pair (tuple) of
@@ -1774,9 +4411,9 @@ class MobileAppConfigurationApi:
1774
4411
  :return: Returns the result object.
1775
4412
  """ # noqa: E501
1776
4413
 
1777
- _param = self._rename_mobile_app_config_serialize(
4414
+ _param = self._update_mobile_app_geo_location_configuration_serialize(
1778
4415
  mobile_app_id=mobile_app_id,
1779
- name=name,
4416
+ geo_location_configuration=geo_location_configuration,
1780
4417
  _request_auth=_request_auth,
1781
4418
  _content_type=_content_type,
1782
4419
  _headers=_headers,
@@ -1784,10 +4421,10 @@ class MobileAppConfigurationApi:
1784
4421
  )
1785
4422
 
1786
4423
  _response_types_map: Dict[str, Optional[str]] = {
1787
- '200': "MobileApp",
1788
- '400': None,
4424
+ '200': "GeoLocationConfiguration",
1789
4425
  '401': None,
1790
4426
  '403': None,
4427
+ '404': None,
1791
4428
  '500': None,
1792
4429
  }
1793
4430
  response_data = self.api_client.call_api(
@@ -1802,10 +4439,10 @@ class MobileAppConfigurationApi:
1802
4439
 
1803
4440
 
1804
4441
  @validate_call
1805
- def rename_mobile_app_config_without_preload_content(
4442
+ def update_mobile_app_geo_location_configuration_without_preload_content(
1806
4443
  self,
1807
4444
  mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
1808
- name: Annotated[Optional[StrictStr], Field(description="New name of the mobile app")] = None,
4445
+ geo_location_configuration: Optional[GeoLocationConfiguration] = None,
1809
4446
  _request_timeout: Union[
1810
4447
  None,
1811
4448
  Annotated[StrictFloat, Field(gt=0)],
@@ -1819,14 +4456,14 @@ class MobileAppConfigurationApi:
1819
4456
  _headers: Optional[Dict[StrictStr, Any]] = None,
1820
4457
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1821
4458
  ) -> RESTResponseType:
1822
- """Rename mobile app
4459
+ """Update geo location configuration for mobile app
1823
4460
 
1824
- API request to rename mobile app.
4461
+ API request to update geo location configuration for mobile app.
1825
4462
 
1826
4463
  :param mobile_app_id: Mobile App ID (required)
1827
4464
  :type mobile_app_id: str
1828
- :param name: New name of the mobile app
1829
- :type name: str
4465
+ :param geo_location_configuration:
4466
+ :type geo_location_configuration: GeoLocationConfiguration
1830
4467
  :param _request_timeout: timeout setting for this request. If one
1831
4468
  number provided, it will be total request
1832
4469
  timeout. It can also be a pair (tuple) of
@@ -1849,9 +4486,9 @@ class MobileAppConfigurationApi:
1849
4486
  :return: Returns the result object.
1850
4487
  """ # noqa: E501
1851
4488
 
1852
- _param = self._rename_mobile_app_config_serialize(
4489
+ _param = self._update_mobile_app_geo_location_configuration_serialize(
1853
4490
  mobile_app_id=mobile_app_id,
1854
- name=name,
4491
+ geo_location_configuration=geo_location_configuration,
1855
4492
  _request_auth=_request_auth,
1856
4493
  _content_type=_content_type,
1857
4494
  _headers=_headers,
@@ -1859,10 +4496,10 @@ class MobileAppConfigurationApi:
1859
4496
  )
1860
4497
 
1861
4498
  _response_types_map: Dict[str, Optional[str]] = {
1862
- '200': "MobileApp",
1863
- '400': None,
4499
+ '200': "GeoLocationConfiguration",
1864
4500
  '401': None,
1865
4501
  '403': None,
4502
+ '404': None,
1866
4503
  '500': None,
1867
4504
  }
1868
4505
  response_data = self.api_client.call_api(
@@ -1872,10 +4509,10 @@ class MobileAppConfigurationApi:
1872
4509
  return response_data.response
1873
4510
 
1874
4511
 
1875
- def _rename_mobile_app_config_serialize(
4512
+ def _update_mobile_app_geo_location_configuration_serialize(
1876
4513
  self,
1877
4514
  mobile_app_id,
1878
- name,
4515
+ geo_location_configuration,
1879
4516
  _request_auth,
1880
4517
  _content_type,
1881
4518
  _headers,
@@ -1900,13 +4537,11 @@ class MobileAppConfigurationApi:
1900
4537
  if mobile_app_id is not None:
1901
4538
  _path_params['mobileAppId'] = mobile_app_id
1902
4539
  # process the query parameters
1903
- if name is not None:
1904
-
1905
- _query_params.append(('name', name))
1906
-
1907
4540
  # process the header parameters
1908
4541
  # process the form parameters
1909
4542
  # process the body parameter
4543
+ if geo_location_configuration is not None:
4544
+ _body_params = geo_location_configuration
1910
4545
 
1911
4546
 
1912
4547
  # set the HTTP header `Accept`
@@ -1917,6 +4552,19 @@ class MobileAppConfigurationApi:
1917
4552
  ]
1918
4553
  )
1919
4554
 
4555
+ # set the HTTP header `Content-Type`
4556
+ if _content_type:
4557
+ _header_params['Content-Type'] = _content_type
4558
+ else:
4559
+ _default_content_type = (
4560
+ self.api_client.select_header_content_type(
4561
+ [
4562
+ 'application/json'
4563
+ ]
4564
+ )
4565
+ )
4566
+ if _default_content_type is not None:
4567
+ _header_params['Content-Type'] = _default_content_type
1920
4568
 
1921
4569
  # authentication setting
1922
4570
  _auth_settings: List[str] = [
@@ -1925,7 +4573,7 @@ class MobileAppConfigurationApi:
1925
4573
 
1926
4574
  return self.api_client.param_serialize(
1927
4575
  method='PUT',
1928
- resource_path='/api/mobile-app-monitoring/config/{mobileAppId}',
4576
+ resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/geo-location',
1929
4577
  path_params=_path_params,
1930
4578
  query_params=_query_params,
1931
4579
  header_params=_header_params,
@@ -1942,10 +4590,10 @@ class MobileAppConfigurationApi:
1942
4590
 
1943
4591
 
1944
4592
  @validate_call
1945
- def set_mobile_app_geo_mapping_rules(
4593
+ def update_mobile_app_ip_masking_configuration(
1946
4594
  self,
1947
4595
  mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
1948
- body: Optional[StrictStr] = None,
4596
+ ip_masking_configuration: Optional[IpMaskingConfiguration] = None,
1949
4597
  _request_timeout: Union[
1950
4598
  None,
1951
4599
  Annotated[StrictFloat, Field(gt=0)],
@@ -1958,15 +4606,15 @@ class MobileAppConfigurationApi:
1958
4606
  _content_type: Optional[StrictStr] = None,
1959
4607
  _headers: Optional[Dict[StrictStr, Any]] = None,
1960
4608
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1961
- ) -> None:
1962
- """Set custom geo mapping rules for mobile app
4609
+ ) -> IpMaskingConfiguration:
4610
+ """Update IP masking configuration for mobile app
1963
4611
 
1964
- API request to set custom geo mapping rules for mobile app.
4612
+ API request to update IP masking configuration for mobile app.
1965
4613
 
1966
4614
  :param mobile_app_id: Mobile App ID (required)
1967
4615
  :type mobile_app_id: str
1968
- :param body:
1969
- :type body: str
4616
+ :param ip_masking_configuration:
4617
+ :type ip_masking_configuration: IpMaskingConfiguration
1970
4618
  :param _request_timeout: timeout setting for this request. If one
1971
4619
  number provided, it will be total request
1972
4620
  timeout. It can also be a pair (tuple) of
@@ -1989,9 +4637,9 @@ class MobileAppConfigurationApi:
1989
4637
  :return: Returns the result object.
1990
4638
  """ # noqa: E501
1991
4639
 
1992
- _param = self._set_mobile_app_geo_mapping_rules_serialize(
4640
+ _param = self._update_mobile_app_ip_masking_configuration_serialize(
1993
4641
  mobile_app_id=mobile_app_id,
1994
- body=body,
4642
+ ip_masking_configuration=ip_masking_configuration,
1995
4643
  _request_auth=_request_auth,
1996
4644
  _content_type=_content_type,
1997
4645
  _headers=_headers,
@@ -1999,11 +4647,10 @@ class MobileAppConfigurationApi:
1999
4647
  )
2000
4648
 
2001
4649
  _response_types_map: Dict[str, Optional[str]] = {
2002
- '200': None,
4650
+ '200': "IpMaskingConfiguration",
2003
4651
  '401': None,
2004
4652
  '403': None,
2005
4653
  '404': None,
2006
- '415': None,
2007
4654
  '500': None,
2008
4655
  }
2009
4656
  response_data = self.api_client.call_api(
@@ -2018,10 +4665,10 @@ class MobileAppConfigurationApi:
2018
4665
 
2019
4666
 
2020
4667
  @validate_call
2021
- def set_mobile_app_geo_mapping_rules_with_http_info(
4668
+ def update_mobile_app_ip_masking_configuration_with_http_info(
2022
4669
  self,
2023
4670
  mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
2024
- body: Optional[StrictStr] = None,
4671
+ ip_masking_configuration: Optional[IpMaskingConfiguration] = None,
2025
4672
  _request_timeout: Union[
2026
4673
  None,
2027
4674
  Annotated[StrictFloat, Field(gt=0)],
@@ -2034,15 +4681,15 @@ class MobileAppConfigurationApi:
2034
4681
  _content_type: Optional[StrictStr] = None,
2035
4682
  _headers: Optional[Dict[StrictStr, Any]] = None,
2036
4683
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2037
- ) -> ApiResponse[None]:
2038
- """Set custom geo mapping rules for mobile app
4684
+ ) -> ApiResponse[IpMaskingConfiguration]:
4685
+ """Update IP masking configuration for mobile app
2039
4686
 
2040
- API request to set custom geo mapping rules for mobile app.
4687
+ API request to update IP masking configuration for mobile app.
2041
4688
 
2042
4689
  :param mobile_app_id: Mobile App ID (required)
2043
4690
  :type mobile_app_id: str
2044
- :param body:
2045
- :type body: str
4691
+ :param ip_masking_configuration:
4692
+ :type ip_masking_configuration: IpMaskingConfiguration
2046
4693
  :param _request_timeout: timeout setting for this request. If one
2047
4694
  number provided, it will be total request
2048
4695
  timeout. It can also be a pair (tuple) of
@@ -2065,9 +4712,9 @@ class MobileAppConfigurationApi:
2065
4712
  :return: Returns the result object.
2066
4713
  """ # noqa: E501
2067
4714
 
2068
- _param = self._set_mobile_app_geo_mapping_rules_serialize(
4715
+ _param = self._update_mobile_app_ip_masking_configuration_serialize(
2069
4716
  mobile_app_id=mobile_app_id,
2070
- body=body,
4717
+ ip_masking_configuration=ip_masking_configuration,
2071
4718
  _request_auth=_request_auth,
2072
4719
  _content_type=_content_type,
2073
4720
  _headers=_headers,
@@ -2075,11 +4722,10 @@ class MobileAppConfigurationApi:
2075
4722
  )
2076
4723
 
2077
4724
  _response_types_map: Dict[str, Optional[str]] = {
2078
- '200': None,
4725
+ '200': "IpMaskingConfiguration",
2079
4726
  '401': None,
2080
4727
  '403': None,
2081
4728
  '404': None,
2082
- '415': None,
2083
4729
  '500': None,
2084
4730
  }
2085
4731
  response_data = self.api_client.call_api(
@@ -2094,10 +4740,10 @@ class MobileAppConfigurationApi:
2094
4740
 
2095
4741
 
2096
4742
  @validate_call
2097
- def set_mobile_app_geo_mapping_rules_without_preload_content(
4743
+ def update_mobile_app_ip_masking_configuration_without_preload_content(
2098
4744
  self,
2099
4745
  mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
2100
- body: Optional[StrictStr] = None,
4746
+ ip_masking_configuration: Optional[IpMaskingConfiguration] = None,
2101
4747
  _request_timeout: Union[
2102
4748
  None,
2103
4749
  Annotated[StrictFloat, Field(gt=0)],
@@ -2111,14 +4757,14 @@ class MobileAppConfigurationApi:
2111
4757
  _headers: Optional[Dict[StrictStr, Any]] = None,
2112
4758
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2113
4759
  ) -> RESTResponseType:
2114
- """Set custom geo mapping rules for mobile app
4760
+ """Update IP masking configuration for mobile app
2115
4761
 
2116
- API request to set custom geo mapping rules for mobile app.
4762
+ API request to update IP masking configuration for mobile app.
2117
4763
 
2118
4764
  :param mobile_app_id: Mobile App ID (required)
2119
4765
  :type mobile_app_id: str
2120
- :param body:
2121
- :type body: str
4766
+ :param ip_masking_configuration:
4767
+ :type ip_masking_configuration: IpMaskingConfiguration
2122
4768
  :param _request_timeout: timeout setting for this request. If one
2123
4769
  number provided, it will be total request
2124
4770
  timeout. It can also be a pair (tuple) of
@@ -2141,9 +4787,9 @@ class MobileAppConfigurationApi:
2141
4787
  :return: Returns the result object.
2142
4788
  """ # noqa: E501
2143
4789
 
2144
- _param = self._set_mobile_app_geo_mapping_rules_serialize(
4790
+ _param = self._update_mobile_app_ip_masking_configuration_serialize(
2145
4791
  mobile_app_id=mobile_app_id,
2146
- body=body,
4792
+ ip_masking_configuration=ip_masking_configuration,
2147
4793
  _request_auth=_request_auth,
2148
4794
  _content_type=_content_type,
2149
4795
  _headers=_headers,
@@ -2151,11 +4797,10 @@ class MobileAppConfigurationApi:
2151
4797
  )
2152
4798
 
2153
4799
  _response_types_map: Dict[str, Optional[str]] = {
2154
- '200': None,
4800
+ '200': "IpMaskingConfiguration",
2155
4801
  '401': None,
2156
4802
  '403': None,
2157
4803
  '404': None,
2158
- '415': None,
2159
4804
  '500': None,
2160
4805
  }
2161
4806
  response_data = self.api_client.call_api(
@@ -2165,10 +4810,10 @@ class MobileAppConfigurationApi:
2165
4810
  return response_data.response
2166
4811
 
2167
4812
 
2168
- def _set_mobile_app_geo_mapping_rules_serialize(
4813
+ def _update_mobile_app_ip_masking_configuration_serialize(
2169
4814
  self,
2170
4815
  mobile_app_id,
2171
- body,
4816
+ ip_masking_configuration,
2172
4817
  _request_auth,
2173
4818
  _content_type,
2174
4819
  _headers,
@@ -2196,15 +4841,15 @@ class MobileAppConfigurationApi:
2196
4841
  # process the header parameters
2197
4842
  # process the form parameters
2198
4843
  # process the body parameter
2199
- if body is not None:
2200
- _body_params = body
4844
+ if ip_masking_configuration is not None:
4845
+ _body_params = ip_masking_configuration
2201
4846
 
2202
4847
 
2203
4848
  # set the HTTP header `Accept`
2204
4849
  if 'Accept' not in _header_params:
2205
4850
  _header_params['Accept'] = self.api_client.select_header_accept(
2206
4851
  [
2207
- 'text/csv'
4852
+ 'application/json'
2208
4853
  ]
2209
4854
  )
2210
4855
 
@@ -2215,7 +4860,7 @@ class MobileAppConfigurationApi:
2215
4860
  _default_content_type = (
2216
4861
  self.api_client.select_header_content_type(
2217
4862
  [
2218
- 'text/csv'
4863
+ 'application/json'
2219
4864
  ]
2220
4865
  )
2221
4866
  )
@@ -2229,7 +4874,7 @@ class MobileAppConfigurationApi:
2229
4874
 
2230
4875
  return self.api_client.param_serialize(
2231
4876
  method='PUT',
2232
- resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/geo-mapping-rules',
4877
+ resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/ip-masking',
2233
4878
  path_params=_path_params,
2234
4879
  query_params=_query_params,
2235
4880
  header_params=_header_params,
@@ -2246,10 +4891,10 @@ class MobileAppConfigurationApi:
2246
4891
 
2247
4892
 
2248
4893
  @validate_call
2249
- def update_mobile_app_geo_location_configuration(
4894
+ def update_mobile_app_teams(
2250
4895
  self,
2251
- mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
2252
- geo_location_configuration: Optional[GeoLocationConfiguration] = None,
4896
+ mobile_app_id: StrictStr,
4897
+ api_tag: Optional[List[ApiTag]] = None,
2253
4898
  _request_timeout: Union[
2254
4899
  None,
2255
4900
  Annotated[StrictFloat, Field(gt=0)],
@@ -2262,15 +4907,15 @@ class MobileAppConfigurationApi:
2262
4907
  _content_type: Optional[StrictStr] = None,
2263
4908
  _headers: Optional[Dict[StrictStr, Any]] = None,
2264
4909
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2265
- ) -> GeoLocationConfiguration:
2266
- """Update geo location configuration for mobile app
4910
+ ) -> List[ApiTag]:
4911
+ """Update teams assigned to the mobile app
2267
4912
 
2268
- API request to update geo location configuration for mobile app.
4913
+ API request to update teams of a mobile app.
2269
4914
 
2270
- :param mobile_app_id: Mobile App ID (required)
4915
+ :param mobile_app_id: (required)
2271
4916
  :type mobile_app_id: str
2272
- :param geo_location_configuration:
2273
- :type geo_location_configuration: GeoLocationConfiguration
4917
+ :param api_tag:
4918
+ :type api_tag: List[ApiTag]
2274
4919
  :param _request_timeout: timeout setting for this request. If one
2275
4920
  number provided, it will be total request
2276
4921
  timeout. It can also be a pair (tuple) of
@@ -2293,9 +4938,9 @@ class MobileAppConfigurationApi:
2293
4938
  :return: Returns the result object.
2294
4939
  """ # noqa: E501
2295
4940
 
2296
- _param = self._update_mobile_app_geo_location_configuration_serialize(
4941
+ _param = self._update_mobile_app_teams_serialize(
2297
4942
  mobile_app_id=mobile_app_id,
2298
- geo_location_configuration=geo_location_configuration,
4943
+ api_tag=api_tag,
2299
4944
  _request_auth=_request_auth,
2300
4945
  _content_type=_content_type,
2301
4946
  _headers=_headers,
@@ -2303,10 +4948,10 @@ class MobileAppConfigurationApi:
2303
4948
  )
2304
4949
 
2305
4950
  _response_types_map: Dict[str, Optional[str]] = {
2306
- '200': "GeoLocationConfiguration",
4951
+ '200': "List[ApiTag]",
4952
+ '400': None,
2307
4953
  '401': None,
2308
4954
  '403': None,
2309
- '404': None,
2310
4955
  '500': None,
2311
4956
  }
2312
4957
  response_data = self.api_client.call_api(
@@ -2321,10 +4966,10 @@ class MobileAppConfigurationApi:
2321
4966
 
2322
4967
 
2323
4968
  @validate_call
2324
- def update_mobile_app_geo_location_configuration_with_http_info(
4969
+ def update_mobile_app_teams_with_http_info(
2325
4970
  self,
2326
- mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
2327
- geo_location_configuration: Optional[GeoLocationConfiguration] = None,
4971
+ mobile_app_id: StrictStr,
4972
+ api_tag: Optional[List[ApiTag]] = None,
2328
4973
  _request_timeout: Union[
2329
4974
  None,
2330
4975
  Annotated[StrictFloat, Field(gt=0)],
@@ -2337,15 +4982,15 @@ class MobileAppConfigurationApi:
2337
4982
  _content_type: Optional[StrictStr] = None,
2338
4983
  _headers: Optional[Dict[StrictStr, Any]] = None,
2339
4984
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2340
- ) -> ApiResponse[GeoLocationConfiguration]:
2341
- """Update geo location configuration for mobile app
4985
+ ) -> ApiResponse[List[ApiTag]]:
4986
+ """Update teams assigned to the mobile app
2342
4987
 
2343
- API request to update geo location configuration for mobile app.
4988
+ API request to update teams of a mobile app.
2344
4989
 
2345
- :param mobile_app_id: Mobile App ID (required)
4990
+ :param mobile_app_id: (required)
2346
4991
  :type mobile_app_id: str
2347
- :param geo_location_configuration:
2348
- :type geo_location_configuration: GeoLocationConfiguration
4992
+ :param api_tag:
4993
+ :type api_tag: List[ApiTag]
2349
4994
  :param _request_timeout: timeout setting for this request. If one
2350
4995
  number provided, it will be total request
2351
4996
  timeout. It can also be a pair (tuple) of
@@ -2368,9 +5013,9 @@ class MobileAppConfigurationApi:
2368
5013
  :return: Returns the result object.
2369
5014
  """ # noqa: E501
2370
5015
 
2371
- _param = self._update_mobile_app_geo_location_configuration_serialize(
5016
+ _param = self._update_mobile_app_teams_serialize(
2372
5017
  mobile_app_id=mobile_app_id,
2373
- geo_location_configuration=geo_location_configuration,
5018
+ api_tag=api_tag,
2374
5019
  _request_auth=_request_auth,
2375
5020
  _content_type=_content_type,
2376
5021
  _headers=_headers,
@@ -2378,10 +5023,10 @@ class MobileAppConfigurationApi:
2378
5023
  )
2379
5024
 
2380
5025
  _response_types_map: Dict[str, Optional[str]] = {
2381
- '200': "GeoLocationConfiguration",
5026
+ '200': "List[ApiTag]",
5027
+ '400': None,
2382
5028
  '401': None,
2383
5029
  '403': None,
2384
- '404': None,
2385
5030
  '500': None,
2386
5031
  }
2387
5032
  response_data = self.api_client.call_api(
@@ -2396,10 +5041,10 @@ class MobileAppConfigurationApi:
2396
5041
 
2397
5042
 
2398
5043
  @validate_call
2399
- def update_mobile_app_geo_location_configuration_without_preload_content(
5044
+ def update_mobile_app_teams_without_preload_content(
2400
5045
  self,
2401
- mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
2402
- geo_location_configuration: Optional[GeoLocationConfiguration] = None,
5046
+ mobile_app_id: StrictStr,
5047
+ api_tag: Optional[List[ApiTag]] = None,
2403
5048
  _request_timeout: Union[
2404
5049
  None,
2405
5050
  Annotated[StrictFloat, Field(gt=0)],
@@ -2413,14 +5058,14 @@ class MobileAppConfigurationApi:
2413
5058
  _headers: Optional[Dict[StrictStr, Any]] = None,
2414
5059
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2415
5060
  ) -> RESTResponseType:
2416
- """Update geo location configuration for mobile app
5061
+ """Update teams assigned to the mobile app
2417
5062
 
2418
- API request to update geo location configuration for mobile app.
5063
+ API request to update teams of a mobile app.
2419
5064
 
2420
- :param mobile_app_id: Mobile App ID (required)
5065
+ :param mobile_app_id: (required)
2421
5066
  :type mobile_app_id: str
2422
- :param geo_location_configuration:
2423
- :type geo_location_configuration: GeoLocationConfiguration
5067
+ :param api_tag:
5068
+ :type api_tag: List[ApiTag]
2424
5069
  :param _request_timeout: timeout setting for this request. If one
2425
5070
  number provided, it will be total request
2426
5071
  timeout. It can also be a pair (tuple) of
@@ -2443,9 +5088,9 @@ class MobileAppConfigurationApi:
2443
5088
  :return: Returns the result object.
2444
5089
  """ # noqa: E501
2445
5090
 
2446
- _param = self._update_mobile_app_geo_location_configuration_serialize(
5091
+ _param = self._update_mobile_app_teams_serialize(
2447
5092
  mobile_app_id=mobile_app_id,
2448
- geo_location_configuration=geo_location_configuration,
5093
+ api_tag=api_tag,
2449
5094
  _request_auth=_request_auth,
2450
5095
  _content_type=_content_type,
2451
5096
  _headers=_headers,
@@ -2453,10 +5098,10 @@ class MobileAppConfigurationApi:
2453
5098
  )
2454
5099
 
2455
5100
  _response_types_map: Dict[str, Optional[str]] = {
2456
- '200': "GeoLocationConfiguration",
5101
+ '200': "List[ApiTag]",
5102
+ '400': None,
2457
5103
  '401': None,
2458
5104
  '403': None,
2459
- '404': None,
2460
5105
  '500': None,
2461
5106
  }
2462
5107
  response_data = self.api_client.call_api(
@@ -2466,10 +5111,10 @@ class MobileAppConfigurationApi:
2466
5111
  return response_data.response
2467
5112
 
2468
5113
 
2469
- def _update_mobile_app_geo_location_configuration_serialize(
5114
+ def _update_mobile_app_teams_serialize(
2470
5115
  self,
2471
5116
  mobile_app_id,
2472
- geo_location_configuration,
5117
+ api_tag,
2473
5118
  _request_auth,
2474
5119
  _content_type,
2475
5120
  _headers,
@@ -2479,6 +5124,7 @@ class MobileAppConfigurationApi:
2479
5124
  _host = None
2480
5125
 
2481
5126
  _collection_formats: Dict[str, str] = {
5127
+ 'ApiTag': '',
2482
5128
  }
2483
5129
 
2484
5130
  _path_params: Dict[str, str] = {}
@@ -2497,8 +5143,8 @@ class MobileAppConfigurationApi:
2497
5143
  # process the header parameters
2498
5144
  # process the form parameters
2499
5145
  # process the body parameter
2500
- if geo_location_configuration is not None:
2501
- _body_params = geo_location_configuration
5146
+ if api_tag is not None:
5147
+ _body_params = api_tag
2502
5148
 
2503
5149
 
2504
5150
  # set the HTTP header `Accept`
@@ -2530,7 +5176,7 @@ class MobileAppConfigurationApi:
2530
5176
 
2531
5177
  return self.api_client.param_serialize(
2532
5178
  method='PUT',
2533
- resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/geo-location',
5179
+ resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/teams',
2534
5180
  path_params=_path_params,
2535
5181
  query_params=_query_params,
2536
5182
  header_params=_header_params,
@@ -2547,10 +5193,15 @@ class MobileAppConfigurationApi:
2547
5193
 
2548
5194
 
2549
5195
  @validate_call
2550
- def update_mobile_app_ip_masking_configuration(
5196
+ def upload_mobile_app_source_map_file(
2551
5197
  self,
2552
5198
  mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
2553
- ip_masking_configuration: Optional[IpMaskingConfiguration] = None,
5199
+ source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
5200
+ blob_index: Annotated[StrictInt, Field(description="Blob index which starts from 1")],
5201
+ file_format: Annotated[StrictStr, Field(description="File format. Example tgz")],
5202
+ file_id: Annotated[StrictStr, Field(description="Identifier of your app. For example, com.instana.ios.InstanaExampleApp")],
5203
+ file_type: Annotated[StrictStr, Field(description="dSYM stands for iOS symbol file, R8PG_MAP stands for Android java mapping file")],
5204
+ source_map: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="Path to your local symbol file")],
2554
5205
  _request_timeout: Union[
2555
5206
  None,
2556
5207
  Annotated[StrictFloat, Field(gt=0)],
@@ -2563,15 +5214,25 @@ class MobileAppConfigurationApi:
2563
5214
  _content_type: Optional[StrictStr] = None,
2564
5215
  _headers: Optional[Dict[StrictStr, Any]] = None,
2565
5216
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2566
- ) -> IpMaskingConfiguration:
2567
- """Update IP masking configuration for mobile app
5217
+ ) -> SourceMapUploadConfig:
5218
+ """Upload sourcemap file for mobile app
2568
5219
 
2569
- API request to update IP masking configuration for mobile app.
5220
+ API request to upload sourcemap file for mobile app.
2570
5221
 
2571
5222
  :param mobile_app_id: Mobile App ID (required)
2572
5223
  :type mobile_app_id: str
2573
- :param ip_masking_configuration:
2574
- :type ip_masking_configuration: IpMaskingConfiguration
5224
+ :param source_map_config_id: Source Map Config ID (required)
5225
+ :type source_map_config_id: str
5226
+ :param blob_index: Blob index which starts from 1 (required)
5227
+ :type blob_index: int
5228
+ :param file_format: File format. Example tgz (required)
5229
+ :type file_format: str
5230
+ :param file_id: Identifier of your app. For example, com.instana.ios.InstanaExampleApp (required)
5231
+ :type file_id: str
5232
+ :param file_type: dSYM stands for iOS symbol file, R8PG_MAP stands for Android java mapping file (required)
5233
+ :type file_type: str
5234
+ :param source_map: Path to your local symbol file (required)
5235
+ :type source_map: bytearray
2575
5236
  :param _request_timeout: timeout setting for this request. If one
2576
5237
  number provided, it will be total request
2577
5238
  timeout. It can also be a pair (tuple) of
@@ -2594,9 +5255,14 @@ class MobileAppConfigurationApi:
2594
5255
  :return: Returns the result object.
2595
5256
  """ # noqa: E501
2596
5257
 
2597
- _param = self._update_mobile_app_ip_masking_configuration_serialize(
5258
+ _param = self._upload_mobile_app_source_map_file_serialize(
2598
5259
  mobile_app_id=mobile_app_id,
2599
- ip_masking_configuration=ip_masking_configuration,
5260
+ source_map_config_id=source_map_config_id,
5261
+ blob_index=blob_index,
5262
+ file_format=file_format,
5263
+ file_id=file_id,
5264
+ file_type=file_type,
5265
+ source_map=source_map,
2600
5266
  _request_auth=_request_auth,
2601
5267
  _content_type=_content_type,
2602
5268
  _headers=_headers,
@@ -2604,7 +5270,8 @@ class MobileAppConfigurationApi:
2604
5270
  )
2605
5271
 
2606
5272
  _response_types_map: Dict[str, Optional[str]] = {
2607
- '200': "IpMaskingConfiguration",
5273
+ '200': "SourceMapUploadConfig",
5274
+ '400': None,
2608
5275
  '401': None,
2609
5276
  '403': None,
2610
5277
  '404': None,
@@ -2622,10 +5289,15 @@ class MobileAppConfigurationApi:
2622
5289
 
2623
5290
 
2624
5291
  @validate_call
2625
- def update_mobile_app_ip_masking_configuration_with_http_info(
5292
+ def upload_mobile_app_source_map_file_with_http_info(
2626
5293
  self,
2627
5294
  mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
2628
- ip_masking_configuration: Optional[IpMaskingConfiguration] = None,
5295
+ source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
5296
+ blob_index: Annotated[StrictInt, Field(description="Blob index which starts from 1")],
5297
+ file_format: Annotated[StrictStr, Field(description="File format. Example tgz")],
5298
+ file_id: Annotated[StrictStr, Field(description="Identifier of your app. For example, com.instana.ios.InstanaExampleApp")],
5299
+ file_type: Annotated[StrictStr, Field(description="dSYM stands for iOS symbol file, R8PG_MAP stands for Android java mapping file")],
5300
+ source_map: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="Path to your local symbol file")],
2629
5301
  _request_timeout: Union[
2630
5302
  None,
2631
5303
  Annotated[StrictFloat, Field(gt=0)],
@@ -2638,15 +5310,25 @@ class MobileAppConfigurationApi:
2638
5310
  _content_type: Optional[StrictStr] = None,
2639
5311
  _headers: Optional[Dict[StrictStr, Any]] = None,
2640
5312
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2641
- ) -> ApiResponse[IpMaskingConfiguration]:
2642
- """Update IP masking configuration for mobile app
5313
+ ) -> ApiResponse[SourceMapUploadConfig]:
5314
+ """Upload sourcemap file for mobile app
2643
5315
 
2644
- API request to update IP masking configuration for mobile app.
5316
+ API request to upload sourcemap file for mobile app.
2645
5317
 
2646
5318
  :param mobile_app_id: Mobile App ID (required)
2647
5319
  :type mobile_app_id: str
2648
- :param ip_masking_configuration:
2649
- :type ip_masking_configuration: IpMaskingConfiguration
5320
+ :param source_map_config_id: Source Map Config ID (required)
5321
+ :type source_map_config_id: str
5322
+ :param blob_index: Blob index which starts from 1 (required)
5323
+ :type blob_index: int
5324
+ :param file_format: File format. Example tgz (required)
5325
+ :type file_format: str
5326
+ :param file_id: Identifier of your app. For example, com.instana.ios.InstanaExampleApp (required)
5327
+ :type file_id: str
5328
+ :param file_type: dSYM stands for iOS symbol file, R8PG_MAP stands for Android java mapping file (required)
5329
+ :type file_type: str
5330
+ :param source_map: Path to your local symbol file (required)
5331
+ :type source_map: bytearray
2650
5332
  :param _request_timeout: timeout setting for this request. If one
2651
5333
  number provided, it will be total request
2652
5334
  timeout. It can also be a pair (tuple) of
@@ -2669,9 +5351,14 @@ class MobileAppConfigurationApi:
2669
5351
  :return: Returns the result object.
2670
5352
  """ # noqa: E501
2671
5353
 
2672
- _param = self._update_mobile_app_ip_masking_configuration_serialize(
5354
+ _param = self._upload_mobile_app_source_map_file_serialize(
2673
5355
  mobile_app_id=mobile_app_id,
2674
- ip_masking_configuration=ip_masking_configuration,
5356
+ source_map_config_id=source_map_config_id,
5357
+ blob_index=blob_index,
5358
+ file_format=file_format,
5359
+ file_id=file_id,
5360
+ file_type=file_type,
5361
+ source_map=source_map,
2675
5362
  _request_auth=_request_auth,
2676
5363
  _content_type=_content_type,
2677
5364
  _headers=_headers,
@@ -2679,7 +5366,8 @@ class MobileAppConfigurationApi:
2679
5366
  )
2680
5367
 
2681
5368
  _response_types_map: Dict[str, Optional[str]] = {
2682
- '200': "IpMaskingConfiguration",
5369
+ '200': "SourceMapUploadConfig",
5370
+ '400': None,
2683
5371
  '401': None,
2684
5372
  '403': None,
2685
5373
  '404': None,
@@ -2697,10 +5385,15 @@ class MobileAppConfigurationApi:
2697
5385
 
2698
5386
 
2699
5387
  @validate_call
2700
- def update_mobile_app_ip_masking_configuration_without_preload_content(
5388
+ def upload_mobile_app_source_map_file_without_preload_content(
2701
5389
  self,
2702
5390
  mobile_app_id: Annotated[StrictStr, Field(description="Mobile App ID")],
2703
- ip_masking_configuration: Optional[IpMaskingConfiguration] = None,
5391
+ source_map_config_id: Annotated[StrictStr, Field(description="Source Map Config ID")],
5392
+ blob_index: Annotated[StrictInt, Field(description="Blob index which starts from 1")],
5393
+ file_format: Annotated[StrictStr, Field(description="File format. Example tgz")],
5394
+ file_id: Annotated[StrictStr, Field(description="Identifier of your app. For example, com.instana.ios.InstanaExampleApp")],
5395
+ file_type: Annotated[StrictStr, Field(description="dSYM stands for iOS symbol file, R8PG_MAP stands for Android java mapping file")],
5396
+ source_map: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="Path to your local symbol file")],
2704
5397
  _request_timeout: Union[
2705
5398
  None,
2706
5399
  Annotated[StrictFloat, Field(gt=0)],
@@ -2714,14 +5407,24 @@ class MobileAppConfigurationApi:
2714
5407
  _headers: Optional[Dict[StrictStr, Any]] = None,
2715
5408
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2716
5409
  ) -> RESTResponseType:
2717
- """Update IP masking configuration for mobile app
5410
+ """Upload sourcemap file for mobile app
2718
5411
 
2719
- API request to update IP masking configuration for mobile app.
5412
+ API request to upload sourcemap file for mobile app.
2720
5413
 
2721
5414
  :param mobile_app_id: Mobile App ID (required)
2722
5415
  :type mobile_app_id: str
2723
- :param ip_masking_configuration:
2724
- :type ip_masking_configuration: IpMaskingConfiguration
5416
+ :param source_map_config_id: Source Map Config ID (required)
5417
+ :type source_map_config_id: str
5418
+ :param blob_index: Blob index which starts from 1 (required)
5419
+ :type blob_index: int
5420
+ :param file_format: File format. Example tgz (required)
5421
+ :type file_format: str
5422
+ :param file_id: Identifier of your app. For example, com.instana.ios.InstanaExampleApp (required)
5423
+ :type file_id: str
5424
+ :param file_type: dSYM stands for iOS symbol file, R8PG_MAP stands for Android java mapping file (required)
5425
+ :type file_type: str
5426
+ :param source_map: Path to your local symbol file (required)
5427
+ :type source_map: bytearray
2725
5428
  :param _request_timeout: timeout setting for this request. If one
2726
5429
  number provided, it will be total request
2727
5430
  timeout. It can also be a pair (tuple) of
@@ -2744,9 +5447,14 @@ class MobileAppConfigurationApi:
2744
5447
  :return: Returns the result object.
2745
5448
  """ # noqa: E501
2746
5449
 
2747
- _param = self._update_mobile_app_ip_masking_configuration_serialize(
5450
+ _param = self._upload_mobile_app_source_map_file_serialize(
2748
5451
  mobile_app_id=mobile_app_id,
2749
- ip_masking_configuration=ip_masking_configuration,
5452
+ source_map_config_id=source_map_config_id,
5453
+ blob_index=blob_index,
5454
+ file_format=file_format,
5455
+ file_id=file_id,
5456
+ file_type=file_type,
5457
+ source_map=source_map,
2750
5458
  _request_auth=_request_auth,
2751
5459
  _content_type=_content_type,
2752
5460
  _headers=_headers,
@@ -2754,7 +5462,8 @@ class MobileAppConfigurationApi:
2754
5462
  )
2755
5463
 
2756
5464
  _response_types_map: Dict[str, Optional[str]] = {
2757
- '200': "IpMaskingConfiguration",
5465
+ '200': "SourceMapUploadConfig",
5466
+ '400': None,
2758
5467
  '401': None,
2759
5468
  '403': None,
2760
5469
  '404': None,
@@ -2767,10 +5476,15 @@ class MobileAppConfigurationApi:
2767
5476
  return response_data.response
2768
5477
 
2769
5478
 
2770
- def _update_mobile_app_ip_masking_configuration_serialize(
5479
+ def _upload_mobile_app_source_map_file_serialize(
2771
5480
  self,
2772
5481
  mobile_app_id,
2773
- ip_masking_configuration,
5482
+ source_map_config_id,
5483
+ blob_index,
5484
+ file_format,
5485
+ file_id,
5486
+ file_type,
5487
+ source_map,
2774
5488
  _request_auth,
2775
5489
  _content_type,
2776
5490
  _headers,
@@ -2794,12 +5508,22 @@ class MobileAppConfigurationApi:
2794
5508
  # process the path parameters
2795
5509
  if mobile_app_id is not None:
2796
5510
  _path_params['mobileAppId'] = mobile_app_id
5511
+ if source_map_config_id is not None:
5512
+ _path_params['sourceMapConfigId'] = source_map_config_id
2797
5513
  # process the query parameters
2798
5514
  # process the header parameters
2799
5515
  # process the form parameters
5516
+ if blob_index is not None:
5517
+ _form_params.append(('blobIndex', blob_index))
5518
+ if file_format is not None:
5519
+ _form_params.append(('fileFormat', file_format))
5520
+ if file_id is not None:
5521
+ _form_params.append(('fileId', file_id))
5522
+ if file_type is not None:
5523
+ _form_params.append(('fileType', file_type))
5524
+ if source_map is not None:
5525
+ _files['sourceMap'] = source_map
2800
5526
  # process the body parameter
2801
- if ip_masking_configuration is not None:
2802
- _body_params = ip_masking_configuration
2803
5527
 
2804
5528
 
2805
5529
  # set the HTTP header `Accept`
@@ -2817,7 +5541,7 @@ class MobileAppConfigurationApi:
2817
5541
  _default_content_type = (
2818
5542
  self.api_client.select_header_content_type(
2819
5543
  [
2820
- 'application/json'
5544
+ 'multipart/form-data'
2821
5545
  ]
2822
5546
  )
2823
5547
  )
@@ -2831,7 +5555,7 @@ class MobileAppConfigurationApi:
2831
5555
 
2832
5556
  return self.api_client.param_serialize(
2833
5557
  method='PUT',
2834
- resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/ip-masking',
5558
+ resource_path='/api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload/{sourceMapConfigId}/form',
2835
5559
  path_params=_path_params,
2836
5560
  query_params=_query_params,
2837
5561
  header_params=_header_params,