diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 731ff5e..3cb7e32 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -8,6 +8,7 @@ docs/AbstractIntegration.md docs/AbstractRule.md docs/AccessRule.md docs/Action.md +docs/ActionBeacon.md docs/ActionCatalogApi.md docs/ActionConfiguration.md docs/ActionHistoryApi.md @@ -26,6 +27,7 @@ docs/AgentModeUpdate.md docs/AlertingConfiguration.md docs/AlertingConfigurationWithLastUpdated.md docs/AlertingTimeWindow.md +docs/ApdexAlertRule.md docs/ApdexConfiguration.md docs/ApdexConfigurationInput.md docs/ApdexEntity.md @@ -173,6 +175,7 @@ docs/GenericInfraAlertRule.md docs/GeoLocationConfiguration.md docs/GeoMappingRule.md docs/GeoSubdivision.md +docs/GetActionBeaconsResult.md docs/GetActivities.md docs/GetApplicationMetrics.md docs/GetApplications.md @@ -191,6 +194,7 @@ docs/GetMobileAppMetrics.md docs/GetMobileAppMetricsV2.md docs/GetPayloadKeysResult.md docs/GetServices.md +docs/GetSessionReplayMetadataResult.md docs/GetSnapshotsQuery.md docs/GetTestResult.md docs/GetTestResultAnalytic.md @@ -204,6 +208,7 @@ docs/GetWebsiteBeaconGroups.md docs/GetWebsiteBeacons.md docs/GetWebsiteMetrics.md docs/GetWebsiteMetricsV2.md +docs/GitHubConfiguration.md docs/GlobalApplicationAlertConfigWithMetadata.md docs/GlobalApplicationAlertConfigurationApi.md docs/GlobalApplicationsAlertConfig.md @@ -369,6 +374,7 @@ docs/ReleaseScope.md docs/ReleaseWithMetadata.md docs/ReleasesApi.md docs/RetentionPeriod.md +docs/RoleMappingOverview.md docs/RolesApi.md docs/RollingTimeWindow.md docs/RuleInput.md @@ -380,6 +386,7 @@ docs/RuleWithThresholdWebsiteAlertRule.md docs/RunConfiguration.md docs/SLIReportApi.md docs/SLISettingsApi.md +docs/SLOCatalogForMobileAppApi.md docs/SLOConfigWithRBACTag.md docs/SLOConfigurationsApi.md docs/SLOCorrectionConfigurationsApi.md @@ -420,6 +427,8 @@ docs/ServiceScopeWithMetadata.md docs/ServiceScopedTo.md docs/ServiceScopedToWithMetadata.md docs/ServiceSimple.md +docs/SessionReplayMetadata.md +docs/SessionReplayTimestamps.md docs/SessionSettings.md docs/SessionSettingsApi.md docs/SimpleMetricConfiguration.md @@ -653,6 +662,7 @@ instana_client/api/service_levels_objective_slo_report_api.py instana_client/api/session_settings_api.py instana_client/api/sli_report_api.py instana_client/api/sli_settings_api.py +instana_client/api/slo_catalog_for_mobile_app_api.py instana_client/api/slo_configurations_api.py instana_client/api/slo_correction_configurations_api.py instana_client/api/slo_correction_windows_api.py @@ -678,6 +688,7 @@ instana_client/models/abstract_integration.py instana_client/models/abstract_rule.py instana_client/models/access_rule.py instana_client/models/action.py +instana_client/models/action_beacon.py instana_client/models/action_configuration.py instana_client/models/action_instance.py instana_client/models/action_instance_metadata_entry.py @@ -694,6 +705,7 @@ instana_client/models/agent_mode_update.py instana_client/models/alerting_configuration.py instana_client/models/alerting_configuration_with_last_updated.py instana_client/models/alerting_time_window.py +instana_client/models/apdex_alert_rule.py instana_client/models/apdex_configuration.py instana_client/models/apdex_configuration_input.py instana_client/models/apdex_entity.py @@ -823,6 +835,7 @@ instana_client/models/generic_infra_alert_rule.py instana_client/models/geo_location_configuration.py instana_client/models/geo_mapping_rule.py instana_client/models/geo_subdivision.py +instana_client/models/get_action_beacons_result.py instana_client/models/get_activities.py instana_client/models/get_application_metrics.py instana_client/models/get_applications.py @@ -841,6 +854,7 @@ instana_client/models/get_mobile_app_metrics.py instana_client/models/get_mobile_app_metrics_v2.py instana_client/models/get_payload_keys_result.py instana_client/models/get_services.py +instana_client/models/get_session_replay_metadata_result.py instana_client/models/get_snapshots_query.py instana_client/models/get_test_result.py instana_client/models/get_test_result_analytic.py @@ -854,6 +868,7 @@ instana_client/models/get_website_beacon_groups.py instana_client/models/get_website_beacons.py instana_client/models/get_website_metrics.py instana_client/models/get_website_metrics_v2.py +instana_client/models/git_hub_configuration.py instana_client/models/global_application_alert_config_with_metadata.py instana_client/models/global_applications_alert_config.py instana_client/models/google_chat_integration.py @@ -998,6 +1013,7 @@ instana_client/models/release.py instana_client/models/release_scope.py instana_client/models/release_with_metadata.py instana_client/models/retention_period.py +instana_client/models/role_mapping_overview.py instana_client/models/rolling_time_window.py instana_client/models/rule_input.py instana_client/models/rule_with_threshold_application_alert_rule.py @@ -1037,6 +1053,8 @@ instana_client/models/service_scope_with_metadata.py instana_client/models/service_scoped_to.py instana_client/models/service_scoped_to_with_metadata.py instana_client/models/service_simple.py +instana_client/models/session_replay_metadata.py +instana_client/models/session_replay_timestamps.py instana_client/models/session_settings.py instana_client/models/simple_metric_configuration.py instana_client/models/slack_integration.py @@ -1214,16 +1232,4 @@ setup.cfg setup.py test-requirements.txt test/__init__.py -test/test_agent_mode_update.py -test/test_bulk_alert_config_request.py -test/test_icmp_configuration.py -test/test_icmp_configuration_update.py -test/test_icmp_validation.py -test/test_ip_filtering.py -test/test_ip_filtering_api.py -test/test_ip_filtering_rule_dto.py -test/test_ip_filtering_upsert.py -test/test_metric_field.py -test/test_metric_field_value.py -test/test_synthetic_resource_update_list_icmp_validation_list_icmp_validation.py tox.ini diff --git a/README.md b/README.md index e403733..819c827 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ Documentation for INSTANA REST API This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: 1.319.1109 -- Package version: 1.0.7 +- API version: 1.320.1414 +- Package version: 1.0.9 - Generator version: 7.13.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [http://instana.com](http://instana.com) @@ -409,9 +409,12 @@ Class | Method | HTTP request | Description *MaintenanceConfigurationApi* | [**resume_recurrent_maintenance_configuration**](docs/MaintenanceConfigurationApi.md#resume_recurrent_maintenance_configuration) | **PUT** /api/settings/v2/maintenance/{id}/resume | Resume maintenance configuration *MobileAppAnalyzeApi* | [**get_mobile_app_beacon_groups**](docs/MobileAppAnalyzeApi.md#get_mobile_app_beacon_groups) | **POST** /api/mobile-app-monitoring/analyze/beacon-groups | Get grouped beacon metrics *MobileAppAnalyzeApi* | [**get_mobile_app_beacons**](docs/MobileAppAnalyzeApi.md#get_mobile_app_beacons) | **POST** /api/mobile-app-monitoring/analyze/beacons | Get all beacons +*MobileAppCatalogApi* | [**get_action_beacons**](docs/MobileAppCatalogApi.md#get_action_beacons) | **GET** /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/action-beacons | Get action beacons for a session *MobileAppCatalogApi* | [**get_all_mobile_app_catalog_tags**](docs/MobileAppCatalogApi.md#get_all_mobile_app_catalog_tags) | **GET** /api/mobile-app-monitoring/catalog/tags | Get all existing mobile app tags *MobileAppCatalogApi* | [**get_mobile_app_metric_catalog**](docs/MobileAppCatalogApi.md#get_mobile_app_metric_catalog) | **GET** /api/mobile-app-monitoring/catalog/metrics | Metric catalog *MobileAppCatalogApi* | [**get_mobile_app_tag_catalog**](docs/MobileAppCatalogApi.md#get_mobile_app_tag_catalog) | **GET** /api/mobile-app-monitoring/catalog | Get mobile app tag catalog +*MobileAppCatalogApi* | [**get_session_replay_metadata**](docs/MobileAppCatalogApi.md#get_session_replay_metadata) | **GET** /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/replay-metadata | Get session replay metadata +*MobileAppCatalogApi* | [**get_session_replay_timestamps**](docs/MobileAppCatalogApi.md#get_session_replay_timestamps) | **GET** /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/replay-timestamps | Get session replay timestamps *MobileAppConfigurationApi* | [**clear_mobile_app_source_map_upload_configuration**](docs/MobileAppConfigurationApi.md#clear_mobile_app_source_map_upload_configuration) | **PUT** /api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload/{sourceMapConfigId}/clear | Clear sourcemap files for sourcemap upload configuration *MobileAppConfigurationApi* | [**commit_mobile_app_source_map_file**](docs/MobileAppConfigurationApi.md#commit_mobile_app_source_map_file) | **PUT** /api/mobile-app-monitoring/config/{mobileAppId}/sourcemap-upload/{sourceMapConfigId}/commit | Commit sourcemap file upload for mobile app *MobileAppConfigurationApi* | [**delete_mobile_app_config**](docs/MobileAppConfigurationApi.md#delete_mobile_app_config) | **DELETE** /api/mobile-app-monitoring/config/{mobileAppId} | Remove mobile app @@ -448,6 +451,7 @@ Class | Method | HTTP request | Description *RolesApi* | [**create_role**](docs/RolesApi.md#create_role) | **POST** /api/settings/rbac/roles | Create role *RolesApi* | [**delete_role**](docs/RolesApi.md#delete_role) | **DELETE** /api/settings/rbac/roles/{id} | Delete role *RolesApi* | [**get_role**](docs/RolesApi.md#get_role) | **GET** /api/settings/rbac/roles/{id} | Get role by ID +*RolesApi* | [**get_role_mappings**](docs/RolesApi.md#get_role_mappings) | **GET** /api/settings/rbac/roles/{roleId}/mappings | Get role mappings *RolesApi* | [**get_roles**](docs/RolesApi.md#get_roles) | **GET** /api/settings/rbac/roles | Get all roles *RolesApi* | [**update_role**](docs/RolesApi.md#update_role) | **PUT** /api/settings/rbac/roles/{id} | Update role *SLIReportApi* | [**get_sli**](docs/SLIReportApi.md#get_sli) | **GET** /api/sli/report/{sliId} | Generate SLI report (Limitation: the Classic Edition API report can be available one hour after the SLI configuration created; other editions are around one minute.) @@ -461,6 +465,8 @@ Class | Method | HTTP request | Description *SLISettingsApi* | [**get_sli_config_v2**](docs/SLISettingsApi.md#get_sli_config_v2) | **GET** /api/settings/v2/sli/{id} | Get SLI Config *SLISettingsApi* | [**get_sli_configs_for_entity_type_and_id_v2**](docs/SLISettingsApi.md#get_sli_configs_for_entity_type_and_id_v2) | **GET** /api/settings/v2/sli/{entityType}/{entityId} | Get all SLI configs for entity type and entity id *SLISettingsApi* | [**update_sli_config**](docs/SLISettingsApi.md#update_sli_config) | **PUT** /api/settings/sli/{id} | Update SLI Config +*SLOCatalogForMobileAppApi* | [**get_mobile_app_sli_metric_catalog**](docs/SLOCatalogForMobileAppApi.md#get_mobile_app_sli_metric_catalog) | **GET** /api/slo/catalog/metrics/mobile | Mobile app SLI metric catalog +*SLOCatalogForMobileAppApi* | [**get_mobile_app_slo_tag_catalog**](docs/SLOCatalogForMobileAppApi.md#get_mobile_app_slo_tag_catalog) | **GET** /api/slo/catalog/tags/mobile | Get mobile app monitoring tag catalog for Mobile App SLOs *SLOConfigurationsApi* | [**create_slo_config**](docs/SLOConfigurationsApi.md#create_slo_config) | **POST** /api/settings/slo | Create a new SLO Config *SLOConfigurationsApi* | [**delete_slo_config**](docs/SLOConfigurationsApi.md#delete_slo_config) | **DELETE** /api/settings/slo/{id} | Delete an existing SLO Config *SLOConfigurationsApi* | [**get_all_slo_config_tags**](docs/SLOConfigurationsApi.md#get_all_slo_config_tags) | **GET** /api/settings/slo/tags | Get All SLO Config tags @@ -544,6 +550,7 @@ Class | Method | HTTP request | Description *TeamsApi* | [**create_team**](docs/TeamsApi.md#create_team) | **POST** /api/settings/rbac/teams | Create team *TeamsApi* | [**delete_team**](docs/TeamsApi.md#delete_team) | **DELETE** /api/settings/rbac/teams/{id} | Delete team *TeamsApi* | [**get_team**](docs/TeamsApi.md#get_team) | **GET** /api/settings/rbac/teams/{id} | Get team by ID +*TeamsApi* | [**get_team_role_mappings**](docs/TeamsApi.md#get_team_role_mappings) | **GET** /api/settings/rbac/teams/{teamId}/mappings | Get team role mappings *TeamsApi* | [**get_teams**](docs/TeamsApi.md#get_teams) | **GET** /api/settings/rbac/teams | Get all teams *TeamsApi* | [**update_team**](docs/TeamsApi.md#update_team) | **PUT** /api/settings/rbac/teams/{id} | Update team *UsageApi* | [**get_all_usage**](docs/UsageApi.md#get_all_usage) | **GET** /api/instana/usage/api | API usage by customer @@ -596,6 +603,7 @@ Class | Method | HTTP request | Description - [AbstractRule](docs/AbstractRule.md) - [AccessRule](docs/AccessRule.md) - [Action](docs/Action.md) + - [ActionBeacon](docs/ActionBeacon.md) - [ActionConfiguration](docs/ActionConfiguration.md) - [ActionInstance](docs/ActionInstance.md) - [ActionInstanceMetadataEntry](docs/ActionInstanceMetadataEntry.md) @@ -612,6 +620,7 @@ Class | Method | HTTP request | Description - [AlertingConfiguration](docs/AlertingConfiguration.md) - [AlertingConfigurationWithLastUpdated](docs/AlertingConfigurationWithLastUpdated.md) - [AlertingTimeWindow](docs/AlertingTimeWindow.md) + - [ApdexAlertRule](docs/ApdexAlertRule.md) - [ApdexConfiguration](docs/ApdexConfiguration.md) - [ApdexConfigurationInput](docs/ApdexConfigurationInput.md) - [ApdexEntity](docs/ApdexEntity.md) @@ -741,6 +750,7 @@ Class | Method | HTTP request | Description - [GeoLocationConfiguration](docs/GeoLocationConfiguration.md) - [GeoMappingRule](docs/GeoMappingRule.md) - [GeoSubdivision](docs/GeoSubdivision.md) + - [GetActionBeaconsResult](docs/GetActionBeaconsResult.md) - [GetActivities](docs/GetActivities.md) - [GetApplicationMetrics](docs/GetApplicationMetrics.md) - [GetApplications](docs/GetApplications.md) @@ -759,6 +769,7 @@ Class | Method | HTTP request | Description - [GetMobileAppMetricsV2](docs/GetMobileAppMetricsV2.md) - [GetPayloadKeysResult](docs/GetPayloadKeysResult.md) - [GetServices](docs/GetServices.md) + - [GetSessionReplayMetadataResult](docs/GetSessionReplayMetadataResult.md) - [GetSnapshotsQuery](docs/GetSnapshotsQuery.md) - [GetTestResult](docs/GetTestResult.md) - [GetTestResultAnalytic](docs/GetTestResultAnalytic.md) @@ -772,6 +783,7 @@ Class | Method | HTTP request | Description - [GetWebsiteBeacons](docs/GetWebsiteBeacons.md) - [GetWebsiteMetrics](docs/GetWebsiteMetrics.md) - [GetWebsiteMetricsV2](docs/GetWebsiteMetricsV2.md) + - [GitHubConfiguration](docs/GitHubConfiguration.md) - [GlobalApplicationAlertConfigWithMetadata](docs/GlobalApplicationAlertConfigWithMetadata.md) - [GlobalApplicationsAlertConfig](docs/GlobalApplicationsAlertConfig.md) - [GoogleChatIntegration](docs/GoogleChatIntegration.md) @@ -916,6 +928,7 @@ Class | Method | HTTP request | Description - [ReleaseScope](docs/ReleaseScope.md) - [ReleaseWithMetadata](docs/ReleaseWithMetadata.md) - [RetentionPeriod](docs/RetentionPeriod.md) + - [RoleMappingOverview](docs/RoleMappingOverview.md) - [RollingTimeWindow](docs/RollingTimeWindow.md) - [RuleInput](docs/RuleInput.md) - [RuleWithThresholdApplicationAlertRule](docs/RuleWithThresholdApplicationAlertRule.md) @@ -959,6 +972,8 @@ Class | Method | HTTP request | Description - [ServiceScopedTo](docs/ServiceScopedTo.md) - [ServiceScopedToWithMetadata](docs/ServiceScopedToWithMetadata.md) - [ServiceSimple](docs/ServiceSimple.md) + - [SessionReplayMetadata](docs/SessionReplayMetadata.md) + - [SessionReplayTimestamps](docs/SessionReplayTimestamps.md) - [SessionSettings](docs/SessionSettings.md) - [SimpleMetricConfiguration](docs/SimpleMetricConfiguration.md) - [SlackIntegration](docs/SlackIntegration.md) diff --git a/docs/ActionBeacon.md b/docs/ActionBeacon.md index 4f586aa..88d7f96 100644 --- a/docs/ActionBeacon.md +++ b/docs/ActionBeacon.md @@ -6,6 +6,9 @@ List of action beacons for the current page Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**app_state** | **str** | Application state (e.g., foreground, background) | [optional] +**beacon_clockskew** | **int** | Clock skew in milliseconds between client and server | [optional] +**beacon_id** | **str** | Beacon identifier | **beacon_type** | **str** | Type of beacon | **bytes_ingested_metadata** | **int** | Bytes ingested for metadata | [optional] **event_type** | **str** | Event type (e.g., st=start, fs=frustration signal, oc=orientation change) | [optional] diff --git a/docs/ApdexAlertRule.md b/docs/ApdexAlertRule.md new file mode 100644 index 0000000..de45758 --- /dev/null +++ b/docs/ApdexAlertRule.md @@ -0,0 +1,29 @@ +# ApdexAlertRule + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**metric** | **str** | This is the Apdex metric type. Apdex alert uses <b>SCORE</b> metric. | + +## Example + +```python +from instana_client.models.apdex_alert_rule import ApdexAlertRule + +# TODO update the JSON string below +json = "{}" +# create an instance of ApdexAlertRule from a JSON string +apdex_alert_rule_instance = ApdexAlertRule.from_json(json) +# print the JSON string representation of the object +print(ApdexAlertRule.to_json()) + +# convert the object into a dict +apdex_alert_rule_dict = apdex_alert_rule_instance.to_dict() +# create an instance of ApdexAlertRule from a dict +apdex_alert_rule_from_dict = ApdexAlertRule.from_dict(apdex_alert_rule_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ApdexSettingsApi.md b/docs/ApdexSettingsApi.md index 43e71f8..4d61795 100644 --- a/docs/ApdexSettingsApi.md +++ b/docs/ApdexSettingsApi.md @@ -553,7 +553,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **get_all_apdex_configurations_v2** -> List[ApdexConfiguration] get_all_apdex_configurations_v2(page_size=page_size, page=page, order_by=order_by, order_direction=order_direction, query=query, grouped=grouped, refresh=refresh, var_from=var_from, to=to, entity_type=entity_type, entity_id=entity_id) +> List[ApdexConfiguration] get_all_apdex_configurations_v2(page_size=page_size, page=page, order_by=order_by, order_direction=order_direction, query=query, grouped=grouped, refresh=refresh, var_from=var_from, to=to, entity_type=entity_type, entity_id=entity_id, apdex_ids=apdex_ids) Get All Apdex Configurations @@ -601,10 +601,11 @@ with instana_client.ApiClient(configuration) as api_client: to = 1705414800000 # int | (optional) entity_type = 'APPLICATION' # str | (optional) entity_id = 'XIZGGVT1TX2O-0OFeT2Yig' # str | (optional) + apdex_ids = ['APDWMaA2yKuSS6z50LR0-cGZA'] # List[str] | (optional) try: # Get All Apdex Configurations - api_response = api_instance.get_all_apdex_configurations_v2(page_size=page_size, page=page, order_by=order_by, order_direction=order_direction, query=query, grouped=grouped, refresh=refresh, var_from=var_from, to=to, entity_type=entity_type, entity_id=entity_id) + api_response = api_instance.get_all_apdex_configurations_v2(page_size=page_size, page=page, order_by=order_by, order_direction=order_direction, query=query, grouped=grouped, refresh=refresh, var_from=var_from, to=to, entity_type=entity_type, entity_id=entity_id, apdex_ids=apdex_ids) print("The response of ApdexSettingsApi->get_all_apdex_configurations_v2:\n") pprint(api_response) except Exception as e: @@ -629,6 +630,7 @@ Name | Type | Description | Notes **to** | **int**| | [optional] **entity_type** | **str**| | [optional] **entity_id** | **str**| | [optional] + **apdex_ids** | [**List[str]**](str.md)| | [optional] ### Return type diff --git a/docs/BrowserScriptConfiguration.md b/docs/BrowserScriptConfiguration.md index 0cee342..31a89df 100644 --- a/docs/BrowserScriptConfiguration.md +++ b/docs/BrowserScriptConfiguration.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **browser** | **str** | | [optional] **file_name** | **str** | | [optional] +**github** | [**GitHubConfiguration**](GitHubConfiguration.md) | | [optional] **record_video** | **bool** | | [optional] **script** | **str** | | [optional] **script_type** | **str** | | [optional] diff --git a/docs/BrowserScriptConfigurationUpdate.md b/docs/BrowserScriptConfigurationUpdate.md index ab4fa98..5235ba3 100644 --- a/docs/BrowserScriptConfigurationUpdate.md +++ b/docs/BrowserScriptConfigurationUpdate.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **browser** | **str** | | [optional] **file_name** | **str** | | [optional] +**github** | [**GitHubConfiguration**](GitHubConfiguration.md) | | [optional] **record_video** | **bool** | | [optional] **script** | **str** | | [optional] **script_type** | **str** | | [optional] diff --git a/docs/EventResult.md b/docs/EventResult.md index d878d02..96d05a8 100644 --- a/docs/EventResult.md +++ b/docs/EventResult.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **event_id** | **str** | ID of this Event. | [optional] **event_specification_id** | **str** | ID of the configuration that created this event. | [optional] **fix_suggestion** | **str** | Details of the event. | [optional] +**metadata** | **Dict[str, object]** | Additional event meta data. | [optional] **metrics** | **List[Dict[str, object]]** | List of metrics associated with the Event. | [optional] **probable_cause** | **Dict[str, object]** | Metadata of the probable root cause for this event. Only present in case of specific \"Incident\" type events. | [optional] **problem** | **str** | Main problem title of the Event. | [optional] @@ -22,6 +23,7 @@ Name | Type | Description | Notes **snapshot_id** | **str** | The snapshot ID of the affected entity of this event. | [optional] **start** | **int** | A Unix timestamp representing the start time of the Event. | [optional] **state** | **str** | The state of the Event, \"open\" or \"close\". | [optional] +**triggering_event_id** | **str** | The triggering event ID in case of an incident. | [optional] **type** | **str** | The type of Event. | [optional] ## Example diff --git a/docs/GitHubConfiguration.md b/docs/GitHubConfiguration.md new file mode 100644 index 0000000..12f12be --- /dev/null +++ b/docs/GitHubConfiguration.md @@ -0,0 +1,32 @@ +# GitHubConfiguration + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**branch_name** | **str** | | +**credential_name** | **str** | | [optional] +**script_file** | **str** | | [optional] +**url** | **str** | | + +## Example + +```python +from instana_client.models.git_hub_configuration import GitHubConfiguration + +# TODO update the JSON string below +json = "{}" +# create an instance of GitHubConfiguration from a JSON string +git_hub_configuration_instance = GitHubConfiguration.from_json(json) +# print the JSON string representation of the object +print(GitHubConfiguration.to_json()) + +# convert the object into a dict +git_hub_configuration_dict = git_hub_configuration_instance.to_dict() +# create an instance of GitHubConfiguration from a dict +git_hub_configuration_from_dict = GitHubConfiguration.from_dict(git_hub_configuration_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/HttpScriptConfiguration.md b/docs/HttpScriptConfiguration.md index fd074b4..a16b070 100644 --- a/docs/HttpScriptConfiguration.md +++ b/docs/HttpScriptConfiguration.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **file_name** | **str** | | [optional] +**github** | [**GitHubConfiguration**](GitHubConfiguration.md) | | [optional] **script** | **str** | | [optional] **script_type** | **str** | | [optional] **scripts** | [**MultipleScriptsConfiguration**](MultipleScriptsConfiguration.md) | | [optional] diff --git a/docs/HttpScriptConfigurationUpdate.md b/docs/HttpScriptConfigurationUpdate.md index a466cd4..c1ac2c1 100644 --- a/docs/HttpScriptConfigurationUpdate.md +++ b/docs/HttpScriptConfigurationUpdate.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **file_name** | **str** | | [optional] +**github** | [**GitHubConfiguration**](GitHubConfiguration.md) | | [optional] **script** | **str** | | [optional] **script_type** | **str** | | [optional] **scripts** | [**MultipleScriptsConfiguration**](MultipleScriptsConfiguration.md) | | [optional] diff --git a/docs/InfrastructureGroup.md b/docs/InfrastructureGroup.md index c174ddd..631fac4 100644 --- a/docs/InfrastructureGroup.md +++ b/docs/InfrastructureGroup.md @@ -6,6 +6,7 @@ group of infrastructure entities Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**adjusted_granularities** | **Dict[str, int]** | map of metric keys to their adjusted granularity (in milliseconds) | [optional] **count** | **int** | number of entities in this group | [optional] **metrics** | **Dict[str, List[List[float]]]** | map of metric keys to array of timestamp,value pairs | [optional] **poll_rate** | **int** | max poll rate across this group | [optional] diff --git a/docs/InfrastructureItem.md b/docs/InfrastructureItem.md index 8577c49..5ccfc00 100644 --- a/docs/InfrastructureItem.md +++ b/docs/InfrastructureItem.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**adjusted_granularities** | **Dict[str, int]** | map of metric keys to their adjusted granularity (in milliseconds) | [optional] **entity_health_info** | [**EntityHealthInfo**](EntityHealthInfo.md) | | [optional] **label** | **str** | | [optional] **metrics** | **Dict[str, List[List[float]]]** | | [optional] diff --git a/docs/MetricField.md b/docs/MetricField.md index 0ce74d2..9f01e0f 100644 --- a/docs/MetricField.md +++ b/docs/MetricField.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **aggregation** | **str** | | [optional] **entity_type** | **str** | | [optional] **metric_id** | **str** | | [optional] +**source** | **str** | | [optional] **time_window** | **object** | | [optional] **value** | [**MetricFieldValue**](MetricFieldValue.md) | | [optional] diff --git a/docs/MetricFieldValue.md b/docs/MetricFieldValue.md index 6f6b5a9..a99234b 100644 --- a/docs/MetricFieldValue.md +++ b/docs/MetricFieldValue.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **aggregation** | **str** | The aggregation type to apply to the metric | **entity_type** | **str** | The entity type for the metric query | [optional] **metric_id** | **str** | The metric ID to retrieve | +**source** | **str** | The source catalog the metric was selected from | [optional] **time_window** | **object** | The time window in milliseconds for metric aggregation | [optional] ## Example diff --git a/docs/MobileAppCatalogApi.md b/docs/MobileAppCatalogApi.md index b2d03f3..fcc7e0a 100644 --- a/docs/MobileAppCatalogApi.md +++ b/docs/MobileAppCatalogApi.md @@ -4,11 +4,93 @@ All URIs are relative to *https://unit-tenant.instana.io* Method | HTTP request | Description ------------- | ------------- | ------------- +[**get_action_beacons**](MobileAppCatalogApi.md#get_action_beacons) | **GET** /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/action-beacons | Get action beacons for a session [**get_all_mobile_app_catalog_tags**](MobileAppCatalogApi.md#get_all_mobile_app_catalog_tags) | **GET** /api/mobile-app-monitoring/catalog/tags | Get all existing mobile app tags [**get_mobile_app_metric_catalog**](MobileAppCatalogApi.md#get_mobile_app_metric_catalog) | **GET** /api/mobile-app-monitoring/catalog/metrics | Metric catalog [**get_mobile_app_tag_catalog**](MobileAppCatalogApi.md#get_mobile_app_tag_catalog) | **GET** /api/mobile-app-monitoring/catalog | Get mobile app tag catalog +[**get_session_replay_metadata**](MobileAppCatalogApi.md#get_session_replay_metadata) | **GET** /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/replay-metadata | Get session replay metadata +[**get_session_replay_timestamps**](MobileAppCatalogApi.md#get_session_replay_timestamps) | **GET** /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/replay-timestamps | Get session replay timestamps +# **get_action_beacons** +> GetActionBeaconsResult get_action_beacons(mobile_app_id, session_id, cursor=cursor, page_size=page_size) + +Get action beacons for a session + +Retrieves action beacons (user interactions and events) for a mobile app session. Uses cursor-based pagination with offset cursors. Returns beacons starting from the cursor offset. The pageSize parameter controls the number of items returned (default 100, max 1000). Includes event types, view components, frustration signals, orientation changes, and more. + +### Example + + +```python +import instana_client +from instana_client.models.get_action_beacons_result import GetActionBeaconsResult +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.MobileAppCatalogApi(api_client) + mobile_app_id = 'app-456' # str | Mobile app identifier + session_id = 'session-123' # str | Session identifier + cursor = 100 # int | Offset cursor for pagination (number of items already retrieved). Omit for first page. (optional) + page_size = 100 # int | Number of items per page (default: 100, max: 1000) (optional) (default to 100) + + try: + # Get action beacons for a session + api_response = api_instance.get_action_beacons(mobile_app_id, session_id, cursor=cursor, page_size=page_size) + print("The response of MobileAppCatalogApi->get_action_beacons:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling MobileAppCatalogApi->get_action_beacons: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mobile_app_id** | **str**| Mobile app identifier | + **session_id** | **str**| Session identifier | + **cursor** | **int**| Offset cursor for pagination (number of items already retrieved). Omit for first page. | [optional] + **page_size** | **int**| Number of items per page (default: 100, max: 1000) | [optional] [default to 100] + +### Return type + +[**GetActionBeaconsResult**](GetActionBeaconsResult.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**400** | Bad Request - Invalid mobile app ID, session ID, or pagination parameters | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Forbidden - User doesn't have access to this mobile app | - | +**404** | Not Found - Mobile app or session not found | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_all_mobile_app_catalog_tags** > List[Tag] get_all_mobile_app_catalog_tags() @@ -245,3 +327,157 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_session_replay_metadata** +> GetSessionReplayMetadataResult get_session_replay_metadata(mobile_app_id, session_id, cursor=cursor, page_size=page_size) + +Get session replay metadata + +Retrieves detailed metadata for session replay captured during a mobile app session. Uses cursor-based pagination with timestamp cursors. Returns metadata within the time window from cursor to cursor + pageSize. The pageSize represents milliseconds (default 20000ms = 20 seconds). Includes all metadata fields such as event type, view components, orientation changes, etc. + +### Example + + +```python +import instana_client +from instana_client.models.get_session_replay_metadata_result import GetSessionReplayMetadataResult +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.MobileAppCatalogApi(api_client) + mobile_app_id = 'app-456' # str | Mobile app identifier + session_id = 'session-123' # str | Session identifier + cursor = 1234567890 # int | Timestamp cursor for pagination (epoch milliseconds). Retrieves metadata from this timestamp onwards. (optional) + page_size = 20000 # int | Time window size in milliseconds (default: 20000ms = 20 seconds) (optional) (default to 20000) + + try: + # Get session replay metadata + api_response = api_instance.get_session_replay_metadata(mobile_app_id, session_id, cursor=cursor, page_size=page_size) + print("The response of MobileAppCatalogApi->get_session_replay_metadata:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling MobileAppCatalogApi->get_session_replay_metadata: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mobile_app_id** | **str**| Mobile app identifier | + **session_id** | **str**| Session identifier | + **cursor** | **int**| Timestamp cursor for pagination (epoch milliseconds). Retrieves metadata from this timestamp onwards. | [optional] + **page_size** | **int**| Time window size in milliseconds (default: 20000ms = 20 seconds) | [optional] [default to 20000] + +### Return type + +[**GetSessionReplayMetadataResult**](GetSessionReplayMetadataResult.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**400** | Bad Request - Invalid mobile app ID, session ID, or pagination parameters | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Forbidden - User doesn't have access to this mobile app | - | +**404** | Not Found - Mobile app or session not found | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_session_replay_timestamps** +> SessionReplayTimestamps get_session_replay_timestamps(mobile_app_id, session_id) + +Get session replay timestamps + +Retrieves the first and last image timestamps for a mobile app session. Returns null values if the session has no images. + +### Example + + +```python +import instana_client +from instana_client.models.session_replay_timestamps import SessionReplayTimestamps +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.MobileAppCatalogApi(api_client) + mobile_app_id = 'app-456' # str | Mobile app identifier + session_id = 'session-123' # str | Session identifier + + try: + # Get session replay timestamps + api_response = api_instance.get_session_replay_timestamps(mobile_app_id, session_id) + print("The response of MobileAppCatalogApi->get_session_replay_timestamps:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling MobileAppCatalogApi->get_session_replay_timestamps: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **mobile_app_id** | **str**| Mobile app identifier | + **session_id** | **str**| Session identifier | + +### Return type + +[**SessionReplayTimestamps**](SessionReplayTimestamps.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**400** | Bad Request - Invalid mobile app ID or session ID | - | +**401** | Unauthorized access - requires user authentication. | - | +**403** | Forbidden - User doesn't have access to this mobile app | - | +**404** | Not Found - Mobile app or session not found | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/MobileAppMonitoringBeacon.md b/docs/MobileAppMonitoringBeacon.md index 02d1353..0e283d3 100644 --- a/docs/MobileAppMonitoringBeacon.md +++ b/docs/MobileAppMonitoringBeacon.md @@ -72,6 +72,7 @@ Name | Type | Description | Notes **region** | **str** | | [optional] **rooted** | **bool** | | [optional] **session_id** | **str** | | [optional] +**session_replay_status** | **int** | | [optional] **stack_trace** | **str** | | [optional] **stack_trace_key_checksum** | **str** | | [optional] **stack_trace_key_information** | **str** | | [optional] diff --git a/docs/RoleMappingOverview.md b/docs/RoleMappingOverview.md new file mode 100644 index 0000000..1df5ba6 --- /dev/null +++ b/docs/RoleMappingOverview.md @@ -0,0 +1,35 @@ +# RoleMappingOverview + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | | +**key** | **str** | | +**role** | **str** | | +**role_id** | **str** | | +**team** | **str** | | [optional] +**team_id** | **str** | | [optional] +**value** | **str** | | + +## Example + +```python +from instana_client.models.role_mapping_overview import RoleMappingOverview + +# TODO update the JSON string below +json = "{}" +# create an instance of RoleMappingOverview from a JSON string +role_mapping_overview_instance = RoleMappingOverview.from_json(json) +# print the JSON string representation of the object +print(RoleMappingOverview.to_json()) + +# convert the object into a dict +role_mapping_overview_dict = role_mapping_overview_instance.to_dict() +# create an instance of RoleMappingOverview from a dict +role_mapping_overview_from_dict = RoleMappingOverview.from_dict(role_mapping_overview_dict) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/RolesApi.md b/docs/RolesApi.md index 6079ed0..38d5b12 100644 --- a/docs/RolesApi.md +++ b/docs/RolesApi.md @@ -7,6 +7,7 @@ Method | HTTP request | Description [**create_role**](RolesApi.md#create_role) | **POST** /api/settings/rbac/roles | Create role [**delete_role**](RolesApi.md#delete_role) | **DELETE** /api/settings/rbac/roles/{id} | Delete role [**get_role**](RolesApi.md#get_role) | **GET** /api/settings/rbac/roles/{id} | Get role by ID +[**get_role_mappings**](RolesApi.md#get_role_mappings) | **GET** /api/settings/rbac/roles/{roleId}/mappings | Get role mappings [**get_roles**](RolesApi.md#get_roles) | **GET** /api/settings/rbac/roles | Get all roles [**update_role**](RolesApi.md#update_role) | **PUT** /api/settings/rbac/roles/{id} | Update role @@ -252,6 +253,86 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_role_mappings** +> List[RoleMappingOverview] get_role_mappings(role_id) + +Get role mappings + +Retrieve IdP role mappings applicable to a specific role + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.role_mapping_overview import RoleMappingOverview +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.RolesApi(api_client) + role_id = 'role_id_example' # str | + + try: + # Get role mappings + api_response = api_instance.get_role_mappings(role_id) + print("The response of RolesApi->get_role_mappings:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling RolesApi->get_role_mappings: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **role_id** | **str**| | + +### Return type + +[**List[RoleMappingOverview]**](RoleMappingOverview.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | role mapping not found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_roles** > List[ApiRole] get_roles() diff --git a/docs/SLOCatalogForMobileAppApi.md b/docs/SLOCatalogForMobileAppApi.md new file mode 100644 index 0000000..9fe6daa --- /dev/null +++ b/docs/SLOCatalogForMobileAppApi.md @@ -0,0 +1,173 @@ +# instana_client.SLOCatalogForMobileAppApi + +All URIs are relative to *https://unit-tenant.instana.io* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_mobile_app_sli_metric_catalog**](SLOCatalogForMobileAppApi.md#get_mobile_app_sli_metric_catalog) | **GET** /api/slo/catalog/metrics/mobile | Mobile app SLI metric catalog +[**get_mobile_app_slo_tag_catalog**](SLOCatalogForMobileAppApi.md#get_mobile_app_slo_tag_catalog) | **GET** /api/slo/catalog/tags/mobile | Get mobile app monitoring tag catalog for Mobile App SLOs + + +# **get_mobile_app_sli_metric_catalog** +> List[object] get_mobile_app_sli_metric_catalog(slo_blueprint=slo_blueprint, beacon_type=beacon_type) + +Mobile app SLI metric catalog + +API request to get mobile app SLI metric catalog filtered by golden signal and beacon type. + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.SLOCatalogForMobileAppApi(api_client) + slo_blueprint = 'slo_blueprint_example' # str | (optional) + beacon_type = 'beacon_type_example' # str | (optional) + + try: + # Mobile app SLI metric catalog + api_response = api_instance.get_mobile_app_sli_metric_catalog(slo_blueprint=slo_blueprint, beacon_type=beacon_type) + print("The response of SLOCatalogForMobileAppApi->get_mobile_app_sli_metric_catalog:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling SLOCatalogForMobileAppApi->get_mobile_app_sli_metric_catalog: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **slo_blueprint** | **str**| | [optional] + **beacon_type** | **str**| | [optional] + +### Return type + +**List[object]** + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**400** | When the sloGoldenSignal/beaconType combination is unsupported. | - | +**401** | Unauthorized access - requires user authentication. | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_mobile_app_slo_tag_catalog** +> TagCatalog get_mobile_app_slo_tag_catalog(beacon_type=beacon_type) + +Get mobile app monitoring tag catalog for Mobile App SLOs + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.tag_catalog import TagCatalog +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.SLOCatalogForMobileAppApi(api_client) + beacon_type = 'beacon_type_example' # str | (optional) + + try: + # Get mobile app monitoring tag catalog for Mobile App SLOs + api_response = api_instance.get_mobile_app_slo_tag_catalog(beacon_type=beacon_type) + print("The response of SLOCatalogForMobileAppApi->get_mobile_app_slo_tag_catalog:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling SLOCatalogForMobileAppApi->get_mobile_app_slo_tag_catalog: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **beacon_type** | **str**| | [optional] + +### Return type + +[**TagCatalog**](TagCatalog.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**400** | When the beaconType unsupported/unknown. | - | +**401** | Unauthorized access - requires user authentication. | - | +**500** | Internal server error. | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/docs/ServiceLevelsAlertConfig.md b/docs/ServiceLevelsAlertConfig.md index b14e8a4..f3e11d9 100644 --- a/docs/ServiceLevelsAlertConfig.md +++ b/docs/ServiceLevelsAlertConfig.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **alert_channel_ids** | **List[str]** | This is the list of channel IDs when alert triggered and sent to. | +**apdex_ids** | **List[str]** | This is the list of Apdex configurations related to this alert (mutually exclusive with sloIds). | **burn_rate_config** | [**List[ServiceLevelsBurnRateConfig]**](ServiceLevelsBurnRateConfig.md) | This is the burn rate alert configuration which defines alerting windows and corresponding thresholds. This configuration must to specified for BURN_RATE_V2 Alerts. | [optional] **burn_rate_time_windows** | [**ServiceLevelsBurnRateTimeWindows**](ServiceLevelsBurnRateTimeWindows.md) | | [optional] **custom_payload_fields** | [**List[CustomPayloadField]**](CustomPayloadField.md) | This is the custom name and value pairs to be sent along with the alert to the alert channels. | diff --git a/docs/ServiceLevelsAlertConfigWithRBACTag.md b/docs/ServiceLevelsAlertConfigWithRBACTag.md index 3a568ac..d01ed95 100644 --- a/docs/ServiceLevelsAlertConfigWithRBACTag.md +++ b/docs/ServiceLevelsAlertConfigWithRBACTag.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **alert_channel_ids** | **List[str]** | This is the list of channel IDs when alert triggered and sent to. | +**apdex_ids** | **List[str]** | This is the list of Apdex configurations related to this alert (mutually exclusive with sloIds). | **burn_rate_config** | [**List[ServiceLevelsBurnRateConfig]**](ServiceLevelsBurnRateConfig.md) | This is the burn rate alert configuration which defines alerting windows and corresponding thresholds. This configuration must to specified for BURN_RATE_V2 Alerts. | [optional] **burn_rate_time_windows** | [**ServiceLevelsBurnRateTimeWindows**](ServiceLevelsBurnRateTimeWindows.md) | | [optional] **created** | **int** | Created Date of the version of Service Levels Smart Alerts Configuration. | [optional] diff --git a/docs/ServiceLevelsAlertConfigurationApi.md b/docs/ServiceLevelsAlertConfigurationApi.md index 42bfc7d..d338ba5 100644 --- a/docs/ServiceLevelsAlertConfigurationApi.md +++ b/docs/ServiceLevelsAlertConfigurationApi.md @@ -561,7 +561,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **find_active_service_levels_alert_configs** -> List[ServiceLevelseAlertConfigWithMetadata] find_active_service_levels_alert_configs(slo_id=slo_id, alert_ids=alert_ids) +> List[ServiceLevelseAlertConfigWithMetadata] find_active_service_levels_alert_configs(slo_id=slo_id, apdex_id=apdex_id, alert_type=alert_type, alert_ids=alert_ids) All Service levels Alert Configs @@ -599,11 +599,13 @@ with instana_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = instana_client.ServiceLevelsAlertConfigurationApi(api_client) slo_id = 'SLOEANnWh9tQOa2h88kGxK6wQ' # str | SLO Configuration ID (optional) + apdex_id = 'APDXEANnWh9tQOa2h88kGxK6wQ' # str | Apdex Configuration ID (optional) + alert_type = 'SLO' # str | Alert Type filter - either 'SLO' or 'APDEX' (optional) alert_ids = ['ln3IGogYS-S7CPqcOQYTNA'] # List[str] | List of Service Levels Alert Configuration IDs (optional) try: # All Service levels Alert Configs - api_response = api_instance.find_active_service_levels_alert_configs(slo_id=slo_id, alert_ids=alert_ids) + api_response = api_instance.find_active_service_levels_alert_configs(slo_id=slo_id, apdex_id=apdex_id, alert_type=alert_type, alert_ids=alert_ids) print("The response of ServiceLevelsAlertConfigurationApi->find_active_service_levels_alert_configs:\n") pprint(api_response) except Exception as e: @@ -618,6 +620,8 @@ with instana_client.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **slo_id** | **str**| SLO Configuration ID | [optional] + **apdex_id** | **str**| Apdex Configuration ID | [optional] + **alert_type** | **str**| Alert Type filter - either 'SLO' or 'APDEX' | [optional] **alert_ids** | [**List[str]**](str.md)| List of Service Levels Alert Configuration IDs | [optional] ### Return type diff --git a/docs/ServiceLevelsAlertRule.md b/docs/ServiceLevelsAlertRule.md index c9c5297..0965228 100644 --- a/docs/ServiceLevelsAlertRule.md +++ b/docs/ServiceLevelsAlertRule.md @@ -1,6 +1,6 @@ # ServiceLevelsAlertRule -This is the service levels alert type. It could be error budget alert or service levels object alert. +This is the service levels alert type. It could be error budget alert, service levels object alert, or Apdex alert. ## Properties diff --git a/docs/ServiceLevelseAlertConfigWithMetadata.md b/docs/ServiceLevelseAlertConfigWithMetadata.md index 3dc7730..cc1571f 100644 --- a/docs/ServiceLevelseAlertConfigWithMetadata.md +++ b/docs/ServiceLevelseAlertConfigWithMetadata.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **alert_channel_ids** | **List[str]** | This is the list of channel IDs when alert triggered and sent to. | +**apdex_ids** | **List[str]** | This is the list of Apdex configurations related to this alert (mutually exclusive with sloIds). | **burn_rate_config** | [**List[ServiceLevelsBurnRateConfig]**](ServiceLevelsBurnRateConfig.md) | This is the burn rate alert configuration which defines alerting windows and corresponding thresholds. This configuration must to specified for BURN_RATE_V2 Alerts. | [optional] **burn_rate_time_windows** | [**ServiceLevelsBurnRateTimeWindows**](ServiceLevelsBurnRateTimeWindows.md) | | [optional] **created** | **int** | Created Date of the version of Service Levels Smart Alerts Configuration. | [optional] diff --git a/docs/TeamsApi.md b/docs/TeamsApi.md index eabc1bc..0111e2c 100644 --- a/docs/TeamsApi.md +++ b/docs/TeamsApi.md @@ -7,6 +7,7 @@ Method | HTTP request | Description [**create_team**](TeamsApi.md#create_team) | **POST** /api/settings/rbac/teams | Create team [**delete_team**](TeamsApi.md#delete_team) | **DELETE** /api/settings/rbac/teams/{id} | Delete team [**get_team**](TeamsApi.md#get_team) | **GET** /api/settings/rbac/teams/{id} | Get team by ID +[**get_team_role_mappings**](TeamsApi.md#get_team_role_mappings) | **GET** /api/settings/rbac/teams/{teamId}/mappings | Get team role mappings [**get_teams**](TeamsApi.md#get_teams) | **GET** /api/settings/rbac/teams | Get all teams [**update_team**](TeamsApi.md#update_team) | **PUT** /api/settings/rbac/teams/{id} | Update team @@ -246,6 +247,86 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **get_team_role_mappings** +> List[RoleMappingOverview] get_team_role_mappings(team_id) + +Get team role mappings + +Retrieve IdP role mappings applicable to a specific team + +### Example + +* Api Key Authentication (ApiKeyAuth): + +```python +import instana_client +from instana_client.models.role_mapping_overview import RoleMappingOverview +from instana_client.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://unit-tenant.instana.io +# See configuration.py for a list of all supported configuration parameters. +configuration = instana_client.Configuration( + host = "https://unit-tenant.instana.io" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: ApiKeyAuth +configuration.api_key['ApiKeyAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['ApiKeyAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with instana_client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = instana_client.TeamsApi(api_client) + team_id = 'team_id_example' # str | + + try: + # Get team role mappings + api_response = api_instance.get_team_role_mappings(team_id) + print("The response of TeamsApi->get_team_role_mappings:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling TeamsApi->get_team_role_mappings: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **team_id** | **str**| | + +### Return type + +[**List[RoleMappingOverview]**](RoleMappingOverview.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**404** | role mapping not found | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **get_teams** > List[ApiTeam] get_teams() diff --git a/docs/TestResultCommonProperties.md b/docs/TestResultCommonProperties.md index 709f1f5..52b00cb 100644 --- a/docs/TestResultCommonProperties.md +++ b/docs/TestResultCommonProperties.md @@ -7,8 +7,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **client_id** | **str** | | **custom_tags** | **Dict[str, str]** | | [optional] +**dns_lookup** | **str** | | [optional] **dns_query_type** | **str** | | [optional] **dns_server_name** | **str** | | [optional] +**dns_transport** | **str** | | [optional] **errors** | **List[str]** | | [optional] **id** | **str** | | [optional] **ism_details** | **Dict[str, str]** | | [optional] diff --git a/docs/WebpageScriptConfiguration.md b/docs/WebpageScriptConfiguration.md index 89cb875..de9dff6 100644 --- a/docs/WebpageScriptConfiguration.md +++ b/docs/WebpageScriptConfiguration.md @@ -7,8 +7,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **browser** | **str** | | [optional] **file_name** | **str** | | [optional] +**github** | [**GitHubConfiguration**](GitHubConfiguration.md) | | [optional] **record_video** | **bool** | | [optional] -**script** | **str** | | +**script** | **str** | | [optional] ## Example diff --git a/docs/WebpageScriptConfigurationUpdate.md b/docs/WebpageScriptConfigurationUpdate.md index 749cac9..b7b57fe 100644 --- a/docs/WebpageScriptConfigurationUpdate.md +++ b/docs/WebpageScriptConfigurationUpdate.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **browser** | **str** | | [optional] **file_name** | **str** | | [optional] +**github** | [**GitHubConfiguration**](GitHubConfiguration.md) | | [optional] **record_video** | **bool** | | [optional] **script** | **str** | | [optional] diff --git a/instana_client/__init__.py b/instana_client/__init__.py index 37972c7..27816e2 100644 --- a/instana_client/__init__.py +++ b/instana_client/__init__.py @@ -7,7 +7,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -15,7 +15,7 @@ """ # noqa: E501 -__version__ = "1.0.8" +__version__ = "1.0.9" # import apis into sdk package from instana_client.api.ai_management_api import AIManagementApi @@ -63,6 +63,7 @@ from instana_client.api.roles_api import RolesApi from instana_client.api.sli_report_api import SLIReportApi from instana_client.api.sli_settings_api import SLISettingsApi +from instana_client.api.slo_catalog_for_mobile_app_api import SLOCatalogForMobileAppApi from instana_client.api.slo_configurations_api import SLOConfigurationsApi from instana_client.api.slo_correction_configurations_api import SLOCorrectionConfigurationsApi from instana_client.api.slo_correction_windows_api import SLOCorrectionWindowsApi @@ -100,6 +101,7 @@ from instana_client.models.abstract_rule import AbstractRule from instana_client.models.access_rule import AccessRule from instana_client.models.action import Action +from instana_client.models.action_beacon import ActionBeacon from instana_client.models.action_configuration import ActionConfiguration from instana_client.models.action_instance import ActionInstance from instana_client.models.action_instance_metadata_entry import ActionInstanceMetadataEntry @@ -116,6 +118,7 @@ from instana_client.models.alerting_configuration import AlertingConfiguration from instana_client.models.alerting_configuration_with_last_updated import AlertingConfigurationWithLastUpdated from instana_client.models.alerting_time_window import AlertingTimeWindow +from instana_client.models.apdex_alert_rule import ApdexAlertRule from instana_client.models.apdex_configuration import ApdexConfiguration from instana_client.models.apdex_configuration_input import ApdexConfigurationInput from instana_client.models.apdex_entity import ApdexEntity @@ -245,6 +248,7 @@ from instana_client.models.geo_location_configuration import GeoLocationConfiguration from instana_client.models.geo_mapping_rule import GeoMappingRule from instana_client.models.geo_subdivision import GeoSubdivision +from instana_client.models.get_action_beacons_result import GetActionBeaconsResult from instana_client.models.get_activities import GetActivities from instana_client.models.get_application_metrics import GetApplicationMetrics from instana_client.models.get_applications import GetApplications @@ -263,6 +267,7 @@ from instana_client.models.get_mobile_app_metrics_v2 import GetMobileAppMetricsV2 from instana_client.models.get_payload_keys_result import GetPayloadKeysResult from instana_client.models.get_services import GetServices +from instana_client.models.get_session_replay_metadata_result import GetSessionReplayMetadataResult from instana_client.models.get_snapshots_query import GetSnapshotsQuery from instana_client.models.get_test_result import GetTestResult from instana_client.models.get_test_result_analytic import GetTestResultAnalytic @@ -276,6 +281,7 @@ from instana_client.models.get_website_beacons import GetWebsiteBeacons from instana_client.models.get_website_metrics import GetWebsiteMetrics from instana_client.models.get_website_metrics_v2 import GetWebsiteMetricsV2 +from instana_client.models.git_hub_configuration import GitHubConfiguration from instana_client.models.global_application_alert_config_with_metadata import GlobalApplicationAlertConfigWithMetadata from instana_client.models.global_applications_alert_config import GlobalApplicationsAlertConfig from instana_client.models.google_chat_integration import GoogleChatIntegration @@ -420,6 +426,7 @@ from instana_client.models.release_scope import ReleaseScope from instana_client.models.release_with_metadata import ReleaseWithMetadata from instana_client.models.retention_period import RetentionPeriod +from instana_client.models.role_mapping_overview import RoleMappingOverview from instana_client.models.rolling_time_window import RollingTimeWindow from instana_client.models.rule_input import RuleInput from instana_client.models.rule_with_threshold_application_alert_rule import RuleWithThresholdApplicationAlertRule @@ -463,6 +470,8 @@ from instana_client.models.service_scoped_to import ServiceScopedTo from instana_client.models.service_scoped_to_with_metadata import ServiceScopedToWithMetadata from instana_client.models.service_simple import ServiceSimple +from instana_client.models.session_replay_metadata import SessionReplayMetadata +from instana_client.models.session_replay_timestamps import SessionReplayTimestamps from instana_client.models.session_settings import SessionSettings from instana_client.models.simple_metric_configuration import SimpleMetricConfiguration from instana_client.models.slack_integration import SlackIntegration diff --git a/instana_client/api/__init__.py b/instana_client/api/__init__.py index ea4749e..d626738 100644 --- a/instana_client/api/__init__.py +++ b/instana_client/api/__init__.py @@ -46,6 +46,7 @@ from instana_client.api.roles_api import RolesApi from instana_client.api.sli_report_api import SLIReportApi from instana_client.api.sli_settings_api import SLISettingsApi +from instana_client.api.slo_catalog_for_mobile_app_api import SLOCatalogForMobileAppApi from instana_client.api.slo_configurations_api import SLOConfigurationsApi from instana_client.api.slo_correction_configurations_api import SLOCorrectionConfigurationsApi from instana_client.api.slo_correction_windows_api import SLOCorrectionWindowsApi diff --git a/instana_client/api/action_catalog_api.py b/instana_client/api/action_catalog_api.py index a8ab05e..c7bc3a0 100644 --- a/instana_client/api/action_catalog_api.py +++ b/instana_client/api/action_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/action_history_api.py b/instana_client/api/action_history_api.py index 3d2bb14..bae09de 100644 --- a/instana_client/api/action_history_api.py +++ b/instana_client/api/action_history_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/ai_management_api.py b/instana_client/api/ai_management_api.py index e0d6a36..6f66c55 100644 --- a/instana_client/api/ai_management_api.py +++ b/instana_client/api/ai_management_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/apdex_report_api.py b/instana_client/api/apdex_report_api.py index 7ed6fb0..46eb39c 100644 --- a/instana_client/api/apdex_report_api.py +++ b/instana_client/api/apdex_report_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/apdex_settings_api.py b/instana_client/api/apdex_settings_api.py index 8a737c1..00ae557 100644 --- a/instana_client/api/apdex_settings_api.py +++ b/instana_client/api/apdex_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -1888,6 +1888,7 @@ def get_all_apdex_configurations_v2( to: Optional[StrictInt] = None, entity_type: Optional[StrictStr] = None, entity_id: Optional[StrictStr] = None, + apdex_ids: Optional[List[StrictStr]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1927,6 +1928,8 @@ def get_all_apdex_configurations_v2( :type entity_type: str :param entity_id: :type entity_id: str + :param apdex_ids: + :type apdex_ids: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1961,6 +1964,7 @@ def get_all_apdex_configurations_v2( to=to, entity_type=entity_type, entity_id=entity_id, + apdex_ids=apdex_ids, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1995,6 +1999,7 @@ def get_all_apdex_configurations_v2_with_http_info( to: Optional[StrictInt] = None, entity_type: Optional[StrictStr] = None, entity_id: Optional[StrictStr] = None, + apdex_ids: Optional[List[StrictStr]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2034,6 +2039,8 @@ def get_all_apdex_configurations_v2_with_http_info( :type entity_type: str :param entity_id: :type entity_id: str + :param apdex_ids: + :type apdex_ids: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2068,6 +2075,7 @@ def get_all_apdex_configurations_v2_with_http_info( to=to, entity_type=entity_type, entity_id=entity_id, + apdex_ids=apdex_ids, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2102,6 +2110,7 @@ def get_all_apdex_configurations_v2_without_preload_content( to: Optional[StrictInt] = None, entity_type: Optional[StrictStr] = None, entity_id: Optional[StrictStr] = None, + apdex_ids: Optional[List[StrictStr]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2141,6 +2150,8 @@ def get_all_apdex_configurations_v2_without_preload_content( :type entity_type: str :param entity_id: :type entity_id: str + :param apdex_ids: + :type apdex_ids: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2175,6 +2186,7 @@ def get_all_apdex_configurations_v2_without_preload_content( to=to, entity_type=entity_type, entity_id=entity_id, + apdex_ids=apdex_ids, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2204,6 +2216,7 @@ def _get_all_apdex_configurations_v2_serialize( to, entity_type, entity_id, + apdex_ids, _request_auth, _content_type, _headers, @@ -2213,6 +2226,7 @@ def _get_all_apdex_configurations_v2_serialize( _host = None _collection_formats: Dict[str, str] = { + 'apdexIds': 'multi', } _path_params: Dict[str, str] = {} @@ -2270,6 +2284,10 @@ def _get_all_apdex_configurations_v2_serialize( _query_params.append(('entityId', entity_id)) + if apdex_ids is not None: + + _query_params.append(('apdexIds', apdex_ids)) + # process the header parameters # process the form parameters # process the body parameter diff --git a/instana_client/api/api_token_api.py b/instana_client/api/api_token_api.py index 77f6942..ab6242b 100644 --- a/instana_client/api/api_token_api.py +++ b/instana_client/api/api_token_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_alert_configuration_api.py b/instana_client/api/application_alert_configuration_api.py index dc43773..2f8eb3a 100644 --- a/instana_client/api/application_alert_configuration_api.py +++ b/instana_client/api/application_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_analyze_api.py b/instana_client/api/application_analyze_api.py index 274d96b..05a06ec 100644 --- a/instana_client/api/application_analyze_api.py +++ b/instana_client/api/application_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_catalog_api.py b/instana_client/api/application_catalog_api.py index 7f4623e..61ea8e7 100644 --- a/instana_client/api/application_catalog_api.py +++ b/instana_client/api/application_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_metrics_api.py b/instana_client/api/application_metrics_api.py index 64b7857..e3fe990 100644 --- a/instana_client/api/application_metrics_api.py +++ b/instana_client/api/application_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_resources_api.py b/instana_client/api/application_resources_api.py index 4f278e2..65519af 100644 --- a/instana_client/api/application_resources_api.py +++ b/instana_client/api/application_resources_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_settings_api.py b/instana_client/api/application_settings_api.py index ffe0d52..d9e2e84 100644 --- a/instana_client/api/application_settings_api.py +++ b/instana_client/api/application_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/application_topology_api.py b/instana_client/api/application_topology_api.py index 3a3d968..ecf5fd4 100644 --- a/instana_client/api/application_topology_api.py +++ b/instana_client/api/application_topology_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/audit_log_api.py b/instana_client/api/audit_log_api.py index c541570..85493d8 100644 --- a/instana_client/api/audit_log_api.py +++ b/instana_client/api/audit_log_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/authentication_api.py b/instana_client/api/authentication_api.py index 6b6103c..a5b7fee 100644 --- a/instana_client/api/authentication_api.py +++ b/instana_client/api/authentication_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/business_monitoring_api.py b/instana_client/api/business_monitoring_api.py index b6678d7..7c30574 100644 --- a/instana_client/api/business_monitoring_api.py +++ b/instana_client/api/business_monitoring_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/custom_dashboards_api.py b/instana_client/api/custom_dashboards_api.py index 792295c..603951d 100644 --- a/instana_client/api/custom_dashboards_api.py +++ b/instana_client/api/custom_dashboards_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/custom_entities_api.py b/instana_client/api/custom_entities_api.py index 4b4e22f..479b122 100644 --- a/instana_client/api/custom_entities_api.py +++ b/instana_client/api/custom_entities_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/default_api.py b/instana_client/api/default_api.py index 3f0fa7b..c4aacbd 100644 --- a/instana_client/api/default_api.py +++ b/instana_client/api/default_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/end_user_monitoring_api.py b/instana_client/api/end_user_monitoring_api.py index 5dec551..ec69b9e 100644 --- a/instana_client/api/end_user_monitoring_api.py +++ b/instana_client/api/end_user_monitoring_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/event_settings_api.py b/instana_client/api/event_settings_api.py index d059190..9d7d23b 100644 --- a/instana_client/api/event_settings_api.py +++ b/instana_client/api/event_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/events_api.py b/instana_client/api/events_api.py index 0449357..c82e3e7 100644 --- a/instana_client/api/events_api.py +++ b/instana_client/api/events_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/global_application_alert_configuration_api.py b/instana_client/api/global_application_alert_configuration_api.py index 410d5cf..d335505 100644 --- a/instana_client/api/global_application_alert_configuration_api.py +++ b/instana_client/api/global_application_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/groups_api.py b/instana_client/api/groups_api.py index a95d9dc..724e503 100644 --- a/instana_client/api/groups_api.py +++ b/instana_client/api/groups_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/health_api.py b/instana_client/api/health_api.py index 66761dc..f28bf84 100644 --- a/instana_client/api/health_api.py +++ b/instana_client/api/health_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/host_agent_api.py b/instana_client/api/host_agent_api.py index 9386e5a..a211493 100644 --- a/instana_client/api/host_agent_api.py +++ b/instana_client/api/host_agent_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_alert_configuration_api.py b/instana_client/api/infrastructure_alert_configuration_api.py index 2862ed2..8a7fedc 100644 --- a/instana_client/api/infrastructure_alert_configuration_api.py +++ b/instana_client/api/infrastructure_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_analyze_api.py b/instana_client/api/infrastructure_analyze_api.py index 935b9dd..62cc780 100644 --- a/instana_client/api/infrastructure_analyze_api.py +++ b/instana_client/api/infrastructure_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_catalog_api.py b/instana_client/api/infrastructure_catalog_api.py index 4ba162a..1b43643 100644 --- a/instana_client/api/infrastructure_catalog_api.py +++ b/instana_client/api/infrastructure_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_metrics_api.py b/instana_client/api/infrastructure_metrics_api.py index 8bfb985..2ea798b 100644 --- a/instana_client/api/infrastructure_metrics_api.py +++ b/instana_client/api/infrastructure_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_resources_api.py b/instana_client/api/infrastructure_resources_api.py index 8ada906..94bd5d1 100644 --- a/instana_client/api/infrastructure_resources_api.py +++ b/instana_client/api/infrastructure_resources_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/infrastructure_topology_api.py b/instana_client/api/infrastructure_topology_api.py index 1c3b5de..997da31 100644 --- a/instana_client/api/infrastructure_topology_api.py +++ b/instana_client/api/infrastructure_topology_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/ip_filtering_api.py b/instana_client/api/ip_filtering_api.py index eade135..3779b9b 100644 --- a/instana_client/api/ip_filtering_api.py +++ b/instana_client/api/ip_filtering_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/llm_price_configuration_api.py b/instana_client/api/llm_price_configuration_api.py index af1fc7c..a0c448c 100644 --- a/instana_client/api/llm_price_configuration_api.py +++ b/instana_client/api/llm_price_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/log_alert_configuration_api.py b/instana_client/api/log_alert_configuration_api.py index ded7f64..737bdaf 100644 --- a/instana_client/api/log_alert_configuration_api.py +++ b/instana_client/api/log_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/logging_analyze_api.py b/instana_client/api/logging_analyze_api.py index c3385c5..b1e29e5 100644 --- a/instana_client/api/logging_analyze_api.py +++ b/instana_client/api/logging_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/maintenance_configuration_api.py b/instana_client/api/maintenance_configuration_api.py index 6399f8a..4c67a9a 100644 --- a/instana_client/api/maintenance_configuration_api.py +++ b/instana_client/api/maintenance_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/mobile_app_analyze_api.py b/instana_client/api/mobile_app_analyze_api.py index 3fe61f5..79732d9 100644 --- a/instana_client/api/mobile_app_analyze_api.py +++ b/instana_client/api/mobile_app_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/mobile_app_catalog_api.py b/instana_client/api/mobile_app_catalog_api.py index 364f3d7..88d037a 100644 --- a/instana_client/api/mobile_app_catalog_api.py +++ b/instana_client/api/mobile_app_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -17,10 +17,13 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictStr, field_validator -from typing import List +from pydantic import Field, StrictInt, StrictStr, field_validator +from typing import List, Optional from typing_extensions import Annotated +from instana_client.models.get_action_beacons_result import GetActionBeaconsResult +from instana_client.models.get_session_replay_metadata_result import GetSessionReplayMetadataResult from instana_client.models.mobile_app_monitoring_metric_description import MobileAppMonitoringMetricDescription +from instana_client.models.session_replay_timestamps import SessionReplayTimestamps from instana_client.models.tag import Tag from instana_client.models.tag_catalog import TagCatalog @@ -42,6 +45,330 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client + @validate_call + def get_action_beacons( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + cursor: Annotated[Optional[StrictInt], Field(description="Offset cursor for pagination (number of items already retrieved). Omit for first page.")] = None, + page_size: Annotated[Optional[StrictInt], Field(description="Number of items per page (default: 100, max: 1000)")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> GetActionBeaconsResult: + """Get action beacons for a session + + Retrieves action beacons (user interactions and events) for a mobile app session. Uses cursor-based pagination with offset cursors. Returns beacons starting from the cursor offset. The pageSize parameter controls the number of items returned (default 100, max 1000). Includes event types, view components, frustration signals, orientation changes, and more. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param cursor: Offset cursor for pagination (number of items already retrieved). Omit for first page. + :type cursor: int + :param page_size: Number of items per page (default: 100, max: 1000) + :type page_size: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_action_beacons_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + cursor=cursor, + page_size=page_size, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetActionBeaconsResult", + '400': None, + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_action_beacons_with_http_info( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + cursor: Annotated[Optional[StrictInt], Field(description="Offset cursor for pagination (number of items already retrieved). Omit for first page.")] = None, + page_size: Annotated[Optional[StrictInt], Field(description="Number of items per page (default: 100, max: 1000)")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[GetActionBeaconsResult]: + """Get action beacons for a session + + Retrieves action beacons (user interactions and events) for a mobile app session. Uses cursor-based pagination with offset cursors. Returns beacons starting from the cursor offset. The pageSize parameter controls the number of items returned (default 100, max 1000). Includes event types, view components, frustration signals, orientation changes, and more. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param cursor: Offset cursor for pagination (number of items already retrieved). Omit for first page. + :type cursor: int + :param page_size: Number of items per page (default: 100, max: 1000) + :type page_size: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_action_beacons_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + cursor=cursor, + page_size=page_size, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetActionBeaconsResult", + '400': None, + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_action_beacons_without_preload_content( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + cursor: Annotated[Optional[StrictInt], Field(description="Offset cursor for pagination (number of items already retrieved). Omit for first page.")] = None, + page_size: Annotated[Optional[StrictInt], Field(description="Number of items per page (default: 100, max: 1000)")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get action beacons for a session + + Retrieves action beacons (user interactions and events) for a mobile app session. Uses cursor-based pagination with offset cursors. Returns beacons starting from the cursor offset. The pageSize parameter controls the number of items returned (default 100, max 1000). Includes event types, view components, frustration signals, orientation changes, and more. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param cursor: Offset cursor for pagination (number of items already retrieved). Omit for first page. + :type cursor: int + :param page_size: Number of items per page (default: 100, max: 1000) + :type page_size: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_action_beacons_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + cursor=cursor, + page_size=page_size, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetActionBeaconsResult", + '400': None, + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_action_beacons_serialize( + self, + mobile_app_id, + session_id, + cursor, + page_size, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if mobile_app_id is not None: + _path_params['mobileAppId'] = mobile_app_id + if session_id is not None: + _path_params['sessionId'] = session_id + # process the query parameters + if cursor is not None: + + _query_params.append(('cursor', cursor)) + + if page_size is not None: + + _query_params.append(('pageSize', page_size)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/action-beacons', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def get_all_mobile_app_catalog_tags( self, @@ -830,3 +1157,617 @@ def _get_mobile_app_tag_catalog_serialize( ) + + + @validate_call + def get_session_replay_metadata( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + cursor: Annotated[Optional[StrictInt], Field(description="Timestamp cursor for pagination (epoch milliseconds). Retrieves metadata from this timestamp onwards.")] = None, + page_size: Annotated[Optional[StrictInt], Field(description="Time window size in milliseconds (default: 20000ms = 20 seconds)")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> GetSessionReplayMetadataResult: + """Get session replay metadata + + Retrieves detailed metadata for session replay captured during a mobile app session. Uses cursor-based pagination with timestamp cursors. Returns metadata within the time window from cursor to cursor + pageSize. The pageSize represents milliseconds (default 20000ms = 20 seconds). Includes all metadata fields such as event type, view components, orientation changes, etc. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param cursor: Timestamp cursor for pagination (epoch milliseconds). Retrieves metadata from this timestamp onwards. + :type cursor: int + :param page_size: Time window size in milliseconds (default: 20000ms = 20 seconds) + :type page_size: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_session_replay_metadata_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + cursor=cursor, + page_size=page_size, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetSessionReplayMetadataResult", + '400': None, + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_session_replay_metadata_with_http_info( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + cursor: Annotated[Optional[StrictInt], Field(description="Timestamp cursor for pagination (epoch milliseconds). Retrieves metadata from this timestamp onwards.")] = None, + page_size: Annotated[Optional[StrictInt], Field(description="Time window size in milliseconds (default: 20000ms = 20 seconds)")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[GetSessionReplayMetadataResult]: + """Get session replay metadata + + Retrieves detailed metadata for session replay captured during a mobile app session. Uses cursor-based pagination with timestamp cursors. Returns metadata within the time window from cursor to cursor + pageSize. The pageSize represents milliseconds (default 20000ms = 20 seconds). Includes all metadata fields such as event type, view components, orientation changes, etc. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param cursor: Timestamp cursor for pagination (epoch milliseconds). Retrieves metadata from this timestamp onwards. + :type cursor: int + :param page_size: Time window size in milliseconds (default: 20000ms = 20 seconds) + :type page_size: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_session_replay_metadata_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + cursor=cursor, + page_size=page_size, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetSessionReplayMetadataResult", + '400': None, + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_session_replay_metadata_without_preload_content( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + cursor: Annotated[Optional[StrictInt], Field(description="Timestamp cursor for pagination (epoch milliseconds). Retrieves metadata from this timestamp onwards.")] = None, + page_size: Annotated[Optional[StrictInt], Field(description="Time window size in milliseconds (default: 20000ms = 20 seconds)")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get session replay metadata + + Retrieves detailed metadata for session replay captured during a mobile app session. Uses cursor-based pagination with timestamp cursors. Returns metadata within the time window from cursor to cursor + pageSize. The pageSize represents milliseconds (default 20000ms = 20 seconds). Includes all metadata fields such as event type, view components, orientation changes, etc. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param cursor: Timestamp cursor for pagination (epoch milliseconds). Retrieves metadata from this timestamp onwards. + :type cursor: int + :param page_size: Time window size in milliseconds (default: 20000ms = 20 seconds) + :type page_size: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_session_replay_metadata_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + cursor=cursor, + page_size=page_size, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetSessionReplayMetadataResult", + '400': None, + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_session_replay_metadata_serialize( + self, + mobile_app_id, + session_id, + cursor, + page_size, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if mobile_app_id is not None: + _path_params['mobileAppId'] = mobile_app_id + if session_id is not None: + _path_params['sessionId'] = session_id + # process the query parameters + if cursor is not None: + + _query_params.append(('cursor', cursor)) + + if page_size is not None: + + _query_params.append(('pageSize', page_size)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/replay-metadata', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_session_replay_timestamps( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> SessionReplayTimestamps: + """Get session replay timestamps + + Retrieves the first and last image timestamps for a mobile app session. Returns null values if the session has no images. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_session_replay_timestamps_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SessionReplayTimestamps", + '400': None, + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_session_replay_timestamps_with_http_info( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[SessionReplayTimestamps]: + """Get session replay timestamps + + Retrieves the first and last image timestamps for a mobile app session. Returns null values if the session has no images. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_session_replay_timestamps_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SessionReplayTimestamps", + '400': None, + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_session_replay_timestamps_without_preload_content( + self, + mobile_app_id: Annotated[str, Field(min_length=1, strict=True, description="Mobile app identifier")], + session_id: Annotated[str, Field(min_length=1, strict=True, description="Session identifier")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get session replay timestamps + + Retrieves the first and last image timestamps for a mobile app session. Returns null values if the session has no images. + + :param mobile_app_id: Mobile app identifier (required) + :type mobile_app_id: str + :param session_id: Session identifier (required) + :type session_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_session_replay_timestamps_serialize( + mobile_app_id=mobile_app_id, + session_id=session_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SessionReplayTimestamps", + '400': None, + '401': None, + '403': None, + '404': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_session_replay_timestamps_serialize( + self, + mobile_app_id, + session_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if mobile_app_id is not None: + _path_params['mobileAppId'] = mobile_app_id + if session_id is not None: + _path_params['sessionId'] = session_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/replay-timestamps', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/instana_client/api/mobile_app_configuration_api.py b/instana_client/api/mobile_app_configuration_api.py index a81010d..ccad29d 100644 --- a/instana_client/api/mobile_app_configuration_api.py +++ b/instana_client/api/mobile_app_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/mobile_app_metrics_api.py b/instana_client/api/mobile_app_metrics_api.py index 7c52650..a2e73bc 100644 --- a/instana_client/api/mobile_app_metrics_api.py +++ b/instana_client/api/mobile_app_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/policies_api.py b/instana_client/api/policies_api.py index 2bad564..10cf3ce 100644 --- a/instana_client/api/policies_api.py +++ b/instana_client/api/policies_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/releases_api.py b/instana_client/api/releases_api.py index 8162bf9..63d6536 100644 --- a/instana_client/api/releases_api.py +++ b/instana_client/api/releases_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/roles_api.py b/instana_client/api/roles_api.py index 33a754f..1dd2bbe 100644 --- a/instana_client/api/roles_api.py +++ b/instana_client/api/roles_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -22,6 +22,7 @@ from typing_extensions import Annotated from instana_client.models.api_create_role import ApiCreateRole from instana_client.models.api_role import ApiRole +from instana_client.models.role_mapping_overview import RoleMappingOverview from instana_client.api_client import ApiClient, RequestSerialized from instana_client.api_response import ApiResponse @@ -866,6 +867,270 @@ def _get_role_serialize( + @validate_call + def get_role_mappings( + self, + role_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[RoleMappingOverview]: + """Get role mappings + + Retrieve IdP role mappings applicable to a specific role + + :param role_id: (required) + :type role_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_role_mappings_serialize( + role_id=role_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_role_mappings_with_http_info( + self, + role_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[RoleMappingOverview]]: + """Get role mappings + + Retrieve IdP role mappings applicable to a specific role + + :param role_id: (required) + :type role_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_role_mappings_serialize( + role_id=role_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_role_mappings_without_preload_content( + self, + role_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get role mappings + + Retrieve IdP role mappings applicable to a specific role + + :param role_id: (required) + :type role_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_role_mappings_serialize( + role_id=role_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_role_mappings_serialize( + self, + role_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if role_id is not None: + _path_params['roleId'] = role_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/roles/{roleId}/mappings', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def get_roles( self, diff --git a/instana_client/api/service_levels_alert_configuration_api.py b/instana_client/api/service_levels_alert_configuration_api.py index 3ae05c9..dcd1390 100644 --- a/instana_client/api/service_levels_alert_configuration_api.py +++ b/instana_client/api/service_levels_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -1982,6 +1982,8 @@ def _enable_service_levels_alert_config_serialize( def find_active_service_levels_alert_configs( self, slo_id: Annotated[Optional[StrictStr], Field(description="SLO Configuration ID")] = None, + apdex_id: Annotated[Optional[StrictStr], Field(description="Apdex Configuration ID")] = None, + alert_type: Annotated[Optional[StrictStr], Field(description="Alert Type filter - either 'SLO' or 'APDEX'")] = None, alert_ids: Annotated[Optional[Annotated[List[StrictStr], Field(min_length=0, max_length=1000)]], Field(description="List of Service Levels Alert Configuration IDs")] = None, _request_timeout: Union[ None, @@ -2002,6 +2004,10 @@ def find_active_service_levels_alert_configs( :param slo_id: SLO Configuration ID :type slo_id: str + :param apdex_id: Apdex Configuration ID + :type apdex_id: str + :param alert_type: Alert Type filter - either 'SLO' or 'APDEX' + :type alert_type: str :param alert_ids: List of Service Levels Alert Configuration IDs :type alert_ids: List[str] :param _request_timeout: timeout setting for this request. If one @@ -2028,6 +2034,8 @@ def find_active_service_levels_alert_configs( _param = self._find_active_service_levels_alert_configs_serialize( slo_id=slo_id, + apdex_id=apdex_id, + alert_type=alert_type, alert_ids=alert_ids, _request_auth=_request_auth, _content_type=_content_type, @@ -2053,6 +2061,8 @@ def find_active_service_levels_alert_configs( def find_active_service_levels_alert_configs_with_http_info( self, slo_id: Annotated[Optional[StrictStr], Field(description="SLO Configuration ID")] = None, + apdex_id: Annotated[Optional[StrictStr], Field(description="Apdex Configuration ID")] = None, + alert_type: Annotated[Optional[StrictStr], Field(description="Alert Type filter - either 'SLO' or 'APDEX'")] = None, alert_ids: Annotated[Optional[Annotated[List[StrictStr], Field(min_length=0, max_length=1000)]], Field(description="List of Service Levels Alert Configuration IDs")] = None, _request_timeout: Union[ None, @@ -2073,6 +2083,10 @@ def find_active_service_levels_alert_configs_with_http_info( :param slo_id: SLO Configuration ID :type slo_id: str + :param apdex_id: Apdex Configuration ID + :type apdex_id: str + :param alert_type: Alert Type filter - either 'SLO' or 'APDEX' + :type alert_type: str :param alert_ids: List of Service Levels Alert Configuration IDs :type alert_ids: List[str] :param _request_timeout: timeout setting for this request. If one @@ -2099,6 +2113,8 @@ def find_active_service_levels_alert_configs_with_http_info( _param = self._find_active_service_levels_alert_configs_serialize( slo_id=slo_id, + apdex_id=apdex_id, + alert_type=alert_type, alert_ids=alert_ids, _request_auth=_request_auth, _content_type=_content_type, @@ -2124,6 +2140,8 @@ def find_active_service_levels_alert_configs_with_http_info( def find_active_service_levels_alert_configs_without_preload_content( self, slo_id: Annotated[Optional[StrictStr], Field(description="SLO Configuration ID")] = None, + apdex_id: Annotated[Optional[StrictStr], Field(description="Apdex Configuration ID")] = None, + alert_type: Annotated[Optional[StrictStr], Field(description="Alert Type filter - either 'SLO' or 'APDEX'")] = None, alert_ids: Annotated[Optional[Annotated[List[StrictStr], Field(min_length=0, max_length=1000)]], Field(description="List of Service Levels Alert Configuration IDs")] = None, _request_timeout: Union[ None, @@ -2144,6 +2162,10 @@ def find_active_service_levels_alert_configs_without_preload_content( :param slo_id: SLO Configuration ID :type slo_id: str + :param apdex_id: Apdex Configuration ID + :type apdex_id: str + :param alert_type: Alert Type filter - either 'SLO' or 'APDEX' + :type alert_type: str :param alert_ids: List of Service Levels Alert Configuration IDs :type alert_ids: List[str] :param _request_timeout: timeout setting for this request. If one @@ -2170,6 +2192,8 @@ def find_active_service_levels_alert_configs_without_preload_content( _param = self._find_active_service_levels_alert_configs_serialize( slo_id=slo_id, + apdex_id=apdex_id, + alert_type=alert_type, alert_ids=alert_ids, _request_auth=_request_auth, _content_type=_content_type, @@ -2190,6 +2214,8 @@ def find_active_service_levels_alert_configs_without_preload_content( def _find_active_service_levels_alert_configs_serialize( self, slo_id, + apdex_id, + alert_type, alert_ids, _request_auth, _content_type, @@ -2218,6 +2244,14 @@ def _find_active_service_levels_alert_configs_serialize( _query_params.append(('sloId', slo_id)) + if apdex_id is not None: + + _query_params.append(('apdexId', apdex_id)) + + if alert_type is not None: + + _query_params.append(('alertType', alert_type)) + if alert_ids is not None: _query_params.append(('alertIds', alert_ids)) diff --git a/instana_client/api/service_levels_objective_slo_report_api.py b/instana_client/api/service_levels_objective_slo_report_api.py index 41ed6ce..fe58060 100644 --- a/instana_client/api/service_levels_objective_slo_report_api.py +++ b/instana_client/api/service_levels_objective_slo_report_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/session_settings_api.py b/instana_client/api/session_settings_api.py index df35a3f..02455cc 100644 --- a/instana_client/api/session_settings_api.py +++ b/instana_client/api/session_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/sli_report_api.py b/instana_client/api/sli_report_api.py index a6951b4..63fe70e 100644 --- a/instana_client/api/sli_report_api.py +++ b/instana_client/api/sli_report_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/sli_settings_api.py b/instana_client/api/sli_settings_api.py index c91d7c8..ce475e0 100644 --- a/instana_client/api/sli_settings_api.py +++ b/instana_client/api/sli_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/slo_catalog_for_mobile_app_api.py b/instana_client/api/slo_catalog_for_mobile_app_api.py new file mode 100644 index 0000000..836127b --- /dev/null +++ b/instana_client/api/slo_catalog_for_mobile_app_api.py @@ -0,0 +1,597 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.320.1414 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import StrictStr +from typing import Any, Dict, List, Optional +from instana_client.models.tag_catalog import TagCatalog + +from instana_client.api_client import ApiClient, RequestSerialized +from instana_client.api_response import ApiResponse +from instana_client.rest import RESTResponseType + + +class SLOCatalogForMobileAppApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def get_mobile_app_sli_metric_catalog( + self, + slo_blueprint: Optional[StrictStr] = None, + beacon_type: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[object]: + """Mobile app SLI metric catalog + + API request to get mobile app SLI metric catalog filtered by golden signal and beacon type. + + :param slo_blueprint: + :type slo_blueprint: str + :param beacon_type: + :type beacon_type: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mobile_app_sli_metric_catalog_serialize( + slo_blueprint=slo_blueprint, + beacon_type=beacon_type, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[object]", + '400': None, + '401': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_mobile_app_sli_metric_catalog_with_http_info( + self, + slo_blueprint: Optional[StrictStr] = None, + beacon_type: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[object]]: + """Mobile app SLI metric catalog + + API request to get mobile app SLI metric catalog filtered by golden signal and beacon type. + + :param slo_blueprint: + :type slo_blueprint: str + :param beacon_type: + :type beacon_type: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mobile_app_sli_metric_catalog_serialize( + slo_blueprint=slo_blueprint, + beacon_type=beacon_type, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[object]", + '400': None, + '401': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_mobile_app_sli_metric_catalog_without_preload_content( + self, + slo_blueprint: Optional[StrictStr] = None, + beacon_type: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Mobile app SLI metric catalog + + API request to get mobile app SLI metric catalog filtered by golden signal and beacon type. + + :param slo_blueprint: + :type slo_blueprint: str + :param beacon_type: + :type beacon_type: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mobile_app_sli_metric_catalog_serialize( + slo_blueprint=slo_blueprint, + beacon_type=beacon_type, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[object]", + '400': None, + '401': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_mobile_app_sli_metric_catalog_serialize( + self, + slo_blueprint, + beacon_type, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if slo_blueprint is not None: + + _query_params.append(('sloBlueprint', slo_blueprint)) + + if beacon_type is not None: + + _query_params.append(('beaconType', beacon_type)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/slo/catalog/metrics/mobile', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_mobile_app_slo_tag_catalog( + self, + beacon_type: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> TagCatalog: + """Get mobile app monitoring tag catalog for Mobile App SLOs + + + :param beacon_type: + :type beacon_type: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mobile_app_slo_tag_catalog_serialize( + beacon_type=beacon_type, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TagCatalog", + '400': None, + '401': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_mobile_app_slo_tag_catalog_with_http_info( + self, + beacon_type: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[TagCatalog]: + """Get mobile app monitoring tag catalog for Mobile App SLOs + + + :param beacon_type: + :type beacon_type: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mobile_app_slo_tag_catalog_serialize( + beacon_type=beacon_type, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TagCatalog", + '400': None, + '401': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_mobile_app_slo_tag_catalog_without_preload_content( + self, + beacon_type: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get mobile app monitoring tag catalog for Mobile App SLOs + + + :param beacon_type: + :type beacon_type: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_mobile_app_slo_tag_catalog_serialize( + beacon_type=beacon_type, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "TagCatalog", + '400': None, + '401': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_mobile_app_slo_tag_catalog_serialize( + self, + beacon_type, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if beacon_type is not None: + + _query_params.append(('beaconType', beacon_type)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/slo/catalog/tags/mobile', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/instana_client/api/slo_configurations_api.py b/instana_client/api/slo_configurations_api.py index a14befd..428e7fd 100644 --- a/instana_client/api/slo_configurations_api.py +++ b/instana_client/api/slo_configurations_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/slo_correction_configurations_api.py b/instana_client/api/slo_correction_configurations_api.py index 9dc467f..3c21c05 100644 --- a/instana_client/api/slo_correction_configurations_api.py +++ b/instana_client/api/slo_correction_configurations_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/slo_correction_windows_api.py b/instana_client/api/slo_correction_windows_api.py index 1030aaf..8981d6c 100644 --- a/instana_client/api/slo_correction_windows_api.py +++ b/instana_client/api/slo_correction_windows_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_alert_configuration_api.py b/instana_client/api/synthetic_alert_configuration_api.py index f76ad7b..7e9066c 100644 --- a/instana_client/api/synthetic_alert_configuration_api.py +++ b/instana_client/api/synthetic_alert_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_calls_api.py b/instana_client/api/synthetic_calls_api.py index 8dc68a5..9cbd062 100644 --- a/instana_client/api/synthetic_calls_api.py +++ b/instana_client/api/synthetic_calls_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_catalog_api.py b/instana_client/api/synthetic_catalog_api.py index e97e6e3..ae41703 100644 --- a/instana_client/api/synthetic_catalog_api.py +++ b/instana_client/api/synthetic_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_metrics_api.py b/instana_client/api/synthetic_metrics_api.py index be74644..cbd0a0f 100644 --- a/instana_client/api/synthetic_metrics_api.py +++ b/instana_client/api/synthetic_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_settings_api.py b/instana_client/api/synthetic_settings_api.py index c22d48b..1c06158 100644 --- a/instana_client/api/synthetic_settings_api.py +++ b/instana_client/api/synthetic_settings_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/synthetic_test_playback_results_api.py b/instana_client/api/synthetic_test_playback_results_api.py index 064820a..eb71771 100644 --- a/instana_client/api/synthetic_test_playback_results_api.py +++ b/instana_client/api/synthetic_test_playback_results_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/teams_api.py b/instana_client/api/teams_api.py index 425ab1e..5a05582 100644 --- a/instana_client/api/teams_api.py +++ b/instana_client/api/teams_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,6 +21,7 @@ from typing import List, Optional from typing_extensions import Annotated from instana_client.models.api_team import ApiTeam +from instana_client.models.role_mapping_overview import RoleMappingOverview from instana_client.api_client import ApiClient, RequestSerialized from instana_client.api_response import ApiResponse @@ -846,6 +847,270 @@ def _get_team_serialize( + @validate_call + def get_team_role_mappings( + self, + team_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> List[RoleMappingOverview]: + """Get team role mappings + + Retrieve IdP role mappings applicable to a specific team + + :param team_id: (required) + :type team_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_team_role_mappings_serialize( + team_id=team_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_team_role_mappings_with_http_info( + self, + team_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[List[RoleMappingOverview]]: + """Get team role mappings + + Retrieve IdP role mappings applicable to a specific team + + :param team_id: (required) + :type team_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_team_role_mappings_serialize( + team_id=team_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_team_role_mappings_without_preload_content( + self, + team_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get team role mappings + + Retrieve IdP role mappings applicable to a specific team + + :param team_id: (required) + :type team_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_team_role_mappings_serialize( + team_id=team_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "List[RoleMappingOverview]", + '404': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_team_role_mappings_serialize( + self, + team_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if team_id is not None: + _path_params['teamId'] = team_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'ApiKeyAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/api/settings/rbac/teams/{teamId}/mappings', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def get_teams( self, diff --git a/instana_client/api/usage_api.py b/instana_client/api/usage_api.py index 5697418..3d26a58 100644 --- a/instana_client/api/usage_api.py +++ b/instana_client/api/usage_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/user_api.py b/instana_client/api/user_api.py index ba67184..d81e379 100644 --- a/instana_client/api/user_api.py +++ b/instana_client/api/user_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/website_analyze_api.py b/instana_client/api/website_analyze_api.py index dfc21ea..1b212d7 100644 --- a/instana_client/api/website_analyze_api.py +++ b/instana_client/api/website_analyze_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/website_catalog_api.py b/instana_client/api/website_catalog_api.py index 29588b8..9534402 100644 --- a/instana_client/api/website_catalog_api.py +++ b/instana_client/api/website_catalog_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/website_configuration_api.py b/instana_client/api/website_configuration_api.py index 5cfa162..04d714d 100644 --- a/instana_client/api/website_configuration_api.py +++ b/instana_client/api/website_configuration_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api/website_metrics_api.py b/instana_client/api/website_metrics_api.py index 6927c7e..e0aad75 100644 --- a/instana_client/api/website_metrics_api.py +++ b/instana_client/api/website_metrics_api.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/api_client.py b/instana_client/api_client.py index 07062f9..e08e2b2 100644 --- a/instana_client/api_client.py +++ b/instana_client/api_client.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -91,7 +91,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/1.0.7/python' + self.user_agent = 'OpenAPI-Generator/1.0.8/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/instana_client/configuration.py b/instana_client/configuration.py index a4e3c7c..468cbd9 100644 --- a/instana_client/configuration.py +++ b/instana_client/configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -531,8 +531,8 @@ def to_debug_report(self) -> str: return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 1.319.1109\n"\ - "SDK Package Version: 1.0.7".\ + "Version of the API: 1.320.1414\n"\ + "SDK Package Version: 1.0.9".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: diff --git a/instana_client/exceptions.py b/instana_client/exceptions.py index 74717d7..eef663c 100644 --- a/instana_client/exceptions.py +++ b/instana_client/exceptions.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/__init__.py b/instana_client/models/__init__.py index cbf058a..6cd2719 100644 --- a/instana_client/models/__init__.py +++ b/instana_client/models/__init__.py @@ -6,7 +6,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -19,6 +19,7 @@ from instana_client.models.abstract_rule import AbstractRule from instana_client.models.access_rule import AccessRule from instana_client.models.action import Action +from instana_client.models.action_beacon import ActionBeacon from instana_client.models.action_configuration import ActionConfiguration from instana_client.models.action_instance import ActionInstance from instana_client.models.action_instance_metadata_entry import ActionInstanceMetadataEntry @@ -35,6 +36,7 @@ from instana_client.models.alerting_configuration import AlertingConfiguration from instana_client.models.alerting_configuration_with_last_updated import AlertingConfigurationWithLastUpdated from instana_client.models.alerting_time_window import AlertingTimeWindow +from instana_client.models.apdex_alert_rule import ApdexAlertRule from instana_client.models.apdex_configuration import ApdexConfiguration from instana_client.models.apdex_configuration_input import ApdexConfigurationInput from instana_client.models.apdex_entity import ApdexEntity @@ -164,6 +166,7 @@ from instana_client.models.geo_location_configuration import GeoLocationConfiguration from instana_client.models.geo_mapping_rule import GeoMappingRule from instana_client.models.geo_subdivision import GeoSubdivision +from instana_client.models.get_action_beacons_result import GetActionBeaconsResult from instana_client.models.get_activities import GetActivities from instana_client.models.get_application_metrics import GetApplicationMetrics from instana_client.models.get_applications import GetApplications @@ -182,6 +185,7 @@ from instana_client.models.get_mobile_app_metrics_v2 import GetMobileAppMetricsV2 from instana_client.models.get_payload_keys_result import GetPayloadKeysResult from instana_client.models.get_services import GetServices +from instana_client.models.get_session_replay_metadata_result import GetSessionReplayMetadataResult from instana_client.models.get_snapshots_query import GetSnapshotsQuery from instana_client.models.get_test_result import GetTestResult from instana_client.models.get_test_result_analytic import GetTestResultAnalytic @@ -195,6 +199,7 @@ from instana_client.models.get_website_beacons import GetWebsiteBeacons from instana_client.models.get_website_metrics import GetWebsiteMetrics from instana_client.models.get_website_metrics_v2 import GetWebsiteMetricsV2 +from instana_client.models.git_hub_configuration import GitHubConfiguration from instana_client.models.global_application_alert_config_with_metadata import GlobalApplicationAlertConfigWithMetadata from instana_client.models.global_applications_alert_config import GlobalApplicationsAlertConfig from instana_client.models.google_chat_integration import GoogleChatIntegration @@ -339,6 +344,7 @@ from instana_client.models.release_scope import ReleaseScope from instana_client.models.release_with_metadata import ReleaseWithMetadata from instana_client.models.retention_period import RetentionPeriod +from instana_client.models.role_mapping_overview import RoleMappingOverview from instana_client.models.rolling_time_window import RollingTimeWindow from instana_client.models.rule_input import RuleInput from instana_client.models.rule_with_threshold_application_alert_rule import RuleWithThresholdApplicationAlertRule @@ -382,6 +388,8 @@ from instana_client.models.service_scoped_to import ServiceScopedTo from instana_client.models.service_scoped_to_with_metadata import ServiceScopedToWithMetadata from instana_client.models.service_simple import ServiceSimple +from instana_client.models.session_replay_metadata import SessionReplayMetadata +from instana_client.models.session_replay_timestamps import SessionReplayTimestamps from instana_client.models.session_settings import SessionSettings from instana_client.models.simple_metric_configuration import SimpleMetricConfiguration from instana_client.models.slack_integration import SlackIntegration diff --git a/instana_client/models/abstract_integration.py b/instana_client/models/abstract_integration.py index deaa6ba..c81d7b3 100644 --- a/instana_client/models/abstract_integration.py +++ b/instana_client/models/abstract_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/abstract_rule.py b/instana_client/models/abstract_rule.py index d4f8148..948f8ba 100644 --- a/instana_client/models/abstract_rule.py +++ b/instana_client/models/abstract_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/access_rule.py b/instana_client/models/access_rule.py index 755c49e..af57c26 100644 --- a/instana_client/models/access_rule.py +++ b/instana_client/models/access_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action.py b/instana_client/models/action.py index eb9e775..6c9a646 100644 --- a/instana_client/models/action.py +++ b/instana_client/models/action.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_beacon.py b/instana_client/models/action_beacon.py index d9d1978..7be9149 100644 --- a/instana_client/models/action_beacon.py +++ b/instana_client/models/action_beacon.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.316.2780 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -27,6 +27,9 @@ class ActionBeacon(BaseModel): """ List of action beacons for the current page """ # noqa: E501 + app_state: Optional[StrictStr] = Field(default=None, description="Application state (e.g., foreground, background)", alias="appState") + beacon_clockskew: Optional[StrictInt] = Field(default=None, description="Clock skew in milliseconds between client and server", alias="beaconClockskew") + beacon_id: StrictStr = Field(description="Beacon identifier", alias="beaconId") beacon_type: StrictStr = Field(description="Type of beacon", alias="beaconType") bytes_ingested_metadata: Optional[StrictInt] = Field(default=None, description="Bytes ingested for metadata", alias="bytesIngestedMetadata") event_type: Optional[StrictStr] = Field(default=None, description="Event type (e.g., st=start, fs=frustration signal, oc=orientation change)", alias="eventType") @@ -41,7 +44,7 @@ class ActionBeacon(BaseModel): timestamp: StrictInt = Field(description="Timestamp when the action was captured (epoch milliseconds)") view_component_class_name: Optional[StrictStr] = Field(default=None, description="View component class name", alias="viewComponentClassName") view_component_id: Optional[StrictStr] = Field(default=None, description="View component identifier", alias="viewComponentId") - __properties: ClassVar[List[str]] = ["beaconType", "bytesIngestedMetadata", "eventType", "frustrationSignal", "keyboardOperation", "mobileAppId", "orientationChange", "scrollDirection", "scrollDuration", "sessionId", "sessionReplayVersion", "timestamp", "viewComponentClassName", "viewComponentId"] + __properties: ClassVar[List[str]] = ["appState", "beaconClockskew", "beaconId", "beaconType", "bytesIngestedMetadata", "eventType", "frustrationSignal", "keyboardOperation", "mobileAppId", "orientationChange", "scrollDirection", "scrollDuration", "sessionId", "sessionReplayVersion", "timestamp", "viewComponentClassName", "viewComponentId"] model_config = ConfigDict( populate_by_name=True, @@ -82,6 +85,16 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # set to None if app_state (nullable) is None + # and model_fields_set contains the field + if self.app_state is None and "app_state" in self.model_fields_set: + _dict['appState'] = None + + # set to None if beacon_clockskew (nullable) is None + # and model_fields_set contains the field + if self.beacon_clockskew is None and "beacon_clockskew" in self.model_fields_set: + _dict['beaconClockskew'] = None + # set to None if bytes_ingested_metadata (nullable) is None # and model_fields_set contains the field if self.bytes_ingested_metadata is None and "bytes_ingested_metadata" in self.model_fields_set: @@ -144,6 +157,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "appState": obj.get("appState"), + "beaconClockskew": obj.get("beaconClockskew"), + "beaconId": obj.get("beaconId"), "beaconType": obj.get("beaconType"), "bytesIngestedMetadata": obj.get("bytesIngestedMetadata"), "eventType": obj.get("eventType"), diff --git a/instana_client/models/action_configuration.py b/instana_client/models/action_configuration.py index 32143aa..b64cc7b 100644 --- a/instana_client/models/action_configuration.py +++ b/instana_client/models/action_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance.py b/instana_client/models/action_instance.py index d9d8ca7..8f2e0e0 100644 --- a/instana_client/models/action_instance.py +++ b/instana_client/models/action_instance.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance_metadata_entry.py b/instana_client/models/action_instance_metadata_entry.py index da56a86..4b3d51a 100644 --- a/instana_client/models/action_instance_metadata_entry.py +++ b/instana_client/models/action_instance_metadata_entry.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance_parameter.py b/instana_client/models/action_instance_parameter.py index e4e803f..04a5282 100644 --- a/instana_client/models/action_instance_parameter.py +++ b/instana_client/models/action_instance_parameter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance_request.py b/instana_client/models/action_instance_request.py index 4e6de14..14d4084 100644 --- a/instana_client/models/action_instance_request.py +++ b/instana_client/models/action_instance_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_instance_request_parameters.py b/instana_client/models/action_instance_request_parameters.py index 83edd10..655e942 100644 --- a/instana_client/models/action_instance_request_parameters.py +++ b/instana_client/models/action_instance_request_parameters.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_match.py b/instana_client/models/action_match.py index 58fddf7..2601a00 100644 --- a/instana_client/models/action_match.py +++ b/instana_client/models/action_match.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/action_search_space.py b/instana_client/models/action_search_space.py index 875ccb2..9986c76 100644 --- a/instana_client/models/action_search_space.py +++ b/instana_client/models/action_search_space.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/adaptive_baseline.py b/instana_client/models/adaptive_baseline.py index 08100c4..f796604 100644 --- a/instana_client/models/adaptive_baseline.py +++ b/instana_client/models/adaptive_baseline.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/adaptive_threshold_rule.py b/instana_client/models/adaptive_threshold_rule.py index cc03b2f..84fe9ee 100644 --- a/instana_client/models/adaptive_threshold_rule.py +++ b/instana_client/models/adaptive_threshold_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/adjusted_timeframe.py b/instana_client/models/adjusted_timeframe.py index 6a2f14d..6aeb99e 100644 --- a/instana_client/models/adjusted_timeframe.py +++ b/instana_client/models/adjusted_timeframe.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/agent_configuration_update.py b/instana_client/models/agent_configuration_update.py index acf4cfb..a24367a 100644 --- a/instana_client/models/agent_configuration_update.py +++ b/instana_client/models/agent_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/agent_mode_update.py b/instana_client/models/agent_mode_update.py index 87df612..309df99 100644 --- a/instana_client/models/agent_mode_update.py +++ b/instana_client/models/agent_mode_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/alerting_configuration.py b/instana_client/models/alerting_configuration.py index 5017aef..9e9f5e0 100644 --- a/instana_client/models/alerting_configuration.py +++ b/instana_client/models/alerting_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/alerting_configuration_with_last_updated.py b/instana_client/models/alerting_configuration_with_last_updated.py index 2091049..01c6cbe 100644 --- a/instana_client/models/alerting_configuration_with_last_updated.py +++ b/instana_client/models/alerting_configuration_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/alerting_time_window.py b/instana_client/models/alerting_time_window.py index a4efad8..eb62455 100644 --- a/instana_client/models/alerting_time_window.py +++ b/instana_client/models/alerting_time_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_alert_rule.py b/instana_client/models/apdex_alert_rule.py new file mode 100644 index 0000000..25e1e03 --- /dev/null +++ b/instana_client/models/apdex_alert_rule.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.320.1414 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List +from instana_client.models.service_levels_alert_rule import ServiceLevelsAlertRule +from typing import Optional, Set +from typing_extensions import Self + +class ApdexAlertRule(ServiceLevelsAlertRule): + """ + ApdexAlertRule + """ # noqa: E501 + metric: StrictStr = Field(description="This is the Apdex metric type. Apdex alert uses SCORE metric.") + __properties: ClassVar[List[str]] = ["alertType", "metric"] + + @field_validator('metric') + def metric_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['SCORE']): + raise ValueError("must be one of enum values ('SCORE')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ApdexAlertRule from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ApdexAlertRule from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "alertType": obj.get("alertType"), + "metric": obj.get("metric") + }) + return _obj + + diff --git a/instana_client/models/apdex_configuration.py b/instana_client/models/apdex_configuration.py index 0eb620a..8d74b0f 100644 --- a/instana_client/models/apdex_configuration.py +++ b/instana_client/models/apdex_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_configuration_input.py b/instana_client/models/apdex_configuration_input.py index 1640390..cd82f1e 100644 --- a/instana_client/models/apdex_configuration_input.py +++ b/instana_client/models/apdex_configuration_input.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_entity.py b/instana_client/models/apdex_entity.py index 7669b8d..8d60332 100644 --- a/instana_client/models/apdex_entity.py +++ b/instana_client/models/apdex_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_level.py b/instana_client/models/apdex_level.py index eda3f2b..f21e4a1 100644 --- a/instana_client/models/apdex_level.py +++ b/instana_client/models/apdex_level.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/apdex_report.py b/instana_client/models/apdex_report.py index ddea623..43ebc7d 100644 --- a/instana_client/models/apdex_report.py +++ b/instana_client/models/apdex_report.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_create_group.py b/instana_client/models/api_create_group.py index b546b2a..d7d55b5 100644 --- a/instana_client/models/api_create_group.py +++ b/instana_client/models/api_create_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_create_role.py b/instana_client/models/api_create_role.py index 3e4907b..7b5f4f8 100644 --- a/instana_client/models/api_create_role.py +++ b/instana_client/models/api_create_role.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_group.py b/instana_client/models/api_group.py index 9680941..b9c0f4e 100644 --- a/instana_client/models/api_group.py +++ b/instana_client/models/api_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_member.py b/instana_client/models/api_member.py index 8db53ae..7f4fae9 100644 --- a/instana_client/models/api_member.py +++ b/instana_client/models/api_member.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_permission_set.py b/instana_client/models/api_permission_set.py index afa30a4..24f51b4 100644 --- a/instana_client/models/api_permission_set.py +++ b/instana_client/models/api_permission_set.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_restricted_application_filter.py b/instana_client/models/api_restricted_application_filter.py index 55ea9b3..56cfaa4 100644 --- a/instana_client/models/api_restricted_application_filter.py +++ b/instana_client/models/api_restricted_application_filter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_role.py b/instana_client/models/api_role.py index 6ac2217..9c57c19 100644 --- a/instana_client/models/api_role.py +++ b/instana_client/models/api_role.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_tag.py b/instana_client/models/api_tag.py index 8912864..a0d3454 100644 --- a/instana_client/models/api_tag.py +++ b/instana_client/models/api_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team.py b/instana_client/models/api_team.py index d88629a..72766f8 100644 --- a/instana_client/models/api_team.py +++ b/instana_client/models/api_team.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team_info.py b/instana_client/models/api_team_info.py index 274eed1..e8067cf 100644 --- a/instana_client/models/api_team_info.py +++ b/instana_client/models/api_team_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team_member.py b/instana_client/models/api_team_member.py index f263baf..f3d8903 100644 --- a/instana_client/models/api_team_member.py +++ b/instana_client/models/api_team_member.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team_role.py b/instana_client/models/api_team_role.py index 42eff56..e4eb593 100644 --- a/instana_client/models/api_team_role.py +++ b/instana_client/models/api_team_role.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_team_scope.py b/instana_client/models/api_team_scope.py index 4d38598..2d0e722 100644 --- a/instana_client/models/api_team_scope.py +++ b/instana_client/models/api_team_scope.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/api_token.py b/instana_client/models/api_token.py index 9d458a6..e98b571 100644 --- a/instana_client/models/api_token.py +++ b/instana_client/models/api_token.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/app_data_metric_configuration.py b/instana_client/models/app_data_metric_configuration.py index ddc7097..0bb5c83 100644 --- a/instana_client/models/app_data_metric_configuration.py +++ b/instana_client/models/app_data_metric_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application.py b/instana_client/models/application.py index 6c80671..67806b4 100644 --- a/instana_client/models/application.py +++ b/instana_client/models/application.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_alert_config.py b/instana_client/models/application_alert_config.py index c28fce0..69acf95 100644 --- a/instana_client/models/application_alert_config.py +++ b/instana_client/models/application_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_alert_config_with_metadata.py b/instana_client/models/application_alert_config_with_metadata.py index ac8131a..48ac47b 100644 --- a/instana_client/models/application_alert_config_with_metadata.py +++ b/instana_client/models/application_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_alert_rule.py b/instana_client/models/application_alert_rule.py index d8d99eb..2b017ea 100644 --- a/instana_client/models/application_alert_rule.py +++ b/instana_client/models/application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_apdex_entity.py b/instana_client/models/application_apdex_entity.py index 4d90fcd..c4592ed 100644 --- a/instana_client/models/application_apdex_entity.py +++ b/instana_client/models/application_apdex_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_config.py b/instana_client/models/application_config.py index 0cc8354..3d2c76f 100644 --- a/instana_client/models/application_config.py +++ b/instana_client/models/application_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_event_result.py b/instana_client/models/application_event_result.py index a3a9fbe..77050a6 100644 --- a/instana_client/models/application_event_result.py +++ b/instana_client/models/application_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -29,7 +29,7 @@ class ApplicationEventResult(EventResult): ApplicationEventResult """ # noqa: E501 application_id: Optional[StrictStr] = Field(default=None, description="ID of the application.", alias="applicationId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "applicationId"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type", "applicationId"] model_config = ConfigDict( populate_by_name=True, @@ -90,6 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eventId": obj.get("eventId"), "eventSpecificationId": obj.get("eventSpecificationId"), "fixSuggestion": obj.get("fixSuggestion"), + "metadata": obj.get("metadata"), "metrics": obj.get("metrics"), "probableCause": obj.get("probableCause"), "problem": obj.get("problem"), @@ -99,6 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "snapshotId": obj.get("snapshotId"), "start": obj.get("start"), "state": obj.get("state"), + "triggeringEventId": obj.get("triggeringEventId"), "type": obj.get("type"), "applicationId": obj.get("applicationId") }) diff --git a/instana_client/models/application_item.py b/instana_client/models/application_item.py index 2b01d96..51281d5 100644 --- a/instana_client/models/application_item.py +++ b/instana_client/models/application_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_metric_result.py b/instana_client/models/application_metric_result.py index 2d56aa1..6091fa4 100644 --- a/instana_client/models/application_metric_result.py +++ b/instana_client/models/application_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_node.py b/instana_client/models/application_node.py index 67d10af..b3ae9c7 100644 --- a/instana_client/models/application_node.py +++ b/instana_client/models/application_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_result.py b/instana_client/models/application_result.py index b7152a1..efc433b 100644 --- a/instana_client/models/application_result.py +++ b/instana_client/models/application_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_scope.py b/instana_client/models/application_scope.py index 8d832ec..b1ef5e0 100644 --- a/instana_client/models/application_scope.py +++ b/instana_client/models/application_scope.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_scope_with_metadata.py b/instana_client/models/application_scope_with_metadata.py index 3907758..2e591ff 100644 --- a/instana_client/models/application_scope_with_metadata.py +++ b/instana_client/models/application_scope_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_sli_entity.py b/instana_client/models/application_sli_entity.py index 5423d93..62a6707 100644 --- a/instana_client/models/application_sli_entity.py +++ b/instana_client/models/application_sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_slo_entity.py b/instana_client/models/application_slo_entity.py index 1c76aad..840e6fa 100644 --- a/instana_client/models/application_slo_entity.py +++ b/instana_client/models/application_slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/application_time_threshold.py b/instana_client/models/application_time_threshold.py index 2ef8aae..e42510e 100644 --- a/instana_client/models/application_time_threshold.py +++ b/instana_client/models/application_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/audit_log_ui_response.py b/instana_client/models/audit_log_ui_response.py index c60b215..b64ae41 100644 --- a/instana_client/models/audit_log_ui_response.py +++ b/instana_client/models/audit_log_ui_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/author.py b/instana_client/models/author.py index 815fc5b..916e9dd 100644 --- a/instana_client/models/author.py +++ b/instana_client/models/author.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/availability_blueprint_indicator.py b/instana_client/models/availability_blueprint_indicator.py index 4bd4182..7d2d313 100644 --- a/instana_client/models/availability_blueprint_indicator.py +++ b/instana_client/models/availability_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/availability_sli_entity.py b/instana_client/models/availability_sli_entity.py index cc637a9..d06c4ab 100644 --- a/instana_client/models/availability_sli_entity.py +++ b/instana_client/models/availability_sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/available_metrics.py b/instana_client/models/available_metrics.py index 95737b6..b2e235b 100644 --- a/instana_client/models/available_metrics.py +++ b/instana_client/models/available_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/available_plugins.py b/instana_client/models/available_plugins.py index 93614fc..1e9f5a9 100644 --- a/instana_client/models/available_plugins.py +++ b/instana_client/models/available_plugins.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/backend_trace_reference.py b/instana_client/models/backend_trace_reference.py index 5cb6459..2ff26a6 100644 --- a/instana_client/models/backend_trace_reference.py +++ b/instana_client/models/backend_trace_reference.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/bidirectional_ms_teams_app_integration.py b/instana_client/models/bidirectional_ms_teams_app_integration.py index a5b23cb..ec8dde9 100644 --- a/instana_client/models/bidirectional_ms_teams_app_integration.py +++ b/instana_client/models/bidirectional_ms_teams_app_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/bidirectional_slack_app_integration.py b/instana_client/models/bidirectional_slack_app_integration.py index 374cf1a..d670aaf 100644 --- a/instana_client/models/bidirectional_slack_app_integration.py +++ b/instana_client/models/bidirectional_slack_app_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/binary_operator_dto.py b/instana_client/models/binary_operator_dto.py index 482dd23..3b7e160 100644 --- a/instana_client/models/binary_operator_dto.py +++ b/instana_client/models/binary_operator_dto.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/browser_script_configuration.py b/instana_client/models/browser_script_configuration.py index 25f4f04..67ed49f 100644 --- a/instana_client/models/browser_script_configuration.py +++ b/instana_client/models/browser_script_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,6 +21,7 @@ from pydantic import ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from instana_client.models.git_hub_configuration import GitHubConfiguration from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration from instana_client.models.synthetic_type_configuration import SyntheticTypeConfiguration from typing import Optional, Set @@ -32,11 +33,12 @@ class BrowserScriptConfiguration(SyntheticTypeConfiguration): """ # noqa: E501 browser: Optional[StrictStr] = None file_name: Optional[StrictStr] = Field(default=None, alias="fileName") + github: Optional[GitHubConfiguration] = None record_video: Optional[StrictBool] = Field(default=None, alias="recordVideo") script: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=1048576)]] = None script_type: Optional[StrictStr] = Field(default=None, alias="scriptType") scripts: Optional[MultipleScriptsConfiguration] = None - __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticType", "timeout", "browser", "fileName", "recordVideo", "script", "scriptType", "scripts"] + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticType", "timeout", "browser", "fileName", "github", "recordVideo", "script", "scriptType", "scripts"] @field_validator('browser') def browser_validate_enum(cls, value): @@ -97,6 +99,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of github + if self.github: + _dict['github'] = self.github.to_dict() # override the default output from pydantic by calling `to_dict()` of scripts if self.scripts: _dict['scripts'] = self.scripts.to_dict() @@ -119,6 +124,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "timeout": obj.get("timeout"), "browser": obj.get("browser"), "fileName": obj.get("fileName"), + "github": GitHubConfiguration.from_dict(obj["github"]) if obj.get("github") is not None else None, "recordVideo": obj.get("recordVideo"), "script": obj.get("script"), "scriptType": obj.get("scriptType"), diff --git a/instana_client/models/browser_script_configuration_update.py b/instana_client/models/browser_script_configuration_update.py index da9bed6..106e60e 100644 --- a/instana_client/models/browser_script_configuration_update.py +++ b/instana_client/models/browser_script_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,6 +20,7 @@ from pydantic import ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from instana_client.models.git_hub_configuration import GitHubConfiguration from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate from typing import Optional, Set @@ -31,11 +32,12 @@ class BrowserScriptConfigurationUpdate(SyntheticTypeConfigurationUpdate): """ # noqa: E501 browser: Optional[StrictStr] = None file_name: Optional[StrictStr] = Field(default=None, alias="fileName") + github: Optional[GitHubConfiguration] = None record_video: Optional[StrictBool] = Field(default=None, alias="recordVideo") script: Optional[StrictStr] = None script_type: Optional[StrictStr] = Field(default=None, alias="scriptType") scripts: Optional[MultipleScriptsConfiguration] = None - __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout", "browser", "fileName", "recordVideo", "script", "scriptType", "scripts"] + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout", "browser", "fileName", "github", "recordVideo", "script", "scriptType", "scripts"] @field_validator('browser') def browser_validate_enum(cls, value): @@ -96,6 +98,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of github + if self.github: + _dict['github'] = self.github.to_dict() # override the default output from pydantic by calling `to_dict()` of scripts if self.scripts: _dict['scripts'] = self.scripts.to_dict() @@ -119,6 +124,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "timeout": obj.get("timeout"), "browser": obj.get("browser"), "fileName": obj.get("fileName"), + "github": GitHubConfiguration.from_dict(obj["github"]) if obj.get("github") is not None else None, "recordVideo": obj.get("recordVideo"), "script": obj.get("script"), "scriptType": obj.get("scriptType"), diff --git a/instana_client/models/built_in_event_specification.py b/instana_client/models/built_in_event_specification.py index 56050aa..6309456 100644 --- a/instana_client/models/built_in_event_specification.py +++ b/instana_client/models/built_in_event_specification.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/built_in_event_specification_with_last_updated.py b/instana_client/models/built_in_event_specification_with_last_updated.py index 2cb138c..0423de5 100644 --- a/instana_client/models/built_in_event_specification_with_last_updated.py +++ b/instana_client/models/built_in_event_specification_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/bulk_alert_config_request.py b/instana_client/models/bulk_alert_config_request.py index 6312e2c..372859f 100644 --- a/instana_client/models/bulk_alert_config_request.py +++ b/instana_client/models/bulk_alert_config_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/business_activity.py b/instana_client/models/business_activity.py index 1765743..ae18493 100644 --- a/instana_client/models/business_activity.py +++ b/instana_client/models/business_activity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/business_perspective_config.py b/instana_client/models/business_perspective_config.py index 9f32663..1eebfbb 100644 --- a/instana_client/models/business_perspective_config.py +++ b/instana_client/models/business_perspective_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/call_groups_item.py b/instana_client/models/call_groups_item.py index c9b1068..2ff1882 100644 --- a/instana_client/models/call_groups_item.py +++ b/instana_client/models/call_groups_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/call_groups_result.py b/instana_client/models/call_groups_result.py index d98e417..8b8faa7 100644 --- a/instana_client/models/call_groups_result.py +++ b/instana_client/models/call_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/call_relation.py b/instana_client/models/call_relation.py index 9fde79f..727b5e7 100644 --- a/instana_client/models/call_relation.py +++ b/instana_client/models/call_relation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/change_summary.py b/instana_client/models/change_summary.py index 8306007..6f44b02 100644 --- a/instana_client/models/change_summary.py +++ b/instana_client/models/change_summary.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/cloudfoundry_physical_context.py b/instana_client/models/cloudfoundry_physical_context.py index 3af347b..d15d21c 100644 --- a/instana_client/models/cloudfoundry_physical_context.py +++ b/instana_client/models/cloudfoundry_physical_context.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/condition.py b/instana_client/models/condition.py index adfa8a8..5081d7a 100644 --- a/instana_client/models/condition.py +++ b/instana_client/models/condition.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/config_version.py b/instana_client/models/config_version.py index 967a02c..8c91f40 100644 --- a/instana_client/models/config_version.py +++ b/instana_client/models/config_version.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/correction.py b/instana_client/models/correction.py index b5868c4..c36def0 100644 --- a/instana_client/models/correction.py +++ b/instana_client/models/correction.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/correction_configuration.py b/instana_client/models/correction_configuration.py index 0f1ab68..3665c2f 100644 --- a/instana_client/models/correction_configuration.py +++ b/instana_client/models/correction_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/correction_scheduling.py b/instana_client/models/correction_scheduling.py index 6327760..07a15f0 100644 --- a/instana_client/models/correction_scheduling.py +++ b/instana_client/models/correction_scheduling.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/correction_window.py b/instana_client/models/correction_window.py index 4fae657..bc4ddea 100644 --- a/instana_client/models/correction_window.py +++ b/instana_client/models/correction_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/crash_mobile_app_alert_rule.py b/instana_client/models/crash_mobile_app_alert_rule.py index f4f4d9f..6a00bf9 100644 --- a/instana_client/models/crash_mobile_app_alert_rule.py +++ b/instana_client/models/crash_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/create_website_request_inner.py b/instana_client/models/create_website_request_inner.py index 29a0547..8b5537a 100644 --- a/instana_client/models/create_website_request_inner.py +++ b/instana_client/models/create_website_request_inner.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/cursor_paginated_business_activity_item.py b/instana_client/models/cursor_paginated_business_activity_item.py index 28db88b..7948b32 100644 --- a/instana_client/models/cursor_paginated_business_activity_item.py +++ b/instana_client/models/cursor_paginated_business_activity_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/cursor_pagination.py b/instana_client/models/cursor_pagination.py index de64cd8..a6e55fb 100644 --- a/instana_client/models/cursor_pagination.py +++ b/instana_client/models/cursor_pagination.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/cursor_pagination_with_ui_cursor_infra_explore_cursor.py b/instana_client/models/cursor_pagination_with_ui_cursor_infra_explore_cursor.py index 67f6ecf..6b6637d 100644 --- a/instana_client/models/cursor_pagination_with_ui_cursor_infra_explore_cursor.py +++ b/instana_client/models/cursor_pagination_with_ui_cursor_infra_explore_cursor.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_blueprint_indicator.py b/instana_client/models/custom_blueprint_indicator.py index a1af3c6..cabb783 100644 --- a/instana_client/models/custom_blueprint_indicator.py +++ b/instana_client/models/custom_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_dashboard.py b/instana_client/models/custom_dashboard.py index fca8ed7..cb01dbf 100644 --- a/instana_client/models/custom_dashboard.py +++ b/instana_client/models/custom_dashboard.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_dashboard_preview.py b/instana_client/models/custom_dashboard_preview.py index ee6431e..5770bff 100644 --- a/instana_client/models/custom_dashboard_preview.py +++ b/instana_client/models/custom_dashboard_preview.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_dashboard_with_user_specific_information.py b/instana_client/models/custom_dashboard_with_user_specific_information.py index 21654bd..965142d 100644 --- a/instana_client/models/custom_dashboard_with_user_specific_information.py +++ b/instana_client/models/custom_dashboard_with_user_specific_information.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_dependency.py b/instana_client/models/custom_dependency.py index 696db54..c1708b4 100644 --- a/instana_client/models/custom_dependency.py +++ b/instana_client/models/custom_dependency.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_email_subject_prefix.py b/instana_client/models/custom_email_subject_prefix.py index 42756f3..471b326 100644 --- a/instana_client/models/custom_email_subject_prefix.py +++ b/instana_client/models/custom_email_subject_prefix.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_entity_model.py b/instana_client/models/custom_entity_model.py index a0f6b38..f0890e9 100644 --- a/instana_client/models/custom_entity_model.py +++ b/instana_client/models/custom_entity_model.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_entity_with_metadata.py b/instana_client/models/custom_entity_with_metadata.py index ade1676..ce8d45b 100644 --- a/instana_client/models/custom_entity_with_metadata.py +++ b/instana_client/models/custom_entity_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_event_mobile_app_alert_rule.py b/instana_client/models/custom_event_mobile_app_alert_rule.py index 4f5e5c5..eb5de62 100644 --- a/instana_client/models/custom_event_mobile_app_alert_rule.py +++ b/instana_client/models/custom_event_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_event_specification.py b/instana_client/models/custom_event_specification.py index a5e0221..90c04cc 100644 --- a/instana_client/models/custom_event_specification.py +++ b/instana_client/models/custom_event_specification.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_event_specification_with_last_updated.py b/instana_client/models/custom_event_specification_with_last_updated.py index 7433a57..ba54647 100644 --- a/instana_client/models/custom_event_specification_with_last_updated.py +++ b/instana_client/models/custom_event_specification_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_event_website_alert_rule.py b/instana_client/models/custom_event_website_alert_rule.py index 1f63e43..0018f47 100644 --- a/instana_client/models/custom_event_website_alert_rule.py +++ b/instana_client/models/custom_event_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_metric.py b/instana_client/models/custom_metric.py index 0651a34..81c2db6 100644 --- a/instana_client/models/custom_metric.py +++ b/instana_client/models/custom_metric.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_payload_configuration.py b/instana_client/models/custom_payload_configuration.py index d87322c..cd5aaa7 100644 --- a/instana_client/models/custom_payload_configuration.py +++ b/instana_client/models/custom_payload_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_payload_field.py b/instana_client/models/custom_payload_field.py index d2b810d..7800625 100644 --- a/instana_client/models/custom_payload_field.py +++ b/instana_client/models/custom_payload_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_payload_with_last_updated.py b/instana_client/models/custom_payload_with_last_updated.py index 7759e48..e607fe7 100644 --- a/instana_client/models/custom_payload_with_last_updated.py +++ b/instana_client/models/custom_payload_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_payload_with_version.py b/instana_client/models/custom_payload_with_version.py index 2fb3a28..64e24a8 100644 --- a/instana_client/models/custom_payload_with_version.py +++ b/instana_client/models/custom_payload_with_version.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/custom_tag.py b/instana_client/models/custom_tag.py index c4056e8..2032c93 100644 --- a/instana_client/models/custom_tag.py +++ b/instana_client/models/custom_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dashboard_api_token.py b/instana_client/models/dashboard_api_token.py index 38c36e3..76d3bfa 100644 --- a/instana_client/models/dashboard_api_token.py +++ b/instana_client/models/dashboard_api_token.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/database_integration.py b/instana_client/models/database_integration.py index 965dcb9..b954fdf 100644 --- a/instana_client/models/database_integration.py +++ b/instana_client/models/database_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/deprecated_tag_filter.py b/instana_client/models/deprecated_tag_filter.py index 76e852a..a09ed76 100644 --- a/instana_client/models/deprecated_tag_filter.py +++ b/instana_client/models/deprecated_tag_filter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dns_configuration.py b/instana_client/models/dns_configuration.py index 8cc5188..353c3e9 100644 --- a/instana_client/models/dns_configuration.py +++ b/instana_client/models/dns_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dns_configuration_update.py b/instana_client/models/dns_configuration_update.py index 1e60cf4..08af340 100644 --- a/instana_client/models/dns_configuration_update.py +++ b/instana_client/models/dns_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dns_filter_query_time.py b/instana_client/models/dns_filter_query_time.py index 83d94ef..9c1533d 100644 --- a/instana_client/models/dns_filter_query_time.py +++ b/instana_client/models/dns_filter_query_time.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dns_filter_target_value.py b/instana_client/models/dns_filter_target_value.py index 0d9e6b7..1e550e7 100644 --- a/instana_client/models/dns_filter_target_value.py +++ b/instana_client/models/dns_filter_target_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/duration.py b/instana_client/models/duration.py index 429e2fb..7941121 100644 --- a/instana_client/models/duration.py +++ b/instana_client/models/duration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dynamic_field.py b/instana_client/models/dynamic_field.py index b502187..00dd00b 100644 --- a/instana_client/models/dynamic_field.py +++ b/instana_client/models/dynamic_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dynamic_field_value.py b/instana_client/models/dynamic_field_value.py index f52bb2c..ab6349d 100644 --- a/instana_client/models/dynamic_field_value.py +++ b/instana_client/models/dynamic_field_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dynamic_parameter.py b/instana_client/models/dynamic_parameter.py index 09c38f9..9782f08 100644 --- a/instana_client/models/dynamic_parameter.py +++ b/instana_client/models/dynamic_parameter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/dynamic_tag.py b/instana_client/models/dynamic_tag.py index fbb771a..ecf72ee 100644 --- a/instana_client/models/dynamic_tag.py +++ b/instana_client/models/dynamic_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/edit_user.py b/instana_client/models/edit_user.py index a2a723e..0e5657a 100644 --- a/instana_client/models/edit_user.py +++ b/instana_client/models/edit_user.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/email_integration.py b/instana_client/models/email_integration.py index f230057..7021e76 100644 --- a/instana_client/models/email_integration.py +++ b/instana_client/models/email_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/empty_configuration.py b/instana_client/models/empty_configuration.py index c3859db..c689563 100644 --- a/instana_client/models/empty_configuration.py +++ b/instana_client/models/empty_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint.py b/instana_client/models/endpoint.py index 8adb747..244af15 100644 --- a/instana_client/models/endpoint.py +++ b/instana_client/models/endpoint.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_config.py b/instana_client/models/endpoint_config.py index 43218fe..327fff0 100644 --- a/instana_client/models/endpoint_config.py +++ b/instana_client/models/endpoint_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_event_result.py b/instana_client/models/endpoint_event_result.py index ae91978..2673eb1 100644 --- a/instana_client/models/endpoint_event_result.py +++ b/instana_client/models/endpoint_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -31,7 +31,7 @@ class EndpointEventResult(EventResult): application_id: Optional[StrictStr] = Field(default=None, description="ID of the application this endpoint is in scope of.", alias="applicationId") endpoint_id: Optional[StrictStr] = Field(default=None, description="ID of the endpoint.", alias="endpointId") endpoint_service_id: Optional[StrictStr] = Field(default=None, description="ID service related to this endpoint.", alias="endpointServiceId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "applicationId", "endpointId", "endpointServiceId"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type", "applicationId", "endpointId", "endpointServiceId"] model_config = ConfigDict( populate_by_name=True, @@ -92,6 +92,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eventId": obj.get("eventId"), "eventSpecificationId": obj.get("eventSpecificationId"), "fixSuggestion": obj.get("fixSuggestion"), + "metadata": obj.get("metadata"), "metrics": obj.get("metrics"), "probableCause": obj.get("probableCause"), "problem": obj.get("problem"), @@ -101,6 +102,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "snapshotId": obj.get("snapshotId"), "start": obj.get("start"), "state": obj.get("state"), + "triggeringEventId": obj.get("triggeringEventId"), "type": obj.get("type"), "applicationId": obj.get("applicationId"), "endpointId": obj.get("endpointId"), diff --git a/instana_client/models/endpoint_item.py b/instana_client/models/endpoint_item.py index defcee2..d1e39fe 100644 --- a/instana_client/models/endpoint_item.py +++ b/instana_client/models/endpoint_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_metric_result.py b/instana_client/models/endpoint_metric_result.py index fda35c5..40ccba5 100644 --- a/instana_client/models/endpoint_metric_result.py +++ b/instana_client/models/endpoint_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_node.py b/instana_client/models/endpoint_node.py index 7940bbd..5c819b1 100644 --- a/instana_client/models/endpoint_node.py +++ b/instana_client/models/endpoint_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_result.py b/instana_client/models/endpoint_result.py index bfce305..4f3a3ea 100644 --- a/instana_client/models/endpoint_result.py +++ b/instana_client/models/endpoint_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/endpoint_simple.py b/instana_client/models/endpoint_simple.py index 0a7ba0e..a622b2c 100644 --- a/instana_client/models/endpoint_simple.py +++ b/instana_client/models/endpoint_simple.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_count_rule.py b/instana_client/models/entity_count_rule.py index b2b42c6..e4ba0f5 100644 --- a/instana_client/models/entity_count_rule.py +++ b/instana_client/models/entity_count_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_count_verification_rule.py b/instana_client/models/entity_count_verification_rule.py index d6d6eb9..987fdfb 100644 --- a/instana_client/models/entity_count_verification_rule.py +++ b/instana_client/models/entity_count_verification_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_health_info.py b/instana_client/models/entity_health_info.py index 2e8419b..fb839d8 100644 --- a/instana_client/models/entity_health_info.py +++ b/instana_client/models/entity_health_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_id.py b/instana_client/models/entity_id.py index 65feefa..bbdf14e 100644 --- a/instana_client/models/entity_id.py +++ b/instana_client/models/entity_id.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/entity_verification_rule.py b/instana_client/models/entity_verification_rule.py index 9c94f0f..d06048a 100644 --- a/instana_client/models/entity_verification_rule.py +++ b/instana_client/models/entity_verification_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/error_budget_alert_rule.py b/instana_client/models/error_budget_alert_rule.py index 8542008..15b4f4e 100644 --- a/instana_client/models/error_budget_alert_rule.py +++ b/instana_client/models/error_budget_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/errors_application_alert_rule.py b/instana_client/models/errors_application_alert_rule.py index d288a53..c5a2122 100644 --- a/instana_client/models/errors_application_alert_rule.py +++ b/instana_client/models/errors_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/event.py b/instana_client/models/event.py index 091f490..19324ed 100644 --- a/instana_client/models/event.py +++ b/instana_client/models/event.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/event_filtering_configuration.py b/instana_client/models/event_filtering_configuration.py index bb1c5e6..b0501b9 100644 --- a/instana_client/models/event_filtering_configuration.py +++ b/instana_client/models/event_filtering_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/event_result.py b/instana_client/models/event_result.py index bd09ffc..fa7035c 100644 --- a/instana_client/models/event_result.py +++ b/instana_client/models/event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -47,6 +47,7 @@ class EventResult(BaseModel): event_id: Optional[StrictStr] = Field(default=None, description="ID of this Event.", alias="eventId") event_specification_id: Optional[StrictStr] = Field(default=None, description="ID of the configuration that created this event.", alias="eventSpecificationId") fix_suggestion: Optional[StrictStr] = Field(default=None, description="Details of the event.", alias="fixSuggestion") + metadata: Optional[Dict[str, Dict[str, Any]]] = Field(default=None, description="Additional event meta data.") metrics: Optional[List[Dict[str, Dict[str, Any]]]] = Field(default=None, description="List of metrics associated with the Event.") probable_cause: Optional[Dict[str, Dict[str, Any]]] = Field(default=None, description="Metadata of the probable root cause for this event. Only present in case of specific \"Incident\" type events.", alias="probableCause") problem: Optional[StrictStr] = Field(default=None, description="Main problem title of the Event.") @@ -56,8 +57,9 @@ class EventResult(BaseModel): snapshot_id: Optional[StrictStr] = Field(default=None, description="The snapshot ID of the affected entity of this event.", alias="snapshotId") start: Optional[StrictInt] = Field(default=None, description="A Unix timestamp representing the start time of the Event.") state: Optional[StrictStr] = Field(default=None, description="The state of the Event, \"open\" or \"close\". ") + triggering_event_id: Optional[StrictStr] = Field(default=None, description="The triggering event ID in case of an incident.", alias="triggeringEventId") type: Optional[StrictStr] = Field(default=None, description="The type of Event.") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type"] model_config = ConfigDict( populate_by_name=True, diff --git a/instana_client/models/event_specification_info.py b/instana_client/models/event_specification_info.py index 5e3d19b..a9130a1 100644 --- a/instana_client/models/event_specification_info.py +++ b/instana_client/models/event_specification_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/extended_service.py b/instana_client/models/extended_service.py index eb10419..090750c 100644 --- a/instana_client/models/extended_service.py +++ b/instana_client/models/extended_service.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/failure_synthetic_alert_rule.py b/instana_client/models/failure_synthetic_alert_rule.py index d569c5d..3ad3a79 100644 --- a/instana_client/models/failure_synthetic_alert_rule.py +++ b/instana_client/models/failure_synthetic_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/fixed_http_path_segment_matching_rule.py b/instana_client/models/fixed_http_path_segment_matching_rule.py index baf61f6..811d906 100644 --- a/instana_client/models/fixed_http_path_segment_matching_rule.py +++ b/instana_client/models/fixed_http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/fixed_time_window.py b/instana_client/models/fixed_time_window.py index 6bbf58a..9e820b2 100644 --- a/instana_client/models/fixed_time_window.py +++ b/instana_client/models/fixed_time_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/generic_infra_alert_rule.py b/instana_client/models/generic_infra_alert_rule.py index 9937357..2b2ee64 100644 --- a/instana_client/models/generic_infra_alert_rule.py +++ b/instana_client/models/generic_infra_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/geo_location_configuration.py b/instana_client/models/geo_location_configuration.py index c54effb..63768bc 100644 --- a/instana_client/models/geo_location_configuration.py +++ b/instana_client/models/geo_location_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/geo_mapping_rule.py b/instana_client/models/geo_mapping_rule.py index a3deea2..8cda3dc 100644 --- a/instana_client/models/geo_mapping_rule.py +++ b/instana_client/models/geo_mapping_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/geo_subdivision.py b/instana_client/models/geo_subdivision.py index 0652a23..531a44e 100644 --- a/instana_client/models/geo_subdivision.py +++ b/instana_client/models/geo_subdivision.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_action_beacons_result.py b/instana_client/models/get_action_beacons_result.py index 8860919..7a7e16f 100644 --- a/instana_client/models/get_action_beacons_result.py +++ b/instana_client/models/get_action_beacons_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.316.2780 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_activities.py b/instana_client/models/get_activities.py index 4141d40..bfece55 100644 --- a/instana_client/models/get_activities.py +++ b/instana_client/models/get_activities.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_application_metrics.py b/instana_client/models/get_application_metrics.py index 8254f91..7c2ea43 100644 --- a/instana_client/models/get_application_metrics.py +++ b/instana_client/models/get_application_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_applications.py b/instana_client/models/get_applications.py index 334a9bc..699078d 100644 --- a/instana_client/models/get_applications.py +++ b/instana_client/models/get_applications.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_available_metrics_query.py b/instana_client/models/get_available_metrics_query.py index eb68cf7..764d2a0 100644 --- a/instana_client/models/get_available_metrics_query.py +++ b/instana_client/models/get_available_metrics_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_available_plugins_query.py b/instana_client/models/get_available_plugins_query.py index 48d9458..01f0d4b 100644 --- a/instana_client/models/get_available_plugins_query.py +++ b/instana_client/models/get_available_plugins_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_call_groups.py b/instana_client/models/get_call_groups.py index 3ec7fa6..cccdbdf 100644 --- a/instana_client/models/get_call_groups.py +++ b/instana_client/models/get_call_groups.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_combined_metrics.py b/instana_client/models/get_combined_metrics.py index a4daac1..9253868 100644 --- a/instana_client/models/get_combined_metrics.py +++ b/instana_client/models/get_combined_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_dynamic_parameter_values.py b/instana_client/models/get_dynamic_parameter_values.py index 943cae0..7dccc3c 100644 --- a/instana_client/models/get_dynamic_parameter_values.py +++ b/instana_client/models/get_dynamic_parameter_values.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_endpoints.py b/instana_client/models/get_endpoints.py index 989dd98..b850e19 100644 --- a/instana_client/models/get_endpoints.py +++ b/instana_client/models/get_endpoints.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_infrastructure_groups_query.py b/instana_client/models/get_infrastructure_groups_query.py index 3ffa836..75845da 100644 --- a/instana_client/models/get_infrastructure_groups_query.py +++ b/instana_client/models/get_infrastructure_groups_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_infrastructure_query.py b/instana_client/models/get_infrastructure_query.py index bc9d870..5a68e13 100644 --- a/instana_client/models/get_infrastructure_query.py +++ b/instana_client/models/get_infrastructure_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_metrics_result.py b/instana_client/models/get_metrics_result.py index 4b05fef..4a331c5 100644 --- a/instana_client/models/get_metrics_result.py +++ b/instana_client/models/get_metrics_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_mobile_app_beacon_groups.py b/instana_client/models/get_mobile_app_beacon_groups.py index a00dfe1..8cef992 100644 --- a/instana_client/models/get_mobile_app_beacon_groups.py +++ b/instana_client/models/get_mobile_app_beacon_groups.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_mobile_app_beacons.py b/instana_client/models/get_mobile_app_beacons.py index c8cfa75..49dc446 100644 --- a/instana_client/models/get_mobile_app_beacons.py +++ b/instana_client/models/get_mobile_app_beacons.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_mobile_app_metrics.py b/instana_client/models/get_mobile_app_metrics.py index e3118ad..62436ba 100644 --- a/instana_client/models/get_mobile_app_metrics.py +++ b/instana_client/models/get_mobile_app_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_mobile_app_metrics_v2.py b/instana_client/models/get_mobile_app_metrics_v2.py index dec779d..eacfc71 100644 --- a/instana_client/models/get_mobile_app_metrics_v2.py +++ b/instana_client/models/get_mobile_app_metrics_v2.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_payload_keys_result.py b/instana_client/models/get_payload_keys_result.py index 6271375..67267d2 100644 --- a/instana_client/models/get_payload_keys_result.py +++ b/instana_client/models/get_payload_keys_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_services.py b/instana_client/models/get_services.py index d32fbc1..38115df 100644 --- a/instana_client/models/get_services.py +++ b/instana_client/models/get_services.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_session_replay_metadata_result.py b/instana_client/models/get_session_replay_metadata_result.py index b9c3440..8df5eb7 100644 --- a/instana_client/models/get_session_replay_metadata_result.py +++ b/instana_client/models/get_session_replay_metadata_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.316.2780 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_snapshots_query.py b/instana_client/models/get_snapshots_query.py index 06c4a71..b60cde3 100644 --- a/instana_client/models/get_snapshots_query.py +++ b/instana_client/models/get_snapshots_query.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_result.py b/instana_client/models/get_test_result.py index 4875189..d27642c 100644 --- a/instana_client/models/get_test_result.py +++ b/instana_client/models/get_test_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_result_analytic.py b/instana_client/models/get_test_result_analytic.py index 977ac15..ad875f0 100644 --- a/instana_client/models/get_test_result_analytic.py +++ b/instana_client/models/get_test_result_analytic.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_result_base.py b/instana_client/models/get_test_result_base.py index 6ec924e..51b79be 100644 --- a/instana_client/models/get_test_result_base.py +++ b/instana_client/models/get_test_result_base.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_result_list.py b/instana_client/models/get_test_result_list.py index f4835a8..a89a3bf 100644 --- a/instana_client/models/get_test_result_list.py +++ b/instana_client/models/get_test_result_list.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_test_summary_result.py b/instana_client/models/get_test_summary_result.py index e9080e6..5d7ed5c 100644 --- a/instana_client/models/get_test_summary_result.py +++ b/instana_client/models/get_test_summary_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_trace_download_result_item.py b/instana_client/models/get_trace_download_result_item.py index bfca163..2532654 100644 --- a/instana_client/models/get_trace_download_result_item.py +++ b/instana_client/models/get_trace_download_result_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_trace_groups.py b/instana_client/models/get_trace_groups.py index edf152d..e9b6201 100644 --- a/instana_client/models/get_trace_groups.py +++ b/instana_client/models/get_trace_groups.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_traces.py b/instana_client/models/get_traces.py index 3514b4a..a23a729 100644 --- a/instana_client/models/get_traces.py +++ b/instana_client/models/get_traces.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_website_beacon_groups.py b/instana_client/models/get_website_beacon_groups.py index f589da5..cf443a7 100644 --- a/instana_client/models/get_website_beacon_groups.py +++ b/instana_client/models/get_website_beacon_groups.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_website_beacons.py b/instana_client/models/get_website_beacons.py index ed733c2..11cb4ef 100644 --- a/instana_client/models/get_website_beacons.py +++ b/instana_client/models/get_website_beacons.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_website_metrics.py b/instana_client/models/get_website_metrics.py index 4c6015c..49b2415 100644 --- a/instana_client/models/get_website_metrics.py +++ b/instana_client/models/get_website_metrics.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/get_website_metrics_v2.py b/instana_client/models/get_website_metrics_v2.py index f01cdbc..c26dbc7 100644 --- a/instana_client/models/get_website_metrics_v2.py +++ b/instana_client/models/get_website_metrics_v2.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/git_hub_configuration.py b/instana_client/models/git_hub_configuration.py new file mode 100644 index 0000000..a61c852 --- /dev/null +++ b/instana_client/models/git_hub_configuration.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.320.1414 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class GitHubConfiguration(BaseModel): + """ + GitHubConfiguration + """ # noqa: E501 + branch_name: StrictStr = Field(alias="branchName") + credential_name: Optional[StrictStr] = Field(default=None, alias="credentialName") + script_file: Optional[StrictStr] = Field(default=None, alias="scriptFile") + url: StrictStr + __properties: ClassVar[List[str]] = ["branchName", "credentialName", "scriptFile", "url"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GitHubConfiguration from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GitHubConfiguration from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "branchName": obj.get("branchName"), + "credentialName": obj.get("credentialName"), + "scriptFile": obj.get("scriptFile"), + "url": obj.get("url") + }) + return _obj + + diff --git a/instana_client/models/global_application_alert_config_with_metadata.py b/instana_client/models/global_application_alert_config_with_metadata.py index d010bc7..f7335b2 100644 --- a/instana_client/models/global_application_alert_config_with_metadata.py +++ b/instana_client/models/global_application_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/global_applications_alert_config.py b/instana_client/models/global_applications_alert_config.py index 007e68b..5f5100d 100644 --- a/instana_client/models/global_applications_alert_config.py +++ b/instana_client/models/global_applications_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/google_chat_integration.py b/instana_client/models/google_chat_integration.py index 4622fdf..4a2705f 100644 --- a/instana_client/models/google_chat_integration.py +++ b/instana_client/models/google_chat_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/graph_edge.py b/instana_client/models/graph_edge.py index a5f2765..a3d81a2 100644 --- a/instana_client/models/graph_edge.py +++ b/instana_client/models/graph_edge.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/graph_node.py b/instana_client/models/graph_node.py index db7d838..8f62d8a 100644 --- a/instana_client/models/graph_node.py +++ b/instana_client/models/graph_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/group.py b/instana_client/models/group.py index 9bc4b9c..7f55ea2 100644 --- a/instana_client/models/group.py +++ b/instana_client/models/group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/group_by_tag.py b/instana_client/models/group_by_tag.py index 1efa5c8..25fcd43 100644 --- a/instana_client/models/group_by_tag.py +++ b/instana_client/models/group_by_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/group_mapping.py b/instana_client/models/group_mapping.py index eec8223..8b35e34 100644 --- a/instana_client/models/group_mapping.py +++ b/instana_client/models/group_mapping.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/group_mapping_overview.py b/instana_client/models/group_mapping_overview.py index bdcaf95..3c8685b 100644 --- a/instana_client/models/group_mapping_overview.py +++ b/instana_client/models/group_mapping_overview.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/health_state.py b/instana_client/models/health_state.py index 07fb24c..1f1f69d 100644 --- a/instana_client/models/health_state.py +++ b/instana_client/models/health_state.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/historic_baseline.py b/instana_client/models/historic_baseline.py index e319761..74337ea 100644 --- a/instana_client/models/historic_baseline.py +++ b/instana_client/models/historic_baseline.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/host_availability_rule.py b/instana_client/models/host_availability_rule.py index 66bf02b..dc14d60 100644 --- a/instana_client/models/host_availability_rule.py +++ b/instana_client/models/host_availability_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_action_configuration.py b/instana_client/models/http_action_configuration.py index 7d0d150..d5f9666 100644 --- a/instana_client/models/http_action_configuration.py +++ b/instana_client/models/http_action_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_action_configuration_update.py b/instana_client/models/http_action_configuration_update.py index a5ae39f..5eaa930 100644 --- a/instana_client/models/http_action_configuration_update.py +++ b/instana_client/models/http_action_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_endpoint_config.py b/instana_client/models/http_endpoint_config.py index c0fbc0c..b777dbc 100644 --- a/instana_client/models/http_endpoint_config.py +++ b/instana_client/models/http_endpoint_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_endpoint_rule.py b/instana_client/models/http_endpoint_rule.py index b639d9d..801c9c3 100644 --- a/instana_client/models/http_endpoint_rule.py +++ b/instana_client/models/http_endpoint_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_path_segment_matching_rule.py b/instana_client/models/http_path_segment_matching_rule.py index 2689055..f617618 100644 --- a/instana_client/models/http_path_segment_matching_rule.py +++ b/instana_client/models/http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/http_script_configuration.py b/instana_client/models/http_script_configuration.py index bd91f48..c73609c 100644 --- a/instana_client/models/http_script_configuration.py +++ b/instana_client/models/http_script_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,6 +21,7 @@ from pydantic import ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from instana_client.models.git_hub_configuration import GitHubConfiguration from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration from instana_client.models.synthetic_type_configuration import SyntheticTypeConfiguration from typing import Optional, Set @@ -31,10 +32,11 @@ class HttpScriptConfiguration(SyntheticTypeConfiguration): HttpScriptConfiguration """ # noqa: E501 file_name: Optional[StrictStr] = Field(default=None, alias="fileName") + github: Optional[GitHubConfiguration] = None script: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=1048576)]] = None script_type: Optional[StrictStr] = Field(default=None, alias="scriptType") scripts: Optional[MultipleScriptsConfiguration] = None - __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticType", "timeout", "fileName", "script", "scriptType", "scripts"] + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticType", "timeout", "fileName", "github", "script", "scriptType", "scripts"] @field_validator('script_type') def script_type_validate_enum(cls, value): @@ -85,6 +87,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of github + if self.github: + _dict['github'] = self.github.to_dict() # override the default output from pydantic by calling `to_dict()` of scripts if self.scripts: _dict['scripts'] = self.scripts.to_dict() @@ -106,6 +111,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "syntheticType": obj.get("syntheticType"), "timeout": obj.get("timeout"), "fileName": obj.get("fileName"), + "github": GitHubConfiguration.from_dict(obj["github"]) if obj.get("github") is not None else None, "script": obj.get("script"), "scriptType": obj.get("scriptType"), "scripts": MultipleScriptsConfiguration.from_dict(obj["scripts"]) if obj.get("scripts") is not None else None diff --git a/instana_client/models/http_script_configuration_update.py b/instana_client/models/http_script_configuration_update.py index e26be57..a1c6829 100644 --- a/instana_client/models/http_script_configuration_update.py +++ b/instana_client/models/http_script_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,6 +20,7 @@ from pydantic import ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from instana_client.models.git_hub_configuration import GitHubConfiguration from instana_client.models.multiple_scripts_configuration import MultipleScriptsConfiguration from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate from typing import Optional, Set @@ -30,10 +31,11 @@ class HttpScriptConfigurationUpdate(SyntheticTypeConfigurationUpdate): HttpScriptConfigurationUpdate """ # noqa: E501 file_name: Optional[StrictStr] = Field(default=None, alias="fileName") + github: Optional[GitHubConfiguration] = None script: Optional[StrictStr] = None script_type: Optional[StrictStr] = Field(default=None, alias="scriptType") scripts: Optional[MultipleScriptsConfiguration] = None - __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout", "fileName", "script", "scriptType", "scripts"] + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout", "fileName", "github", "script", "scriptType", "scripts"] @field_validator('script_type') def script_type_validate_enum(cls, value): @@ -84,6 +86,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of github + if self.github: + _dict['github'] = self.github.to_dict() # override the default output from pydantic by calling `to_dict()` of scripts if self.scripts: _dict['scripts'] = self.scripts.to_dict() @@ -106,6 +111,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "syntheticType": obj.get("syntheticType"), "timeout": obj.get("timeout"), "fileName": obj.get("fileName"), + "github": GitHubConfiguration.from_dict(obj["github"]) if obj.get("github") is not None else None, "script": obj.get("script"), "scriptType": obj.get("scriptType"), "scripts": MultipleScriptsConfiguration.from_dict(obj["scripts"]) if obj.get("scripts") is not None else None diff --git a/instana_client/models/hyper_param.py b/instana_client/models/hyper_param.py index 2134d14..c269475 100644 --- a/instana_client/models/hyper_param.py +++ b/instana_client/models/hyper_param.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/icmp_configuration.py b/instana_client/models/icmp_configuration.py index e2bb04c..c25d546 100644 --- a/instana_client/models/icmp_configuration.py +++ b/instana_client/models/icmp_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/icmp_configuration_update.py b/instana_client/models/icmp_configuration_update.py index 7c7ba01..eba18b1 100644 --- a/instana_client/models/icmp_configuration_update.py +++ b/instana_client/models/icmp_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/icmp_validation.py b/instana_client/models/icmp_validation.py index 39f6dcc..14f9df6 100644 --- a/instana_client/models/icmp_validation.py +++ b/instana_client/models/icmp_validation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/identity_provider_patch.py b/instana_client/models/identity_provider_patch.py index 88b0408..c081fce 100644 --- a/instana_client/models/identity_provider_patch.py +++ b/instana_client/models/identity_provider_patch.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/idp_status_update.py b/instana_client/models/idp_status_update.py index 37c8be2..cb2ed69 100644 --- a/instana_client/models/idp_status_update.py +++ b/instana_client/models/idp_status_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/impacted_beacon_info.py b/instana_client/models/impacted_beacon_info.py index b81316e..7703715 100644 --- a/instana_client/models/impacted_beacon_info.py +++ b/instana_client/models/impacted_beacon_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_alert_config.py b/instana_client/models/infra_alert_config.py index b9939c1..ccf600d 100644 --- a/instana_client/models/infra_alert_config.py +++ b/instana_client/models/infra_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_alert_config_with_metadata.py b/instana_client/models/infra_alert_config_with_metadata.py index 2d710d3..a089246 100644 --- a/instana_client/models/infra_alert_config_with_metadata.py +++ b/instana_client/models/infra_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_alert_rule.py b/instana_client/models/infra_alert_rule.py index 2275baa..ad12b61 100644 --- a/instana_client/models/infra_alert_rule.py +++ b/instana_client/models/infra_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_event_result.py b/instana_client/models/infra_event_result.py index e2f9d58..0422b05 100644 --- a/instana_client/models/infra_event_result.py +++ b/instana_client/models/infra_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class InfraEventResult(EventResult): """ # noqa: E501 ibm_mq_file_transfer: Optional[List[Dict[str, Dict[str, Any]]]] = Field(default=None, description="IBM MQ file transfer information, if relevant for this entity and event.", alias="ibmMqFileTransfer") snapshot_id: Optional[StrictStr] = Field(default=None, description="ID of the snapshot.", alias="snapshotId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "ibmMqFileTransfer"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type", "ibmMqFileTransfer"] model_config = ConfigDict( populate_by_name=True, @@ -91,6 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eventId": obj.get("eventId"), "eventSpecificationId": obj.get("eventSpecificationId"), "fixSuggestion": obj.get("fixSuggestion"), + "metadata": obj.get("metadata"), "metrics": obj.get("metrics"), "probableCause": obj.get("probableCause"), "problem": obj.get("problem"), @@ -100,6 +101,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "snapshotId": obj.get("snapshotId"), "start": obj.get("start"), "state": obj.get("state"), + "triggeringEventId": obj.get("triggeringEventId"), "type": obj.get("type"), "ibmMqFileTransfer": obj.get("ibmMqFileTransfer") }) diff --git a/instana_client/models/infra_slo_entity.py b/instana_client/models/infra_slo_entity.py index ccae0af..73fac9f 100644 --- a/instana_client/models/infra_slo_entity.py +++ b/instana_client/models/infra_slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infra_time_threshold.py b/instana_client/models/infra_time_threshold.py index 1418841..6f0779c 100644 --- a/instana_client/models/infra_time_threshold.py +++ b/instana_client/models/infra_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infrastructure_entities_result.py b/instana_client/models/infrastructure_entities_result.py index a025dbf..e5330e7 100644 --- a/instana_client/models/infrastructure_entities_result.py +++ b/instana_client/models/infrastructure_entities_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infrastructure_group.py b/instana_client/models/infrastructure_group.py index 6be3234..1e45134 100644 --- a/instana_client/models/infrastructure_group.py +++ b/instana_client/models/infrastructure_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -27,11 +27,12 @@ class InfrastructureGroup(BaseModel): """ group of infrastructure entities """ # noqa: E501 + adjusted_granularities: Optional[Dict[str, StrictInt]] = Field(default=None, description="map of metric keys to their adjusted granularity (in milliseconds)", alias="adjustedGranularities") count: Optional[StrictInt] = Field(default=None, description="number of entities in this group") metrics: Optional[Dict[str, List[List[Union[StrictFloat, StrictInt]]]]] = Field(default=None, description="map of metric keys to array of timestamp,value pairs") poll_rate: Optional[StrictInt] = Field(default=None, description="max poll rate across this group", alias="pollRate") tags: Optional[Dict[str, Dict[str, Any]]] = Field(default=None, description="tag keys and values for this group") - __properties: ClassVar[List[str]] = ["count", "metrics", "pollRate", "tags"] + __properties: ClassVar[List[str]] = ["adjustedGranularities", "count", "metrics", "pollRate", "tags"] model_config = ConfigDict( populate_by_name=True, @@ -84,6 +85,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "adjustedGranularities": obj.get("adjustedGranularities"), "count": obj.get("count"), "metrics": obj.get("metrics"), "pollRate": obj.get("pollRate"), diff --git a/instana_client/models/infrastructure_groups_result.py b/instana_client/models/infrastructure_groups_result.py index f4f62cd..c9f0f23 100644 --- a/instana_client/models/infrastructure_groups_result.py +++ b/instana_client/models/infrastructure_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/infrastructure_item.py b/instana_client/models/infrastructure_item.py index 30484e0..759b100 100644 --- a/instana_client/models/infrastructure_item.py +++ b/instana_client/models/infrastructure_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -28,6 +28,7 @@ class InfrastructureItem(BaseModel): """ InfrastructureItem """ # noqa: E501 + adjusted_granularities: Optional[Dict[str, StrictInt]] = Field(default=None, description="map of metric keys to their adjusted granularity (in milliseconds)", alias="adjustedGranularities") entity_health_info: Optional[EntityHealthInfo] = Field(default=None, alias="entityHealthInfo") label: Optional[StrictStr] = None metrics: Optional[Dict[str, List[List[Union[StrictFloat, StrictInt]]]]] = None @@ -35,7 +36,7 @@ class InfrastructureItem(BaseModel): snapshot_id: Optional[StrictStr] = Field(default=None, alias="snapshotId") tags: Optional[Dict[str, StrictStr]] = None time: Optional[StrictInt] = Field(default=None, description="Epoch time in milliseconds if the snapshot is offline. Set to 9223372036854775807 if the snapshot is online.") - __properties: ClassVar[List[str]] = ["entityHealthInfo", "label", "metrics", "plugin", "snapshotId", "tags", "time"] + __properties: ClassVar[List[str]] = ["adjustedGranularities", "entityHealthInfo", "label", "metrics", "plugin", "snapshotId", "tags", "time"] model_config = ConfigDict( populate_by_name=True, @@ -91,6 +92,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "adjustedGranularities": obj.get("adjustedGranularities"), "entityHealthInfo": EntityHealthInfo.from_dict(obj["entityHealthInfo"]) if obj.get("entityHealthInfo") is not None else None, "label": obj.get("label"), "metrics": obj.get("metrics"), diff --git a/instana_client/models/infrastructure_metric_result.py b/instana_client/models/infrastructure_metric_result.py index 83b6b46..22637dd 100644 --- a/instana_client/models/infrastructure_metric_result.py +++ b/instana_client/models/infrastructure_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/instana_version_info.py b/instana_client/models/instana_version_info.py index 11c2fb4..405298f 100644 --- a/instana_client/models/instana_version_info.py +++ b/instana_client/models/instana_version_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/integration_overview.py b/instana_client/models/integration_overview.py index 4a673f5..b5539d7 100644 --- a/instana_client/models/integration_overview.py +++ b/instana_client/models/integration_overview.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/invitation.py b/instana_client/models/invitation.py index 660e160..f136335 100644 --- a/instana_client/models/invitation.py +++ b/instana_client/models/invitation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/invitation_response.py b/instana_client/models/invitation_response.py index 458e626..18b5f18 100644 --- a/instana_client/models/invitation_response.py +++ b/instana_client/models/invitation_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/invitation_result.py b/instana_client/models/invitation_result.py index db47450..d66b528 100644 --- a/instana_client/models/invitation_result.py +++ b/instana_client/models/invitation_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ip_filtering.py b/instana_client/models/ip_filtering.py index 68c6bb6..87b354f 100644 --- a/instana_client/models/ip_filtering.py +++ b/instana_client/models/ip_filtering.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ip_filtering_rule_dto.py b/instana_client/models/ip_filtering_rule_dto.py index 2abab73..147dcf2 100644 --- a/instana_client/models/ip_filtering_rule_dto.py +++ b/instana_client/models/ip_filtering_rule_dto.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ip_filtering_upsert.py b/instana_client/models/ip_filtering_upsert.py index f832197..d3b0a9b 100644 --- a/instana_client/models/ip_filtering_upsert.py +++ b/instana_client/models/ip_filtering_upsert.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ip_masking_configuration.py b/instana_client/models/ip_masking_configuration.py index e36c8e6..2cb842a 100644 --- a/instana_client/models/ip_masking_configuration.py +++ b/instana_client/models/ip_masking_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/js_stack_trace_line.py b/instana_client/models/js_stack_trace_line.py index 87b40ea..9983711 100644 --- a/instana_client/models/js_stack_trace_line.py +++ b/instana_client/models/js_stack_trace_line.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/kubernetes_physical_context.py b/instana_client/models/kubernetes_physical_context.py index 5853d97..7504b7c 100644 --- a/instana_client/models/kubernetes_physical_context.py +++ b/instana_client/models/kubernetes_physical_context.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/latency_blueprint_indicator.py b/instana_client/models/latency_blueprint_indicator.py index ea1aa5c..511ad0b 100644 --- a/instana_client/models/latency_blueprint_indicator.py +++ b/instana_client/models/latency_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_egress_gateway.py b/instana_client/models/llm_egress_gateway.py index 292e9f5..abf8ded 100644 --- a/instana_client/models/llm_egress_gateway.py +++ b/instana_client/models/llm_egress_gateway.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_gateway_capability.py b/instana_client/models/llm_gateway_capability.py index 048ea33..0ff38cb 100644 --- a/instana_client/models/llm_gateway_capability.py +++ b/instana_client/models/llm_gateway_capability.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_gateway_model.py b/instana_client/models/llm_gateway_model.py index 58e63bd..93480eb 100644 --- a/instana_client/models/llm_gateway_model.py +++ b/instana_client/models/llm_gateway_model.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_gateway_service.py b/instana_client/models/llm_gateway_service.py index 816cabc..5923abc 100644 --- a/instana_client/models/llm_gateway_service.py +++ b/instana_client/models/llm_gateway_service.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_gateway_test_connection_request.py b/instana_client/models/llm_gateway_test_connection_request.py index cedb86c..c17eb99 100644 --- a/instana_client/models/llm_gateway_test_connection_request.py +++ b/instana_client/models/llm_gateway_test_connection_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_model_price.py b/instana_client/models/llm_model_price.py index 9148325..8040a27 100644 --- a/instana_client/models/llm_model_price.py +++ b/instana_client/models/llm_model_price.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/llm_model_price_metadata.py b/instana_client/models/llm_model_price_metadata.py index 0b82243..5c235ff 100644 --- a/instana_client/models/llm_model_price_metadata.py +++ b/instana_client/models/llm_model_price_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/location_status.py b/instana_client/models/location_status.py index a3f6243..d4ac042 100644 --- a/instana_client/models/location_status.py +++ b/instana_client/models/location_status.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_alert_config.py b/instana_client/models/log_alert_config.py index 99db6e0..6b2298d 100644 --- a/instana_client/models/log_alert_config.py +++ b/instana_client/models/log_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_alert_config_with_metadata.py b/instana_client/models/log_alert_config_with_metadata.py index fd7ce6a..aadcae0 100644 --- a/instana_client/models/log_alert_config_with_metadata.py +++ b/instana_client/models/log_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_alert_rule.py b/instana_client/models/log_alert_rule.py index e99eac6..aa2097c 100644 --- a/instana_client/models/log_alert_rule.py +++ b/instana_client/models/log_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_count_alert_rule.py b/instana_client/models/log_count_alert_rule.py index b0e4e5b..827b6ec 100644 --- a/instana_client/models/log_count_alert_rule.py +++ b/instana_client/models/log_count_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_event_result.py b/instana_client/models/log_event_result.py index 6a1829d..1e84c6f 100644 --- a/instana_client/models/log_event_result.py +++ b/instana_client/models/log_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -29,7 +29,7 @@ class LogEventResult(EventResult): LogEventResult """ # noqa: E501 snapshot_id: Optional[StrictStr] = Field(default=None, description="ID of the snapshot.", alias="snapshotId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type"] model_config = ConfigDict( populate_by_name=True, @@ -90,6 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eventId": obj.get("eventId"), "eventSpecificationId": obj.get("eventSpecificationId"), "fixSuggestion": obj.get("fixSuggestion"), + "metadata": obj.get("metadata"), "metrics": obj.get("metrics"), "probableCause": obj.get("probableCause"), "problem": obj.get("problem"), @@ -99,6 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "snapshotId": obj.get("snapshotId"), "start": obj.get("start"), "state": obj.get("state"), + "triggeringEventId": obj.get("triggeringEventId"), "type": obj.get("type") }) return _obj diff --git a/instana_client/models/log_time_threshold.py b/instana_client/models/log_time_threshold.py index bb5540b..f77f762 100644 --- a/instana_client/models/log_time_threshold.py +++ b/instana_client/models/log_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_volume_group.py b/instana_client/models/log_volume_group.py index 334a746..6386fd3 100644 --- a/instana_client/models/log_volume_group.py +++ b/instana_client/models/log_volume_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_volume_usage_item.py b/instana_client/models/log_volume_usage_item.py index 5dcf16c..70a8ac4 100644 --- a/instana_client/models/log_volume_usage_item.py +++ b/instana_client/models/log_volume_usage_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/log_volume_usage_result.py b/instana_client/models/log_volume_usage_result.py index 20d130d..f7b50dc 100644 --- a/instana_client/models/log_volume_usage_result.py +++ b/instana_client/models/log_volume_usage_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/logs_application_alert_rule.py b/instana_client/models/logs_application_alert_rule.py index e4bf3c5..bcb2e78 100644 --- a/instana_client/models/logs_application_alert_rule.py +++ b/instana_client/models/logs_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config.py b/instana_client/models/maintenance_config.py index 8a45ce1..86417b9 100644 --- a/instana_client/models/maintenance_config.py +++ b/instana_client/models/maintenance_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config_scheduling.py b/instana_client/models/maintenance_config_scheduling.py index f7a52cb..f527e61 100644 --- a/instana_client/models/maintenance_config_scheduling.py +++ b/instana_client/models/maintenance_config_scheduling.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config_v2.py b/instana_client/models/maintenance_config_v2.py index 84b6d87..c42ab57 100644 --- a/instana_client/models/maintenance_config_v2.py +++ b/instana_client/models/maintenance_config_v2.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config_v2_with_state_and_occurrence.py b/instana_client/models/maintenance_config_v2_with_state_and_occurrence.py index f1650fe..e2cfba5 100644 --- a/instana_client/models/maintenance_config_v2_with_state_and_occurrence.py +++ b/instana_client/models/maintenance_config_v2_with_state_and_occurrence.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_config_with_last_updated.py b/instana_client/models/maintenance_config_with_last_updated.py index a8da055..4318240 100644 --- a/instana_client/models/maintenance_config_with_last_updated.py +++ b/instana_client/models/maintenance_config_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/maintenance_window.py b/instana_client/models/maintenance_window.py index 32e2469..5455c9e 100644 --- a/instana_client/models/maintenance_window.py +++ b/instana_client/models/maintenance_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/manual_alerting_channel_configuration.py b/instana_client/models/manual_alerting_channel_configuration.py index 721f849..9c078c3 100644 --- a/instana_client/models/manual_alerting_channel_configuration.py +++ b/instana_client/models/manual_alerting_channel_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/manual_close_info.py b/instana_client/models/manual_close_info.py index 7d7a48b..f667725 100644 --- a/instana_client/models/manual_close_info.py +++ b/instana_client/models/manual_close_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/manual_service_config.py b/instana_client/models/manual_service_config.py index 3e6b2e6..0e48347 100644 --- a/instana_client/models/manual_service_config.py +++ b/instana_client/models/manual_service_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/match_all_http_path_segment_matching_rule.py b/instana_client/models/match_all_http_path_segment_matching_rule.py index 9ce10a9..e4451ab 100644 --- a/instana_client/models/match_all_http_path_segment_matching_rule.py +++ b/instana_client/models/match_all_http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/match_expression_dto.py b/instana_client/models/match_expression_dto.py index b1b6981..cb7c822 100644 --- a/instana_client/models/match_expression_dto.py +++ b/instana_client/models/match_expression_dto.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/meta_data.py b/instana_client/models/meta_data.py index 2dcd2c6..02635b5 100644 --- a/instana_client/models/meta_data.py +++ b/instana_client/models/meta_data.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_api_result.py b/instana_client/models/metric_api_result.py index b89616c..6415468 100644 --- a/instana_client/models/metric_api_result.py +++ b/instana_client/models/metric_api_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_config.py b/instana_client/models/metric_config.py index f433db9..8bbd64d 100644 --- a/instana_client/models/metric_config.py +++ b/instana_client/models/metric_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_configuration.py b/instana_client/models/metric_configuration.py index 5584a48..f1181cd 100644 --- a/instana_client/models/metric_configuration.py +++ b/instana_client/models/metric_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_description.py b/instana_client/models/metric_description.py index ff57885..e8e19c6 100644 --- a/instana_client/models/metric_description.py +++ b/instana_client/models/metric_description.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_field.py b/instana_client/models/metric_field.py index 10d9a7b..7887b51 100644 --- a/instana_client/models/metric_field.py +++ b/instana_client/models/metric_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -32,9 +32,10 @@ class MetricField(CustomPayloadField): aggregation: Optional[StrictStr] = None entity_type: Optional[StrictStr] = Field(default=None, alias="entityType") metric_id: Optional[StrictStr] = Field(default=None, alias="metricId") + source: Optional[StrictStr] = None time_window: Optional[Dict[str, Any]] = Field(default=None, alias="timeWindow") value: Optional[MetricFieldValue] = None - __properties: ClassVar[List[str]] = ["key", "type", "aggregation", "entityType", "metricId", "timeWindow", "value"] + __properties: ClassVar[List[str]] = ["key", "type", "aggregation", "entityType", "metricId", "source", "timeWindow", "value"] @field_validator('aggregation') def aggregation_validate_enum(cls, value): @@ -46,6 +47,16 @@ def aggregation_validate_enum(cls, value): raise ValueError("must be one of enum values ('SUM', 'MEAN', 'MIN', 'MAX')") return value + @field_validator('source') + def source_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['INFRA', 'APPLICATION']): + raise ValueError("must be one of enum values ('INFRA', 'APPLICATION')") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -105,6 +116,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "aggregation": obj.get("aggregation"), "entityType": obj.get("entityType"), "metricId": obj.get("metricId"), + "source": obj.get("source"), "timeWindow": obj.get("timeWindow"), "value": MetricFieldValue.from_dict(obj["value"]) if obj.get("value") is not None else None }) diff --git a/instana_client/models/metric_field_value.py b/instana_client/models/metric_field_value.py index 51cc6fb..f74bc73 100644 --- a/instana_client/models/metric_field_value.py +++ b/instana_client/models/metric_field_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,8 +30,9 @@ class MetricFieldValue(BaseModel): aggregation: StrictStr = Field(description="The aggregation type to apply to the metric") entity_type: Optional[StrictStr] = Field(default=None, description="The entity type for the metric query", alias="entityType") metric_id: StrictStr = Field(description="The metric ID to retrieve", alias="metricId") + source: Optional[StrictStr] = Field(default=None, description="The source catalog the metric was selected from") time_window: Optional[Dict[str, Any]] = Field(default=None, description="The time window in milliseconds for metric aggregation", alias="timeWindow") - __properties: ClassVar[List[str]] = ["aggregation", "entityType", "metricId", "timeWindow"] + __properties: ClassVar[List[str]] = ["aggregation", "entityType", "metricId", "source", "timeWindow"] @field_validator('aggregation') def aggregation_validate_enum(cls, value): @@ -40,6 +41,16 @@ def aggregation_validate_enum(cls, value): raise ValueError("must be one of enum values ('SUM', 'MEAN', 'MIN', 'MAX')") return value + @field_validator('source') + def source_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['INFRA', 'APPLICATION']): + raise ValueError("must be one of enum values ('INFRA', 'APPLICATION')") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -94,6 +105,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "aggregation": obj.get("aggregation"), "entityType": obj.get("entityType"), "metricId": obj.get("metricId"), + "source": obj.get("source"), "timeWindow": obj.get("timeWindow") }) return _obj diff --git a/instana_client/models/metric_instance.py b/instana_client/models/metric_instance.py index 29c6ad2..81e2660 100644 --- a/instana_client/models/metric_instance.py +++ b/instana_client/models/metric_instance.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_item.py b/instana_client/models/metric_item.py index a8420f5..e715973 100644 --- a/instana_client/models/metric_item.py +++ b/instana_client/models/metric_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_metadata.py b/instana_client/models/metric_metadata.py index 47fcbe4..c3cb70f 100644 --- a/instana_client/models/metric_metadata.py +++ b/instana_client/models/metric_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metric_pattern.py b/instana_client/models/metric_pattern.py index 1a3c8b8..e2e6ccc 100644 --- a/instana_client/models/metric_pattern.py +++ b/instana_client/models/metric_pattern.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metrics_result.py b/instana_client/models/metrics_result.py index 980b0f8..c8b28d5 100644 --- a/instana_client/models/metrics_result.py +++ b/instana_client/models/metrics_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metrics_result_item.py b/instana_client/models/metrics_result_item.py index 2f124a9..c8c9946 100644 --- a/instana_client/models/metrics_result_item.py +++ b/instana_client/models/metrics_result_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/metrics_test_result_item.py b/instana_client/models/metrics_test_result_item.py index bb0ab30..2b1000c 100644 --- a/instana_client/models/metrics_test_result_item.py +++ b/instana_client/models/metrics_test_result_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app.py b/instana_client/models/mobile_app.py index 0cfa90d..eaa9c48 100644 --- a/instana_client/models/mobile_app.py +++ b/instana_client/models/mobile_app.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_alert_config.py b/instana_client/models/mobile_app_alert_config.py index 16a11d6..dfe582c 100644 --- a/instana_client/models/mobile_app_alert_config.py +++ b/instana_client/models/mobile_app_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_alert_config_with_rbac_tag.py b/instana_client/models/mobile_app_alert_config_with_rbac_tag.py index 62a4b29..fe71a5d 100644 --- a/instana_client/models/mobile_app_alert_config_with_rbac_tag.py +++ b/instana_client/models/mobile_app_alert_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_alert_rule.py b/instana_client/models/mobile_app_alert_rule.py index 8a8bb23..de180c0 100644 --- a/instana_client/models/mobile_app_alert_rule.py +++ b/instana_client/models/mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacon_groups_item.py b/instana_client/models/mobile_app_beacon_groups_item.py index 5faed3e..9a39a7a 100644 --- a/instana_client/models/mobile_app_beacon_groups_item.py +++ b/instana_client/models/mobile_app_beacon_groups_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacon_groups_result.py b/instana_client/models/mobile_app_beacon_groups_result.py index c17995e..8c02790 100644 --- a/instana_client/models/mobile_app_beacon_groups_result.py +++ b/instana_client/models/mobile_app_beacon_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacon_result.py b/instana_client/models/mobile_app_beacon_result.py index 2fed81d..f466358 100644 --- a/instana_client/models/mobile_app_beacon_result.py +++ b/instana_client/models/mobile_app_beacon_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacon_tag_group.py b/instana_client/models/mobile_app_beacon_tag_group.py index 5c52af4..c617db8 100644 --- a/instana_client/models/mobile_app_beacon_tag_group.py +++ b/instana_client/models/mobile_app_beacon_tag_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_beacons_item.py b/instana_client/models/mobile_app_beacons_item.py index 8b13b0e..6138b4e 100644 --- a/instana_client/models/mobile_app_beacons_item.py +++ b/instana_client/models/mobile_app_beacons_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_event_result.py b/instana_client/models/mobile_app_event_result.py index 4fc913e..fd2e6f8 100644 --- a/instana_client/models/mobile_app_event_result.py +++ b/instana_client/models/mobile_app_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -29,7 +29,7 @@ class MobileAppEventResult(EventResult): MobileAppEventResult """ # noqa: E501 mobile_app_id: Optional[StrictStr] = Field(default=None, description="ID of the mobile app.", alias="mobileAppId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "mobileAppId"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type", "mobileAppId"] model_config = ConfigDict( populate_by_name=True, @@ -90,6 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eventId": obj.get("eventId"), "eventSpecificationId": obj.get("eventSpecificationId"), "fixSuggestion": obj.get("fixSuggestion"), + "metadata": obj.get("metadata"), "metrics": obj.get("metrics"), "probableCause": obj.get("probableCause"), "problem": obj.get("problem"), @@ -99,6 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "snapshotId": obj.get("snapshotId"), "start": obj.get("start"), "state": obj.get("state"), + "triggeringEventId": obj.get("triggeringEventId"), "type": obj.get("type"), "mobileAppId": obj.get("mobileAppId") }) diff --git a/instana_client/models/mobile_app_metric_result.py b/instana_client/models/mobile_app_metric_result.py index 21d6739..54739ed 100644 --- a/instana_client/models/mobile_app_metric_result.py +++ b/instana_client/models/mobile_app_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_monitoring_beacon.py b/instana_client/models/mobile_app_monitoring_beacon.py index 1286fc2..3a25d62 100644 --- a/instana_client/models/mobile_app_monitoring_beacon.py +++ b/instana_client/models/mobile_app_monitoring_beacon.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -96,6 +96,7 @@ class MobileAppMonitoringBeacon(BaseModel): region: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=256)]] = None rooted: Optional[StrictBool] = None session_id: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=128)]] = Field(default=None, alias="sessionId") + session_replay_status: Optional[StrictInt] = Field(default=None, alias="sessionReplayStatus") stack_trace: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=16384)]] = Field(default=None, alias="stackTrace") stack_trace_key_checksum: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=128)]] = Field(default=None, alias="stackTraceKeyChecksum") stack_trace_key_information: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=1024)]] = Field(default=None, alias="stackTraceKeyInformation") @@ -120,7 +121,7 @@ class MobileAppMonitoringBeacon(BaseModel): viewport_height: Optional[Annotated[int, Field(strict=True, ge=-1)]] = Field(default=None, alias="viewportHeight") viewport_width: Optional[Annotated[int, Field(strict=True, ge=-1)]] = Field(default=None, alias="viewportWidth") warm_start_time_ms: Optional[Annotated[int, Field(strict=True, ge=-1)]] = Field(default=None, alias="warmStartTimeMs") - __properties: ClassVar[List[str]] = ["accuracyRadius", "agentVersion", "appBuild", "appVersion", "appVersionNumber", "availableMb", "backendTraceId", "batchSize", "beaconId", "bundleIdentifier", "bytesIngested", "carrier", "city", "clockSkew", "coldStartTimeMs", "connectionType", "continent", "continentCode", "country", "countryCode", "currentAppState", "customEventName", "customMetric", "decodedBodySize", "deviceHardware", "deviceManufacturer", "deviceModel", "dropView", "duration", "effectiveConnectionType", "encodedBodySize", "environment", "errorCount", "errorId", "errorMessage", "errorType", "googlePlayServicesMissing", "hotStartTimeMs", "httpCallHeaders", "httpCallMethod", "httpCallOrigin", "httpCallPath", "httpCallStatus", "httpCallUrl", "ingestionTime", "internalMeta", "label", "latitude", "longitude", "maxMb", "meta", "mobileAppId", "mobileAppLabel", "osName", "osVersion", "parentBeaconId", "parsedStackTrace", "performanceSubtype", "platform", "rateLimitBeaconType", "rateLimitCount", "rateLimitCustomMetricVal", "rateLimitTimeMax", "rateLimitTimeMin", "region", "rooted", "sessionId", "stackTrace", "stackTraceKeyChecksum", "stackTraceKeyInformation", "stackTraceLine", "stackTraceParsingStatus", "subdivision", "subdivisionCode", "tenant", "timestamp", "transferSize", "type", "unit", "useFeatures", "usedMb", "userEmail", "userId", "userIp", "userLanguages", "userName", "userSessionId", "view", "viewportHeight", "viewportWidth", "warmStartTimeMs"] + __properties: ClassVar[List[str]] = ["accuracyRadius", "agentVersion", "appBuild", "appVersion", "appVersionNumber", "availableMb", "backendTraceId", "batchSize", "beaconId", "bundleIdentifier", "bytesIngested", "carrier", "city", "clockSkew", "coldStartTimeMs", "connectionType", "continent", "continentCode", "country", "countryCode", "currentAppState", "customEventName", "customMetric", "decodedBodySize", "deviceHardware", "deviceManufacturer", "deviceModel", "dropView", "duration", "effectiveConnectionType", "encodedBodySize", "environment", "errorCount", "errorId", "errorMessage", "errorType", "googlePlayServicesMissing", "hotStartTimeMs", "httpCallHeaders", "httpCallMethod", "httpCallOrigin", "httpCallPath", "httpCallStatus", "httpCallUrl", "ingestionTime", "internalMeta", "label", "latitude", "longitude", "maxMb", "meta", "mobileAppId", "mobileAppLabel", "osName", "osVersion", "parentBeaconId", "parsedStackTrace", "performanceSubtype", "platform", "rateLimitBeaconType", "rateLimitCount", "rateLimitCustomMetricVal", "rateLimitTimeMax", "rateLimitTimeMin", "region", "rooted", "sessionId", "sessionReplayStatus", "stackTrace", "stackTraceKeyChecksum", "stackTraceKeyInformation", "stackTraceLine", "stackTraceParsingStatus", "subdivision", "subdivisionCode", "tenant", "timestamp", "transferSize", "type", "unit", "useFeatures", "usedMb", "userEmail", "userId", "userIp", "userLanguages", "userName", "userSessionId", "view", "viewportHeight", "viewportWidth", "warmStartTimeMs"] model_config = ConfigDict( populate_by_name=True, @@ -247,6 +248,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "region": obj.get("region"), "rooted": obj.get("rooted"), "sessionId": obj.get("sessionId"), + "sessionReplayStatus": obj.get("sessionReplayStatus"), "stackTrace": obj.get("stackTrace"), "stackTraceKeyChecksum": obj.get("stackTraceKeyChecksum"), "stackTraceKeyInformation": obj.get("stackTraceKeyInformation"), diff --git a/instana_client/models/mobile_app_monitoring_metric_description.py b/instana_client/models/mobile_app_monitoring_metric_description.py index 2cb5b1a..30a11a7 100644 --- a/instana_client/models/mobile_app_monitoring_metric_description.py +++ b/instana_client/models/mobile_app_monitoring_metric_description.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_monitoring_metrics_configuration.py b/instana_client/models/mobile_app_monitoring_metrics_configuration.py index 412a8e8..b61c57d 100644 --- a/instana_client/models/mobile_app_monitoring_metrics_configuration.py +++ b/instana_client/models/mobile_app_monitoring_metrics_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/mobile_app_time_threshold.py b/instana_client/models/mobile_app_time_threshold.py index e8d67f6..63599f5 100644 --- a/instana_client/models/mobile_app_time_threshold.py +++ b/instana_client/models/mobile_app_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/model_field.py b/instana_client/models/model_field.py index 13863be..cc2b94f 100644 --- a/instana_client/models/model_field.py +++ b/instana_client/models/model_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/monitored_entities_stats.py b/instana_client/models/monitored_entities_stats.py index 290d7ad..83c426d 100644 --- a/instana_client/models/monitored_entities_stats.py +++ b/instana_client/models/monitored_entities_stats.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/monitoring_state.py b/instana_client/models/monitoring_state.py index b45ea75..d3b4d85 100644 --- a/instana_client/models/monitoring_state.py +++ b/instana_client/models/monitoring_state.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/multiple_scripts_configuration.py b/instana_client/models/multiple_scripts_configuration.py index 4cb0120..d70f200 100644 --- a/instana_client/models/multiple_scripts_configuration.py +++ b/instana_client/models/multiple_scripts_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/new_application_config.py b/instana_client/models/new_application_config.py index 88a32e8..0d6b060 100644 --- a/instana_client/models/new_application_config.py +++ b/instana_client/models/new_application_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/new_business_perspective_config.py b/instana_client/models/new_business_perspective_config.py index 842f277..c8e834c 100644 --- a/instana_client/models/new_business_perspective_config.py +++ b/instana_client/models/new_business_perspective_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/new_manual_service_config.py b/instana_client/models/new_manual_service_config.py index f9023ad..c021c86 100644 --- a/instana_client/models/new_manual_service_config.py +++ b/instana_client/models/new_manual_service_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ns1_integration.py b/instana_client/models/ns1_integration.py index 4fb570e..4212ba9 100644 --- a/instana_client/models/ns1_integration.py +++ b/instana_client/models/ns1_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/o_auth_config.py b/instana_client/models/o_auth_config.py index 65d4837..8dfef17 100644 --- a/instana_client/models/o_auth_config.py +++ b/instana_client/models/o_auth_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/o_auth_integration.py b/instana_client/models/o_auth_integration.py index 52c3e9e..92af612 100644 --- a/instana_client/models/o_auth_integration.py +++ b/instana_client/models/o_auth_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/o_auth_token.py b/instana_client/models/o_auth_token.py index 58a0cf9..56e7bd1 100644 --- a/instana_client/models/o_auth_token.py +++ b/instana_client/models/o_auth_token.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/occurrence.py b/instana_client/models/occurrence.py index 211479c..5834275 100644 --- a/instana_client/models/occurrence.py +++ b/instana_client/models/occurrence.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/office365_integration.py b/instana_client/models/office365_integration.py index 86b7b2b..6846e28 100644 --- a/instana_client/models/office365_integration.py +++ b/instana_client/models/office365_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/one_time_maintenance_window.py b/instana_client/models/one_time_maintenance_window.py index ed9e12c..4efe4b0 100644 --- a/instana_client/models/one_time_maintenance_window.py +++ b/instana_client/models/one_time_maintenance_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/opsgenie_integration.py b/instana_client/models/opsgenie_integration.py index 34be971..8d87edb 100644 --- a/instana_client/models/opsgenie_integration.py +++ b/instana_client/models/opsgenie_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/order.py b/instana_client/models/order.py index 4522b9a..35467e7 100644 --- a/instana_client/models/order.py +++ b/instana_client/models/order.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/pagerduty_integration.py b/instana_client/models/pagerduty_integration.py index 285cd8c..84be987 100644 --- a/instana_client/models/pagerduty_integration.py +++ b/instana_client/models/pagerduty_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/paginated_result.py b/instana_client/models/paginated_result.py index a7a9b8e..b024027 100644 --- a/instana_client/models/paginated_result.py +++ b/instana_client/models/paginated_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/pagination.py b/instana_client/models/pagination.py index 97eae06..388f199 100644 --- a/instana_client/models/pagination.py +++ b/instana_client/models/pagination.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/parameter.py b/instana_client/models/parameter.py index 855c0b4..751a867 100644 --- a/instana_client/models/parameter.py +++ b/instana_client/models/parameter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/parameter_value.py b/instana_client/models/parameter_value.py index 7e491ca..b6773fe 100644 --- a/instana_client/models/parameter_value.py +++ b/instana_client/models/parameter_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/path_parameter_http_path_segment_matching_rule.py b/instana_client/models/path_parameter_http_path_segment_matching_rule.py index 37def15..84dbfc2 100644 --- a/instana_client/models/path_parameter_http_path_segment_matching_rule.py +++ b/instana_client/models/path_parameter_http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/physical_context.py b/instana_client/models/physical_context.py index a8bd27b..c8992e0 100644 --- a/instana_client/models/physical_context.py +++ b/instana_client/models/physical_context.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/plugin_result.py b/instana_client/models/plugin_result.py index 2cedd24..9daad58 100644 --- a/instana_client/models/plugin_result.py +++ b/instana_client/models/plugin_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/policy.py b/instana_client/models/policy.py index b19ff63..65e64a9 100644 --- a/instana_client/models/policy.py +++ b/instana_client/models/policy.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/policy_runnable.py b/instana_client/models/policy_runnable.py index 36672c9..faa737b 100644 --- a/instana_client/models/policy_runnable.py +++ b/instana_client/models/policy_runnable.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/policy_scheduling.py b/instana_client/models/policy_scheduling.py index d159719..fdd2549 100644 --- a/instana_client/models/policy_scheduling.py +++ b/instana_client/models/policy_scheduling.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/post_mobile_app_source_map_config_request.py b/instana_client/models/post_mobile_app_source_map_config_request.py index 6b0f654..0efa36f 100644 --- a/instana_client/models/post_mobile_app_source_map_config_request.py +++ b/instana_client/models/post_mobile_app_source_map_config_request.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/post_snapshots_result.py b/instana_client/models/post_snapshots_result.py index d28d29d..a22ed5f 100644 --- a/instana_client/models/post_snapshots_result.py +++ b/instana_client/models/post_snapshots_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/prefix_object.py b/instana_client/models/prefix_object.py index 94fd081..3b06bde 100644 --- a/instana_client/models/prefix_object.py +++ b/instana_client/models/prefix_object.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/problem.py b/instana_client/models/problem.py index 4ac613c..33519ee 100644 --- a/instana_client/models/problem.py +++ b/instana_client/models/problem.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/prometheus_webhook_integration.py b/instana_client/models/prometheus_webhook_integration.py index f438271..86505b7 100644 --- a/instana_client/models/prometheus_webhook_integration.py +++ b/instana_client/models/prometheus_webhook_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/recurrent_maintenance_window.py b/instana_client/models/recurrent_maintenance_window.py index 02e9eba..2c7faf6 100644 --- a/instana_client/models/recurrent_maintenance_window.py +++ b/instana_client/models/recurrent_maintenance_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/release.py b/instana_client/models/release.py index b913484..5fe23f8 100644 --- a/instana_client/models/release.py +++ b/instana_client/models/release.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/release_scope.py b/instana_client/models/release_scope.py index f30e1c9..035d8ab 100644 --- a/instana_client/models/release_scope.py +++ b/instana_client/models/release_scope.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/release_with_metadata.py b/instana_client/models/release_with_metadata.py index 5260f41..79e54c2 100644 --- a/instana_client/models/release_with_metadata.py +++ b/instana_client/models/release_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/retention_period.py b/instana_client/models/retention_period.py index c0a045b..67f61dd 100644 --- a/instana_client/models/retention_period.py +++ b/instana_client/models/retention_period.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/role_mapping_overview.py b/instana_client/models/role_mapping_overview.py new file mode 100644 index 0000000..e2301fb --- /dev/null +++ b/instana_client/models/role_mapping_overview.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.320.1414 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class RoleMappingOverview(BaseModel): + """ + RoleMappingOverview + """ # noqa: E501 + id: StrictStr + key: StrictStr + role: StrictStr + role_id: StrictStr = Field(alias="roleId") + team: Optional[StrictStr] = None + team_id: Optional[StrictStr] = Field(default=None, alias="teamId") + value: StrictStr + __properties: ClassVar[List[str]] = ["id", "key", "role", "roleId", "team", "teamId", "value"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RoleMappingOverview from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RoleMappingOverview from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "key": obj.get("key"), + "role": obj.get("role"), + "roleId": obj.get("roleId"), + "team": obj.get("team"), + "teamId": obj.get("teamId"), + "value": obj.get("value") + }) + return _obj + + diff --git a/instana_client/models/rolling_time_window.py b/instana_client/models/rolling_time_window.py index 6428cf7..93dc029 100644 --- a/instana_client/models/rolling_time_window.py +++ b/instana_client/models/rolling_time_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_input.py b/instana_client/models/rule_input.py index b9d62d2..d3f7c90 100644 --- a/instana_client/models/rule_input.py +++ b/instana_client/models/rule_input.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_application_alert_rule.py b/instana_client/models/rule_with_threshold_application_alert_rule.py index e419596..028f9ba 100644 --- a/instana_client/models/rule_with_threshold_application_alert_rule.py +++ b/instana_client/models/rule_with_threshold_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_infra_alert_rule.py b/instana_client/models/rule_with_threshold_infra_alert_rule.py index 162e914..ae90bef 100644 --- a/instana_client/models/rule_with_threshold_infra_alert_rule.py +++ b/instana_client/models/rule_with_threshold_infra_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_log_alert_rule.py b/instana_client/models/rule_with_threshold_log_alert_rule.py index 35f055d..a762e20 100644 --- a/instana_client/models/rule_with_threshold_log_alert_rule.py +++ b/instana_client/models/rule_with_threshold_log_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_mobile_app_alert_rule.py b/instana_client/models/rule_with_threshold_mobile_app_alert_rule.py index a1a08d4..ade7e85 100644 --- a/instana_client/models/rule_with_threshold_mobile_app_alert_rule.py +++ b/instana_client/models/rule_with_threshold_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/rule_with_threshold_website_alert_rule.py b/instana_client/models/rule_with_threshold_website_alert_rule.py index 92dde16..6441a11 100644 --- a/instana_client/models/rule_with_threshold_website_alert_rule.py +++ b/instana_client/models/rule_with_threshold_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/run_configuration.py b/instana_client/models/run_configuration.py index f4f7086..67551a3 100644 --- a/instana_client/models/run_configuration.py +++ b/instana_client/models/run_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/salesforce_integration.py b/instana_client/models/salesforce_integration.py index 302a5f0..e9f017a 100644 --- a/instana_client/models/salesforce_integration.py +++ b/instana_client/models/salesforce_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/saturation_blueprint_indicator.py b/instana_client/models/saturation_blueprint_indicator.py index 8e57696..a661624 100644 --- a/instana_client/models/saturation_blueprint_indicator.py +++ b/instana_client/models/saturation_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/scope_binding.py b/instana_client/models/scope_binding.py index be172da..0bee9f3 100644 --- a/instana_client/models/scope_binding.py +++ b/instana_client/models/scope_binding.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/search_field_result.py b/instana_client/models/search_field_result.py index c8d3754..9695233 100644 --- a/instana_client/models/search_field_result.py +++ b/instana_client/models/search_field_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service.py b/instana_client/models/service.py index 4cd5672..ec76416 100644 --- a/instana_client/models/service.py +++ b/instana_client/models/service.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_config.py b/instana_client/models/service_config.py index 2c891ee..fe96837 100644 --- a/instana_client/models/service_config.py +++ b/instana_client/models/service_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_event_result.py b/instana_client/models/service_event_result.py index 5a70ee3..507b40a 100644 --- a/instana_client/models/service_event_result.py +++ b/instana_client/models/service_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class ServiceEventResult(EventResult): """ # noqa: E501 application_id: Optional[StrictStr] = Field(default=None, description="ID of the application this service is in scope of.", alias="applicationId") service_id: Optional[StrictStr] = Field(default=None, description="ID of the service.", alias="serviceId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "applicationId", "serviceId"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type", "applicationId", "serviceId"] model_config = ConfigDict( populate_by_name=True, @@ -91,6 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eventId": obj.get("eventId"), "eventSpecificationId": obj.get("eventSpecificationId"), "fixSuggestion": obj.get("fixSuggestion"), + "metadata": obj.get("metadata"), "metrics": obj.get("metrics"), "probableCause": obj.get("probableCause"), "problem": obj.get("problem"), @@ -100,6 +101,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "snapshotId": obj.get("snapshotId"), "start": obj.get("start"), "state": obj.get("state"), + "triggeringEventId": obj.get("triggeringEventId"), "type": obj.get("type"), "applicationId": obj.get("applicationId"), "serviceId": obj.get("serviceId") diff --git a/instana_client/models/service_item.py b/instana_client/models/service_item.py index 778b6a9..96e9b8e 100644 --- a/instana_client/models/service_item.py +++ b/instana_client/models/service_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_level_indicator.py b/instana_client/models/service_level_indicator.py index 2f67518..a9eca19 100644 --- a/instana_client/models/service_level_indicator.py +++ b/instana_client/models/service_level_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_level_objective_alert_rule.py b/instana_client/models/service_level_objective_alert_rule.py index 5555c09..f70edfc 100644 --- a/instana_client/models/service_level_objective_alert_rule.py +++ b/instana_client/models/service_level_objective_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_alert_config.py b/instana_client/models/service_levels_alert_config.py index ad78a1e..42f8ebd 100644 --- a/instana_client/models/service_levels_alert_config.py +++ b/instana_client/models/service_levels_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -35,6 +35,7 @@ class ServiceLevelsAlertConfig(BaseModel): ServiceLevelsAlertConfig """ # noqa: E501 alert_channel_ids: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=0, max_length=1024)] = Field(description="This is the list of channel IDs when alert triggered and sent to.", alias="alertChannelIds") + apdex_ids: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=0, max_length=1024)] = Field(description="This is the list of Apdex configurations related to this alert (mutually exclusive with sloIds).", alias="apdexIds") burn_rate_config: Optional[List[ServiceLevelsBurnRateConfig]] = Field(default=None, description="This is the burn rate alert configuration which defines alerting windows and corresponding thresholds. This configuration must to specified for BURN_RATE_V2 Alerts.", alias="burnRateConfig") burn_rate_time_windows: Optional[ServiceLevelsBurnRateTimeWindows] = Field(default=None, alias="burnRateTimeWindows") custom_payload_fields: Annotated[List[CustomPayloadField], Field(min_length=0, max_length=20)] = Field(description="This is the custom name and value pairs to be sent along with the alert to the alert channels.", alias="customPayloadFields") @@ -46,7 +47,7 @@ class ServiceLevelsAlertConfig(BaseModel): threshold: Optional[StaticThreshold] = None time_threshold: ServiceLevelsTimeThreshold = Field(alias="timeThreshold") triggering: Optional[StrictBool] = Field(default=None, description="Incident flag. If value is true, this alert will become an accident.") - __properties: ClassVar[List[str]] = ["alertChannelIds", "burnRateConfig", "burnRateTimeWindows", "customPayloadFields", "description", "name", "rule", "severity", "sloIds", "threshold", "timeThreshold", "triggering"] + __properties: ClassVar[List[str]] = ["alertChannelIds", "apdexIds", "burnRateConfig", "burnRateTimeWindows", "customPayloadFields", "description", "name", "rule", "severity", "sloIds", "threshold", "timeThreshold", "triggering"] model_config = ConfigDict( populate_by_name=True, @@ -126,6 +127,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "alertChannelIds": obj.get("alertChannelIds"), + "apdexIds": obj.get("apdexIds"), "burnRateConfig": [ServiceLevelsBurnRateConfig.from_dict(_item) for _item in obj["burnRateConfig"]] if obj.get("burnRateConfig") is not None else None, "burnRateTimeWindows": ServiceLevelsBurnRateTimeWindows.from_dict(obj["burnRateTimeWindows"]) if obj.get("burnRateTimeWindows") is not None else None, "customPayloadFields": [CustomPayloadField.from_dict(_item) for _item in obj["customPayloadFields"]] if obj.get("customPayloadFields") is not None else None, diff --git a/instana_client/models/service_levels_alert_config_with_rbac_tag.py b/instana_client/models/service_levels_alert_config_with_rbac_tag.py index d97d2cc..ef4a3c9 100644 --- a/instana_client/models/service_levels_alert_config_with_rbac_tag.py +++ b/instana_client/models/service_levels_alert_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -36,6 +36,7 @@ class ServiceLevelsAlertConfigWithRBACTag(BaseModel): ServiceLevelsAlertConfigWithRBACTag """ # noqa: E501 alert_channel_ids: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=0, max_length=1024)] = Field(description="This is the list of channel IDs when alert triggered and sent to.", alias="alertChannelIds") + apdex_ids: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=0, max_length=1024)] = Field(description="This is the list of Apdex configurations related to this alert (mutually exclusive with sloIds).", alias="apdexIds") burn_rate_config: Optional[List[ServiceLevelsBurnRateConfig]] = Field(default=None, description="This is the burn rate alert configuration which defines alerting windows and corresponding thresholds. This configuration must to specified for BURN_RATE_V2 Alerts.", alias="burnRateConfig") burn_rate_time_windows: Optional[ServiceLevelsBurnRateTimeWindows] = Field(default=None, alias="burnRateTimeWindows") created: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Created Date of the version of Service Levels Smart Alerts Configuration.") @@ -53,7 +54,7 @@ class ServiceLevelsAlertConfigWithRBACTag(BaseModel): threshold: Optional[StaticThreshold] = None time_threshold: ServiceLevelsTimeThreshold = Field(alias="timeThreshold") triggering: Optional[StrictBool] = Field(default=None, description="Incident flag. If value is true, this alert will become an accident.") - __properties: ClassVar[List[str]] = ["alertChannelIds", "burnRateConfig", "burnRateTimeWindows", "created", "customPayloadFields", "description", "enabled", "id", "initialCreated", "name", "rbacTags", "readOnly", "rule", "severity", "sloIds", "threshold", "timeThreshold", "triggering"] + __properties: ClassVar[List[str]] = ["alertChannelIds", "apdexIds", "burnRateConfig", "burnRateTimeWindows", "created", "customPayloadFields", "description", "enabled", "id", "initialCreated", "name", "rbacTags", "readOnly", "rule", "severity", "sloIds", "threshold", "timeThreshold", "triggering"] model_config = ConfigDict( populate_by_name=True, @@ -140,6 +141,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "alertChannelIds": obj.get("alertChannelIds"), + "apdexIds": obj.get("apdexIds"), "burnRateConfig": [ServiceLevelsBurnRateConfig.from_dict(_item) for _item in obj["burnRateConfig"]] if obj.get("burnRateConfig") is not None else None, "burnRateTimeWindows": ServiceLevelsBurnRateTimeWindows.from_dict(obj["burnRateTimeWindows"]) if obj.get("burnRateTimeWindows") is not None else None, "created": obj.get("created"), diff --git a/instana_client/models/service_levels_alert_rule.py b/instana_client/models/service_levels_alert_rule.py index 8a69033..e3fd96e 100644 --- a/instana_client/models/service_levels_alert_rule.py +++ b/instana_client/models/service_levels_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -26,12 +26,13 @@ from typing import TYPE_CHECKING if TYPE_CHECKING: + from instana_client.models.apdex_alert_rule import ApdexAlertRule from instana_client.models.error_budget_alert_rule import ErrorBudgetAlertRule from instana_client.models.service_level_objective_alert_rule import ServiceLevelObjectiveAlertRule class ServiceLevelsAlertRule(BaseModel): """ - This is the service levels alert type. It could be error budget alert or service levels object alert. + This is the service levels alert type. It could be error budget alert, service levels object alert, or Apdex alert. """ # noqa: E501 alert_type: StrictStr = Field(alias="alertType") __properties: ClassVar[List[str]] = ["alertType"] @@ -48,7 +49,7 @@ class ServiceLevelsAlertRule(BaseModel): # discriminator mappings __discriminator_value_class_map: ClassVar[Dict[str, str]] = { - 'ERROR_BUDGET': 'ErrorBudgetAlertRule','SERVICE_LEVELS_OBJECTIVE': 'ServiceLevelObjectiveAlertRule' + 'APDEX': 'ApdexAlertRule','ERROR_BUDGET': 'ErrorBudgetAlertRule','SERVICE_LEVELS_OBJECTIVE': 'ServiceLevelObjectiveAlertRule' } @classmethod @@ -70,7 +71,7 @@ def to_json(self) -> str: return json.dumps(self.to_dict()) @classmethod - def from_json(cls, json_str: str) -> Optional[Union[ErrorBudgetAlertRule, ServiceLevelObjectiveAlertRule]]: + def from_json(cls, json_str: str) -> Optional[Union[ApdexAlertRule, ErrorBudgetAlertRule, ServiceLevelObjectiveAlertRule]]: """Create an instance of ServiceLevelsAlertRule from a JSON string""" return cls.from_dict(json.loads(json_str)) @@ -95,10 +96,12 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Union[ErrorBudgetAlertRule, ServiceLevelObjectiveAlertRule]]: + def from_dict(cls, obj: Dict[str, Any]) -> Optional[Union[ApdexAlertRule, ErrorBudgetAlertRule, ServiceLevelObjectiveAlertRule]]: """Create an instance of ServiceLevelsAlertRule from a dict""" # look up the object type based on discriminator mapping object_type = cls.get_discriminator_value(obj) + if object_type == 'ApdexAlertRule': + return import_module("instana_client.models.apdex_alert_rule").ApdexAlertRule.from_dict(obj) if object_type == 'ErrorBudgetAlertRule': return import_module("instana_client.models.error_budget_alert_rule").ErrorBudgetAlertRule.from_dict(obj) if object_type == 'ServiceLevelObjectiveAlertRule': diff --git a/instana_client/models/service_levels_burn_rate_config.py b/instana_client/models/service_levels_burn_rate_config.py index 2315354..9ec18e6 100644 --- a/instana_client/models/service_levels_burn_rate_config.py +++ b/instana_client/models/service_levels_burn_rate_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_burn_rate_time_windows.py b/instana_client/models/service_levels_burn_rate_time_windows.py index 4f90f0a..70e8f74 100644 --- a/instana_client/models/service_levels_burn_rate_time_windows.py +++ b/instana_client/models/service_levels_burn_rate_time_windows.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_static_threshold_config.py b/instana_client/models/service_levels_static_threshold_config.py index afd1541..a95677d 100644 --- a/instana_client/models/service_levels_static_threshold_config.py +++ b/instana_client/models/service_levels_static_threshold_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levels_time_threshold.py b/instana_client/models/service_levels_time_threshold.py index 207cb79..fc66589 100644 --- a/instana_client/models/service_levels_time_threshold.py +++ b/instana_client/models/service_levels_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_levelse_alert_config_with_metadata.py b/instana_client/models/service_levelse_alert_config_with_metadata.py index d23d2ef..18b2c55 100644 --- a/instana_client/models/service_levelse_alert_config_with_metadata.py +++ b/instana_client/models/service_levelse_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -35,6 +35,7 @@ class ServiceLevelseAlertConfigWithMetadata(BaseModel): ServiceLevelseAlertConfigWithMetadata """ # noqa: E501 alert_channel_ids: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=0, max_length=1024)] = Field(description="This is the list of channel IDs when alert triggered and sent to.", alias="alertChannelIds") + apdex_ids: Annotated[List[Annotated[str, Field(min_length=1, strict=True)]], Field(min_length=0, max_length=1024)] = Field(description="This is the list of Apdex configurations related to this alert (mutually exclusive with sloIds).", alias="apdexIds") burn_rate_config: Optional[List[ServiceLevelsBurnRateConfig]] = Field(default=None, description="This is the burn rate alert configuration which defines alerting windows and corresponding thresholds. This configuration must to specified for BURN_RATE_V2 Alerts.", alias="burnRateConfig") burn_rate_time_windows: Optional[ServiceLevelsBurnRateTimeWindows] = Field(default=None, alias="burnRateTimeWindows") created: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="Created Date of the version of Service Levels Smart Alerts Configuration.") @@ -51,7 +52,7 @@ class ServiceLevelseAlertConfigWithMetadata(BaseModel): threshold: Optional[StaticThreshold] = None time_threshold: ServiceLevelsTimeThreshold = Field(alias="timeThreshold") triggering: Optional[StrictBool] = Field(default=None, description="Incident flag. If value is true, this alert will become an accident.") - __properties: ClassVar[List[str]] = ["alertChannelIds", "burnRateConfig", "burnRateTimeWindows", "created", "customPayloadFields", "description", "enabled", "id", "initialCreated", "name", "readOnly", "rule", "severity", "sloIds", "threshold", "timeThreshold", "triggering"] + __properties: ClassVar[List[str]] = ["alertChannelIds", "apdexIds", "burnRateConfig", "burnRateTimeWindows", "created", "customPayloadFields", "description", "enabled", "id", "initialCreated", "name", "readOnly", "rule", "severity", "sloIds", "threshold", "timeThreshold", "triggering"] model_config = ConfigDict( populate_by_name=True, @@ -131,6 +132,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "alertChannelIds": obj.get("alertChannelIds"), + "apdexIds": obj.get("apdexIds"), "burnRateConfig": [ServiceLevelsBurnRateConfig.from_dict(_item) for _item in obj["burnRateConfig"]] if obj.get("burnRateConfig") is not None else None, "burnRateTimeWindows": ServiceLevelsBurnRateTimeWindows.from_dict(obj["burnRateTimeWindows"]) if obj.get("burnRateTimeWindows") is not None else None, "created": obj.get("created"), diff --git a/instana_client/models/service_map.py b/instana_client/models/service_map.py index e9cadee..0d41471 100644 --- a/instana_client/models/service_map.py +++ b/instana_client/models/service_map.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_map_connection.py b/instana_client/models/service_map_connection.py index e6e0374..cedafb0 100644 --- a/instana_client/models/service_map_connection.py +++ b/instana_client/models/service_map_connection.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_matching_rule.py b/instana_client/models/service_matching_rule.py index 961b0be..1b14577 100644 --- a/instana_client/models/service_matching_rule.py +++ b/instana_client/models/service_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_metric_result.py b/instana_client/models/service_metric_result.py index e5afddd..1e3861b 100644 --- a/instana_client/models/service_metric_result.py +++ b/instana_client/models/service_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_node.py b/instana_client/models/service_node.py index 1185daa..f839aee 100644 --- a/instana_client/models/service_node.py +++ b/instana_client/models/service_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_now_enhanced_integration.py b/instana_client/models/service_now_enhanced_integration.py index ce60a36..f736a03 100644 --- a/instana_client/models/service_now_enhanced_integration.py +++ b/instana_client/models/service_now_enhanced_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_now_integration.py b/instana_client/models/service_now_integration.py index 0201ed4..aa39d53 100644 --- a/instana_client/models/service_now_integration.py +++ b/instana_client/models/service_now_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_result.py b/instana_client/models/service_result.py index c906b57..37e940f 100644 --- a/instana_client/models/service_result.py +++ b/instana_client/models/service_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_scope.py b/instana_client/models/service_scope.py index 819cf6e..e590091 100644 --- a/instana_client/models/service_scope.py +++ b/instana_client/models/service_scope.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_scope_with_metadata.py b/instana_client/models/service_scope_with_metadata.py index d733c80..c4fd120 100644 --- a/instana_client/models/service_scope_with_metadata.py +++ b/instana_client/models/service_scope_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_scoped_to.py b/instana_client/models/service_scoped_to.py index 12bb83e..67b4967 100644 --- a/instana_client/models/service_scoped_to.py +++ b/instana_client/models/service_scoped_to.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_scoped_to_with_metadata.py b/instana_client/models/service_scoped_to_with_metadata.py index f3640bb..2c08a74 100644 --- a/instana_client/models/service_scoped_to_with_metadata.py +++ b/instana_client/models/service_scoped_to_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/service_simple.py b/instana_client/models/service_simple.py index b0e494c..782a163 100644 --- a/instana_client/models/service_simple.py +++ b/instana_client/models/service_simple.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/session_replay_metadata.py b/instana_client/models/session_replay_metadata.py index 5ee1957..22dd8cb 100644 --- a/instana_client/models/session_replay_metadata.py +++ b/instana_client/models/session_replay_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.316.2780 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/session_replay_timestamps.py b/instana_client/models/session_replay_timestamps.py index c5d29a0..9fac632 100644 --- a/instana_client/models/session_replay_timestamps.py +++ b/instana_client/models/session_replay_timestamps.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.316.2780 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/session_settings.py b/instana_client/models/session_settings.py index 23609d8..90af67b 100644 --- a/instana_client/models/session_settings.py +++ b/instana_client/models/session_settings.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/simple_metric_configuration.py b/instana_client/models/simple_metric_configuration.py index 491da08..ccea1eb 100644 --- a/instana_client/models/simple_metric_configuration.py +++ b/instana_client/models/simple_metric_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slack_integration.py b/instana_client/models/slack_integration.py index b60e44a..d8bffca 100644 --- a/instana_client/models/slack_integration.py +++ b/instana_client/models/slack_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/sli_configuration.py b/instana_client/models/sli_configuration.py index d1679d9..f136405 100644 --- a/instana_client/models/sli_configuration.py +++ b/instana_client/models/sli_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/sli_configuration_with_last_updated.py b/instana_client/models/sli_configuration_with_last_updated.py index c0e98ff..6dab807 100644 --- a/instana_client/models/sli_configuration_with_last_updated.py +++ b/instana_client/models/sli_configuration_with_last_updated.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/sli_entity.py b/instana_client/models/sli_entity.py index 5eecfe8..ad0ec45 100644 --- a/instana_client/models/sli_entity.py +++ b/instana_client/models/sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/sli_report.py b/instana_client/models/sli_report.py index f39d79c..f297ab7 100644 --- a/instana_client/models/sli_report.py +++ b/instana_client/models/sli_report.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slo_config_with_rbac_tag.py b/instana_client/models/slo_config_with_rbac_tag.py index a9bb51a..a08d97b 100644 --- a/instana_client/models/slo_config_with_rbac_tag.py +++ b/instana_client/models/slo_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slo_entity.py b/instana_client/models/slo_entity.py index 950e355..c4d389d 100644 --- a/instana_client/models/slo_entity.py +++ b/instana_client/models/slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slo_report.py b/instana_client/models/slo_report.py index dde842c..cb62756 100644 --- a/instana_client/models/slo_report.py +++ b/instana_client/models/slo_report.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slowness_application_alert_rule.py b/instana_client/models/slowness_application_alert_rule.py index 9648168..ded0561 100644 --- a/instana_client/models/slowness_application_alert_rule.py +++ b/instana_client/models/slowness_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slowness_mobile_app_alert_rule.py b/instana_client/models/slowness_mobile_app_alert_rule.py index 01f2c01..7215e96 100644 --- a/instana_client/models/slowness_mobile_app_alert_rule.py +++ b/instana_client/models/slowness_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/slowness_website_alert_rule.py b/instana_client/models/slowness_website_alert_rule.py index 0f3b381..fa879e5 100644 --- a/instana_client/models/slowness_website_alert_rule.py +++ b/instana_client/models/slowness_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/snapshot_item.py b/instana_client/models/snapshot_item.py index eb7329d..3953001 100644 --- a/instana_client/models/snapshot_item.py +++ b/instana_client/models/snapshot_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/snapshot_preview.py b/instana_client/models/snapshot_preview.py index 7837dc5..c036932 100644 --- a/instana_client/models/snapshot_preview.py +++ b/instana_client/models/snapshot_preview.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/snapshot_result.py b/instana_client/models/snapshot_result.py index 2d69094..0f57cc6 100644 --- a/instana_client/models/snapshot_result.py +++ b/instana_client/models/snapshot_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/software_user.py b/instana_client/models/software_user.py index 9952013..8767b44 100644 --- a/instana_client/models/software_user.py +++ b/instana_client/models/software_user.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/software_version.py b/instana_client/models/software_version.py index 79c2cb8..828a1d2 100644 --- a/instana_client/models/software_version.py +++ b/instana_client/models/software_version.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/source_map_file_blob.py b/instana_client/models/source_map_file_blob.py index ce623c1..cd8611b 100644 --- a/instana_client/models/source_map_file_blob.py +++ b/instana_client/models/source_map_file_blob.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/source_map_file_meta.py b/instana_client/models/source_map_file_meta.py index 722a3b2..0fabba7 100644 --- a/instana_client/models/source_map_file_meta.py +++ b/instana_client/models/source_map_file_meta.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/source_map_upload_config.py b/instana_client/models/source_map_upload_config.py index ec2655d..b8b8204 100644 --- a/instana_client/models/source_map_upload_config.py +++ b/instana_client/models/source_map_upload_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/source_map_upload_configs.py b/instana_client/models/source_map_upload_configs.py index 3dab896..551d184 100644 --- a/instana_client/models/source_map_upload_configs.py +++ b/instana_client/models/source_map_upload_configs.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/span_excerpt.py b/instana_client/models/span_excerpt.py index df7ebde..6658aed 100644 --- a/instana_client/models/span_excerpt.py +++ b/instana_client/models/span_excerpt.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/span_relation.py b/instana_client/models/span_relation.py index 6ce3317..a10c874 100644 --- a/instana_client/models/span_relation.py +++ b/instana_client/models/span_relation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/specific_js_errors_website_alert_rule.py b/instana_client/models/specific_js_errors_website_alert_rule.py index e278d4e..18556c5 100644 --- a/instana_client/models/specific_js_errors_website_alert_rule.py +++ b/instana_client/models/specific_js_errors_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/splunk_integration.py b/instana_client/models/splunk_integration.py index ed6fcba..b1792f3 100644 --- a/instana_client/models/splunk_integration.py +++ b/instana_client/models/splunk_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ssl_certificate_configuration.py b/instana_client/models/ssl_certificate_configuration.py index 7161ac6..bab7845 100644 --- a/instana_client/models/ssl_certificate_configuration.py +++ b/instana_client/models/ssl_certificate_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ssl_certificate_configuration_update.py b/instana_client/models/ssl_certificate_configuration_update.py index 3fd5cb8..87b75a0 100644 --- a/instana_client/models/ssl_certificate_configuration_update.py +++ b/instana_client/models/ssl_certificate_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/ssl_certificate_validation.py b/instana_client/models/ssl_certificate_validation.py index 4500eaa..b0a5acd 100644 --- a/instana_client/models/ssl_certificate_validation.py +++ b/instana_client/models/ssl_certificate_validation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/stack_trace_item.py b/instana_client/models/stack_trace_item.py index facfd8c..fe24ec4 100644 --- a/instana_client/models/stack_trace_item.py +++ b/instana_client/models/stack_trace_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/stack_trace_line.py b/instana_client/models/stack_trace_line.py index a4f860c..cd3cca3 100644 --- a/instana_client/models/stack_trace_line.py +++ b/instana_client/models/stack_trace_line.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/static_baseline_threshold_rule.py b/instana_client/models/static_baseline_threshold_rule.py index 825d867..22d51f2 100644 --- a/instana_client/models/static_baseline_threshold_rule.py +++ b/instana_client/models/static_baseline_threshold_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/static_string_field.py b/instana_client/models/static_string_field.py index 3bf38da..2304f8a 100644 --- a/instana_client/models/static_string_field.py +++ b/instana_client/models/static_string_field.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/static_threshold.py b/instana_client/models/static_threshold.py index 3c90d1d..5f40421 100644 --- a/instana_client/models/static_threshold.py +++ b/instana_client/models/static_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/static_threshold_rule.py b/instana_client/models/static_threshold_rule.py index 42c700a..97a27bd 100644 --- a/instana_client/models/static_threshold_rule.py +++ b/instana_client/models/static_threshold_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/status_code_application_alert_rule.py b/instana_client/models/status_code_application_alert_rule.py index 1fad905..f447386 100644 --- a/instana_client/models/status_code_application_alert_rule.py +++ b/instana_client/models/status_code_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/status_code_mobile_app_alert_rule.py b/instana_client/models/status_code_mobile_app_alert_rule.py index a9d494b..f12432f 100644 --- a/instana_client/models/status_code_mobile_app_alert_rule.py +++ b/instana_client/models/status_code_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/status_code_website_alert_rule.py b/instana_client/models/status_code_website_alert_rule.py index 918824d..764e44a 100644 --- a/instana_client/models/status_code_website_alert_rule.py +++ b/instana_client/models/status_code_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_alert_config.py b/instana_client/models/synthetic_alert_config.py index 9ea158b..be82b92 100644 --- a/instana_client/models/synthetic_alert_config.py +++ b/instana_client/models/synthetic_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_alert_config_with_metadata.py b/instana_client/models/synthetic_alert_config_with_metadata.py index 966baaa..94914d0 100644 --- a/instana_client/models/synthetic_alert_config_with_metadata.py +++ b/instana_client/models/synthetic_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_alert_config_with_rbac_tag.py b/instana_client/models/synthetic_alert_config_with_rbac_tag.py index 649e5af..b036262 100644 --- a/instana_client/models/synthetic_alert_config_with_rbac_tag.py +++ b/instana_client/models/synthetic_alert_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_alert_rule.py b/instana_client/models/synthetic_alert_rule.py index 18233c2..79bb5af 100644 --- a/instana_client/models/synthetic_alert_rule.py +++ b/instana_client/models/synthetic_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_bulk_response.py b/instana_client/models/synthetic_bulk_response.py index 11ea822..01d6ca6 100644 --- a/instana_client/models/synthetic_bulk_response.py +++ b/instana_client/models/synthetic_bulk_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_call_config.py b/instana_client/models/synthetic_call_config.py index 0bb0c60..a16e370 100644 --- a/instana_client/models/synthetic_call_config.py +++ b/instana_client/models/synthetic_call_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_call_rule.py b/instana_client/models/synthetic_call_rule.py index 7268707..7a24b28 100644 --- a/instana_client/models/synthetic_call_rule.py +++ b/instana_client/models/synthetic_call_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_call_with_defaults_config.py b/instana_client/models/synthetic_call_with_defaults_config.py index 77294f0..7bb1862 100644 --- a/instana_client/models/synthetic_call_with_defaults_config.py +++ b/instana_client/models/synthetic_call_with_defaults_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_configuration.py b/instana_client/models/synthetic_configuration.py index 8ec9ea3..d91cc10 100644 --- a/instana_client/models/synthetic_configuration.py +++ b/instana_client/models/synthetic_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_configuration_update.py b/instana_client/models/synthetic_configuration_update.py index 3057d7a..4c74c90 100644 --- a/instana_client/models/synthetic_configuration_update.py +++ b/instana_client/models/synthetic_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_credential.py b/instana_client/models/synthetic_credential.py index 558960d..643a639 100644 --- a/instana_client/models/synthetic_credential.py +++ b/instana_client/models/synthetic_credential.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_datacenter.py b/instana_client/models/synthetic_datacenter.py index 1b642b6..591131e 100644 --- a/instana_client/models/synthetic_datacenter.py +++ b/instana_client/models/synthetic_datacenter.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_datacenter_configuration.py b/instana_client/models/synthetic_datacenter_configuration.py index 5dc3574..d12e1ad 100644 --- a/instana_client/models/synthetic_datacenter_configuration.py +++ b/instana_client/models/synthetic_datacenter_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_geo_point.py b/instana_client/models/synthetic_geo_point.py index b31d2e8..5372f77 100644 --- a/instana_client/models/synthetic_geo_point.py +++ b/instana_client/models/synthetic_geo_point.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_location.py b/instana_client/models/synthetic_location.py index 1f5b4d3..b52b646 100644 --- a/instana_client/models/synthetic_location.py +++ b/instana_client/models/synthetic_location.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_location_configuration.py b/instana_client/models/synthetic_location_configuration.py index f376666..460c2b9 100644 --- a/instana_client/models/synthetic_location_configuration.py +++ b/instana_client/models/synthetic_location_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_metric_configuration.py b/instana_client/models/synthetic_metric_configuration.py index c595d10..44471e4 100644 --- a/instana_client/models/synthetic_metric_configuration.py +++ b/instana_client/models/synthetic_metric_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_metric_tag_group.py b/instana_client/models/synthetic_metric_tag_group.py index 802da32..2a89a66 100644 --- a/instana_client/models/synthetic_metric_tag_group.py +++ b/instana_client/models/synthetic_metric_tag_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_playback_capabilities.py b/instana_client/models/synthetic_playback_capabilities.py index 4b4f94b..32dd99f 100644 --- a/instana_client/models/synthetic_playback_capabilities.py +++ b/instana_client/models/synthetic_playback_capabilities.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py b/instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py index 06647ef..3464de4 100644 --- a/instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py +++ b/instana_client/models/synthetic_resource_update_list_dns_filter_target_value_list_dns_filter_target_value.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_list_icmp_validation_list_icmp_validation.py b/instana_client/models/synthetic_resource_update_list_icmp_validation_list_icmp_validation.py index 30fc517..330593a 100644 --- a/instana_client/models/synthetic_resource_update_list_icmp_validation_list_icmp_validation.py +++ b/instana_client/models/synthetic_resource_update_list_icmp_validation_list_icmp_validation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py b/instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py index cb931fb..59955c4 100644 --- a/instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py +++ b/instana_client/models/synthetic_resource_update_list_ssl_certificate_validation_list_ssl_certificate_validation.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_list_string_list_string.py b/instana_client/models/synthetic_resource_update_list_string_list_string.py index 95ab369..5db7272 100644 --- a/instana_client/models/synthetic_resource_update_list_string_list_string.py +++ b/instana_client/models/synthetic_resource_update_list_string_list_string.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_resource_update_map_string_string_list_string.py b/instana_client/models/synthetic_resource_update_map_string_string_list_string.py index 573ba06..0b19a94 100644 --- a/instana_client/models/synthetic_resource_update_map_string_string_list_string.py +++ b/instana_client/models/synthetic_resource_update_map_string_string_list_string.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_slo_entity.py b/instana_client/models/synthetic_slo_entity.py index 1519bde..d4f9945 100644 --- a/instana_client/models/synthetic_slo_entity.py +++ b/instana_client/models/synthetic_slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test.py b/instana_client/models/synthetic_test.py index 6999f78..636dd52 100644 --- a/instana_client/models/synthetic_test.py +++ b/instana_client/models/synthetic_test.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_cicd.py b/instana_client/models/synthetic_test_cicd.py index 58f5208..3828b29 100644 --- a/instana_client/models/synthetic_test_cicd.py +++ b/instana_client/models/synthetic_test_cicd.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_cicd_customization.py b/instana_client/models/synthetic_test_cicd_customization.py index a832e55..e759bcf 100644 --- a/instana_client/models/synthetic_test_cicd_customization.py +++ b/instana_client/models/synthetic_test_cicd_customization.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_cicd_item.py b/instana_client/models/synthetic_test_cicd_item.py index 3f3c2ec..497a445 100644 --- a/instana_client/models/synthetic_test_cicd_item.py +++ b/instana_client/models/synthetic_test_cicd_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_cicd_response.py b/instana_client/models/synthetic_test_cicd_response.py index a7855ad..1566f1f 100644 --- a/instana_client/models/synthetic_test_cicd_response.py +++ b/instana_client/models/synthetic_test_cicd_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_deep_update.py b/instana_client/models/synthetic_test_deep_update.py index 8a70606..11652f8 100644 --- a/instana_client/models/synthetic_test_deep_update.py +++ b/instana_client/models/synthetic_test_deep_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_shallow_update.py b/instana_client/models/synthetic_test_shallow_update.py index d7c8da7..9c15df8 100644 --- a/instana_client/models/synthetic_test_shallow_update.py +++ b/instana_client/models/synthetic_test_shallow_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_test_update.py b/instana_client/models/synthetic_test_update.py index 1c0f0d0..a20ef86 100644 --- a/instana_client/models/synthetic_test_update.py +++ b/instana_client/models/synthetic_test_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_time_threshold.py b/instana_client/models/synthetic_time_threshold.py index ba1039d..272d652 100644 --- a/instana_client/models/synthetic_time_threshold.py +++ b/instana_client/models/synthetic_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_type_configuration.py b/instana_client/models/synthetic_type_configuration.py index 9c23923..d7f7842 100644 --- a/instana_client/models/synthetic_type_configuration.py +++ b/instana_client/models/synthetic_type_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetic_type_configuration_update.py b/instana_client/models/synthetic_type_configuration_update.py index 7d2c2a0..59c9e0f 100644 --- a/instana_client/models/synthetic_type_configuration_update.py +++ b/instana_client/models/synthetic_type_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/synthetics_event_result.py b/instana_client/models/synthetics_event_result.py index ea8bad2..b7bccd0 100644 --- a/instana_client/models/synthetics_event_result.py +++ b/instana_client/models/synthetics_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class SyntheticsEventResult(EventResult): """ # noqa: E501 location_ids: Optional[List[StrictStr]] = Field(default=None, description="IDs of the locations.", alias="locationIds") synthetic_test_id: Optional[StrictStr] = Field(default=None, description="ID of the synthetic test.", alias="syntheticTestId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "locationIds", "syntheticTestId"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type", "locationIds", "syntheticTestId"] model_config = ConfigDict( populate_by_name=True, @@ -91,6 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eventId": obj.get("eventId"), "eventSpecificationId": obj.get("eventSpecificationId"), "fixSuggestion": obj.get("fixSuggestion"), + "metadata": obj.get("metadata"), "metrics": obj.get("metrics"), "probableCause": obj.get("probableCause"), "problem": obj.get("problem"), @@ -100,6 +101,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "snapshotId": obj.get("snapshotId"), "start": obj.get("start"), "state": obj.get("state"), + "triggeringEventId": obj.get("triggeringEventId"), "type": obj.get("type"), "locationIds": obj.get("locationIds"), "syntheticTestId": obj.get("syntheticTestId") diff --git a/instana_client/models/system_rule.py b/instana_client/models/system_rule.py index c65b8f9..a6119ca 100644 --- a/instana_client/models/system_rule.py +++ b/instana_client/models/system_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/system_rule_label.py b/instana_client/models/system_rule_label.py index ccb12c2..9d073f1 100644 --- a/instana_client/models/system_rule_label.py +++ b/instana_client/models/system_rule_label.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag.py b/instana_client/models/tag.py index e728773..6419e83 100644 --- a/instana_client/models/tag.py +++ b/instana_client/models/tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_catalog.py b/instana_client/models/tag_catalog.py index 57b250d..37e54dc 100644 --- a/instana_client/models/tag_catalog.py +++ b/instana_client/models/tag_catalog.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_filter_expression.py b/instana_client/models/tag_filter_expression.py index ee604ea..8f7f59d 100644 --- a/instana_client/models/tag_filter_expression.py +++ b/instana_client/models/tag_filter_expression.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_filter_expression_element.py b/instana_client/models/tag_filter_expression_element.py index c708578..a1b3eac 100644 --- a/instana_client/models/tag_filter_expression_element.py +++ b/instana_client/models/tag_filter_expression_element.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_matcher_dto.py b/instana_client/models/tag_matcher_dto.py index 1a03528..d9561b9 100644 --- a/instana_client/models/tag_matcher_dto.py +++ b/instana_client/models/tag_matcher_dto.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_tree_level.py b/instana_client/models/tag_tree_level.py index 49613d9..b34854a 100644 --- a/instana_client/models/tag_tree_level.py +++ b/instana_client/models/tag_tree_level.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_tree_node.py b/instana_client/models/tag_tree_node.py index 53e7e51..3ddadd0 100644 --- a/instana_client/models/tag_tree_node.py +++ b/instana_client/models/tag_tree_node.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/tag_tree_tag.py b/instana_client/models/tag_tree_tag.py index 002120b..edea2fb 100644 --- a/instana_client/models/tag_tree_tag.py +++ b/instana_client/models/tag_tree_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_common_properties.py b/instana_client/models/test_common_properties.py index 14d029f..b87bac2 100644 --- a/instana_client/models/test_common_properties.py +++ b/instana_client/models/test_common_properties.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_connection_response.py b/instana_client/models/test_connection_response.py index f584856..a39034c 100644 --- a/instana_client/models/test_connection_response.py +++ b/instana_client/models/test_connection_response.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_last_error.py b/instana_client/models/test_last_error.py index 3b8fe5f..7426cc8 100644 --- a/instana_client/models/test_last_error.py +++ b/instana_client/models/test_last_error.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result.py b/instana_client/models/test_result.py index b477956..f339a10 100644 --- a/instana_client/models/test_result.py +++ b/instana_client/models/test_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_common_properties.py b/instana_client/models/test_result_common_properties.py index 13c37ee..4e59619 100644 --- a/instana_client/models/test_result_common_properties.py +++ b/instana_client/models/test_result_common_properties.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -32,8 +32,10 @@ class TestResultCommonProperties(BaseModel): """ # noqa: E501 client_id: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="clientId") custom_tags: Optional[Dict[str, StrictStr]] = Field(default=None, alias="customTags") + dns_lookup: Optional[StrictStr] = Field(default=None, alias="dnsLookup") dns_query_type: Optional[StrictStr] = Field(default=None, alias="dnsQueryType") dns_server_name: Optional[StrictStr] = Field(default=None, alias="dnsServerName") + dns_transport: Optional[StrictStr] = Field(default=None, alias="dnsTransport") errors: Optional[List[StrictStr]] = None id: Optional[StrictStr] = None ism_details: Optional[Dict[str, StrictStr]] = Field(default=None, alias="ismDetails") @@ -46,7 +48,7 @@ class TestResultCommonProperties(BaseModel): test_id: Annotated[str, Field(min_length=1, strict=True)] = Field(alias="testId") test_last_error: Optional[TestLastError] = Field(default=None, alias="testLastError") test_name: Optional[StrictStr] = Field(default=None, alias="testName") - __properties: ClassVar[List[str]] = ["clientId", "customTags", "dnsQueryType", "dnsServerName", "errors", "id", "ismDetails", "lastErrors", "locationDisplayLabel", "locationId", "runType", "sslDaysRemaining", "testCommonProperties", "testId", "testLastError", "testName"] + __properties: ClassVar[List[str]] = ["clientId", "customTags", "dnsLookup", "dnsQueryType", "dnsServerName", "dnsTransport", "errors", "id", "ismDetails", "lastErrors", "locationDisplayLabel", "locationId", "runType", "sslDaysRemaining", "testCommonProperties", "testId", "testLastError", "testName"] model_config = ConfigDict( populate_by_name=True, @@ -110,8 +112,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "clientId": obj.get("clientId"), "customTags": obj.get("customTags"), + "dnsLookup": obj.get("dnsLookup"), "dnsQueryType": obj.get("dnsQueryType"), "dnsServerName": obj.get("dnsServerName"), + "dnsTransport": obj.get("dnsTransport"), "errors": obj.get("errors"), "id": obj.get("id"), "ismDetails": obj.get("ismDetails"), diff --git a/instana_client/models/test_result_detail_data.py b/instana_client/models/test_result_detail_data.py index bd20178..86d5da8 100644 --- a/instana_client/models/test_result_detail_data.py +++ b/instana_client/models/test_result_detail_data.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_item.py b/instana_client/models/test_result_item.py index 1762a34..4a69f99 100644 --- a/instana_client/models/test_result_item.py +++ b/instana_client/models/test_result_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_list_item.py b/instana_client/models/test_result_list_item.py index 5a0ed96..9e29c7d 100644 --- a/instana_client/models/test_result_list_item.py +++ b/instana_client/models/test_result_list_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_list_result.py b/instana_client/models/test_result_list_result.py index 3061489..ca3e249 100644 --- a/instana_client/models/test_result_list_result.py +++ b/instana_client/models/test_result_list_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_metadata.py b/instana_client/models/test_result_metadata.py index 7311598..5540036 100644 --- a/instana_client/models/test_result_metadata.py +++ b/instana_client/models/test_result_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/test_result_subtransaction.py b/instana_client/models/test_result_subtransaction.py index 2f94392..346ca30 100644 --- a/instana_client/models/test_result_subtransaction.py +++ b/instana_client/models/test_result_subtransaction.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/threshold.py b/instana_client/models/threshold.py index 8383632..3be75e9 100644 --- a/instana_client/models/threshold.py +++ b/instana_client/models/threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/threshold_config_rule.py b/instana_client/models/threshold_config_rule.py index 6c8afa4..e5387c4 100644 --- a/instana_client/models/threshold_config_rule.py +++ b/instana_client/models/threshold_config_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/threshold_rule.py b/instana_client/models/threshold_rule.py index 255caf7..e579613 100644 --- a/instana_client/models/threshold_rule.py +++ b/instana_client/models/threshold_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/throughput_application_alert_rule.py b/instana_client/models/throughput_application_alert_rule.py index 7d1b5ee..dd1634f 100644 --- a/instana_client/models/throughput_application_alert_rule.py +++ b/instana_client/models/throughput_application_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/throughput_mobile_app_alert_rule.py b/instana_client/models/throughput_mobile_app_alert_rule.py index 7c405aa..4fbe1b2 100644 --- a/instana_client/models/throughput_mobile_app_alert_rule.py +++ b/instana_client/models/throughput_mobile_app_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/throughput_website_alert_rule.py b/instana_client/models/throughput_website_alert_rule.py index 1bfce54..84b8702 100644 --- a/instana_client/models/throughput_website_alert_rule.py +++ b/instana_client/models/throughput_website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/time_frame.py b/instana_client/models/time_frame.py index 8f0e7bd..c7d6db2 100644 --- a/instana_client/models/time_frame.py +++ b/instana_client/models/time_frame.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/time_window.py b/instana_client/models/time_window.py index 1d6ed62..4620774 100644 --- a/instana_client/models/time_window.py +++ b/instana_client/models/time_window.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/topology.py b/instana_client/models/topology.py index 639fff9..a285e83 100644 --- a/instana_client/models/topology.py +++ b/instana_client/models/topology.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace.py b/instana_client/models/trace.py index 1024a9d..bca2f79 100644 --- a/instana_client/models/trace.py +++ b/instana_client/models/trace.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_activity_tree_node_details.py b/instana_client/models/trace_activity_tree_node_details.py index 308c67e..8655935 100644 --- a/instana_client/models/trace_activity_tree_node_details.py +++ b/instana_client/models/trace_activity_tree_node_details.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_download_result.py b/instana_client/models/trace_download_result.py index 7984fb3..b28d65b 100644 --- a/instana_client/models/trace_download_result.py +++ b/instana_client/models/trace_download_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_groups_item.py b/instana_client/models/trace_groups_item.py index 221468e..3faa5eb 100644 --- a/instana_client/models/trace_groups_item.py +++ b/instana_client/models/trace_groups_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_groups_result.py b/instana_client/models/trace_groups_result.py index 3cade71..b301236 100644 --- a/instana_client/models/trace_groups_result.py +++ b/instana_client/models/trace_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_impact_application_time_threshold.py b/instana_client/models/trace_impact_application_time_threshold.py index 1b9c3d3..a079758 100644 --- a/instana_client/models/trace_impact_application_time_threshold.py +++ b/instana_client/models/trace_impact_application_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_item.py b/instana_client/models/trace_item.py index 68d1539..5818972 100644 --- a/instana_client/models/trace_item.py +++ b/instana_client/models/trace_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trace_result.py b/instana_client/models/trace_result.py index f4d6d00..a0dff25 100644 --- a/instana_client/models/trace_result.py +++ b/instana_client/models/trace_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/traffic_blueprint_indicator.py b/instana_client/models/traffic_blueprint_indicator.py index a96fe30..6632376 100644 --- a/instana_client/models/traffic_blueprint_indicator.py +++ b/instana_client/models/traffic_blueprint_indicator.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/trigger.py b/instana_client/models/trigger.py index 55cf260..4c65f17 100644 --- a/instana_client/models/trigger.py +++ b/instana_client/models/trigger.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/type_configuration.py b/instana_client/models/type_configuration.py index 883de79..4bba4eb 100644 --- a/instana_client/models/type_configuration.py +++ b/instana_client/models/type_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/unsupported_http_path_segment_matching_rule.py b/instana_client/models/unsupported_http_path_segment_matching_rule.py index 0b2237d..6824162 100644 --- a/instana_client/models/unsupported_http_path_segment_matching_rule.py +++ b/instana_client/models/unsupported_http_path_segment_matching_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/updated_business_perspective_config.py b/instana_client/models/updated_business_perspective_config.py index d38701e..04a998c 100644 --- a/instana_client/models/updated_business_perspective_config.py +++ b/instana_client/models/updated_business_perspective_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/usage_result.py b/instana_client/models/usage_result.py index c58f66a..e91ed82 100644 --- a/instana_client/models/usage_result.py +++ b/instana_client/models/usage_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/usage_result_items.py b/instana_client/models/usage_result_items.py index b51f306..4587594 100644 --- a/instana_client/models/usage_result_items.py +++ b/instana_client/models/usage_result_items.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/user_basic_result.py b/instana_client/models/user_basic_result.py index 4e0dd21..4e10575 100644 --- a/instana_client/models/user_basic_result.py +++ b/instana_client/models/user_basic_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/user_impact_mobile_app_time_threshold.py b/instana_client/models/user_impact_mobile_app_time_threshold.py index 078985d..a338842 100644 --- a/instana_client/models/user_impact_mobile_app_time_threshold.py +++ b/instana_client/models/user_impact_mobile_app_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/user_impact_website_time_threshold.py b/instana_client/models/user_impact_website_time_threshold.py index 609e7cf..756b526 100644 --- a/instana_client/models/user_impact_website_time_threshold.py +++ b/instana_client/models/user_impact_website_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/user_result.py b/instana_client/models/user_result.py index c9b613c..48c1258 100644 --- a/instana_client/models/user_result.py +++ b/instana_client/models/user_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/users_result.py b/instana_client/models/users_result.py index e088b7b..86ba067 100644 --- a/instana_client/models/users_result.py +++ b/instana_client/models/users_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/validated_alerting_channel_input_info.py b/instana_client/models/validated_alerting_channel_input_info.py index b8595e9..9dc806f 100644 --- a/instana_client/models/validated_alerting_channel_input_info.py +++ b/instana_client/models/validated_alerting_channel_input_info.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -53,8 +53,8 @@ def event_types_validate_enum(cls, value): @field_validator('type') def type_validate_enum(cls, value): """Validates the enum""" - if value not in set(['Alert', 'WebsiteSmartAlert', 'MobileSmartAlert', 'ApplicationSmartAlert', 'GlobalApplicationSmartAlert', 'SyntheticSmartAlert', 'InfraSmartAlert', 'ServiceLevelSmartAlert', 'LogSmartAlert']): - raise ValueError("must be one of enum values ('Alert', 'WebsiteSmartAlert', 'MobileSmartAlert', 'ApplicationSmartAlert', 'GlobalApplicationSmartAlert', 'SyntheticSmartAlert', 'InfraSmartAlert', 'ServiceLevelSmartAlert', 'LogSmartAlert')") + if value not in set(['Alert', 'WebsiteSmartAlert', 'MobileSmartAlert', 'ApplicationSmartAlert', 'GlobalApplicationSmartAlert', 'SyntheticSmartAlert', 'InfraSmartAlert', 'ServiceLevelSmartAlert', 'ApdexSmartAlert', 'LogSmartAlert']): + raise ValueError("must be one of enum values ('Alert', 'WebsiteSmartAlert', 'MobileSmartAlert', 'ApplicationSmartAlert', 'GlobalApplicationSmartAlert', 'SyntheticSmartAlert', 'InfraSmartAlert', 'ServiceLevelSmartAlert', 'ApdexSmartAlert', 'LogSmartAlert')") return value model_config = ConfigDict( diff --git a/instana_client/models/validated_alerting_configuration.py b/instana_client/models/validated_alerting_configuration.py index bfbd550..010488e 100644 --- a/instana_client/models/validated_alerting_configuration.py +++ b/instana_client/models/validated_alerting_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py b/instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py index bb6864e..32be9cc 100644 --- a/instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py +++ b/instana_client/models/validated_maintenance_config_v2_with_state_and_occurrence.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/validated_maintenance_config_with_status.py b/instana_client/models/validated_maintenance_config_with_status.py index 0da299a..c90e135 100644 --- a/instana_client/models/validated_maintenance_config_with_status.py +++ b/instana_client/models/validated_maintenance_config_with_status.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/victor_ops_integration.py b/instana_client/models/victor_ops_integration.py index aaa4048..59c21d9 100644 --- a/instana_client/models/victor_ops_integration.py +++ b/instana_client/models/victor_ops_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_period_application_time_threshold.py b/instana_client/models/violations_in_period_application_time_threshold.py index 73323d1..8deee47 100644 --- a/instana_client/models/violations_in_period_application_time_threshold.py +++ b/instana_client/models/violations_in_period_application_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_period_mobile_app_time_threshold.py b/instana_client/models/violations_in_period_mobile_app_time_threshold.py index b65421a..eeb6fc2 100644 --- a/instana_client/models/violations_in_period_mobile_app_time_threshold.py +++ b/instana_client/models/violations_in_period_mobile_app_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_period_website_time_threshold.py b/instana_client/models/violations_in_period_website_time_threshold.py index 3bfef37..578f8a1 100644 --- a/instana_client/models/violations_in_period_website_time_threshold.py +++ b/instana_client/models/violations_in_period_website_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_application_time_threshold.py b/instana_client/models/violations_in_sequence_application_time_threshold.py index 8f96e4c..d1fcc5b 100644 --- a/instana_client/models/violations_in_sequence_application_time_threshold.py +++ b/instana_client/models/violations_in_sequence_application_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_infra_time_threshold.py b/instana_client/models/violations_in_sequence_infra_time_threshold.py index a96e174..0519839 100644 --- a/instana_client/models/violations_in_sequence_infra_time_threshold.py +++ b/instana_client/models/violations_in_sequence_infra_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_log_time_threshold.py b/instana_client/models/violations_in_sequence_log_time_threshold.py index 4fa63a0..b0d1770 100644 --- a/instana_client/models/violations_in_sequence_log_time_threshold.py +++ b/instana_client/models/violations_in_sequence_log_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_mobile_app_time_threshold.py b/instana_client/models/violations_in_sequence_mobile_app_time_threshold.py index 1a72c79..c894dfc 100644 --- a/instana_client/models/violations_in_sequence_mobile_app_time_threshold.py +++ b/instana_client/models/violations_in_sequence_mobile_app_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_synthetic_time_threshold.py b/instana_client/models/violations_in_sequence_synthetic_time_threshold.py index 167177a..e86da0c 100644 --- a/instana_client/models/violations_in_sequence_synthetic_time_threshold.py +++ b/instana_client/models/violations_in_sequence_synthetic_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/violations_in_sequence_website_time_threshold.py b/instana_client/models/violations_in_sequence_website_time_threshold.py index ca29758..c5ea28e 100644 --- a/instana_client/models/violations_in_sequence_website_time_threshold.py +++ b/instana_client/models/violations_in_sequence_website_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/watson_ai_ops_webhook_integration.py b/instana_client/models/watson_ai_ops_webhook_integration.py index b857c88..ae952dd 100644 --- a/instana_client/models/watson_ai_ops_webhook_integration.py +++ b/instana_client/models/watson_ai_ops_webhook_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/webex_teams_webhook_integration.py b/instana_client/models/webex_teams_webhook_integration.py index f89f7e4..f7366cc 100644 --- a/instana_client/models/webex_teams_webhook_integration.py +++ b/instana_client/models/webex_teams_webhook_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/webhook_integration.py b/instana_client/models/webhook_integration.py index 7ca8ebc..e736e78 100644 --- a/instana_client/models/webhook_integration.py +++ b/instana_client/models/webhook_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/webpage_action_configuration.py b/instana_client/models/webpage_action_configuration.py index be1dd6e..bc4fa3f 100644 --- a/instana_client/models/webpage_action_configuration.py +++ b/instana_client/models/webpage_action_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/webpage_action_configuration_update.py b/instana_client/models/webpage_action_configuration_update.py index dac4e2e..d7e3f59 100644 --- a/instana_client/models/webpage_action_configuration_update.py +++ b/instana_client/models/webpage_action_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/webpage_script_configuration.py b/instana_client/models/webpage_script_configuration.py index 4c466c5..4214a7c 100644 --- a/instana_client/models/webpage_script_configuration.py +++ b/instana_client/models/webpage_script_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,6 +21,7 @@ from pydantic import ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from instana_client.models.git_hub_configuration import GitHubConfiguration from instana_client.models.synthetic_type_configuration import SyntheticTypeConfiguration from typing import Optional, Set from typing_extensions import Self @@ -31,9 +32,10 @@ class WebpageScriptConfiguration(SyntheticTypeConfiguration): """ # noqa: E501 browser: Optional[StrictStr] = None file_name: Optional[StrictStr] = Field(default=None, alias="fileName") + github: Optional[GitHubConfiguration] = None record_video: Optional[StrictBool] = Field(default=None, alias="recordVideo") - script: Annotated[str, Field(min_length=0, strict=True, max_length=1048576)] - __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticType", "timeout", "browser", "fileName", "recordVideo", "script"] + script: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=1048576)]] = None + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticType", "timeout", "browser", "fileName", "github", "recordVideo", "script"] @field_validator('browser') def browser_validate_enum(cls, value): @@ -84,6 +86,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of github + if self.github: + _dict['github'] = self.github.to_dict() return _dict @classmethod @@ -103,6 +108,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "timeout": obj.get("timeout"), "browser": obj.get("browser"), "fileName": obj.get("fileName"), + "github": GitHubConfiguration.from_dict(obj["github"]) if obj.get("github") is not None else None, "recordVideo": obj.get("recordVideo"), "script": obj.get("script") }) diff --git a/instana_client/models/webpage_script_configuration_update.py b/instana_client/models/webpage_script_configuration_update.py index e441c24..ee9596b 100644 --- a/instana_client/models/webpage_script_configuration_update.py +++ b/instana_client/models/webpage_script_configuration_update.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,6 +20,7 @@ from pydantic import ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from instana_client.models.git_hub_configuration import GitHubConfiguration from instana_client.models.synthetic_type_configuration_update import SyntheticTypeConfigurationUpdate from typing import Optional, Set from typing_extensions import Self @@ -30,9 +31,10 @@ class WebpageScriptConfigurationUpdate(SyntheticTypeConfigurationUpdate): """ # noqa: E501 browser: Optional[StrictStr] = None file_name: Optional[StrictStr] = Field(default=None, alias="fileName") + github: Optional[GitHubConfiguration] = None record_video: Optional[StrictBool] = Field(default=None, alias="recordVideo") script: Optional[StrictStr] = None - __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout", "browser", "fileName", "recordVideo", "script"] + __properties: ClassVar[List[str]] = ["markSyntheticCall", "retries", "retryInterval", "syntheticTest", "syntheticType", "timeout", "browser", "fileName", "github", "recordVideo", "script"] @field_validator('browser') def browser_validate_enum(cls, value): @@ -83,6 +85,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of github + if self.github: + _dict['github'] = self.github.to_dict() return _dict @classmethod @@ -103,6 +108,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "timeout": obj.get("timeout"), "browser": obj.get("browser"), "fileName": obj.get("fileName"), + "github": GitHubConfiguration.from_dict(obj["github"]) if obj.get("github") is not None else None, "recordVideo": obj.get("recordVideo"), "script": obj.get("script") }) diff --git a/instana_client/models/website.py b/instana_client/models/website.py index c0fa4f6..2866079 100644 --- a/instana_client/models/website.py +++ b/instana_client/models/website.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_alert_config.py b/instana_client/models/website_alert_config.py index 3bd6e64..6567d59 100644 --- a/instana_client/models/website_alert_config.py +++ b/instana_client/models/website_alert_config.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_alert_config_with_metadata.py b/instana_client/models/website_alert_config_with_metadata.py index 616dc72..600a3c3 100644 --- a/instana_client/models/website_alert_config_with_metadata.py +++ b/instana_client/models/website_alert_config_with_metadata.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_alert_config_with_rbac_tag.py b/instana_client/models/website_alert_config_with_rbac_tag.py index 2586af7..a1459ee 100644 --- a/instana_client/models/website_alert_config_with_rbac_tag.py +++ b/instana_client/models/website_alert_config_with_rbac_tag.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_alert_rule.py b/instana_client/models/website_alert_rule.py index ca9aea8..7c4d7e3 100644 --- a/instana_client/models/website_alert_rule.py +++ b/instana_client/models/website_alert_rule.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_apdex_entity.py b/instana_client/models/website_apdex_entity.py index 938d833..42395c3 100644 --- a/instana_client/models/website_apdex_entity.py +++ b/instana_client/models/website_apdex_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacon_groups_item.py b/instana_client/models/website_beacon_groups_item.py index 687d4ee..d607c54 100644 --- a/instana_client/models/website_beacon_groups_item.py +++ b/instana_client/models/website_beacon_groups_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacon_groups_result.py b/instana_client/models/website_beacon_groups_result.py index 6c30e6f..dae07a1 100644 --- a/instana_client/models/website_beacon_groups_result.py +++ b/instana_client/models/website_beacon_groups_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacon_result.py b/instana_client/models/website_beacon_result.py index 8b6ff00..a71ee0a 100644 --- a/instana_client/models/website_beacon_result.py +++ b/instana_client/models/website_beacon_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacon_tag_group.py b/instana_client/models/website_beacon_tag_group.py index 60da1ba..ffd41b6 100644 --- a/instana_client/models/website_beacon_tag_group.py +++ b/instana_client/models/website_beacon_tag_group.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_beacons_item.py b/instana_client/models/website_beacons_item.py index 1ece5af..487edce 100644 --- a/instana_client/models/website_beacons_item.py +++ b/instana_client/models/website_beacons_item.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_event_based_sli_entity.py b/instana_client/models/website_event_based_sli_entity.py index 5541db0..5f356ba 100644 --- a/instana_client/models/website_event_based_sli_entity.py +++ b/instana_client/models/website_event_based_sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_event_result.py b/instana_client/models/website_event_result.py index bea31b3..e3f39a2 100644 --- a/instana_client/models/website_event_result.py +++ b/instana_client/models/website_event_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -29,7 +29,7 @@ class WebsiteEventResult(EventResult): WebsiteEventResult """ # noqa: E501 website_id: Optional[StrictStr] = Field(default=None, description="ID of the website.", alias="websiteId") - __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "type", "websiteId"] + __properties: ClassVar[List[str]] = ["detail", "end", "entityLabel", "entityName", "entityType", "eventId", "eventSpecificationId", "fixSuggestion", "metadata", "metrics", "probableCause", "problem", "recentEvents", "severity", "shortCode", "snapshotId", "start", "state", "triggeringEventId", "type", "websiteId"] model_config = ConfigDict( populate_by_name=True, @@ -90,6 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eventId": obj.get("eventId"), "eventSpecificationId": obj.get("eventSpecificationId"), "fixSuggestion": obj.get("fixSuggestion"), + "metadata": obj.get("metadata"), "metrics": obj.get("metrics"), "probableCause": obj.get("probableCause"), "problem": obj.get("problem"), @@ -99,6 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "snapshotId": obj.get("snapshotId"), "start": obj.get("start"), "state": obj.get("state"), + "triggeringEventId": obj.get("triggeringEventId"), "type": obj.get("type"), "websiteId": obj.get("websiteId") }) diff --git a/instana_client/models/website_metric_result.py b/instana_client/models/website_metric_result.py index 862e9bf..9dd43a2 100644 --- a/instana_client/models/website_metric_result.py +++ b/instana_client/models/website_metric_result.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_monitoring_beacon.py b/instana_client/models/website_monitoring_beacon.py index e29a804..88347bf 100644 --- a/instana_client/models/website_monitoring_beacon.py +++ b/instana_client/models/website_monitoring_beacon.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_monitoring_metric_description.py b/instana_client/models/website_monitoring_metric_description.py index 20aee30..127cffe 100644 --- a/instana_client/models/website_monitoring_metric_description.py +++ b/instana_client/models/website_monitoring_metric_description.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_monitoring_metrics_configuration.py b/instana_client/models/website_monitoring_metrics_configuration.py index 276c7d7..e42980f 100644 --- a/instana_client/models/website_monitoring_metrics_configuration.py +++ b/instana_client/models/website_monitoring_metrics_configuration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_slo_entity.py b/instana_client/models/website_slo_entity.py index ac71584..6d579db 100644 --- a/instana_client/models/website_slo_entity.py +++ b/instana_client/models/website_slo_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_time_based_sli_entity.py b/instana_client/models/website_time_based_sli_entity.py index 47a7d38..11ef248 100644 --- a/instana_client/models/website_time_based_sli_entity.py +++ b/instana_client/models/website_time_based_sli_entity.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/website_time_threshold.py b/instana_client/models/website_time_threshold.py index 9e87225..ad2fdd6 100644 --- a/instana_client/models/website_time_threshold.py +++ b/instana_client/models/website_time_threshold.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/widget.py b/instana_client/models/widget.py index 815a60d..f2f843c 100644 --- a/instana_client/models/widget.py +++ b/instana_client/models/widget.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/with_meta_data.py b/instana_client/models/with_meta_data.py index cfbcddc..4f04864 100644 --- a/instana_client/models/with_meta_data.py +++ b/instana_client/models/with_meta_data.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/with_resolved_name.py b/instana_client/models/with_resolved_name.py index 3e0bf6c..b46e2fd 100644 --- a/instana_client/models/with_resolved_name.py +++ b/instana_client/models/with_resolved_name.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/models/z_chat_ops_integration.py b/instana_client/models/z_chat_ops_integration.py index 1988741..788471e 100644 --- a/instana_client/models/z_chat_ops_integration.py +++ b/instana_client/models/z_chat_ops_integration.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/instana_client/rest.py b/instana_client/rest.py index c4d89e6..053b51f 100644 --- a/instana_client/rest.py +++ b/instana_client/rest.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/openapi-generator-config.json b/openapi-generator-config.json index 3e23ca3..25b9460 100644 --- a/openapi-generator-config.json +++ b/openapi-generator-config.json @@ -1,6 +1,6 @@ { "packageName": "instana_client", "projectName": "instana-client", - "packageVersion": "1.0.8", + "packageVersion": "1.0.9", "packageUrl": "https://github.com/instana/client-python" } diff --git a/openapi.yaml b/openapi.yaml index fb86881..315d1e0 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -7,7 +7,7 @@ info: description: Documentation for INSTANA REST API termsOfService: https://www.instana.com/terms-of-use/ title: Instana REST API documentation - version: 1.319.1109 + version: 1.320.1414 x-description: info x-ibm-ahub-try: true x-logo: @@ -9055,6 +9055,18 @@ paths: name: sloId schema: type: string + - description: Apdex Configuration ID + example: APDXEANnWh9tQOa2h88kGxK6wQ + in: query + name: apdexId + schema: + type: string + - description: Alert Type filter - either 'SLO' or 'APDEX' + example: SLO + in: query + name: alertType + schema: + type: string - description: List of Service Levels Alert Configuration IDs example: ln3IGogYS-S7CPqcOQYTNA in: query @@ -16148,6 +16160,227 @@ paths: tags: - Mobile App Metrics x-ibm-ahub-byok: true + /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/action-beacons: + get: + description: Retrieves action beacons (user interactions and events) for a mobile + app session. Uses cursor-based pagination with offset cursors. Returns beacons + starting from the cursor offset. The pageSize parameter controls the number + of items returned (default 100, max 1000). Includes event types, view components, + frustration signals, orientation changes, and more. + operationId: getActionBeacons + parameters: + - description: Mobile app identifier + example: app-456 + in: path + name: mobileAppId + required: true + schema: + type: string + minLength: 1 + - description: Session identifier + example: session-123 + in: path + name: sessionId + required: true + schema: + type: string + minLength: 1 + - description: Offset cursor for pagination (number of items already retrieved). + Omit for first page. + example: 100 + in: query + name: cursor + schema: + type: integer + format: int64 + - description: 'Number of items per page (default: 100, max: 1000)' + example: 100 + in: query + name: pageSize + schema: + type: integer + format: int32 + default: 100 + responses: + '200': + content: + application/json: + example: + beacons: + - timestamp: 1757339999715 + beaconType: ued + sessionId: 24c6c1d4-161f-4243-85eb-3d0f46edbcbf + sessionReplayVersion: 0.0.1 + eventType: st + orientationChange: null + viewComponentId: resetDirectory + viewComponentClassName: MaterialButton + mobileAppId: KVJIyIPsTUGfvNORN_07uQ + keyboardOperation: null + frustrationSignal: null + scrollDirection: null + scrollDuration: null + beaconId: ab3d7d1251f75ac5 + beaconClockskew: 1234 + appState: foreground + nextCursor: 100 + hasMore: true + schema: + $ref: '#/components/schemas/GetActionBeaconsResult' + description: OK + '400': + description: Bad Request - Invalid mobile app ID, session ID, or pagination + parameters + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Forbidden - User doesn't have access to this mobile app + '404': + description: Not Found - Mobile app or session not found + '500': + description: Internal server error. + summary: Get action beacons for a session + tags: + - Mobile App Catalog + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/replay-metadata: + get: + description: Retrieves detailed metadata for session replay captured during + a mobile app session. Uses cursor-based pagination with timestamp cursors. + Returns metadata within the time window from cursor to cursor + pageSize. + The pageSize represents milliseconds (default 20000ms = 20 seconds). Includes + all metadata fields such as event type, view components, orientation changes, + etc. + operationId: getSessionReplayMetadata + parameters: + - description: Mobile app identifier + example: app-456 + in: path + name: mobileAppId + required: true + schema: + type: string + minLength: 1 + - description: Session identifier + example: session-123 + in: path + name: sessionId + required: true + schema: + type: string + minLength: 1 + - description: Timestamp cursor for pagination (epoch milliseconds). Retrieves + metadata from this timestamp onwards. + example: 1234567890 + in: query + name: cursor + schema: + type: integer + format: int64 + - description: 'Time window size in milliseconds (default: 20000ms = 20 seconds)' + example: 20000 + in: query + name: pageSize + schema: + type: integer + format: int32 + default: 20000 + responses: + '200': + content: + application/json: + example: + metadata: + - id: abc-123 + sessionId: session-xyz + timestamp: 1234567890 + type: screenshot + imageFormat: png + bytesIngestedImage: 50000 + bytesIngestedMetadata: 1024 + eventType: click + viewComponentId: button-submit + viewComponentClassName: android.widget.Button + sessionReplayVersion: '2.0' + orientationChange: false + keyboardOperation: true + frustrationSignal: false + scrollDirection: down + scrollDuration: 500 + nextCursor: 1234567895 + hasMore: true + schema: + $ref: '#/components/schemas/GetSessionReplayMetadataResult' + description: OK + '400': + description: Bad Request - Invalid mobile app ID, session ID, or pagination + parameters + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Forbidden - User doesn't have access to this mobile app + '404': + description: Not Found - Mobile app or session not found + '500': + description: Internal server error. + summary: Get session replay metadata + tags: + - Mobile App Catalog + x-ibm-ahub-byok: true + /api/mobile-app-monitoring/mobile-apps/{mobileAppId}/sessions/{sessionId}/replay-timestamps: + get: + description: Retrieves the first and last image timestamps for a mobile app + session. Returns null values if the session has no images. + operationId: getSessionReplayTimestamps + parameters: + - description: Mobile app identifier + example: app-456 + in: path + name: mobileAppId + required: true + schema: + type: string + minLength: 1 + - description: Session identifier + example: session-123 + in: path + name: sessionId + required: true + schema: + type: string + minLength: 1 + responses: + '200': + content: + application/json: + examples: + No images: + description: No images + value: + firstImageTimestamp: null + lastImageTimestamp: null + With images: + description: With images + value: + firstImageTimestamp: 1234567890 + lastImageTimestamp: 1234567990 + schema: + $ref: '#/components/schemas/SessionReplayTimestamps' + description: OK + '400': + description: Bad Request - Invalid mobile app ID or session ID + '401': + description: Unauthorized access - requires user authentication. + '403': + description: Forbidden - User doesn't have access to this mobile app + '404': + description: Not Found - Mobile app or session not found + '500': + description: Internal server error. + summary: Get session replay timestamps + tags: + - Mobile App Catalog + x-ibm-ahub-byok: true /api/mobile-app-monitoring/session{id}{timestamp}: get: description: API request to get a mobile app monitoring session. @@ -16693,6 +16926,16 @@ paths: type: string description: Application or Website ID example: XIZGGVT1TX2O-0OFeT2Yig + - in: query + name: apdexIds + schema: + type: array + description: List of APDEX IDs for which details need to be fetched + example: APDWMaA2yKuSS6z50LR0-cGZA + items: + type: string + description: List of APDEX IDs for which details need to be fetched + example: APDWMaA2yKuSS6z50LR0-cGZA responses: '200': content: @@ -20254,6 +20497,34 @@ paths: tags: - Roles x-ibm-ahub-byok: true + /api/settings/rbac/roles/{roleId}/mappings: + get: + description: Retrieve IdP role mappings applicable to a specific role + operationId: getRoleMappings + parameters: + - in: path + name: roleId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/RoleMappingOverview' + description: OK + '404': + description: role mapping not found + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Get role mappings + tags: + - Roles + x-ibm-ahub-byok: true /api/settings/rbac/teams: get: description: Retrieve all user teams for the current tenant unit. @@ -20555,6 +20826,34 @@ paths: tags: - Teams x-ibm-ahub-byok: true + /api/settings/rbac/teams/{teamId}/mappings: + get: + description: Retrieve IdP role mappings applicable to a specific team + operationId: getTeamRoleMappings + parameters: + - in: path + name: teamId + required: true + schema: + type: string + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/RoleMappingOverview' + description: OK + '404': + description: role mapping not found + security: + - ApiKeyAuth: + - CanConfigureTeams + summary: Get team role mappings + tags: + - Teams + x-ibm-ahub-byok: true /api/settings/session: delete: description: Delete tenant unit session settings. @@ -22334,6 +22633,574 @@ paths: tags: - SLI Report x-ibm-ahub-byok: true + /api/slo/catalog/metrics/mobile: + get: + description: API request to get mobile app SLI metric catalog filtered by golden + signal and beacon type. + operationId: getMobileAppSliMetricCatalog + parameters: + - in: query + name: sloBlueprint + schema: + type: string + - in: query + name: beaconType + schema: + type: string + responses: + '200': + content: + application/json: + example: |2 + [ + { + "metricId": "bytesIngestedSum", + "label": "Bytes ingested", + "formatter": "NUMBER", + "description": "Sum of bytes ingested", + "aggregations": [ + "SUM" + ], + "defaultAggregation": null, + "beaconTypes": [ + "crash", + "dropBeacon", + "viewChange", + "custom", + "perf", + "sessionStart", + "httpRequest" + ], + "pathToValueInBeacon": [ + "bytesIngested" + ], + "tagName": "mobileBeacon.bytesIngested", + "secondaryBeaconTypes": [], + "sliDescription": "Monitor data ingestion volume for capacity planning and cost management. Set thresholds to detect unusual data growth." + }, + { + "metricId": "androidEnuCount", + "label": "Excessive network usage: Android Occurences", + "formatter": "NUMBER", + "description": "When the mobile OS has detected that there has been excessive network usage in the past 24 hours", + "aggregatio[ + { + "metricId": "beaconErrorCount", + "label": "Beacon error count", + "formatter": "NUMBER", + "description": "The number of beacons resulting in error response.", + "aggregations": [ + "SUM" + ], + "sliDescription": "Track absolute number of failed requests. Useful for setting error budgets and alerting on error spikes.", + "supportedSliTypes": [ + "timeBased", + "eventBased" + ] + }, + { + "metricId": "beaconErrorRate", + "label": "Beacon error rate", + "formatter": "PERCENTAGE", + "description": "The percentage of beacons resulting in error response. A value between 0 and 1.", + "aggregations": [ + "MEAN" + ], + "sliDescription": "Measure API reliability by tracking the proportion of failed requests. Classic SLI for service availability.", + "supportedSliTypes": [ + "timeBased", + "eventBased" + ] + }, + { + "metricId": "http4xx", + "label": "HTTP 4XX", + "formatter": "NUMBER", + "description": "Number of HTTP calls with `400 <= status code <= 499`.", + "aggregations": [ + "SUM" + ], + "sliDescription": "Monitor client-side errors like bad requests or authentication failures. Helps identify integration issues.", + "supportedSliTypes": [ + "timeBased", + "eventBased" + ] + }, + { + "metricId": "http5xx", + "label": "HTTP 5XX", + "formatter": "NUMBER", + "description": "HTTP calls with 500 <= status code <= 599", + "aggregations": [ + "SUM" + ], + "sliDescription": "Track server-side errors indicating backend service issues. Critical for measuring service reliability.", + "supportedSliTypes": [ + "timeBased", + "eventBased" + ] + } + ] + schema: + type: array + items: + $ref: '#/components/schemas/MobileAppSloMetricCatalog' + description: OK + '400': + description: When the sloGoldenSignal/beaconType combination is unsupported. + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Mobile app SLI metric catalog + tags: + - SLO Catalog for Mobile App + x-ibm-ahub-byok: true + /api/slo/catalog/tags/mobile: + get: + operationId: getMobileAppSloTagCatalog + parameters: + - in: query + name: beaconType + schema: + type: string + responses: + '200': + content: + application/json: + example: + tagTree: + - label: Commonly Used + description: null + icon: null + children: + - label: HTTP Call URL + description: The fully qualified URL of the executed HTTP request. + tagName: mobileBeacon.http.url + type: TAG + scoreBoost: 10 + type: LEVEL + queryable: false + - label: HTTP + description: null + icon: null + children: + - label: URL + description: The fully qualified URL of the executed HTTP request. + tagName: mobileBeacon.http.url + type: TAG + - label: Origin + description: The URL path of the executed HTTP request, i.e., + the combination of scheme, host and (optionally) port. + tagName: mobileBeacon.http.origin + type: TAG + - label: Path + description: The URL path of the executed HTTP request. + tagName: mobileBeacon.http.path + type: TAG + - label: Method + description: The HTTP method used for the request (e.g., GET, + POST, PUT, DELETE) + tagName: mobileBeacon.http.method + type: TAG + - label: Status Code + description: The HTTP status code returned by the server in response + to the mobile app's request + tagName: mobileBeacon.http.status + type: TAG + - label: Backend Trace ID + description: Unique identifier that connects the mobile app beacon + with backend traces + tagName: mobileBeacon.backend.traceId + type: TAG + - label: HTTP Headers + description: HTTP Headers collected via our Mobile App agent. + tagName: mobileBeacon.http.headers + type: TAG + - label: Cache + description: null + icon: null + children: + - label: Encoded Body Size + description: The size in bytes of a response body, e.g. HTTP + entity or cache retrieval, with any content-encoding, e.g. + gzip, still applied. + tagName: mobileBeacon.http.encodedBodySize + type: TAG + - label: Decoded Body Size + description: The size in bytes of a response body, e.g. HTTP + entity or cache retrieval, after content decoding, e.g. after + decompression. + tagName: mobileBeacon.http.decodedBodySize + type: TAG + - label: Transfer Size + description: The size in bytes of HTTP responses. + tagName: mobileBeacon.http.transferSize + type: TAG + scoreBoost: null + type: LEVEL + queryable: false + scoreBoost: null + type: LEVEL + queryable: false + - label: Error + description: null + icon: null + children: + - label: Error Count + description: The number of errors recorded for a single beacon. + tagName: mobileBeacon.error.count + type: TAG + - label: Erroneous + description: Whether or not a beacon has an error count > 0. + tagName: mobileBeacon.erroneous + type: TAG + - label: ID + description: A hash over a subset of the error properties. + tagName: mobileBeacon.error.id + type: TAG + - label: Error Type + description: The type or classification of the error that occurred + in the mobile app + tagName: mobileBeacon.error.type + type: TAG + - label: Error Message + description: The detailed error message describing what went wrong + in the mobile app + tagName: mobileBeacon.error.message + type: TAG + - label: Stack Trace + description: null + icon: null + children: + - label: Stack Trace + description: The stack trace of errors passed to our reportEvent + API. + tagName: mobileBeacon.stackTrace + type: TAG + scoreBoost: null + type: LEVEL + queryable: false + scoreBoost: null + type: LEVEL + queryable: false + tags: + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.http.status + availability: [ + ] + idTag: false + level1: Mobile + level2: HTTP + namePartsWithoutCategory: + - mobileBeacon + - http + - status + name: mobileBeacon.http.status + type: STRING + aliases: [ + ] + label: Status Code + description: The HTTP status code returned by the server in response + to the mobile app's request + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.error.type + availability: [ + ] + idTag: false + level1: Mobile + level2: null + namePartsWithoutCategory: + - mobileBeacon + - error + - type + name: mobileBeacon.error.type + type: STRING + aliases: [ + ] + label: Error Type + description: The type or classification of the error that occurred + in the mobile app + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.http.origin + availability: [ + ] + idTag: false + level1: Mobile + level2: HTTP + namePartsWithoutCategory: + - mobileBeacon + - http + - origin + name: mobileBeacon.http.origin + type: STRING + aliases: [ + ] + label: Origin + description: The URL path of the executed HTTP request, i.e., the + combination of scheme, host and (optionally) port. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.http.method + availability: [ + ] + idTag: false + level1: Mobile + level2: HTTP + namePartsWithoutCategory: + - mobileBeacon + - http + - method + name: mobileBeacon.http.method + type: STRING + aliases: [ + ] + label: Method + description: The HTTP method used for the request (e.g., GET, POST, + PUT, DELETE) + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.error.id + availability: [ + ] + idTag: true + level1: Mobile + level2: null + namePartsWithoutCategory: + - mobileBeacon + - error + - id + name: mobileBeacon.error.id + type: STRING + aliases: [ + ] + label: ID + description: A hash over a subset of the error properties. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.http.path + availability: [ + ] + idTag: false + level1: Mobile + level2: HTTP + namePartsWithoutCategory: + - mobileBeacon + - http + - path + name: mobileBeacon.http.path + type: STRING + aliases: [ + ] + label: Path + description: The URL path of the executed HTTP request. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.stackTrace + availability: [ + ] + idTag: false + level1: Mobile + level2: null + namePartsWithoutCategory: + - mobileBeacon + - stackTrace + name: mobileBeacon.stackTrace + type: STRING + aliases: [ + ] + label: Stack Trace + description: The stack trace of errors passed to our reportEvent + API. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.http.transferSize + availability: [ + ] + idTag: false + level1: Mobile + level2: HTTP + namePartsWithoutCategory: + - mobileBeacon + - http + - transferSize + name: mobileBeacon.http.transferSize + type: NUMBER + aliases: [ + ] + label: Transfer Size + description: The size in bytes of HTTP responses. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.backend.traceId + availability: [ + ] + idTag: true + level1: Mobile + level2: null + namePartsWithoutCategory: + - mobileBeacon + - backend + - traceId + name: mobileBeacon.backend.traceId + type: STRING + aliases: [ + ] + label: Backend Trace ID + description: Unique identifier that connects the mobile app beacon + with backend traces + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.http.headers + availability: [ + ] + idTag: false + level1: Mobile + level2: null + namePartsWithoutCategory: + - mobileBeacon + - http + - headers + name: mobileBeacon.http.headers + type: KEY_VALUE_PAIR + aliases: [ + ] + label: HTTP Headers + description: HTTP Headers collected via our Mobile App agent. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.error.count + availability: [ + ] + idTag: false + level1: Mobile + level2: null + namePartsWithoutCategory: + - mobileBeacon + - error + - count + name: mobileBeacon.error.count + type: NUMBER + aliases: [ + ] + label: Error Count + description: The number of errors recorded for a single beacon. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.http.encodedBodySize + availability: [ + ] + idTag: false + level1: Mobile + level2: HTTP + namePartsWithoutCategory: + - mobileBeacon + - http + - encodedBodySize + name: mobileBeacon.http.encodedBodySize + type: NUMBER + aliases: [ + ] + label: Encoded Body Size + description: The size in bytes of a response body, e.g. HTTP entity + or cache retrieval, with any content-encoding, e.g. gzip, still + applied. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.http.url + availability: [ + ] + idTag: false + level1: Mobile + level2: HTTP + namePartsWithoutCategory: + - mobileBeacon + - http + - url + name: mobileBeacon.http.url + type: STRING + aliases: [ + ] + label: URL + description: The fully qualified URL of the executed HTTP request. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.erroneous + availability: [ + ] + idTag: false + level1: Mobile + level2: null + namePartsWithoutCategory: + - mobileBeacon + - erroneous + name: mobileBeacon.erroneous + type: BOOLEAN + aliases: [ + ] + label: Erroneous + description: Whether or not a beacon has an error count > 0. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.http.decodedBodySize + availability: [ + ] + idTag: false + level1: Mobile + level2: HTTP + namePartsWithoutCategory: + - mobileBeacon + - http + - decodedBodySize + name: mobileBeacon.http.decodedBodySize + type: NUMBER + aliases: [ + ] + label: Decoded Body Size + description: The size in bytes of a response body, e.g. HTTP entity + or cache retrieval, after content decoding, e.g. after decompression. + - canApplyToDestination: false + canApplyToSource: false + nameWithoutCategory: mobileBeacon.error.message + availability: [ + ] + idTag: false + level1: Mobile + level2: null + namePartsWithoutCategory: + - mobileBeacon + - error + - message + name: mobileBeacon.error.message + type: STRING + aliases: [ + ] + label: Error Message + description: The detailed error message describing what went wrong + in the mobile app + schema: + $ref: '#/components/schemas/TagCatalog' + description: OK + '400': + description: When the beaconType unsupported/unknown. + '401': + description: Unauthorized access - requires user authentication. + '500': + description: Internal server error. + security: + - ApiKeyAuth: + - Default + summary: Get mobile app monitoring tag catalog for Mobile App SLOs + tags: + - SLO Catalog for Mobile App + x-description: getMobileAppSloTagCatalog + x-ibm-ahub-byok: true /api/slo/correction: get: operationId: getSloCorrection @@ -27505,6 +28372,97 @@ components: - modifiedAt - name - type + ActionBeacon: + type: object + description: List of action beacons for the current page + properties: + appState: + type: string + description: Application state (e.g., foreground, background) + example: foreground + nullable: true + beaconClockskew: + type: integer + format: int64 + description: Clock skew in milliseconds between client and server + example: 1234 + nullable: true + beaconId: + type: string + description: Beacon identifier + example: beacon-123 + beaconType: + type: string + description: Type of beacon + example: ued + bytesIngestedMetadata: + type: integer + format: int64 + description: Bytes ingested for metadata + example: 1024 + nullable: true + eventType: + type: string + description: Event type (e.g., st=start, fs=frustration signal, oc=orientation + change) + example: st + nullable: true + frustrationSignal: + type: string + description: Frustration signal type (e.g., rt=rage tap) + example: rt + nullable: true + keyboardOperation: + type: string + description: Keyboard operation indicator + nullable: true + mobileAppId: + type: string + description: Mobile app identifier + example: KVJIyIPsTUGfvNORN_07uQ + orientationChange: + type: string + description: Orientation change indicator (l=landscape, p=portrait) + example: l + nullable: true + scrollDirection: + type: string + description: Scroll direction + nullable: true + scrollDuration: + type: string + description: Scroll duration in milliseconds + nullable: true + sessionId: + type: string + description: Session identifier + example: 24c6c1d4-161f-4243-85eb-3d0f46edbcbf + sessionReplayVersion: + type: string + description: Session replay version + example: 0.0.1 + nullable: true + timestamp: + type: integer + format: int64 + description: Timestamp when the action was captured (epoch milliseconds) + example: 1757339999715 + viewComponentClassName: + type: string + description: View component class name + example: MaterialButton + nullable: true + viewComponentId: + type: string + description: View component identifier + example: resetDirectory + nullable: true + required: + - beaconId + - beaconType + - mobileAppId + - sessionId + - timestamp ActionConfiguration: type: object description: List of action configurations. @@ -27984,6 +28942,20 @@ components: required: - duration - durationType + ApdexAlertRule: + type: object + allOf: + - $ref: '#/components/schemas/ServiceLevelsAlertRule' + - type: object + properties: + metric: + type: string + description: This is the Apdex metric type. Apdex alert uses SCORE + metric. + enum: + - SCORE + required: + - metric ApdexConfiguration: type: object properties: @@ -29652,6 +30624,8 @@ components: - firefox fileName: type: string + github: + $ref: '#/components/schemas/GitHubConfiguration' recordVideo: type: boolean script: @@ -29681,6 +30655,8 @@ components: - firefox fileName: type: string + github: + $ref: '#/components/schemas/GitHubConfiguration' recordVideo: type: boolean script: @@ -31823,6 +32799,12 @@ components: type: string deprecated: true description: Details of the event. + metadata: + type: object + additionalProperties: + type: object + description: Additional event meta data. + description: Additional event meta data. metrics: type: array description: List of metrics associated with the Event. @@ -31873,6 +32855,9 @@ components: state: type: string description: 'The state of the Event, "open" or "close". ' + triggeringEventId: + type: string + description: The triggering event ID in case of an incident. type: type: string description: The type of Event. @@ -32136,6 +33121,29 @@ components: minLength: 0 required: - name + GetActionBeaconsResult: + type: object + properties: + beacons: + type: array + description: List of action beacons for the current page + items: + $ref: '#/components/schemas/ActionBeacon' + hasMore: + type: boolean + description: Indicates whether more beacons are available beyond the current + page + example: true + nextCursor: + type: integer + format: int64 + description: Cursor for the next page (timestamp). Use this value in the + next request to fetch more beacons. + example: 1757340000000 + nullable: true + required: + - beacons + - hasMore GetActivities: type: object properties: @@ -32795,6 +33803,27 @@ components: $ref: '#/components/schemas/TimeFrame' required: - metrics + GetSessionReplayMetadataResult: + type: object + properties: + hasMore: + type: boolean + description: Whether there are more records to fetch beyond this page + example: true + metadata: + type: array + description: List of session replay metadata records + items: + $ref: '#/components/schemas/SessionReplayMetadata' + nextCursor: + type: integer + format: int64 + description: Cursor for the next page (timestamp of last record) + example: 1234587890 + nullable: true + required: + - hasMore + - metadata GetSnapshotsQuery: type: object properties: @@ -33172,6 +34201,20 @@ components: required: - metrics - type + GitHubConfiguration: + type: object + properties: + branchName: + type: string + credentialName: + type: string + scriptFile: + type: string + url: + type: string + required: + - branchName + - url GlobalApplicationAlertConfigWithMetadata: type: object properties: @@ -33905,6 +34948,8 @@ components: properties: fileName: type: string + github: + $ref: '#/components/schemas/GitHubConfiguration' script: type: string maxLength: 1048576 @@ -33927,6 +34972,8 @@ components: properties: fileName: type: string + github: + $ref: '#/components/schemas/GitHubConfiguration' script: type: string scriptType: @@ -34591,6 +35638,13 @@ components: type: object description: group of infrastructure entities properties: + adjustedGranularities: + type: object + additionalProperties: + type: integer + format: int64 + description: map of metric keys to their adjusted granularity (in milliseconds) + description: map of metric keys to their adjusted granularity (in milliseconds) count: type: integer format: int64 @@ -34640,6 +35694,13 @@ components: InfrastructureItem: type: object properties: + adjustedGranularities: + type: object + additionalProperties: + type: integer + format: int64 + description: map of metric keys to their adjusted granularity (in milliseconds) + description: map of metric keys to their adjusted granularity (in milliseconds) entityHealthInfo: $ref: '#/components/schemas/EntityHealthInfo' label: @@ -35892,6 +36953,11 @@ components: type: string metricId: type: string + source: + type: string + enum: + - INFRA + - APPLICATION timeWindow: type: object value: @@ -35916,6 +36982,12 @@ components: metricId: type: string description: The metric ID to retrieve + source: + type: string + description: The source catalog the metric was selected from + enum: + - INFRA + - APPLICATION timeWindow: type: object description: The time window in milliseconds for metric aggregation @@ -37010,6 +38082,9 @@ components: type: string maxLength: 128 minLength: 0 + sessionReplayStatus: + type: integer + format: int64 stackTrace: type: string maxLength: 16384 @@ -37273,6 +38348,8 @@ components: required: - aggregation - metric + MobileAppSloMetricCatalog: + type: object MobileAppTimeThreshold: type: object description: The type of threshold to define the criteria when the event and @@ -38010,6 +39087,29 @@ components: minimum: 7 required: - logVolume + RoleMappingOverview: + type: object + properties: + id: + type: string + key: + type: string + role: + type: string + roleId: + type: string + team: + type: string + teamId: + type: string + value: + type: string + required: + - id + - key + - role + - roleId + - value RollingTimeWindow: type: object allOf: @@ -38601,6 +39701,18 @@ components: maxItems: 1024 minItems: 0 uniqueItems: true + apdexIds: + type: array + description: This is the list of Apdex configurations related to this alert + (mutually exclusive with sloIds). + items: + type: string + description: This is the list of Apdex configurations related to this + alert (mutually exclusive with sloIds). + minLength: 1 + maxItems: 1024 + minItems: 0 + uniqueItems: true burnRateConfig: type: array description: This is the burn rate alert configuration which defines alerting @@ -38657,6 +39769,7 @@ components: accident. required: - alertChannelIds + - apdexIds - customPayloadFields - description - name @@ -38679,6 +39792,18 @@ components: maxItems: 1024 minItems: 0 uniqueItems: true + apdexIds: + type: array + description: This is the list of Apdex configurations related to this alert + (mutually exclusive with sloIds). + items: + type: string + description: This is the list of Apdex configurations related to this + alert (mutually exclusive with sloIds). + minLength: 1 + maxItems: 1024 + minItems: 0 + uniqueItems: true burnRateConfig: type: array description: This is the burn rate alert configuration which defines alerting @@ -38766,6 +39891,7 @@ components: accident. required: - alertChannelIds + - apdexIds - customPayloadFields - description - id @@ -38777,9 +39903,10 @@ components: ServiceLevelsAlertRule: type: object description: This is the service levels alert type. It could be error budget - alert or service levels object alert. + alert, service levels object alert, or Apdex alert. discriminator: mapping: + APDEX: '#/components/schemas/ApdexAlertRule' ERROR_BUDGET: '#/components/schemas/ErrorBudgetAlertRule' SERVICE_LEVELS_OBJECTIVE: '#/components/schemas/ServiceLevelObjectiveAlertRule' propertyName: alertType @@ -38889,6 +40016,18 @@ components: maxItems: 1024 minItems: 0 uniqueItems: true + apdexIds: + type: array + description: This is the list of Apdex configurations related to this alert + (mutually exclusive with sloIds). + items: + type: string + description: This is the list of Apdex configurations related to this + alert (mutually exclusive with sloIds). + minLength: 1 + maxItems: 1024 + minItems: 0 + uniqueItems: true burnRateConfig: type: array description: This is the burn rate alert configuration which defines alerting @@ -38970,6 +40109,7 @@ components: accident. required: - alertChannelIds + - apdexIds - customPayloadFields - description - id @@ -39265,6 +40405,63 @@ components: label: type: string description: 'Name of the Service. Eg: `payment`.' + SessionReplayMetadata: + type: object + description: List of session replay metadata records + properties: + bytesIngestedImage: + type: integer + format: int64 + description: Size of the image in bytes + example: 50000 + id: + type: string + description: Unique identifier for the metadata record + example: image-123 + imageData: + type: string + description: Base64-encoded image data loaded from external storage + example: iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg== + nullable: true + imageFormat: + type: string + description: Image format + example: png + sessionId: + type: string + description: Session identifier + example: session-xyz + timestamp: + type: integer + format: int64 + description: Timestamp when the record was captured (epoch milliseconds) + example: 1234567890 + type: + type: string + description: Type of record + example: screenshot + required: + - bytesIngestedImage + - id + - imageFormat + - sessionId + - timestamp + - type + SessionReplayTimestamps: + type: object + properties: + firstImageTimestamp: + type: integer + format: int64 + description: Timestamp of the first image in the session (epoch milliseconds). + Null if no images exist. + example: 1234567890 + lastImageTimestamp: + type: integer + format: int64 + description: Timestamp of the last image in the session (epoch milliseconds). + Null if no images exist. + example: 1234567990 SessionSettings: type: object properties: @@ -41865,10 +43062,14 @@ components: type: object additionalProperties: type: string + dnsLookup: + type: string dnsQueryType: type: string dnsServerName: type: string + dnsTransport: + type: string errors: type: array items: @@ -42792,6 +43993,7 @@ components: - SyntheticSmartAlert - InfraSmartAlert - ServiceLevelSmartAlert + - ApdexSmartAlert - LogSmartAlert required: - id @@ -43176,6 +44378,8 @@ components: - firefox fileName: type: string + github: + $ref: '#/components/schemas/GitHubConfiguration' recordVideo: type: boolean script: @@ -43184,7 +44388,6 @@ components: minLength: 0 required: - markSyntheticCall - - script - syntheticType WebpageScriptConfigurationUpdate: type: object @@ -43199,6 +44402,8 @@ components: - firefox fileName: type: string + github: + $ref: '#/components/schemas/GitHubConfiguration' recordVideo: type: boolean script: @@ -44685,6 +45890,7 @@ x-tagGroups: - Service Levels Alert Configuration - SLO Correction Configurations - SLO Correction Windows + - SLO Catalog for Mobile App - name: AI Management tags: - AI Management diff --git a/pyproject.toml b/pyproject.toml index 06795de..b43ecf0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "instana_client" -version = "1.0.8" +version = "1.0.9" description = "Instana REST API documentation" authors = [ {name = "© Instana",email = "support@instana.com"}, diff --git a/setup.py b/setup.py index 92ebcab..5e09762 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ Documentation for INSTANA REST API - The version of the OpenAPI document: 1.319.1109 + The version of the OpenAPI document: 1.320.1414 Contact: support@instana.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -22,7 +22,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "instana-client" -VERSION = "1.0.8" +VERSION = "1.0.9" PYTHON_REQUIRES = ">= 3.9" REQUIRES = [ "urllib3 >= 2.1.0, < 3.0.0", diff --git a/test/test_apdex_alert_rule.py b/test/test_apdex_alert_rule.py new file mode 100644 index 0000000..6242e4b --- /dev/null +++ b/test/test_apdex_alert_rule.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.320.1414 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.apdex_alert_rule import ApdexAlertRule + +class TestApdexAlertRule(unittest.TestCase): + """ApdexAlertRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ApdexAlertRule: + """Test ApdexAlertRule + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `ApdexAlertRule` + """ + model = ApdexAlertRule() + if include_optional: + return ApdexAlertRule( + metric = 'SCORE' + ) + else: + return ApdexAlertRule( + metric = 'SCORE', + ) + """ + + def testApdexAlertRule(self): + """Test ApdexAlertRule""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_git_hub_configuration.py b/test/test_git_hub_configuration.py new file mode 100644 index 0000000..9944197 --- /dev/null +++ b/test/test_git_hub_configuration.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.320.1414 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.git_hub_configuration import GitHubConfiguration + +class TestGitHubConfiguration(unittest.TestCase): + """GitHubConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GitHubConfiguration: + """Test GitHubConfiguration + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `GitHubConfiguration` + """ + model = GitHubConfiguration() + if include_optional: + return GitHubConfiguration( + branch_name = '', + credential_name = '', + script_file = '', + url = '' + ) + else: + return GitHubConfiguration( + branch_name = '', + url = '', + ) + """ + + def testGitHubConfiguration(self): + """Test GitHubConfiguration""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_role_mapping_overview.py b/test/test_role_mapping_overview.py new file mode 100644 index 0000000..f666b78 --- /dev/null +++ b/test/test_role_mapping_overview.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.320.1414 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.models.role_mapping_overview import RoleMappingOverview + +class TestRoleMappingOverview(unittest.TestCase): + """RoleMappingOverview unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RoleMappingOverview: + """Test RoleMappingOverview + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `RoleMappingOverview` + """ + model = RoleMappingOverview() + if include_optional: + return RoleMappingOverview( + id = '', + key = '', + role = '', + role_id = '', + team = '', + team_id = '', + value = '' + ) + else: + return RoleMappingOverview( + id = '', + key = '', + role = '', + role_id = '', + value = '', + ) + """ + + def testRoleMappingOverview(self): + """Test RoleMappingOverview""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_slo_catalog_for_mobile_app_api.py b/test/test_slo_catalog_for_mobile_app_api.py new file mode 100644 index 0000000..4cb4d43 --- /dev/null +++ b/test/test_slo_catalog_for_mobile_app_api.py @@ -0,0 +1,46 @@ +# coding: utf-8 + +""" + Instana REST API documentation + + Documentation for INSTANA REST API + + The version of the OpenAPI document: 1.320.1414 + Contact: support@instana.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from instana_client.api.slo_catalog_for_mobile_app_api import SLOCatalogForMobileAppApi + + +class TestSLOCatalogForMobileAppApi(unittest.TestCase): + """SLOCatalogForMobileAppApi unit test stubs""" + + def setUp(self) -> None: + self.api = SLOCatalogForMobileAppApi() + + def tearDown(self) -> None: + pass + + def test_get_mobile_app_sli_metric_catalog(self) -> None: + """Test case for get_mobile_app_sli_metric_catalog + + Mobile app SLI metric catalog + """ + pass + + def test_get_mobile_app_slo_tag_catalog(self) -> None: + """Test case for get_mobile_app_slo_tag_catalog + + Get mobile app monitoring tag catalog for Mobile App SLOs + """ + pass + + +if __name__ == '__main__': + unittest.main()