incident_io_api 2.44.0 → 2.45.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0dab216e25006fdb9aca8297a66d8effef8d014ad6fc455e1cca72e88acffe5c
4
- data.tar.gz: cdd3d18abe870ba37cfe49265523b65f7e8ef90ff526e474719fe6cf4041afaa
3
+ metadata.gz: 214f419dea8e377269456ee553f03b9828c075652638a1f6b75a62856520b2ac
4
+ data.tar.gz: a92ff012581e62b38de859b179460c7595f984bd51d2aa357085595887e5fa63
5
5
  SHA512:
6
- metadata.gz: d4c2db4b9e289497ef5a8044ad8768014513332863b7b0ee06f4fb58e733956ff8bec3b680faadc6091c3cfd14b018eafd81d5713f7079f973261cf77b8118f6
7
- data.tar.gz: 68d38c3298f983d34804007c02a3eb09ff36b580ea1841d69c28af385362c947ed0555400e05c9928fb8134aa2573c16b760cbcfd5647d4d2f9666bfd74bd7ca
6
+ metadata.gz: 3670427b1b9fc792c4c7a7ddcadba9a414fdbd3d91edd18596386326559b0002973b3943507603a297a77de57d83569a85fbe5c1bd2dfd8f2db82bccddebcd0e
7
+ data.tar.gz: 3f89b6423a0dc56971acdc6fb282a248b37b521eca9eb272087e9a921179f4c71ba4141127879bf2c17c23f41445c036f11ceb0c297d75effc8eb715bba6f35e
@@ -825,6 +825,75 @@ module IncidentIo
825
825
  return data, status_code, headers
826
826
  end
827
827
 
828
+ # ShowStatusPageCustomerPage Status Pages V2
829
+ # Show one customer's page on a customer status page: its current status, its components, and the incidents and maintenance windows that customer sees. customer_id is the external_id of the catalog entry that defines the customer's page. That entry belongs to the catalog type the status page is split by. You can't use this endpoint for a customer whose catalog entry has no external_id. This endpoint requires a valid API key but no specific scopes. Responses can be up to 30 seconds old.
830
+ # @param status_page_id [String] ID of the customer status page. You can find this by calling the ListStatusPages endpoint.
831
+ # @param customer_id [String] The external_id of the customer's catalog entry
832
+ # @param [Hash] opts the optional parameters
833
+ # @return [StatusPagesShowStatusPageCustomerPageResultV2]
834
+ def status_pages_v2_show_status_page_customer_page(status_page_id, customer_id, opts = {})
835
+ data, _status_code, _headers = status_pages_v2_show_status_page_customer_page_with_http_info(status_page_id, customer_id, opts)
836
+ data
837
+ end
838
+
839
+ # ShowStatusPageCustomerPage Status Pages V2
840
+ # Show one customer's page on a customer status page: its current status, its components, and the incidents and maintenance windows that customer sees. customer_id is the external_id of the catalog entry that defines the customer's page. That entry belongs to the catalog type the status page is split by. You can't use this endpoint for a customer whose catalog entry has no external_id. This endpoint requires a valid API key but no specific scopes. Responses can be up to 30 seconds old.
841
+ # @param status_page_id [String] ID of the customer status page. You can find this by calling the ListStatusPages endpoint.
842
+ # @param customer_id [String] The external_id of the customer's catalog entry
843
+ # @param [Hash] opts the optional parameters
844
+ # @return [Array<(StatusPagesShowStatusPageCustomerPageResultV2, Integer, Hash)>] StatusPagesShowStatusPageCustomerPageResultV2 data, response status code and response headers
845
+ def status_pages_v2_show_status_page_customer_page_with_http_info(status_page_id, customer_id, opts = {})
846
+ if @api_client.config.debugging
847
+ @api_client.config.logger.debug 'Calling API: StatusPagesV2Api.status_pages_v2_show_status_page_customer_page ...'
848
+ end
849
+ # verify the required parameter 'status_page_id' is set
850
+ if @api_client.config.client_side_validation && status_page_id.nil?
851
+ fail ArgumentError, "Missing the required parameter 'status_page_id' when calling StatusPagesV2Api.status_pages_v2_show_status_page_customer_page"
852
+ end
853
+ # verify the required parameter 'customer_id' is set
854
+ if @api_client.config.client_side_validation && customer_id.nil?
855
+ fail ArgumentError, "Missing the required parameter 'customer_id' when calling StatusPagesV2Api.status_pages_v2_show_status_page_customer_page"
856
+ end
857
+ # resource path
858
+ local_var_path = '/v2/status_pages/{status_page_id}/customers/{customer_id}'.sub('{status_page_id}', CGI.escape(status_page_id.to_s)).sub('{customer_id}', CGI.escape(customer_id.to_s))
859
+
860
+ # query parameters
861
+ query_params = opts[:query_params] || {}
862
+
863
+ # header parameters
864
+ header_params = opts[:header_params] || {}
865
+ # HTTP header 'Accept' (if needed)
866
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
867
+
868
+ # form parameters
869
+ form_params = opts[:form_params] || {}
870
+
871
+ # http body (model)
872
+ post_body = opts[:debug_body]
873
+
874
+ # return_type
875
+ return_type = opts[:debug_return_type] || 'StatusPagesShowStatusPageCustomerPageResultV2'
876
+
877
+ # auth_names
878
+ auth_names = opts[:debug_auth_names] || ['BearerAuth']
879
+
880
+ new_options = opts.merge(
881
+ :operation => :"StatusPagesV2Api.status_pages_v2_show_status_page_customer_page",
882
+ :header_params => header_params,
883
+ :query_params => query_params,
884
+ :form_params => form_params,
885
+ :body => post_body,
886
+ :auth_names => auth_names,
887
+ :return_type => return_type
888
+ )
889
+
890
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
891
+ if @api_client.config.debugging
892
+ @api_client.config.logger.debug "API called: StatusPagesV2Api#status_pages_v2_show_status_page_customer_page\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
893
+ end
894
+ return data, status_code, headers
895
+ end
896
+
828
897
  # ShowStatusPageIncident Status Pages V2
