Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.54 KB

FleetHistoryEvent.md

File metadata and controls

37 lines (28 loc) · 1.54 KB

FleetHistoryEvent

Properties

Name Type Description Notes
org_id str Organization ID
fleet_id str Fleet ID
source str Source of the event, either `system` or `user`.
current_state str Current state after this event
previous_state str Previous state before this event [optional]
event_timestamp int Timestamp when the event occurred (milliseconds since epoch UTC)
event_data Dict[str, str] Additional event-specific data [optional]
created_at int Timestamp when the record was created
schema_version int Schema version

Example

from vpcloud_client.models.fleet_history_event import FleetHistoryEvent

# a FleetHistoryEvent as JSON, with the properties above, for example from an API response
json = "{}"
# create an instance of FleetHistoryEvent from a JSON string
fleet_history_event_instance = FleetHistoryEvent.from_json(json)
# print the JSON string representation of the object
print(fleet_history_event_instance.to_json())

# convert the object into a dict
fleet_history_event_dict = fleet_history_event_instance.to_dict()
# create an instance of FleetHistoryEvent from a dict
fleet_history_event_from_dict = FleetHistoryEvent.from_dict(fleet_history_event_dict)

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