Skip to content

Commit

Permalink
Expose Flutter fields to rum product in the meter usage API (#1350)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Feb 17, 2023
1 parent 54bf23d commit 7007758
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.4",
"regenerated": "2023-02-17 20:23:08.701331",
"spec_repo_commit": "643c315f"
"regenerated": "2023-02-17 21:33:20.208946",
"spec_repo_commit": "f388a249"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-02-17 20:23:08.714033",
"spec_repo_commit": "643c315f"
"regenerated": "2023-02-17 21:33:20.221513",
"spec_repo_commit": "f388a249"
}
}
}
21 changes: 21 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16425,6 +16425,12 @@ components:
format: int64
nullable: true
type: integer
session_count_flutter:
description: Contains the number of mobile RUM Sessions on Flutter (data
available beginning March 1, 2023).
format: int64
nullable: true
type: integer
session_count_ios:
description: Contains the number of mobile RUM Sessions on iOS (data available
beginning December 1, 2020).
Expand Down Expand Up @@ -16891,6 +16897,11 @@ components:
hours in the current date for all organizations.
format: int64
type: integer
mobile_rum_session_count_flutter_sum:
description: Shows the sum of all mobile RUM Sessions on Flutter over all
hours in the current date for all organizations.
format: int64
type: integer
mobile_rum_session_count_ios_sum:
description: Shows the sum of all mobile RUM Sessions on iOS over all hours
in the current date for all organizations.
Expand Down Expand Up @@ -17271,6 +17282,11 @@ components:
hours in the current date for the given org.
format: int64
type: integer
mobile_rum_session_count_flutter_sum:
description: Shows the sum of all mobile RUM Sessions on Flutter over all
hours in the current date for the given org.
format: int64
type: integer
mobile_rum_session_count_ios_sum:
description: Shows the sum of all mobile RUM Sessions on iOS over all hours
in the current date for the given org.
Expand Down Expand Up @@ -17688,6 +17704,11 @@ components:
hours in the current months for all organizations.
format: int64
type: integer
mobile_rum_session_count_flutter_agg_sum:
description: Shows the sum of all mobile RUM Sessions on Flutter over all
hours in the current months for all organizations.
format: int64
type: integer
mobile_rum_session_count_ios_agg_sum:
description: Shows the sum of all mobile RUM Sessions on iOS over all hours
in the current months for all organizations.
Expand Down
8 changes: 8 additions & 0 deletions src/datadog_api_client/v1/model/usage_rum_sessions_hour.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def openapi_types(_):
"replay_session_count": (int,),
"session_count": (int, none_type),
"session_count_android": (int, none_type),
"session_count_flutter": (int, none_type),
"session_count_ios": (int, none_type),
"session_count_reactnative": (int, none_type),
}
Expand All @@ -36,6 +37,7 @@ def openapi_types(_):
"replay_session_count": "replay_session_count",
"session_count": "session_count",
"session_count_android": "session_count_android",
"session_count_flutter": "session_count_flutter",
"session_count_ios": "session_count_ios",
"session_count_reactnative": "session_count_reactnative",
}
Expand All @@ -48,6 +50,7 @@ def __init__(
replay_session_count: Union[int, UnsetType] = unset,
session_count: Union[int, none_type, UnsetType] = unset,
session_count_android: Union[int, none_type, UnsetType] = unset,
session_count_flutter: Union[int, none_type, UnsetType] = unset,
session_count_ios: Union[int, none_type, UnsetType] = unset,
session_count_reactnative: Union[int, none_type, UnsetType] = unset,
**kwargs,
Expand All @@ -73,6 +76,9 @@ def __init__(
:param session_count_android: Contains the number of mobile RUM Sessions on Android (data available beginning December 1, 2020).
:type session_count_android: int, none_type, optional
:param session_count_flutter: Contains the number of mobile RUM Sessions on Flutter (data available beginning March 1, 2023).
:type session_count_flutter: int, none_type, optional
:param session_count_ios: Contains the number of mobile RUM Sessions on iOS (data available beginning December 1, 2020).
:type session_count_ios: int, none_type, optional
Expand All @@ -91,6 +97,8 @@ def __init__(
kwargs["session_count"] = session_count
if session_count_android is not unset:
kwargs["session_count_android"] = session_count_android
if session_count_flutter is not unset:
kwargs["session_count_flutter"] = session_count_flutter
if session_count_ios is not unset:
kwargs["session_count_ios"] = session_count_ios
if session_count_reactnative is not unset:
Expand Down
8 changes: 8 additions & 0 deletions src/datadog_api_client/v1/model/usage_summary_date.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def openapi_types(_):
"iot_device_top99p": (int,),
"mobile_rum_lite_session_count_sum": (int,),
"mobile_rum_session_count_android_sum": (int,),
"mobile_rum_session_count_flutter_sum": (int,),
"mobile_rum_session_count_ios_sum": (int,),
"mobile_rum_session_count_reactnative_sum": (int,),
"mobile_rum_session_count_sum": (int,),
Expand Down Expand Up @@ -150,6 +151,7 @@ def openapi_types(_):
"iot_device_top99p": "iot_device_top99p",
"mobile_rum_lite_session_count_sum": "mobile_rum_lite_session_count_sum",
"mobile_rum_session_count_android_sum": "mobile_rum_session_count_android_sum",
"mobile_rum_session_count_flutter_sum": "mobile_rum_session_count_flutter_sum",
"mobile_rum_session_count_ios_sum": "mobile_rum_session_count_ios_sum",
"mobile_rum_session_count_reactnative_sum": "mobile_rum_session_count_reactnative_sum",
"mobile_rum_session_count_sum": "mobile_rum_session_count_sum",
Expand Down Expand Up @@ -229,6 +231,7 @@ def __init__(
iot_device_top99p: Union[int, UnsetType] = unset,
mobile_rum_lite_session_count_sum: Union[int, UnsetType] = unset,
mobile_rum_session_count_android_sum: Union[int, UnsetType] = unset,
mobile_rum_session_count_flutter_sum: Union[int, UnsetType] = unset,
mobile_rum_session_count_ios_sum: Union[int, UnsetType] = unset,
mobile_rum_session_count_reactnative_sum: Union[int, UnsetType] = unset,
mobile_rum_session_count_sum: Union[int, UnsetType] = unset,
Expand Down Expand Up @@ -405,6 +408,9 @@ def __init__(
:param mobile_rum_session_count_android_sum: Shows the sum of all mobile RUM Sessions on Android over all hours in the current date for all organizations.
:type mobile_rum_session_count_android_sum: int, optional
:param mobile_rum_session_count_flutter_sum: Shows the sum of all mobile RUM Sessions on Flutter over all hours in the current date for all organizations.
:type mobile_rum_session_count_flutter_sum: int, optional
:param mobile_rum_session_count_ios_sum: Shows the sum of all mobile RUM Sessions on iOS over all hours in the current date for all organizations.
:type mobile_rum_session_count_ios_sum: int, optional
Expand Down Expand Up @@ -582,6 +588,8 @@ def __init__(
kwargs["mobile_rum_lite_session_count_sum"] = mobile_rum_lite_session_count_sum
if mobile_rum_session_count_android_sum is not unset:
kwargs["mobile_rum_session_count_android_sum"] = mobile_rum_session_count_android_sum
if mobile_rum_session_count_flutter_sum is not unset:
kwargs["mobile_rum_session_count_flutter_sum"] = mobile_rum_session_count_flutter_sum
if mobile_rum_session_count_ios_sum is not unset:
kwargs["mobile_rum_session_count_ios_sum"] = mobile_rum_session_count_ios_sum
if mobile_rum_session_count_reactnative_sum is not unset:
Expand Down
8 changes: 8 additions & 0 deletions src/datadog_api_client/v1/model/usage_summary_date_org.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def openapi_types(_):
"iot_device_top99p_sum": (int,),
"mobile_rum_lite_session_count_sum": (int,),
"mobile_rum_session_count_android_sum": (int,),
"mobile_rum_session_count_flutter_sum": (int,),
"mobile_rum_session_count_ios_sum": (int,),
"mobile_rum_session_count_reactnative_sum": (int,),
"mobile_rum_session_count_sum": (int,),
Expand Down Expand Up @@ -145,6 +146,7 @@ def openapi_types(_):
"iot_device_top99p_sum": "iot_device_top99p_sum",
"mobile_rum_lite_session_count_sum": "mobile_rum_lite_session_count_sum",
"mobile_rum_session_count_android_sum": "mobile_rum_session_count_android_sum",
"mobile_rum_session_count_flutter_sum": "mobile_rum_session_count_flutter_sum",
"mobile_rum_session_count_ios_sum": "mobile_rum_session_count_ios_sum",
"mobile_rum_session_count_reactnative_sum": "mobile_rum_session_count_reactnative_sum",
"mobile_rum_session_count_sum": "mobile_rum_session_count_sum",
Expand Down Expand Up @@ -226,6 +228,7 @@ def __init__(
iot_device_top99p_sum: Union[int, UnsetType] = unset,
mobile_rum_lite_session_count_sum: Union[int, UnsetType] = unset,
mobile_rum_session_count_android_sum: Union[int, UnsetType] = unset,
mobile_rum_session_count_flutter_sum: Union[int, UnsetType] = unset,
mobile_rum_session_count_ios_sum: Union[int, UnsetType] = unset,
mobile_rum_session_count_reactnative_sum: Union[int, UnsetType] = unset,
mobile_rum_session_count_sum: Union[int, UnsetType] = unset,
Expand Down Expand Up @@ -404,6 +407,9 @@ def __init__(
:param mobile_rum_session_count_android_sum: Shows the sum of all mobile RUM Sessions on Android over all hours in the current date for the given org.
:type mobile_rum_session_count_android_sum: int, optional
:param mobile_rum_session_count_flutter_sum: Shows the sum of all mobile RUM Sessions on Flutter over all hours in the current date for the given org.
:type mobile_rum_session_count_flutter_sum: int, optional
:param mobile_rum_session_count_ios_sum: Shows the sum of all mobile RUM Sessions on iOS over all hours in the current date for the given org.
:type mobile_rum_session_count_ios_sum: int, optional
Expand Down Expand Up @@ -587,6 +593,8 @@ def __init__(
kwargs["mobile_rum_lite_session_count_sum"] = mobile_rum_lite_session_count_sum
if mobile_rum_session_count_android_sum is not unset:
kwargs["mobile_rum_session_count_android_sum"] = mobile_rum_session_count_android_sum
if mobile_rum_session_count_flutter_sum is not unset:
kwargs["mobile_rum_session_count_flutter_sum"] = mobile_rum_session_count_flutter_sum
if mobile_rum_session_count_ios_sum is not unset:
kwargs["mobile_rum_session_count_ios_sum"] = mobile_rum_session_count_ios_sum
if mobile_rum_session_count_reactnative_sum is not unset:
Expand Down
8 changes: 8 additions & 0 deletions src/datadog_api_client/v1/model/usage_summary_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def openapi_types(_):
"mobile_rum_lite_session_count_agg_sum": (int,),
"mobile_rum_session_count_agg_sum": (int,),
"mobile_rum_session_count_android_agg_sum": (int,),
"mobile_rum_session_count_flutter_agg_sum": (int,),
"mobile_rum_session_count_ios_agg_sum": (int,),
"mobile_rum_session_count_reactnative_agg_sum": (int,),
"mobile_rum_units_agg_sum": (int,),
Expand Down Expand Up @@ -167,6 +168,7 @@ def openapi_types(_):
"mobile_rum_lite_session_count_agg_sum": "mobile_rum_lite_session_count_agg_sum",
"mobile_rum_session_count_agg_sum": "mobile_rum_session_count_agg_sum",
"mobile_rum_session_count_android_agg_sum": "mobile_rum_session_count_android_agg_sum",
"mobile_rum_session_count_flutter_agg_sum": "mobile_rum_session_count_flutter_agg_sum",
"mobile_rum_session_count_ios_agg_sum": "mobile_rum_session_count_ios_agg_sum",
"mobile_rum_session_count_reactnative_agg_sum": "mobile_rum_session_count_reactnative_agg_sum",
"mobile_rum_units_agg_sum": "mobile_rum_units_agg_sum",
Expand Down Expand Up @@ -255,6 +257,7 @@ def __init__(
mobile_rum_lite_session_count_agg_sum: Union[int, UnsetType] = unset,
mobile_rum_session_count_agg_sum: Union[int, UnsetType] = unset,
mobile_rum_session_count_android_agg_sum: Union[int, UnsetType] = unset,
mobile_rum_session_count_flutter_agg_sum: Union[int, UnsetType] = unset,
mobile_rum_session_count_ios_agg_sum: Union[int, UnsetType] = unset,
mobile_rum_session_count_reactnative_agg_sum: Union[int, UnsetType] = unset,
mobile_rum_units_agg_sum: Union[int, UnsetType] = unset,
Expand Down Expand Up @@ -452,6 +455,9 @@ def __init__(
:param mobile_rum_session_count_android_agg_sum: Shows the sum of all mobile RUM Sessions on Android over all hours in the current months for all organizations.
:type mobile_rum_session_count_android_agg_sum: int, optional
:param mobile_rum_session_count_flutter_agg_sum: Shows the sum of all mobile RUM Sessions on Flutter over all hours in the current months for all organizations.
:type mobile_rum_session_count_flutter_agg_sum: int, optional
:param mobile_rum_session_count_ios_agg_sum: Shows the sum of all mobile RUM Sessions on iOS over all hours in the current months for all organizations.
:type mobile_rum_session_count_ios_agg_sum: int, optional
Expand Down Expand Up @@ -652,6 +658,8 @@ def __init__(
kwargs["mobile_rum_session_count_agg_sum"] = mobile_rum_session_count_agg_sum
if mobile_rum_session_count_android_agg_sum is not unset:
kwargs["mobile_rum_session_count_android_agg_sum"] = mobile_rum_session_count_android_agg_sum
if mobile_rum_session_count_flutter_agg_sum is not unset:
kwargs["mobile_rum_session_count_flutter_agg_sum"] = mobile_rum_session_count_flutter_agg_sum
if mobile_rum_session_count_ios_agg_sum is not unset:
kwargs["mobile_rum_session_count_ios_agg_sum"] = mobile_rum_session_count_ios_agg_sum
if mobile_rum_session_count_reactnative_agg_sum is not unset:
Expand Down

0 comments on commit 7007758

Please sign in to comment.