Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.3 KB

File metadata and controls

46 lines (31 loc) · 1.3 KB

AggMetric

tb_ce_client.models.AggMetric

Properties

Name Type Description Notes
function AggFunction [optional]
filter str [optional]
input AggInput [optional]
default_value float [optional]

Referenced Types

AggFunction (enum)

MIN | MAX | SUM | AVG | COUNT | COUNT_UNIQUE

AggInput

Name Type Description Notes
type str

AggFunctionInput (extends AggInput, type=function)

Name Type Description Notes
function str [optional]

AggKeyInput (extends AggInput, type=key)

Name Type Description Notes
key str [optional]

Conventions

  • Package: tb_ce_client.models
  • Attribute access: obj.function, obj.name, etc.
  • Serialize: obj.model_dump() or obj.model_dump(by_alias=True) for camelCase JSON
  • Deserialize: AggMetric.model_validate(data) or AggMetric.model_validate_json(json_str)
  • None fields: Optional attributes default to None; accessing them never raises exceptions