diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index f61e8f9228..0344c5258f 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -5610,9 +5610,10 @@ components: format: int64 type: integer resources: - description: Network resources in chronological waterfall order. + description: Network resources in chronological waterfall order, or null when the sampled views have no resources in their initial load window. items: $ref: "#/components/schemas/AggregatedResource" + nullable: true type: array sampled_view_ids: description: List of RUM view IDs sampled for this aggregation, capped at 50. diff --git a/src/datadog_api_client/v2/model/aggregated_waterfall_response_attributes.py b/src/datadog_api_client/v2/model/aggregated_waterfall_response_attributes.py index cb98c3a3e3..7f84da4d49 100644 --- a/src/datadog_api_client/v2/model/aggregated_waterfall_response_attributes.py +++ b/src/datadog_api_client/v2/model/aggregated_waterfall_response_attributes.py @@ -37,7 +37,7 @@ def openapi_types(_): "application_id": (str,), "criteria": (AggregatedWaterfallResponseAttributesCriteria,), "_from": (int,), - "resources": ([AggregatedResource],), + "resources": ([AggregatedResource], none_type), "sampled_view_ids": ([str],), "to": (int,), "total_cache_hit_rate_pct": (float,), @@ -62,7 +62,7 @@ def __init__( application_id: str, criteria: Union[AggregatedWaterfallResponseAttributesCriteria, none_type], _from: int, - resources: List[AggregatedResource], + resources: Union[List[AggregatedResource], none_type], sampled_view_ids: List[str], to: int, total_cache_hit_rate_pct: float, @@ -82,8 +82,8 @@ def __init__( :param _from: Start of the analyzed time range as a Unix timestamp in seconds. :type _from: int - :param resources: Network resources in chronological waterfall order. - :type resources: [AggregatedResource] + :param resources: Network resources in chronological waterfall order, or null when the sampled views have no resources in their initial load window. + :type resources: [AggregatedResource], none_type :param sampled_view_ids: List of RUM view IDs sampled for this aggregation, capped at 50. :type sampled_view_ids: [str]