A metric shared by every phase of a guarded release.
| Name | Type | Description | Notes |
|---|---|---|---|
| metric_key | str | ||
| metric_version_id | UUID | [optional] [readonly] | |
| auto_rollback | bool | Whether a regression automatically reverts the release. | |
| definition | EnvironmentReleasesMetricListingRep | Present only when the caller requests `expand=metrics` and the pinned metric version still exists. A metric whose pinned version has been deleted keeps its `metricKey` and `metricVersionId` but has no definition. | [optional] [readonly] |
from launchdarkly_api.models.release_metric import ReleaseMetric
# TODO update the JSON string below
json = "{}"
# create an instance of ReleaseMetric from a JSON string
release_metric_instance = ReleaseMetric.from_json(json)
# print the JSON string representation of the object
print(ReleaseMetric.to_json())
# convert the object into a dict
release_metric_dict = release_metric_instance.to_dict()
# create an instance of ReleaseMetric from a dict
release_metric_from_dict = ReleaseMetric.from_dict(release_metric_dict)