Event-specific details, structured based on event type.
| Name | Type | Description | Notes |
|---|---|---|---|
| detail_type | str | The type of detail for discriminator purposes. | |
| updated_fields | List[str] | List of fields that were updated in the resource. | |
| previous_owner | str | The previous owner fleet (null if none). | [optional] |
| new_owner | str | The new owner fleet (null if removed). | [optional] |
| matching_fleets | List[str] | List of fleet names that match the device. | |
| resolution_type | str | How the conflict was resolved. | |
| assigned_owner | str | The fleet assigned as owner (null if no owner). | [optional] |
| previous_matching_fleets | List[str] | List of fleets that previously matched the device. | [optional] |
| error_message | str | The error message describing the permanent failure. | |
| retry_count | int | Number of times the task was retried before being marked as permanently failed. | |
| original_event | Event | ||
| commit_hash | str | Hash of the last commit. | |
| change_count | int | Number of changes introduced by this ResourceSync update. | |
| error_count | int | Number of errors encountered by this ResourceSync update. | |
| repository | str | The name of the repository that was updated. | |
| template_version | str | Fleet only. The TemplateVersion this prepare is for. | |
| rollout_strategy | str | Rollout strategy type. | |
| batch | str | The batch within the fleet rollout. | |
| success_percentage | int | The success percentage of the batch. | |
| total | int | The total number of devices in the batch. | |
| successful | int | The number of successful devices in the batch. | |
| failed | int | The number of failed devices in the batch. | |
| timed_out | int | The number of timed out devices in the batch. | |
| fleet_name | str | The name of the fleet that the device is being selected for. | |
| cve_id | str | CVE identifier (e.g. CVE-2024-1234). MITRE-style CVE-YYYY-sequence identifier, matching device list filter validation. | |
| first_image_ref | str | Human-readable OS image reference when the CVE was first detected on this device (historical/audit field). | [optional] |
| first_image_digest | str | Image digest when the CVE was first detected on this device (historical/audit field, e.g. sha256:...). | [optional] |
| resource_key | str | The resource key identifying the dependency that failed (e.g. "git:my-repo/main"). | |
| fingerprint | str | The new fingerprint (e.g. commit SHA) of the changed dependency. | |
| error | str | The error message from the failed probe. | |
| app_name | str | The name of the application whose device-level lifecycle override changed. | |
| action | str | The lifecycle action that was requested. | |
| generation | int | Device only. The desired spec generation this prepare is for. | [optional] |
| resource_version | str | The resource version of the involved Fleet or Device when this prepare event was created. Used to ignore stale prepare events. May be omitted for retained events created before this field was introduced. | [optional] |
| image_repository | str | Image repository (host/namespace/name) for this pair. | |
| source_digest | str | Current image digest. | |
| target_digest | str | Target image digest. | |
| generation_status | str | Generation row status for this pair. | |
| phase | DeltaGenerationPhase | [optional] |
from flightctl.models.event_details import EventDetails
# TODO update the JSON string below
json = "{}"
# create an instance of EventDetails from a JSON string
event_details_instance = EventDetails.from_json(json)
# print the JSON string representation of the object
print(EventDetails.to_json())
# convert the object into a dict
event_details_dict = event_details_instance.to_dict()
# create an instance of EventDetails from a dict
event_details_from_dict = EventDetails.from_dict(event_details_dict)