Skip to content

RelativeAggregationDuration

Source code in docs_src/capo_lex_models_v2/types/relative_aggregation_duration.py
class RelativeAggregationDuration(TypedDict, closed=True):
    time_dimension: "capo_lex_models_v2.types.time_dimension.TimeDimension"
    """<p>The type of time period that the <code>timeValue</code> field represents. </p>"""
    time_value: "capo_lex_models_v2.types.time_value.TimeValue"
    """<p>The period of the time window to gather statistics for. The valid value depends on the setting of the <code>timeDimension</code> field.</p> <ul> <li> <p> <code>Hours</code> - 1/3/6/12/24</p> </li> <li> <p> <code>Days</code> - 3</p> </li> <li> <p> <code>Weeks</code> - 1/2</p> </li> </ul>"""

time_dimension instance-attribute

time_dimension: TimeDimension

The type of time period that the timeValue field represents.

time_value instance-attribute

time_value: TimeValue

The period of the time window to gather statistics for. The valid value depends on the setting of the timeDimension field.

  • Hours - 1/3/6/12/24

  • Days - 3

  • Weeks - 1/2