Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 2.1 KB

File metadata and controls

37 lines (28 loc) · 2.1 KB

DependentMetricOrMetricGroupRep

Properties

Name Type Description Notes
key str A unique key to reference the metric or metric group
version_id str The version ID of the metric or metric group
name str A human-friendly name for the metric or metric group
kind str If this is a metric, then it represents the kind of event the metric tracks. If this is a metric group, then it represents the group type
is_numeric bool For custom metrics, whether to track numeric changes in value against a baseline (<code>true</code>) or to track a conversion when an end user takes an action (<code>false</code>). [optional]
event_key str The event key sent with the metric. Only relevant for custom metrics. [optional]
links Dict[str, Link] The location and content type of related resources
is_group bool Whether this is a metric group or a metric
metrics List[MetricInGroupRep] An ordered list of the metrics in this metric group [optional]

Example

from launchdarkly_api.models.dependent_metric_or_metric_group_rep import DependentMetricOrMetricGroupRep

# TODO update the JSON string below
json = "{}"
# create an instance of DependentMetricOrMetricGroupRep from a JSON string
dependent_metric_or_metric_group_rep_instance = DependentMetricOrMetricGroupRep.from_json(json)
# print the JSON string representation of the object
print(DependentMetricOrMetricGroupRep.to_json())

# convert the object into a dict
dependent_metric_or_metric_group_rep_dict = dependent_metric_or_metric_group_rep_instance.to_dict()
# create an instance of DependentMetricOrMetricGroupRep from a dict
dependent_metric_or_metric_group_rep_from_dict = DependentMetricOrMetricGroupRep.from_dict(dependent_metric_or_metric_group_rep_dict)

[Back to Model list] [Back to API list] [Back to README]