incident_io_client.models.incident_update_v2
IncidentUpdateV2
Example
{'created_at': '2021-08-17T13:28:57.801578Z', 'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'incident_id': '01FCNDV6P870EA6S7TK1DSYDG0', 'merged_into_incident_id': 'abc123', 'message': "We're working on a fix, hoping to ship in the next 30 minutes", 'new_incident_status': {'category': 'triage', 'created_at': '2021-08-17T13:28:57.801578Z', 'description': "Impact has been fully mitigated, and we're ready to learn from this incident.", 'id': '01FCNDV6P870EA6S7TK1DSYD5H', 'name': 'Closed', 'rank': 4, 'updated_at': '2021-08-17T13:28:57.801578Z'}, 'new_severity': {'created_at': '2021-08-17T13:28:57.801578Z', 'description': 'Issues with low impact.', 'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'name': 'Minor', 'rank': 1, 'updated_at': '2021-08-17T13:28:57.801578Z'}, 'updater': {'api_key': {'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'name': 'My test API key'}, 'user': {'email': 'lisa@incident.io', 'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'name': 'Lisa Karlin Curtis', 'role': 'viewer', 'slack_user_id': 'U02AYNF2XJM'}}}
Attributes:
Name | Type | Description |
---|---|---|
created_at |
datetime
|
When the update was created Example: 2021-08-17T13:28:57.801578Z. |
id |
str
|
Unique identifier for this incident update Example: 01FCNDV6P870EA6S7TK1DSYDG0. |
incident_id |
str
|
The incident this update relates to Example: 01FCNDV6P870EA6S7TK1DSYDG0. |
new_incident_status |
IncidentStatusV2
|
Example: {'category': 'triage', 'created_at': '2021-08-17T13:28:57.801578Z', 'description': "Impact has been fully mitigated, and we're ready to learn from this incident.", 'id': '01FCNDV6P870EA6S7TK1DSYD5H', 'name': 'Closed', 'rank': 4, 'updated_at': '2021-08-17T13:28:57.801578Z'}. |
updater |
ActorV2
|
Example: {'api_key': {'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'name': 'My test API key'}, 'user': {'email': 'lisa@incident.io', 'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'name': 'Lisa Karlin Curtis', 'role': 'viewer', 'slack_user_id': 'U02AYNF2XJM'}}. |
merged_into_incident_id |
Union[Unset, str]
|
The ID of the incident that this incident was merged into, if it was merged in to another incident Example: abc123. |
message |
Union[Unset, str]
|
Message that explains the context behind the update Example: We're working on a fix, hoping to ship in the next 30 minutes. |
new_severity |
Union[Unset, SeverityV2]
|
Example: {'created_at': '2021-08-17T13:28:57.801578Z', 'description': 'Issues with low impact.', 'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'name': 'Minor', 'rank': 1, 'updated_at': '2021-08-17T13:28:57.801578Z'}. |
Source code in incident_io_client/models/incident_update_v2.py
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 |
|