incident_io_client.models.incident_edit_payload_v2
IncidentEditPayloadV2
Example
{'call_url': 'https://zoom.us/foo', 'custom_field_entries': [{'custom_field_id': '01FCNDV6P870EA6S7TK1DSYDG0', 'values': [{'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'value_catalog_entry_id': '01FCNDV6P870EA6S7TK1DSYDG0', 'value_link': 'https://google.com/', 'value_numeric': '123.456', 'value_option_id': '01FCNDV6P870EA6S7TK1DSYDG0', 'value_text': 'This is my text field, I hope you like it', 'value_timestamp': ''}]}], 'incident_role_assignments': [{'assignee': {'email': 'bob@example.com', 'id': '01G0J1EXE7AXZ2C93K61WBPYEH', 'slack_user_id': 'USER123'}, 'incident_role_id': '01FH5TZRWMNAFB0DZ23FD1TV96'}], 'incident_status_id': '01FH5TZRWMNAFB0DZ23FD1TV96', 'incident_timestamp_values': [{'incident_timestamp_id': '01FCNDV6P870EA6S7TK1DSYD5H', 'value': '2021-08-17T13:28:57.801578Z'}], 'name': 'Our database is sad', 'severity_id': '01FH5TZRWMNAFB0DZ23FD1TV96', 'slack_channel_name_override': 'inc-123-database-down', 'summary': "Our database is really really sad, and we don't know why yet."}
Attributes:
Name | Type | Description |
---|---|---|
call_url |
Union[Unset, str]
|
The call URL attached to this incident Example: https://zoom.us/foo. |
custom_field_entries |
Union[Unset, List[CustomFieldEntryPayloadV2]]
|
Set the incident's custom fields to these values Example: [{'custom_field_id': '01FCNDV6P870EA6S7TK1DSYDG0', 'values': [{'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'value_catalog_entry_id': '01FCNDV6P870EA6S7TK1DSYDG0', 'value_link': 'https://google.com/', 'value_numeric': '123.456', 'value_option_id': '01FCNDV6P870EA6S7TK1DSYDG0', 'value_text': 'This is my text field, I hope you like it', 'value_timestamp': ''}]}]. |
incident_role_assignments |
Union[Unset, List[IncidentRoleAssignmentPayloadV2]]
|
Assign incident roles to these people Example: [{'assignee': {'email': 'bob@example.com', 'id': '01G0J1EXE7AXZ2C93K61WBPYEH', 'slack_user_id': 'USER123'}, 'incident_role_id': '01FH5TZRWMNAFB0DZ23FD1TV96'}]. |
incident_status_id |
Union[Unset, str]
|
Incident status to change incident to (you can only change an incident from one active status to another, any other lifecycle changes must be taken via the app.) Example: 01FH5TZRWMNAFB0DZ23FD1TV96. |
incident_timestamp_values |
Union[Unset, List[IncidentTimestampValuePayloadV2]]
|
Assign the incident's timestamps to these values Example: [{'incident_timestamp_id': '01FCNDV6P870EA6S7TK1DSYD5H', 'value': '2021-08-17T13:28:57.801578Z'}]. |
name |
Union[Unset, str]
|
Explanation of the incident Example: Our database is sad. |
severity_id |
Union[Unset, str]
|
Severity to change incident to Example: 01FH5TZRWMNAFB0DZ23FD1TV96. |
slack_channel_name_override |
Union[Unset, str]
|
Override the name of the incident Slack channel Example: inc-123-database-down. |
summary |
Union[Unset, str]
|
Detailed description of the incident Example: Our database is really really sad, and we don't know why yet.. |
Source code in incident_io_client/models/incident_edit_payload_v2.py
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 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 |
|