One ordered phase of an environment release.
| Name | Type | Description | Notes |
|---|---|---|---|
| id | UUID | ||
| phase_index | int | Zero-based index of this phase. | [readonly] |
| rule_id | str | ID of the flag rule for this phase. New public-API releases always have a rule ID. `null` is retained only when reading a historical release that ran on the default rule. | |
| description | str | The description of the flag rule when this release was created. Omitted for default-rule phases. | [optional] [readonly] |
| status | ReleaseStatus | ||
| status_reason | ReleaseStatusReason | [optional] | |
| steps | List[ReleaseStep] | ||
| current_step_index | int | Zero-based index of the step the phase is on. Omitted until the first step starts. Once the phase completes or reverts, it stays at the last step that started, unlike `currentPhaseIndex`, which becomes `null` when the release reaches a terminal status. | [optional] [readonly] |
| started_at | int | Start of the phase in Unix milliseconds. | [optional] [readonly] |
| ended_at | int | End of the phase in Unix milliseconds. | [optional] [readonly] |
| metric_statuses | Dict[str, ReleaseMetricStatus] | Per-phase metric status keyed by metric key. Empty for progressive releases. Metric definitions and monitoring preferences live once in the parent release's `metrics` array. | [readonly] |
from launchdarkly_api.models.environment_release_phase import EnvironmentReleasePhase
# TODO update the JSON string below
json = "{}"
# create an instance of EnvironmentReleasePhase from a JSON string
environment_release_phase_instance = EnvironmentReleasePhase.from_json(json)
# print the JSON string representation of the object
print(EnvironmentReleasePhase.to_json())
# convert the object into a dict
environment_release_phase_dict = environment_release_phase_instance.to_dict()
# create an instance of EnvironmentReleasePhase from a dict
environment_release_phase_from_dict = EnvironmentReleasePhase.from_dict(environment_release_phase_dict)