Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.16 KB

File metadata and controls

31 lines (22 loc) · 1.16 KB

MetricInput

Properties

Name Type Description Notes
key str The metric key
is_group bool Whether this is a metric group (true) or a metric (false). Defaults to false [optional]
primary bool Deprecated, use <code>primarySingleMetricKey</code> and <code>primaryFunnelKey</code>. Whether this is a primary metric (true) or a secondary metric (false) [optional]

Example

from launchdarkly_api.models.metric_input import MetricInput

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

# convert the object into a dict
metric_input_dict = metric_input_instance.to_dict()
# create an instance of MetricInput from a dict
metric_input_from_dict = MetricInput.from_dict(metric_input_dict)

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