829
898
  # Show a status page incident. This endpoint requires a valid API key but no specific scopes.
830
899
  # @param status_page_incident_id [String] ID of the status page incident
@@ -0,0 +1,256 @@
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 StatusPageCustomerPageComponentV2 < ApiModelBase
18
+ # The ID of this component. Incidents and maintenance windows refer to components by this ID.
19
+ attr_accessor :component_id
20
+
21
+ # A description shown under the component's name, if it has one
22
+ attr_accessor :description
23
+
24
+ # Whether the page shows this component's uptime
25
+ attr_accessor :display_uptime
26
+
27
+ # The name of this component
28
+ attr_accessor :name
29
+
30
+ # The current status of this component Known values: `operational`, `under_maintenance`, `degraded_performance`, `partial_outage`, `full_outage`
31
+ attr_accessor :status
32
+
33
+ # Attribute mapping from ruby-style variable name to JSON key.
34
+ def self.attribute_map
35
+ {
36
+ :'component_id' => :'component_id',
37
+ :'description' => :'description',
38
+ :'display_uptime' => :'display_uptime',
39
+ :'name' => :'name',
40
+ :'status' => :'status'
41
+ }
42
+ end
43
+
44
+ # Returns attribute mapping this model knows about
45
+ def self.acceptable_attribute_map
46
+ attribute_map
47
+ end
48
+
49
+ # Returns all the JSON keys this model knows about
50
+ def self.acceptable_attributes
51
+ acceptable_attribute_map.values
52
+ end
53
+
54
+ # Attribute type mapping.
55
+ def self.openapi_types
56
+ {
57
+ :'component_id' => :'String',
58
+ :'description' => :'String',
59
+ :'display_uptime' => :'Boolean',
60
+ :'name' => :'String',
61
+ :'status' => :'String'
62
+ }
63
+ end
64
+
65
+ # List of attributes with nullable: true
66
+ def self.openapi_nullable
67
+ Set.new([
68
+ ])
69
+ end
70
+
71
+ # Initializes the object
72
+ # @param [Hash] attributes Model attributes in the form of hash
73
+ def initialize(attributes = {})
74
+ if (!attributes.is_a?(Hash))
75
+ fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::StatusPageCustomerPageComponentV2` initialize method"
76
+ end
77
+
78
+ # check to see if the attribute exists and convert string to symbol for hash key
79
+ acceptable_attribute_map = self.class.acceptable_attribute_map
80
+ attributes = attributes.each_with_object({}) { |(k, v), h|
81
+ if (!acceptable_attribute_map.key?(k.to_sym))
82
+ fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::StatusPageCustomerPageComponentV2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
83
+ end
84
+ h[k.to_sym] = v
85
+ }
86
+
87
+ if attributes.key?(:'component_id')
88
+ self.component_id = attributes[:'component_id']
89
+ else
90
+ self.component_id = nil
91
+ end
92
+
93
+ if attributes.key?(:'description')
94
+ self.description = attributes[:'description']
95
+ end
96
+
97
+ if attributes.key?(:'display_uptime')
98
+ self.display_uptime = attributes[:'display_uptime']
99
+ else
100
+ self.display_uptime = nil
101
+ end
102
+
103
+ if attributes.key?(:'name')
104
+ self.name = attributes[:'name']
105
+ else
106
+ self.name = nil
107
+ end
108
+
109
+ if attributes.key?(:'status')
110
+ self.status = attributes[:'status']
111
+ else
112
+ self.status = nil
113
+ end
114
+ end
115
+
116
+ # Show invalid properties with the reasons. Usually used together with valid?
117
+ # @return Array for valid properties with the reasons
118
+ def list_invalid_properties
119
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
120
+ invalid_properties = Array.new
121
+ if @component_id.nil?
122
+ invalid_properties.push('invalid value for "component_id", component_id cannot be nil.')
123
+ end
124
+
125
+ if @display_uptime.nil?
126
+ invalid_properties.push('invalid value for "display_uptime", display_uptime cannot be nil.')
127
+ end
128
+
129
+ if @name.nil?
130
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
131
+ end
132
+
133
+ if @status.nil?
134
+ invalid_properties.push('invalid value for "status", status cannot be nil.')
135
+ end
136
+
137
+ invalid_properties
138
+ end
139
+
140
+ # Check to see if the all the properties in the model are valid
141
+ # @return true if the model is valid
142
+ def valid?
143
+ warn '[DEPRECATED] the `valid?` method is obsolete'
144
+ return false if @component_id.nil?
145
+ return false if @display_uptime.nil?
146
+ return false if @name.nil?
147
+ return false if @status.nil?
148
+ true
149
+ end
150
+
151
+ # Custom attribute writer method with validation
152
+ # @param [Object] component_id Value to be assigned
153
+ def component_id=(component_id)
154
+ if component_id.nil?
155
+ fail ArgumentError, 'component_id cannot be nil'
156
+ end
157
+
158
+ @component_id = component_id
159
+ end
160
+
161
+ # Custom attribute writer method with validation
162
+ # @param [Object] display_uptime Value to be assigned
163
+ def display_uptime=(display_uptime)
164
+ if display_uptime.nil?
165
+ fail ArgumentError, 'display_uptime cannot be nil'
166
+ end
167
+
168
+ @display_uptime = display_uptime
169
+ end
170
+
171
+ # Custom attribute writer method with validation
172
+ # @param [Object] name Value to be assigned
173
+ def name=(name)
174
+ if name.nil?
175
+ fail ArgumentError, 'name cannot be nil'
176
+ end
177
+
178
+ @name = name
179
+ end
180
+
181
+ # Custom attribute writer method with validation
182
+ # @param [Object] status Value to be assigned
183
+ def status=(status)
184
+ if status.nil?
185
+ fail ArgumentError, 'status cannot be nil'
186
+ end
187
+
188
+ @status = status
189
+ end
190
+
191
+ # Checks equality by comparing each attribute.
192
+ # @param [Object] Object to be compared
193
+ def ==(o)
194
+ return true if self.equal?(o)
195
+ self.class == o.class &&
196
+ component_id == o.component_id &&
197
+ description == o.description &&
198
+ display_uptime == o.display_uptime &&
199
+ name == o.name &&
200
+ status == o.status
201
+ end
202
+
203
+ # @see the `==` method
204
+ # @param [Object] Object to be compared
205
+ def eql?(o)
206
+ self == o
207
+ end
208
+
209
+ # Calculates hash code according to all attributes.
210
+ # @return [Integer] Hash code
211
+ def hash
212
+ [component_id, description, display_uptime, name, status].hash
213
+ end
214
+
215
+ # Builds the object from hash
216
+ # @param [Hash] attributes Model attributes in the form of hash
217
+ # @return [Object] Returns the model itself
218
+ def self.build_from_hash(attributes)
219
+ return nil unless attributes.is_a?(Hash)
220
+ attributes = attributes.transform_keys(&:to_sym)
221
+ transformed_hash = {}
222
+ openapi_types.each_pair do |key, type|
223
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
224
+ transformed_hash["#{key}"] = nil
225
+ elsif type =~ /\AArray<(.*)>/i
226
+ # check to ensure the input is an array given that the attribute
227
+ # is documented as an array but the input is not
228
+ if attributes[attribute_map[key]].is_a?(Array)
229
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
230
+ end
231
+ elsif !attributes[attribute_map[key]].nil?
232
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
233
+ end
234
+ end
235
+ new(transformed_hash)
236
+ end
237
+
238
+ # Returns the object in the form of hash
239
+ # @return [Hash] Returns the object in the form of hash
240
+ def to_hash
241
+ hash = {}
242
+ self.class.attribute_map.each_pair do |attr, param|
243
+ value = self.send(attr)
244
+ if value.nil?
245
+ is_nullable = self.class.openapi_nullable.include?(attr)
246
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
247
+ end
248
+
249
+ hash[param] = _to_hash(value)
250
+ end
251
+ hash
252
+ end
253
+
254
+ end
255
+
256
+ end
@@ -0,0 +1,258 @@
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 StatusPageCustomerPageGroupV2 < ApiModelBase
18
+ # Array of components belonging to this group
19
+ attr_accessor :components
20
+
21
+ # A description shown under the group's name
22
+ attr_accessor :description
23
+
24
+ # Whether the page shows uptime aggregated across the group's components
25
+ attr_accessor :display_aggregated_uptime
26
+
27
+ # Unique ID of this component group
28
+ attr_accessor :id
29
+
30
+ # The name of this component group
31
+ attr_accessor :name
32
+
33
+ # Attribute mapping from ruby-style variable name to JSON key.
34
+ def self.attribute_map
35
+ {
36
+ :'components' => :'components',
37
+ :'description' => :'description',
38
+ :'display_aggregated_uptime' => :'display_aggregated_uptime',
39
+ :'id' => :'id',
40
+ :'name' => :'name'
41
+ }
42
+ end
43
+
44
+ # Returns attribute mapping this model knows about
45
+ def self.acceptable_attribute_map
46
+ attribute_map
47
+ end
48
+
49
+ # Returns all the JSON keys this model knows about
50
+ def self.acceptable_attributes
51
+ acceptable_attribute_map.values
52
+ end
53
+
54
+ # Attribute type mapping.
55
+ def self.openapi_types
56
+ {
57
+ :'components' => :'Array<StatusPageCustomerPageComponentV2>',
58
+ :'description' => :'String',
59
+ :'display_aggregated_uptime' => :'Boolean',
60
+ :'id' => :'String',
61
+ :'name' => :'String'
62
+ }
63
+ end
64
+
65
+ # List of attributes with nullable: true
66
+ def self.openapi_nullable
67
+ Set.new([
68
+ ])
69
+ end
70
+
71
+ # Initializes the object
72
+ # @param [Hash] attributes Model attributes in the form of hash
73
+ def initialize(attributes = {})
74
+ if (!attributes.is_a?(Hash))
75
+ fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::StatusPageCustomerPageGroupV2` initialize method"
76
+ end
77
+
78
+ # check to see if the attribute exists and convert string to symbol for hash key
79
+ acceptable_attribute_map = self.class.acceptable_attribute_map
80
+ attributes = attributes.each_with_object({}) { |(k, v), h|
81
+ if (!acceptable_attribute_map.key?(k.to_sym))
82
+ fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::StatusPageCustomerPageGroupV2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
83
+ end
84
+ h[k.to_sym] = v
85
+ }
86
+
87
+ if attributes.key?(:'components')
88
+ if (value = attributes[:'components']).is_a?(Array)
89
+ self.components = value
90
+ end
91
+ else
92
+ self.components = nil
93
+ end
94
+
95
+ if attributes.key?(:'description')
96
+ self.description = attributes[:'description']
97
+ end
98
+
99
+ if attributes.key?(:'display_aggregated_uptime')
100
+ self.display_aggregated_uptime = attributes[:'display_aggregated_uptime']
101
+ else
102
+ self.display_aggregated_uptime = nil
103
+ end
104
+
105
+ if attributes.key?(:'id')
106
+ self.id = attributes[:'id']
107
+ else
108
+ self.id = nil
109
+ end
110
+
111
+ if attributes.key?(:'name')
112
+ self.name = attributes[:'name']
113
+ else
114
+ self.name = nil
115
+ end
116
+ end
117
+
118
+ # Show invalid properties with the reasons. Usually used together with valid?
119
+ # @return Array for valid properties with the reasons
120
+ def list_invalid_properties
121
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
122
+ invalid_properties = Array.new
123
+ if @components.nil?
124
+ invalid_properties.push('invalid value for "components", components cannot be nil.')
125
+ end
126
+
127
+ if @display_aggregated_uptime.nil?
128
+ invalid_properties.push('invalid value for "display_aggregated_uptime", display_aggregated_uptime cannot be nil.')
129
+ end
130
+
131
+ if @id.nil?
132
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
133
+ end
134
+
135
+ if @name.nil?
136
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
137
+ end
138
+
139
+ invalid_properties
140
+ end
141
+
142
+ # Check to see if the all the properties in the model are valid
143
+ # @return true if the model is valid
144
+ def valid?
145
+ warn '[DEPRECATED] the `valid?` method is obsolete'
146
+ return false if @components.nil?
147
+ return false if @display_aggregated_uptime.nil?
148
+ return false if @id.nil?
149
+ return false if @name.nil?
150
+ true
151
+ end
152
+
153
+ # Custom attribute writer method with validation
154
+ # @param [Object] components Value to be assigned
155
+ def components=(components)
156
+ if components.nil?
157
+ fail ArgumentError, 'components cannot be nil'
158
+ end
159
+
160
+ @components = components
161
+ end
162
+
163
+ # Custom attribute writer method with validation
164
+ # @param [Object] display_aggregated_uptime Value to be assigned
165
+ def display_aggregated_uptime=(display_aggregated_uptime)
166
+ if display_aggregated_uptime.nil?
167
+ fail ArgumentError, 'display_aggregated_uptime cannot be nil'
168
+ end
169
+
170
+ @display_aggregated_uptime = display_aggregated_uptime
171
+ end
172
+
173
+ # Custom attribute writer method with validation
174
+ # @param [Object] id Value to be assigned
175
+ def id=(id)
176
+ if id.nil?
177
+ fail ArgumentError, 'id cannot be nil'
178
+ end
179
+
180
+ @id = id
181
+ end
182
+
183
+ # Custom attribute writer method with validation
184
+ # @param [Object] name Value to be assigned
185
+ def name=(name)
186
+ if name.nil?
187
+ fail ArgumentError, 'name cannot be nil'
188
+ end
189
+
190
+ @name = name
191
+ end
192
+
193
+ # Checks equality by comparing each attribute.
194
+ # @param [Object] Object to be compared
195
+ def ==(o)
196
+ return true if self.equal?(o)
197
+ self.class == o.class &&
198
+ components == o.components &&
199
+ description == o.description &&
200
+ display_aggregated_uptime == o.display_aggregated_uptime &&
201
+ id == o.id &&
202
+ name == o.name
203
+ end
204
+
205
+ # @see the `==` method
206
+ # @param [Object] Object to be compared
207
+ def eql?(o)
208
+ self == o
209
+ end
210
+
211
+ # Calculates hash code according to all attributes.
212
+ # @return [Integer] Hash code
213
+ def hash
214
+ [components, description, display_aggregated_uptime, id, name].hash
215
+ end
216
+
217
+ # Builds the object from hash
218
+ # @param [Hash] attributes Model attributes in the form of hash
219
+ # @return [Object] Returns the model itself
220
+ def self.build_from_hash(attributes)
221
+ return nil unless attributes.is_a?(Hash)
222
+ attributes = attributes.transform_keys(&:to_sym)
223
+ transformed_hash = {}
224
+ openapi_types.each_pair do |key, type|
225
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
226
+ transformed_hash["#{key}"] = nil
227
+ elsif type =~ /\AArray<(.*)>/i
228
+ # check to ensure the input is an array given that the attribute
229
+ # is documented as an array but the input is not
230
+ if attributes[attribute_map[key]].is_a?(Array)
231
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
232
+ end
233
+ elsif !attributes[attribute_map[key]].nil?
234
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
235
+ end
236
+ end
237
+ new(transformed_hash)
238
+ end
239
+
240
+ # Returns the object in the form of hash
241
+ # @return [Hash] Returns the object in the form of hash
242
+ def to_hash
243
+ hash = {}
244
+ self.class.attribute_map.each_pair do |attr, param|
245
+ value = self.send(attr)
246
+ if value.nil?
247
+ is_nullable = self.class.openapi_nullable.include?(attr)
248
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
249
+ end
250
+
251
+ hash[param] = _to_hash(value)
252
+ end
253
+ hash
254
+ end
255
+
256
+ end
257
+
258
+ end
@@ -0,0 +1,156 @@
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 StatusPageCustomerPageItemV2 < ApiModelBase
18
+ attr_accessor :component
19
+
20
+ attr_accessor :group
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'component' => :'component',
26
+ :'group' => :'group'
27
+ }
28
+ end
29
+
30
+ # Returns attribute mapping this model knows about
31
+ def self.acceptable_attribute_map
32
+ attribute_map
33
+ end
34
+
35
+ # Returns all the JSON keys this model knows about
36
+ def self.acceptable_attributes
37
+ acceptable_attribute_map.values
38
+ end
39
+
40
+ # Attribute type mapping.
41
+ def self.openapi_types
42
+ {
43
+ :'component' => :'StatusPageCustomerPageComponentV2',
44
+ :'group' => :'StatusPageCustomerPageGroupV2'
45
+ }
46
+ end
47
+
48
+ # List of attributes with nullable: true
49
+ def self.openapi_nullable
50
+ Set.new([
51
+ ])
52
+ end
53
+
54
+ # Initializes the object
55
+ # @param [Hash] attributes Model attributes in the form of hash
56
+ def initialize(attributes = {})
57
+ if (!attributes.is_a?(Hash))
58
+ fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::StatusPageCustomerPageItemV2` initialize method"
59
+ end
60
+
61
+ # check to see if the attribute exists and convert string to symbol for hash key
62
+ acceptable_attribute_map = self.class.acceptable_attribute_map
63
+ attributes = attributes.each_with_object({}) { |(k, v), h|
64
+ if (!acceptable_attribute_map.key?(k.to_sym))
65
+ fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::StatusPageCustomerPageItemV2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
66
+ end
67
+ h[k.to_sym] = v
68
+ }
69
+
70
+ if attributes.key?(:'component')
71
+ self.component = attributes[:'component']
72
+ end
73
+
74
+ if attributes.key?(:'group')
75
+ self.group = attributes[:'group']
76
+ end
77
+ end
78
+
79
+ # Show invalid properties with the reasons. Usually used together with valid?
80
+ # @return Array for valid properties with the reasons
81
+ def list_invalid_properties
82
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
83
+ invalid_properties = Array.new
84
+ invalid_properties
85
+ end
86
+
87
+ # Check to see if the all the properties in the model are valid
88
+ # @return true if the model is valid
89
+ def valid?
90
+ warn '[DEPRECATED] the `valid?` method is obsolete'
91
+ true
92
+ end
93
+
94
+ # Checks equality by comparing each attribute.
95
+ # @param [Object] Object to be compared
96
+ def ==(o)
97
+ return true if self.equal?(o)
98
+ self.class == o.class &&
99
+ component == o.component &&
100
+ group == o.group
101
+ end
102
+
103
+ # @see the `==` method
104
+ # @param [Object] Object to be compared
105
+ def eql?(o)
106
+ self == o
107
+ end
108
+
109
+ # Calculates hash code according to all attributes.
110
+ # @return [Integer] Hash code
111
+ def hash
112
+ [component, group].hash
113
+ end
114
+
115
+ # Builds the object from hash
116
+ # @param [Hash] attributes Model attributes in the form of hash
117
+ # @return [Object] Returns the model itself
118
+ def self.build_from_hash(attributes)
119
+ return nil unless attributes.is_a?(Hash)
120
+ attributes = attributes.transform_keys(&:to_sym)
121
+ transformed_hash = {}
122
+ openapi_types.each_pair do |key, type|
123
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
124
+ transformed_hash["#{key}"] = nil
125
+ elsif type =~ /\AArray<(.*)>/i
126
+ # check to ensure the input is an array given that the attribute
127
+ # is documented as an array but the input is not
128
+ if attributes[attribute_map[key]].is_a?(Array)
129
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
130
+ end
131
+ elsif !attributes[attribute_map[key]].nil?
132
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
133
+ end
134
+ end
135
+ new(transformed_hash)
136
+ end
137
+
138
+ # Returns the object in the form of hash
139
+ # @return [Hash] Returns the object in the form of hash
140
+ def to_hash
141
+ hash = {}
142
+ self.class.attribute_map.each_pair do |attr, param|
143
+ value = self.send(attr)
144
+ if value.nil?
145
+ is_nullable = self.class.openapi_nullable.include?(attr)
146
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
147
+ end
148
+
149
+ hash[param] = _to_hash(value)
150
+ end
151
+ hash
152
+ end
153
+
154
+ end
155
+
156
+ end
@@ -0,0 +1,336 @@
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
+ # One customer's page on a customer status page: its status, components and incidents.
18
+ class StatusPageCustomerPageV2 < ApiModelBase
19
+ # Components and groups shown on this page, in display order
20
+ attr_accessor :components
21
+
22
+ # The external ID of the catalog entry that defines this customer's page
23
+ attr_accessor :customer_id
24
+
25
+ # Maintenance windows in progress or scheduled for this customer
26
+ attr_accessor :maintenances
27
+
28
+ # The name of this customer's page
29
+ attr_accessor :name
30
+
31
+ # Incidents currently affecting this customer
32
+ attr_accessor :ongoing_incidents
33
+
34
+ # Incidents from this page's history window, including ongoing incidents
35
+ attr_accessor :recent_incidents
36
+
37
+ # The worst current status of any component on this page, or operational when nothing is affected Known values: `operational`, `under_maintenance`, `degraded_performance`, `partial_outage`, `full_outage`
38
+ attr_accessor :status
39
+
40
+ # Attribute mapping from ruby-style variable name to JSON key.
41
+ def self.attribute_map
42
+ {
43
+ :'components' => :'components',
44
+ :'customer_id' => :'customer_id',
45
+ :'maintenances' => :'maintenances',
46
+ :'name' => :'name',
47
+ :'ongoing_incidents' => :'ongoing_incidents',
48
+ :'recent_incidents' => :'recent_incidents',
49
+ :'status' => :'status'
50
+ }
51
+ end
52
+
53
+ # Returns attribute mapping this model knows about
54
+ def self.acceptable_attribute_map
55
+ attribute_map
56
+ end
57
+
58
+ # Returns all the JSON keys this model knows about
59
+ def self.acceptable_attributes
60
+ acceptable_attribute_map.values
61
+ end
62
+
63
+ # Attribute type mapping.
64
+ def self.openapi_types
65
+ {
66
+ :'components' => :'Array<StatusPageCustomerPageItemV2>',
67
+ :'customer_id' => :'String',
68
+ :'maintenances' => :'Array<StatusPageMaintenanceV2>',
69
+ :'name' => :'String',
70
+ :'ongoing_incidents' => :'Array<StatusPageIncidentV2>',
71
+ :'recent_incidents' => :'Array<StatusPageIncidentV2>',
72
+ :'status' => :'String'
73
+ }
74
+ end
75
+
76
+ # List of attributes with nullable: true
77
+ def self.openapi_nullable
78
+ Set.new([
79
+ ])
80
+ end
81
+
82
+ # Initializes the object
83
+ # @param [Hash] attributes Model attributes in the form of hash
84
+ def initialize(attributes = {})
85
+ if (!attributes.is_a?(Hash))
86
+ fail ArgumentError, "The input argument (attributes) must be a hash in `IncidentIo::StatusPageCustomerPageV2` initialize method"
87
+ end
88
+
89
+ # check to see if the attribute exists and convert string to symbol for hash key
90
+ acceptable_attribute_map = self.class.acceptable_attribute_map
91
+ attributes = attributes.each_with_object({}) { |(k, v), h|
92
+ if (!acceptable_attribute_map.key?(k.to_sym))
93
+ fail ArgumentError, "`#{k}` is not a valid attribute in `IncidentIo::StatusPageCustomerPageV2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
94
+ end
95
+ h[k.to_sym] = v
96
+ }
97
+
98
+ if attributes.key?(:'components')
99
+ if (value = attributes[:'components']).is_a?(Array)
100
+ self.components = value
101
+ end
102
+ else
103
+ self.components = nil
104
+ end
105
+
106
+ if attributes.key?(:'customer_id')
107
+ self.customer_id = attributes[:'customer_id']
108
+ else
109
+ self.customer_id = nil
110
+ end
111
+
112
+ if attributes.key?(:'maintenances')
113
+ if (value = attributes[:'maintenances']).is_a?(Array)
114
+ self.maintenances = value
115
+ end
116
+ else
117
+ self.maintenances = nil
118
+ end
119
+
120
+ if attributes.key?(:'name')
121
+ self.name = attributes[:'name']
122
+ else
123
+ self.name = nil
124
+ end
125
+
126
+ if attributes.key?(:'ongoing_incidents')
127
+ if (value = attributes[:'ongoing_incidents']).is_a?(Array)
128
+ self.ongoing_incidents = value
129
+ end
130
+ else
131
+ self.ongoing_incidents = nil
132
+ end
133
+
134
+ if attributes.key?(:'recent_incidents')
135
+ if (value = attributes[:'recent_incidents']).is_a?(Array)
136
+ self.recent_incidents = value
137
+ end
138
+ else
139
+ self.recent_incidents = nil
140
+ end
141
+
142
+ if attributes.key?(:'status')
143
+ self.status = attributes[:'status']
144
+ else
145
+ self.status = nil
146
+ end
147
+ end
148
+
149
+ # Show invalid properties with the reasons. Usually used together with valid?
150
+ # @return Array for valid properties with the reasons
151
+ def list_invalid_properties
152
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
153
+ invalid_properties = Array.new
154
+ if @components.nil?
155
+ invalid_properties.push('invalid value for "components", components cannot be nil.')
156
+ end
157
+
158
+ if @customer_id.nil?
159
+ invalid_properties.push('invalid value for "customer_id", customer_id cannot be nil.')
160
+ end
161
+
162
+ if @maintenances.nil?
163
+ invalid_properties.push('invalid value for "maintenances", maintenances cannot be nil.')
164
+ end
165
+
166
+ if @name.nil?
167
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
168
+ end
169
+
170
+ if @ongoing_incidents.nil?
171
+ invalid_properties.push('invalid value for "ongoing_incidents", ongoing_incidents cannot be nil.')
172
+ end
173
+
174
+ if @recent_incidents.nil?
175
+ invalid_properties.push('invalid value for "recent_incidents", recent_incidents cannot be nil.')
176
+ end
177
+
178
+ if @status.nil?
179
+ invalid_properties.push('invalid value for "status", status cannot be nil.')
180
+ end
181
+
182
+ invalid_properties
183
+ end
184
+
185
+ # Check to see if the all the properties in the model are valid
186
+ # @return true if the model is valid
187
+ def valid?
188
+ warn '[DEPRECATED] the `valid?` method is obsolete'
189
+ return false if @components.nil?
190
+ return false if @customer_id.nil?
191
+ return false if @maintenances.nil?
192
+ return false if @name.nil?
193
+ return false if @ongoing_incidents.nil?
194
+ return false if @recent_incidents.nil?
195
+ return false if @status.nil?
196
+ true
197
+ end
198
+
199
+ # Custom attribute writer method with validation
200
+ # @param [Object] components Value to be assigned
201
+ def components=(components)
202
+ if components.nil?
203
+ fail ArgumentError, 'components cannot be nil'
204
+ end
205
+
206
+ @components = components
207
+ end
208
+
209
+ # Custom attribute writer method with validation
210
+ # @param [Object] customer_id Value to be assigned
211
+ def customer_id=(customer_id)
212
+ if customer_id.nil?
213
+ fail ArgumentError, 'customer_id cannot be nil'
214
+ end
215
+
216
+ @customer_id = customer_id
217
+ end
218
+
219
+ # Custom attribute writer method with validation
220
+ # @param [Object] maintenances Value to be assigned
221
+ def maintenances=(maintenances)
222
+ if maintenances.nil?
223
+ fail ArgumentError, 'maintenances cannot be nil'
224
+ end
225
+
226
+ @maintenances = maintenances
227
+ end
228
+
229
+ # Custom attribute writer method with validation
230
+ # @param [Object] name Value to be assigned
231
+ def name=(name)
232
+ if name.nil?
233
+ fail ArgumentError, 'name cannot be nil'
234
+ end
235
+
236
+ @name = name
237
+ end
238
+
239
+ # Custom attribute writer method with validation
240
+ # @param [Object] ongoing_incidents Value to be assigned
241
+ def ongoing_incidents=(ongoing_incidents)
242
+ if ongoing_incidents.nil?
243
+ fail ArgumentError, 'ongoing_incidents cannot be nil'
244
+ end
245
+
246
+ @ongoing_incidents = ongoing_incidents
247
+ end
248
+
249
+ # Custom attribute writer method with validation
250
+ # @param [Object] recent_incidents Value to be assigned
251
+ def recent_incidents=(recent_incidents)
252
+ if recent_incidents.nil?
253
+ fail ArgumentError, 'recent_incidents cannot be nil'
254
+ end
255
+
256
+ @recent_incidents = recent_incidents
257
+ end
258
+
259
+ # Custom attribute writer method with validation
260
+ # @param [Object] status Value to be assigned
261
+ def status=(status)
262
+ if status.nil?
263
+ fail ArgumentError, 'status cannot be nil'
264
+ end
265
+
266
+ @status = status
267
+ end
268
+
269
+ # Checks equality by comparing each attribute.
270
+ # @param [Object] Object to be compared
271
+ def ==(o)
272
+ return true if self.equal?(o)
273
+ self.class == o.class &&
274
+ components == o.components &&
275
+ customer_id == o.customer_id &&
276
+ maintenances == o.maintenances &&
277
+ name == o.name &&
278
+ ongoing_incidents == o.ongoing_incidents &&
279
+ recent_incidents == o.recent_incidents &&
280
+ status == o.status
281
+ end
282
+
283
+ # @see the `==` method
284
+ # @param [Object] Object to be compared
285
+ def eql?(o)
286
+ self == o
287
+ end
288
+
289
+ # Calculates hash code according to all attributes.
290
+ # @return [Integer] Hash code
291
+ def hash
292
+ [components, customer_id, maintenances, name, ongoing_incidents, recent_incidents, status].hash
293
+ end
294
+
295
+ # Builds the object from hash
296
+ # @param [Hash] attributes Model attributes in the form of hash
297
+ # @return [Object] Returns the model itself
298
+ def self.build_from_hash(attributes)
299
+ return nil unless attributes.is_a?(Hash)
300
+ attributes = attributes.transform_keys(&:to_sym)
301
+ transformed_hash = {}
302
+ openapi_types.each_pair do |key, type|
303
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
304
+ transformed_hash["#{key}"] = nil
305
+ elsif type =~ /\AArray<(.*)>/i
306
+ # check to ensure the input is an array given that the attribute
307
+ # is documented as an array but the input is not
308
+ if attributes[attribute_map[key]].is_a?(Array)
309
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
310
+ end
311
+ elsif !attributes[attribute_map[key]].nil?
312
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
313
+ end
314
+ end
315
+ new(transformed_hash)
316
+ end
317
+
318
+ # Returns the object in the form of hash
319
+ # @return [Hash] Returns the object in the form of hash
320
+ def to_hash
321
+ hash = {}
322
+ self.class.attribute_map.each_pair do |attr, param|
323
+ value = self.send(attr)
324
+ if value.nil?
325
+ is_nullable = self.class.openapi_nullable.include?(attr)
326
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
327
+ end
328
+
329
+ hash[param] = _to_hash(value)
330
+ end
331
+ hash
332
+ end
333
+
334
+ end
335
+
336
+ 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 StatusPagesShowStatusPageCustomerPageResultV2 < ApiModelBase
18
+ attr_accessor :customer_page
19
+
20
+ # Attribute mapping from ruby-style variable name to JSON key.
21
+ def self.attribute_map
22
+ {
23
+ :'customer_page' => :'customer_page'
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
+ :'customer_page' => :'StatusPageCustomerPageV2'
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::StatusPagesShowStatusPageCustomerPageResultV2` 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::StatusPagesShowStatusPageCustomerPageResultV2`. 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?(:'customer_page')
67
+ self.customer_page = attributes[:'customer_page']
68
+ else
69
+ self.customer_page = 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 @customer_page.nil?
79
+ invalid_properties.push('invalid value for "customer_page", customer_page 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 @customer_page.nil?
90
+ true
91
+ end
92
+
93
+ # Custom attribute writer method with validation
94
+ # @param [Object] customer_page Value to be assigned
95
+ def customer_page=(customer_page)
96
+ if customer_page.nil?
97
+ fail ArgumentError, 'customer_page cannot be nil'
98
+ end
99
+
100
+ @customer_page = customer_page
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
+ customer_page == o.customer_page
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
+ [customer_page].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
@@ -4,5 +4,5 @@ module IncidentIo
4
4
  # The release workflow sets this before building, so it tracks whatever we
5
5
  # last published. Listed in .openapi-generator-ignore so regeneration can't
6
6
  # reset it.
7
- VERSION = "2.44.0"
7
+ VERSION = "2.45.0"
8
8
  end
data/lib/incident_io.rb CHANGED
@@ -1365,6 +1365,10 @@ IncidentIo.autoload :StatusPageComponentsListResultV2, 'incident_io/models/statu
1365
1365
  IncidentIo.autoload :StatusPageComponentsShowResultV2, 'incident_io/models/status_page_components_show_result_v2'
1366
1366
  IncidentIo.autoload :StatusPageComponentsUpdatePayloadV2, 'incident_io/models/status_page_components_update_payload_v2'
1367
1367
  IncidentIo.autoload :StatusPageComponentsUpdateResultV2, 'incident_io/models/status_page_components_update_result_v2'
1368
+ IncidentIo.autoload :StatusPageCustomerPageComponentV2, 'incident_io/models/status_page_customer_page_component_v2'
1369
+ IncidentIo.autoload :StatusPageCustomerPageGroupV2, 'incident_io/models/status_page_customer_page_group_v2'
1370
+ IncidentIo.autoload :StatusPageCustomerPageItemV2, 'incident_io/models/status_page_customer_page_item_v2'
1371
+ IncidentIo.autoload :StatusPageCustomerPageV2, 'incident_io/models/status_page_customer_page_v2'
1368
1372
  IncidentIo.autoload :StatusPageIncidentAffectedComponentV2, 'incident_io/models/status_page_incident_affected_component_v2'
1369
1373
  IncidentIo.autoload :StatusPageIncidentComponentImpactV2, 'incident_io/models/status_page_incident_component_impact_v2'
1370
1374
  IncidentIo.autoload :StatusPageIncidentUpdateV2, 'incident_io/models/status_page_incident_update_v2'
@@ -1398,6 +1402,7 @@ IncidentIo.autoload :StatusPagesListStatusPageIncidentsResultV2, 'incident_io/mo
1398
1402
  IncidentIo.autoload :StatusPagesListStatusPageMaintenancesResultV2, 'incident_io/models/status_pages_list_status_page_maintenances_result_v2'
1399
1403
  IncidentIo.autoload :StatusPagesListStatusPagesResultV2, 'incident_io/models/status_pages_list_status_pages_result_v2'
1400
1404
  IncidentIo.autoload :StatusPagesShowStatusPageComponentAvailabilityResultV2, 'incident_io/models/status_pages_show_status_page_component_availability_result_v2'
1405
+ IncidentIo.autoload :StatusPagesShowStatusPageCustomerPageResultV2, 'incident_io/models/status_pages_show_status_page_customer_page_result_v2'
1401
1406
  IncidentIo.autoload :StatusPagesShowStatusPageIncidentResultV2, 'incident_io/models/status_pages_show_status_page_incident_result_v2'
1402
1407
  IncidentIo.autoload :StatusPagesShowStatusPageMaintenanceResultV2, 'incident_io/models/status_pages_show_status_page_maintenance_result_v2'
1403
1408
  IncidentIo.autoload :StatusPagesShowStatusPageResultV2, 'incident_io/models/status_pages_show_status_page_result_v2'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: incident_io_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.44.0
4
+ version: 2.45.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - incident.io
@@ -1493,6 +1493,10 @@ files:
1493
1493
  - lib/incident_io/models/status_page_components_show_result_v2.rb
1494
1494
  - lib/incident_io/models/status_page_components_update_payload_v2.rb
1495
1495
  - lib/incident_io/models/status_page_components_update_result_v2.rb
1496
+ - lib/incident_io/models/status_page_customer_page_component_v2.rb
1497
+ - lib/incident_io/models/status_page_customer_page_group_v2.rb
1498
+ - lib/incident_io/models/status_page_customer_page_item_v2.rb
1499
+ - lib/incident_io/models/status_page_customer_page_v2.rb
1496
1500
  - lib/incident_io/models/status_page_incident_affected_component_v2.rb
1497
1501
  - lib/incident_io/models/status_page_incident_component_impact_v2.rb
1498
1502
  - lib/incident_io/models/status_page_incident_update_v2.rb
@@ -1526,6 +1530,7 @@ files:
1526
1530
  - lib/incident_io/models/status_pages_list_status_page_maintenances_result_v2.rb
1527
1531
  - lib/incident_io/models/status_pages_list_status_pages_result_v2.rb
1528
1532
  - lib/incident_io/models/status_pages_show_status_page_component_availability_result_v2.rb
1533
+ - lib/incident_io/models/status_pages_show_status_page_customer_page_result_v2.rb
1529
1534
  - lib/incident_io/models/status_pages_show_status_page_incident_result_v2.rb
1530
1535
  - lib/incident_io/models/status_pages_show_status_page_maintenance_result_v2.rb
1531
1536
  - lib/incident_io/models/status_pages_show_status_page_result_v2.rb