incident_io_api 4.0.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/incident_io/api/alert_grouping_preferences_v3_api.rb +367 -0
- data/lib/incident_io/api/alert_rules_v3_api.rb +367 -0
- data/lib/incident_io/api/team_grouping_preferences_v3_api.rb +364 -0
- data/lib/incident_io/models/alert_grouping_conditional_branch_v3.rb +204 -0
- data/lib/incident_io/models/alert_grouping_default_branch_v3.rb +165 -0
- data/lib/incident_io/models/alert_grouping_preference_v3.rb +368 -0
- data/lib/incident_io/models/alert_grouping_preferences_create_payload_v3.rb +225 -0
- data/lib/incident_io/models/alert_grouping_preferences_create_result_v3.rb +164 -0
- data/lib/incident_io/models/alert_grouping_preferences_list_result_v3.rb +192 -0
- data/lib/incident_io/models/alert_grouping_preferences_show_result_v3.rb +164 -0
- data/lib/incident_io/models/alert_grouping_preferences_update_payload_v3.rb +198 -0
- data/lib/incident_io/models/alert_grouping_preferences_update_result_v3.rb +164 -0
- data/lib/incident_io/models/alert_grouping_settings_v3.rb +246 -0
- data/lib/incident_io/models/alert_rule_action_v3.rb +240 -0
- data/lib/incident_io/models/alert_rule_block_v3.rb +222 -0
- data/lib/incident_io/models/alert_rule_branch_v3.rb +254 -0
- data/lib/incident_io/models/alert_rule_create_incident_action_v3.rb +177 -0
- data/lib/incident_io/models/alert_rule_escalate_action_v3.rb +215 -0
- data/lib/incident_io/models/alert_rule_nested_branch_v3.rb +242 -0
- data/lib/incident_io/models/alert_rule_post_action_v3.rb +202 -0
- data/lib/incident_io/models/alert_rule_set_v3.rb +351 -0
- data/lib/incident_io/models/alert_rules_create_payload_v3.rb +225 -0
- data/lib/incident_io/models/alert_rules_create_result_v3.rb +164 -0
- data/lib/incident_io/models/alert_rules_list_result_v3.rb +192 -0
- data/lib/incident_io/models/alert_rules_show_result_v3.rb +164 -0
- data/lib/incident_io/models/alert_rules_update_payload_v3.rb +198 -0
- data/lib/incident_io/models/alert_rules_update_result_v3.rb +164 -0
- data/lib/incident_io/models/team_grouping_preference_v3.rb +300 -0
- data/lib/incident_io/models/team_grouping_preferences_create_payload_v3.rb +191 -0
- data/lib/incident_io/models/team_grouping_preferences_create_result_v3.rb +164 -0
- data/lib/incident_io/models/team_grouping_preferences_list_result_v3.rb +192 -0
- data/lib/incident_io/models/team_grouping_preferences_show_result_v3.rb +164 -0
- data/lib/incident_io/models/team_grouping_preferences_update_payload_v3.rb +191 -0
- data/lib/incident_io/models/team_grouping_preferences_update_result_v3.rb +164 -0
- data/lib/incident_io/models/webhooks_private_alert_created_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_private_alert_resolved_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_private_escalation_created_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_private_escalation_status_updated_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_private_incident_action_created_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_private_incident_action_updated_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_private_incident_follow_up_created_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_private_incident_follow_up_created_v2_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_private_incident_follow_up_updated_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_private_incident_follow_up_updated_v2_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_private_incident_incident_created_v2_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_private_incident_incident_updated_v2_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_private_incident_membership_granted_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_private_incident_membership_revoked_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_private_incident_postmortem_document_status_updated_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_public_alert_created_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_public_alert_resolved_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_public_escalation_created_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_public_escalation_status_updated_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_public_incident_action_created_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_public_incident_action_updated_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_public_incident_follow_up_created_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_public_incident_follow_up_created_v2_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_public_incident_follow_up_updated_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_public_incident_follow_up_updated_v2_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_public_incident_incident_created_v2_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_public_incident_incident_status_updated_v2_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_public_incident_incident_updated_v2_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_public_incident_postmortem_document_status_updated_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_schedule_created_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_schedule_deleted_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_schedule_shift_change_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_schedule_updated_v1_response_body.rb +1 -1
- data/lib/incident_io/models/webhooks_status_page_incident_update_shared_v1_response_body.rb +1 -1
- data/lib/incident_io/version.rb +1 -1
- data/lib/incident_io.rb +34 -0
- metadata +36 -2
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#incident.io
|
|
3
|
+
|
|
4
|
+
#Ruby client for the incident.io API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.25.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module IncidentIo
|
|
17
|
+
class TeamGroupingPreferencesUpdatePayloadV3 < ApiModelBase
|
|
18
|
+
attr_accessor :default
|
|
19
|
+
|
|
20
|
+
# The version this update will create. It must be one more than the preference's latest version, otherwise the update is rejected - guarding against concurrent edits.
|
|
21
|
+
attr_accessor :version
|
|
22
|
+
|
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
24
|
+
def self.attribute_map
|
|
25
|
+
{
|
|
26
|
+
:'default' => :'default',
|
|
27
|
+
:'version' => :'version'
|
|
28
|
+
}
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Returns attribute mapping this model knows about
|
|
32
|
+
def self.acceptable_attribute_map
|
|
33
|
+
attribute_map
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# Returns all the JSON keys this model knows about
|
|
37
|
+
def self.acceptable_attributes
|
|
38
|
+
acceptable_attribute_map.values
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Attribute type mapping.
|
|
42
|
+
def self.openapi_types
|
|
43
|
+
{
|
|
44
|
+
:'default' => :'AlertGroupingDefaultBranchV3',
|
|
45
|
+
:'version' => :'Integer'
|
|
46
|
+
}
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# List of attributes with nullable: true
|
|
50
|
+
def self.openapi_nullable
|
|
51
|
+
Set.new([
|
|
52
|
+
])
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Initializes the object
|
|
56
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
57
|
+
def initialize(attributes = {})
|
|
58
|
+
if (!attributes.is_a?(Hash))
|
|
59
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::TeamGroupingPreferencesUpdatePayloadV3` initialize method"
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
63
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
64
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
65
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
66
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::TeamGroupingPreferencesUpdatePayloadV3`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
67
|
+
end
|
|
68
|
+
h[k.to_sym] = v
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
if attributes.key?(:'default')
|
|
72
|
+
self.default = attributes[:'default']
|
|
73
|
+
else
|
|
74
|
+
self.default = nil
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
if attributes.key?(:'version')
|
|
78
|
+
self.version = attributes[:'version']
|
|
79
|
+
else
|
|
80
|
+
self.version = nil
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
85
|
+
# @return Array for valid properties with the reasons
|
|
86
|
+
def list_invalid_properties
|
|
87
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
88
|
+
invalid_properties = Array.new
|
|
89
|
+
if @default.nil?
|
|
90
|
+
invalid_properties.push('invalid value for "default", default cannot be nil.')
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
if @version.nil?
|
|
94
|
+
invalid_properties.push('invalid value for "version", version cannot be nil.')
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
invalid_properties
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Check to see if the all the properties in the model are valid
|
|
101
|
+
# @return true if the model is valid
|
|
102
|
+
def valid?
|
|
103
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
104
|
+
return false if @default.nil?
|
|
105
|
+
return false if @version.nil?
|
|
106
|
+
true
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# Custom attribute writer method with validation
|
|
110
|
+
# @param [Object] default Value to be assigned
|
|
111
|
+
def default=(default)
|
|
112
|
+
if default.nil?
|
|
113
|
+
fail ArgumentError, 'default cannot be nil'
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
@default = default
|
|
117
|
+
end
|
|
118
|
+
|
|
119
|
+
# Custom attribute writer method with validation
|
|
120
|
+
# @param [Object] version Value to be assigned
|
|
121
|
+
def version=(version)
|
|
122
|
+
if version.nil?
|
|
123
|
+
fail ArgumentError, 'version cannot be nil'
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
@version = version
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# Checks equality by comparing each attribute.
|
|
130
|
+
# @param [Object] Object to be compared
|
|
131
|
+
def ==(o)
|
|
132
|
+
return true if self.equal?(o)
|
|
133
|
+
self.class == o.class &&
|
|
134
|
+
default == o.default &&
|
|
135
|
+
version == o.version
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
# @see the `==` method
|
|
139
|
+
# @param [Object] Object to be compared
|
|
140
|
+
def eql?(o)
|
|
141
|
+
self == o
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
# Calculates hash code according to all attributes.
|
|
145
|
+
# @return [Integer] Hash code
|
|
146
|
+
def hash
|
|
147
|
+
[default, version].hash
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# Builds the object from hash
|
|
151
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
152
|
+
# @return [Object] Returns the model itself
|
|
153
|
+
def self.build_from_hash(attributes)
|
|
154
|
+
return nil unless attributes.is_a?(Hash)
|
|
155
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
156
|
+
transformed_hash = {}
|
|
157
|
+
openapi_types.each_pair do |key, type|
|
|
158
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
159
|
+
transformed_hash["#{key}"] = nil
|
|
160
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
161
|
+
# check to ensure the input is an array given that the attribute
|
|
162
|
+
# is documented as an array but the input is not
|
|
163
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
164
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
165
|
+
end
|
|
166
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
167
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
168
|
+
end
|
|
169
|
+
end
|
|
170
|
+
new(transformed_hash)
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
# Returns the object in the form of hash
|
|
174
|
+
# @return [Hash] Returns the object in the form of hash
|
|
175
|
+
def to_hash
|
|
176
|
+
hash = {}
|
|
177
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
178
|
+
value = self.send(attr)
|
|
179
|
+
if value.nil?
|
|
180
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
181
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
hash[param] = _to_hash(value)
|
|
185
|
+
end
|
|
186
|
+
hash
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
end
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#incident.io
|
|
3
|
+
|
|
4
|
+
#Ruby client for the incident.io API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.25.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'date'
|
|
14
|
+
require 'time'
|
|
15
|
+
|
|
16
|
+
module IncidentIo
|
|
17
|
+
class TeamGroupingPreferencesUpdateResultV3 < ApiModelBase
|
|
18
|
+
attr_accessor :team_grouping_preference
|
|
19
|
+
|
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
|
+
def self.attribute_map
|
|
22
|
+
{
|
|
23
|
+
:'team_grouping_preference' => :'team_grouping_preference'
|
|
24
|
+
}
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
# Returns attribute mapping this model knows about
|
|
28
|
+
def self.acceptable_attribute_map
|
|
29
|
+
attribute_map
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Returns all the JSON keys this model knows about
|
|
33
|
+
def self.acceptable_attributes
|
|
34
|
+
acceptable_attribute_map.values
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# Attribute type mapping.
|
|
38
|
+
def self.openapi_types
|
|
39
|
+
{
|
|
40
|
+
:'team_grouping_preference' => :'TeamGroupingPreferenceV3'
|
|
41
|
+
}
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# List of attributes with nullable: true
|
|
45
|
+
def self.openapi_nullable
|
|
46
|
+
Set.new([
|
|
47
|
+
])
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Initializes the object
|
|
51
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
52
|
+
def initialize(attributes = {})
|
|
53
|
+
if (!attributes.is_a?(Hash))
|
|
54
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::TeamGroupingPreferencesUpdateResultV3` initialize method"
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
|
58
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
59
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
60
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::TeamGroupingPreferencesUpdateResultV3`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
62
|
+
end
|
|
63
|
+
h[k.to_sym] = v
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
if attributes.key?(:'team_grouping_preference')
|
|
67
|
+
self.team_grouping_preference = attributes[:'team_grouping_preference']
|
|
68
|
+
else
|
|
69
|
+
self.team_grouping_preference = nil
|
|
70
|
+
end
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
74
|
+
# @return Array for valid properties with the reasons
|
|
75
|
+
def list_invalid_properties
|
|
76
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
77
|
+
invalid_properties = Array.new
|
|
78
|
+
if @team_grouping_preference.nil?
|
|
79
|
+
invalid_properties.push('invalid value for "team_grouping_preference", team_grouping_preference cannot be nil.')
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
invalid_properties
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# Check to see if the all the properties in the model are valid
|
|
86
|
+
# @return true if the model is valid
|
|
87
|
+
def valid?
|
|
88
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
89
|
+
return false if @team_grouping_preference.nil?
|
|
90
|
+
true
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# Custom attribute writer method with validation
|
|
94
|
+
# @param [Object] team_grouping_preference Value to be assigned
|
|
95
|
+
def team_grouping_preference=(team_grouping_preference)
|
|
96
|
+
if team_grouping_preference.nil?
|
|
97
|
+
fail ArgumentError, 'team_grouping_preference cannot be nil'
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
@team_grouping_preference = team_grouping_preference
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# Checks equality by comparing each attribute.
|
|
104
|
+
# @param [Object] Object to be compared
|
|
105
|
+
def ==(o)
|
|
106
|
+
return true if self.equal?(o)
|
|
107
|
+
self.class == o.class &&
|
|
108
|
+
team_grouping_preference == o.team_grouping_preference
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# @see the `==` method
|
|
112
|
+
# @param [Object] Object to be compared
|
|
113
|
+
def eql?(o)
|
|
114
|
+
self == o
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
# Calculates hash code according to all attributes.
|
|
118
|
+
# @return [Integer] Hash code
|
|
119
|
+
def hash
|
|
120
|
+
[team_grouping_preference].hash
|
|
121
|
+
end
|
|
122
|
+
|
|
123
|
+
# Builds the object from hash
|
|
124
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
125
|
+
# @return [Object] Returns the model itself
|
|
126
|
+
def self.build_from_hash(attributes)
|
|
127
|
+
return nil unless attributes.is_a?(Hash)
|
|
128
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
129
|
+
transformed_hash = {}
|
|
130
|
+
openapi_types.each_pair do |key, type|
|
|
131
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
132
|
+
transformed_hash["#{key}"] = nil
|
|
133
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
134
|
+
# check to ensure the input is an array given that the attribute
|
|
135
|
+
# is documented as an array but the input is not
|
|
136
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
137
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
138
|
+
end
|
|
139
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
140
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
new(transformed_hash)
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
# Returns the object in the form of hash
|
|
147
|
+
# @return [Hash] Returns the object in the form of hash
|
|
148
|
+
def to_hash
|
|
149
|
+
hash = {}
|
|
150
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
151
|
+
value = self.send(attr)
|
|
152
|
+
if value.nil?
|
|
153
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
154
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
hash[param] = _to_hash(value)
|
|
158
|
+
end
|
|
159
|
+
hash
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
end
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class WebhooksPrivateAlertCreatedV1ResponseBody < ApiModelBase
|
|
18
|
-
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
18
|
+
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `public_escalation.escalation_created_v2`, `private_escalation.escalation_created_v2`, `public_escalation.escalation_status_updated_v2`, `private_escalation.escalation_status_updated_v2`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
19
19
|
attr_accessor :event_type
|
|
20
20
|
|
|
21
21
|
attr_accessor :private_alert_alert_created_v1
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class WebhooksPrivateAlertResolvedV1ResponseBody < ApiModelBase
|
|
18
|
-
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
18
|
+
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `public_escalation.escalation_created_v2`, `private_escalation.escalation_created_v2`, `public_escalation.escalation_status_updated_v2`, `private_escalation.escalation_status_updated_v2`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
19
19
|
attr_accessor :event_type
|
|
20
20
|
|
|
21
21
|
attr_accessor :private_alert_alert_resolved_v1
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class WebhooksPrivateEscalationCreatedV1ResponseBody < ApiModelBase
|
|
18
|
-
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
18
|
+
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `public_escalation.escalation_created_v2`, `private_escalation.escalation_created_v2`, `public_escalation.escalation_status_updated_v2`, `private_escalation.escalation_status_updated_v2`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
19
19
|
attr_accessor :event_type
|
|
20
20
|
|
|
21
21
|
attr_accessor :private_escalation_escalation_created_v1
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class WebhooksPrivateEscalationStatusUpdatedV1ResponseBody < ApiModelBase
|
|
18
|
-
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
18
|
+
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `public_escalation.escalation_created_v2`, `private_escalation.escalation_created_v2`, `public_escalation.escalation_status_updated_v2`, `private_escalation.escalation_status_updated_v2`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
19
19
|
attr_accessor :event_type
|
|
20
20
|
|
|
21
21
|
attr_accessor :private_escalation_escalation_status_updated_v1
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class WebhooksPrivateIncidentActionCreatedV1ResponseBody < ApiModelBase
|
|
18
|
-
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
18
|
+
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `public_escalation.escalation_created_v2`, `private_escalation.escalation_created_v2`, `public_escalation.escalation_status_updated_v2`, `private_escalation.escalation_status_updated_v2`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
19
19
|
attr_accessor :event_type
|
|
20
20
|
|
|
21
21
|
attr_accessor :private_incident_action_created_v1
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class WebhooksPrivateIncidentActionUpdatedV1ResponseBody < ApiModelBase
|
|
18
|
-
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
18
|
+
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `public_escalation.escalation_created_v2`, `private_escalation.escalation_created_v2`, `public_escalation.escalation_status_updated_v2`, `private_escalation.escalation_status_updated_v2`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
19
19
|
attr_accessor :event_type
|
|
20
20
|
|
|
21
21
|
attr_accessor :private_incident_action_updated_v1
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class WebhooksPrivateIncidentFollowUpCreatedV1ResponseBody < ApiModelBase
|
|
18
|
-
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
18
|
+
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `public_escalation.escalation_created_v2`, `private_escalation.escalation_created_v2`, `public_escalation.escalation_status_updated_v2`, `private_escalation.escalation_status_updated_v2`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
19
19
|
attr_accessor :event_type
|
|
20
20
|
|
|
21
21
|
attr_accessor :private_incident_follow_up_created_v1
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class WebhooksPrivateIncidentFollowUpCreatedV2ResponseBody < ApiModelBase
|
|
18
|
-
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
18
|
+
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `public_escalation.escalation_created_v2`, `private_escalation.escalation_created_v2`, `public_escalation.escalation_status_updated_v2`, `private_escalation.escalation_status_updated_v2`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
19
19
|
attr_accessor :event_type
|
|
20
20
|
|
|
21
21
|
attr_accessor :private_incident_follow_up_created_v2
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class WebhooksPrivateIncidentFollowUpUpdatedV1ResponseBody < ApiModelBase
|
|
18
|
-
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
18
|
+
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `public_escalation.escalation_created_v2`, `private_escalation.escalation_created_v2`, `public_escalation.escalation_status_updated_v2`, `private_escalation.escalation_status_updated_v2`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
19
19
|
attr_accessor :event_type
|
|
20
20
|
|
|
21
21
|
attr_accessor :private_incident_follow_up_updated_v1
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class WebhooksPrivateIncidentFollowUpUpdatedV2ResponseBody < ApiModelBase
|
|
18
|
-
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
18
|
+
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `public_escalation.escalation_created_v2`, `private_escalation.escalation_created_v2`, `public_escalation.escalation_status_updated_v2`, `private_escalation.escalation_status_updated_v2`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
19
19
|
attr_accessor :event_type
|
|
20
20
|
|
|
21
21
|
attr_accessor :private_incident_follow_up_updated_v2
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class WebhooksPrivateIncidentIncidentCreatedV2ResponseBody < ApiModelBase
|
|
18
|
-
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
18
|
+
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `public_escalation.escalation_created_v2`, `private_escalation.escalation_created_v2`, `public_escalation.escalation_status_updated_v2`, `private_escalation.escalation_status_updated_v2`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
19
19
|
attr_accessor :event_type
|
|
20
20
|
|
|
21
21
|
attr_accessor :private_incident_incident_created_v2
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class WebhooksPrivateIncidentIncidentUpdatedV2ResponseBody < ApiModelBase
|
|
18
|
-
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
18
|
+
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `public_escalation.escalation_created_v2`, `private_escalation.escalation_created_v2`, `public_escalation.escalation_status_updated_v2`, `private_escalation.escalation_status_updated_v2`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
19
19
|
attr_accessor :event_type
|
|
20
20
|
|
|
21
21
|
attr_accessor :private_incident_incident_updated_v2
|
data/lib/incident_io/models/webhooks_private_incident_membership_granted_v1_response_body.rb
CHANGED
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class WebhooksPrivateIncidentMembershipGrantedV1ResponseBody < ApiModelBase
|
|
18
|
-
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
18
|
+
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `public_escalation.escalation_created_v2`, `private_escalation.escalation_created_v2`, `public_escalation.escalation_status_updated_v2`, `private_escalation.escalation_status_updated_v2`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
19
19
|
attr_accessor :event_type
|
|
20
20
|
|
|
21
21
|
attr_accessor :private_incident_membership_granted_v1
|
data/lib/incident_io/models/webhooks_private_incident_membership_revoked_v1_response_body.rb
CHANGED
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class WebhooksPrivateIncidentMembershipRevokedV1ResponseBody < ApiModelBase
|
|
18
|
-
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
18
|
+
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `public_escalation.escalation_created_v2`, `private_escalation.escalation_created_v2`, `public_escalation.escalation_status_updated_v2`, `private_escalation.escalation_status_updated_v2`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
19
19
|
attr_accessor :event_type
|
|
20
20
|
|
|
21
21
|
attr_accessor :private_incident_membership_revoked_v1
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class WebhooksPrivateIncidentPostmortemDocumentStatusUpdatedV1ResponseBody < ApiModelBase
|
|
18
|
-
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
18
|
+
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `public_escalation.escalation_created_v2`, `private_escalation.escalation_created_v2`, `public_escalation.escalation_status_updated_v2`, `private_escalation.escalation_status_updated_v2`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
19
19
|
attr_accessor :event_type
|
|
20
20
|
|
|
21
21
|
attr_accessor :private_incident_postmortem_document_status_updated_v1
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class WebhooksPublicAlertCreatedV1ResponseBody < ApiModelBase
|
|
18
|
-
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
18
|
+
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `public_escalation.escalation_created_v2`, `private_escalation.escalation_created_v2`, `public_escalation.escalation_status_updated_v2`, `private_escalation.escalation_status_updated_v2`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
19
19
|
attr_accessor :event_type
|
|
20
20
|
|
|
21
21
|
attr_accessor :public_alert_alert_created_v1
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class WebhooksPublicAlertResolvedV1ResponseBody < ApiModelBase
|
|
18
|
-
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
18
|
+
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `public_escalation.escalation_created_v2`, `private_escalation.escalation_created_v2`, `public_escalation.escalation_status_updated_v2`, `private_escalation.escalation_status_updated_v2`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
19
19
|
attr_accessor :event_type
|
|
20
20
|
|
|
21
21
|
attr_accessor :public_alert_alert_resolved_v1
|
|
@@ -15,7 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module IncidentIo
|
|
17
17
|
class WebhooksPublicEscalationCreatedV1ResponseBody < ApiModelBase
|
|
18
|
-
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
18
|
+
# What type of event is this webhook for? Known values: `public_incident.incident_created_v2`, `private_incident.incident_created_v2`, `public_incident.incident_updated_v2`, `private_incident.incident_updated_v2`, `public_incident.incident_status_updated_v2`, `public_incident.follow_up_created_v1`, `private_incident.follow_up_created_v1`, `public_incident.follow_up_updated_v1`, `private_incident.follow_up_updated_v1`, `public_incident.follow_up_created_v2`, `private_incident.follow_up_created_v2`, `public_incident.follow_up_updated_v2`, `private_incident.follow_up_updated_v2`, `public_incident.action_created_v1`, `private_incident.action_created_v1`, `public_incident.action_updated_v1`, `private_incident.action_updated_v1`, `public_alert.alert_created_v1`, `private_alert.alert_created_v1`, `public_alert.alert_resolved_v1`, `private_alert.alert_resolved_v1`, `public_escalation.escalation_created_v1`, `private_escalation.escalation_created_v1`, `public_escalation.escalation_status_updated_v1`, `private_escalation.escalation_status_updated_v1`, `public_escalation.escalation_created_v2`, `private_escalation.escalation_created_v2`, `public_escalation.escalation_status_updated_v2`, `private_escalation.escalation_status_updated_v2`, `private_incident.membership_granted_v1`, `private_incident.membership_revoked_v1`, `public_incident.postmortem_document_status_updated_v1`, `private_incident.postmortem_document_status_updated_v1`, `schedule.shift_change_v1`, `schedule.created_v1`, `schedule.updated_v1`, `schedule.deleted_v1`, `status_page_incident.update_shared_v1`
|
|
19
19
|
attr_accessor :event_type
|
|
20
20
|
|
|
21
21
|
attr_accessor :public_escalation_escalation_created_v1
|