mux_ruby 3.3.1 → 3.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +13 -7
  4. data/docs/Asset.md +1 -1
  5. data/docs/AssetNonStandardInputReasons.md +2 -2
  6. data/docs/AssetResponse.md +1 -1
  7. data/docs/AssetsApi.md +8 -0
  8. data/docs/Broadcast.md +30 -0
  9. data/docs/BroadcastLayout.md +15 -0
  10. data/docs/BroadcastResolution.md +15 -0
  11. data/docs/BroadcastResponse.md +18 -0
  12. data/docs/BroadcastStatus.md +15 -0
  13. data/docs/CreateBroadcastRequest.md +26 -0
  14. data/docs/CreateLiveStreamRequest.md +3 -1
  15. data/docs/CreatePlaybackIDResponse.md +1 -1
  16. data/docs/CreatePlaybackRestrictionRequest.md +1 -1
  17. data/docs/CreateSimulcastTargetRequest.md +1 -1
  18. data/docs/CreateSpaceRequest.md +22 -0
  19. data/docs/CreateTrackResponse.md +1 -1
  20. data/docs/DirectUploadsApi.md +6 -0
  21. data/docs/GetAssetPlaybackIDResponse.md +1 -1
  22. data/docs/GetLiveStreamPlaybackIDResponse.md +1 -1
  23. data/docs/IncidentResponse.md +1 -1
  24. data/docs/InputSettings.md +3 -3
  25. data/docs/ListSpacesResponse.md +18 -0
  26. data/docs/LiveStream.md +3 -1
  27. data/docs/LiveStreamResponse.md +1 -1
  28. data/docs/LiveStreamsApi.md +16 -4
  29. data/docs/MetricsApi.md +3 -3
  30. data/docs/PlaybackRestrictionResponse.md +1 -1
  31. data/docs/PlaybackRestrictionsApi.md +6 -6
  32. data/docs/RealTimeApi.md +2 -2
  33. data/docs/SigningKeyResponse.md +1 -1
  34. data/docs/SimulcastTargetResponse.md +1 -1
  35. data/docs/Space.md +30 -0
  36. data/docs/SpaceResponse.md +18 -0
  37. data/docs/SpaceStatus.md +15 -0
  38. data/docs/SpaceType.md +15 -0
  39. data/docs/SpacesApi.md +658 -0
  40. data/docs/StartSpaceBroadcastResponse.md +18 -0
  41. data/docs/StopSpaceBroadcastResponse.md +18 -0
  42. data/docs/Track.md +9 -7
  43. data/docs/UpdateLiveStreamRequest.md +3 -1
  44. data/docs/UpdateReferrerDomainRestrictionRequest.md +37 -5
  45. data/docs/UploadResponse.md +1 -1
  46. data/docs/VideoViewResponse.md +1 -1
  47. data/gen/generator-config.json +1 -1
  48. data/gen/templates/README.mustache +9 -3
  49. data/lib/mux_ruby/api/assets_api.rb +8 -0
  50. data/lib/mux_ruby/api/direct_uploads_api.rb +6 -0
  51. data/lib/mux_ruby/api/live_streams_api.rb +14 -2
  52. data/lib/mux_ruby/api/metrics_api.rb +5 -5
  53. data/lib/mux_ruby/api/playback_restrictions_api.rb +9 -9
  54. data/lib/mux_ruby/api/real_time_api.rb +2 -2
  55. data/lib/mux_ruby/api/spaces_api.rb +619 -0
  56. data/lib/mux_ruby/models/abridged_video_view.rb +7 -0
  57. data/lib/mux_ruby/models/asset.rb +1 -1
  58. data/lib/mux_ruby/models/asset_non_standard_input_reasons.rb +2 -2
  59. data/lib/mux_ruby/models/broadcast.rb +305 -0
  60. data/lib/mux_ruby/models/broadcast_layout.rb +37 -0
  61. data/lib/mux_ruby/models/broadcast_resolution.rb +41 -0
  62. data/lib/mux_ruby/models/broadcast_response.rb +223 -0
  63. data/lib/mux_ruby/models/broadcast_status.rb +37 -0
  64. data/lib/mux_ruby/models/create_broadcast_request.rb +266 -0
  65. data/lib/mux_ruby/models/create_live_stream_request.rb +40 -4
  66. data/lib/mux_ruby/models/create_simulcast_target_request.rb +1 -1
  67. data/lib/mux_ruby/models/create_space_request.rb +242 -0
  68. data/lib/mux_ruby/models/input_settings.rb +3 -3
  69. data/lib/mux_ruby/models/list_spaces_response.rb +225 -0
  70. data/lib/mux_ruby/models/live_stream.rb +40 -4
  71. data/lib/mux_ruby/models/space.rb +301 -0
  72. data/lib/mux_ruby/models/space_response.rb +223 -0
  73. data/lib/mux_ruby/models/space_status.rb +37 -0
  74. data/lib/mux_ruby/models/space_type.rb +36 -0
  75. data/lib/mux_ruby/models/start_space_broadcast_response.rb +218 -0
  76. data/lib/mux_ruby/models/stop_space_broadcast_response.rb +218 -0
  77. data/lib/mux_ruby/models/track.rb +32 -10
  78. data/lib/mux_ruby/models/update_live_stream_request.rb +40 -4
  79. data/lib/mux_ruby/models/update_referrer_domain_restriction_request.rb +74 -179
  80. data/lib/mux_ruby/models/video_view.rb +103 -0
  81. data/lib/mux_ruby/version.rb +1 -1
  82. data/lib/mux_ruby.rb +15 -0
  83. data/spec/api/spaces_api_spec.rb +149 -0
  84. data/spec/models/broadcast_layout_spec.rb +28 -0
  85. data/spec/models/broadcast_resolution_spec.rb +28 -0
  86. data/spec/models/broadcast_response_spec.rb +34 -0
  87. data/spec/models/broadcast_spec.rb +70 -0
  88. data/spec/models/broadcast_status_spec.rb +28 -0
  89. data/spec/models/create_broadcast_request_spec.rb +58 -0
  90. data/spec/models/create_space_request_spec.rb +46 -0
  91. data/spec/models/list_spaces_response_spec.rb +34 -0
  92. data/spec/models/space_response_spec.rb +34 -0
  93. data/spec/models/space_spec.rb +70 -0
  94. data/spec/models/space_status_spec.rb +28 -0
  95. data/spec/models/space_type_spec.rb +28 -0
  96. data/spec/models/start_space_broadcast_response_spec.rb +34 -0
  97. data/spec/models/stop_space_broadcast_response_spec.rb +34 -0
  98. metadata +159 -99
@@ -0,0 +1,218 @@
1
+ =begin
2
+ #Mux API
3
+
4
+ #Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before.
5
+
6
+ The version of the OpenAPI document: v1
7
+ Contact: devex@mux.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.0.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module MuxRuby
17
+ class StopSpaceBroadcastResponse
18
+ attr_accessor :data
19
+
20
+ # Attribute mapping from ruby-style variable name to JSON key.
21
+ def self.attribute_map
22
+ {
23
+ :'data' => :'data'
24
+ }
25
+ end
26
+
27
+ # Returns all the JSON keys this model knows about
28
+ def self.acceptable_attributes
29
+ attribute_map.values
30
+ end
31
+
32
+ # Attribute type mapping.
33
+ def self.openapi_types
34
+ {
35
+ :'data' => :'Object'
36
+ }
37
+ end
38
+
39
+ # List of attributes with nullable: true
40
+ def self.openapi_nullable
41
+ Set.new([
42
+ ])
43
+ end
44
+
45
+ # Initializes the object
46
+ # @param [Hash] attributes Model attributes in the form of hash
47
+ def initialize(attributes = {})
48
+ if (!attributes.is_a?(Hash))
49
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MuxRuby::StopSpaceBroadcastResponse` initialize method"
50
+ end
51
+
52
+ # check to see if the attribute exists and convert string to symbol for hash key
53
+ attributes = attributes.each_with_object({}) { |(k, v), h|
54
+ if (!self.class.attribute_map.key?(k.to_sym))
55
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MuxRuby::StopSpaceBroadcastResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
+ end
57
+ h[k.to_sym] = v
58
+ }
59
+
60
+ if attributes.key?(:'data')
61
+ self.data = attributes[:'data']
62
+ end
63
+ end
64
+
65
+ # Show invalid properties with the reasons. Usually used together with valid?
66
+ # @return Array for valid properties with the reasons
67
+ def list_invalid_properties
68
+ invalid_properties = Array.new
69
+ invalid_properties
70
+ end
71
+
72
+ # Check to see if the all the properties in the model are valid
73
+ # @return true if the model is valid
74
+ def valid?
75
+ true
76
+ end
77
+
78
+ # Checks equality by comparing each attribute.
79
+ # @param [Object] Object to be compared
80
+ def ==(o)
81
+ return true if self.equal?(o)
82
+ self.class == o.class &&
83
+ data == o.data
84
+ end
85
+
86
+ # @see the `==` method
87
+ # @param [Object] Object to be compared
88
+ def eql?(o)
89
+ self == o
90
+ end
91
+
92
+ # Calculates hash code according to all attributes.
93
+ # @return [Integer] Hash code
94
+ def hash
95
+ [data].hash
96
+ end
97
+
98
+ # Builds the object from hash
99
+ # @param [Hash] attributes Model attributes in the form of hash
100
+ # @return [Object] Returns the model itself
101
+ def self.build_from_hash(attributes)
102
+ new.build_from_hash(attributes)
103
+ end
104
+
105
+ # Builds the object from hash
106
+ # @param [Hash] attributes Model attributes in the form of hash
107
+ # @return [Object] Returns the model itself
108
+ def build_from_hash(attributes)
109
+ return nil unless attributes.is_a?(Hash)
110
+ self.class.openapi_types.each_pair do |key, type|
111
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
112
+ self.send("#{key}=", nil)
113
+ elsif type =~ /\AArray<(.*)>/i
114
+ # check to ensure the input is an array given that the attribute
115
+ # is documented as an array but the input is not
116
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
117
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
118
+ end
119
+ elsif !attributes[self.class.attribute_map[key]].nil?
120
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
121
+ end
122
+ end
123
+
124
+ self
125
+ end
126
+
127
+ # Deserializes the data based on type
128
+ # @param string type Data type
129
+ # @param string value Value to be deserialized
130
+ # @return [Object] Deserialized data
131
+ def _deserialize(type, value)
132
+ case type.to_sym
133
+ when :Time
134
+ Time.parse(value)
135
+ when :Date
136
+ Date.parse(value)
137
+ when :String
138
+ value.to_s
139
+ when :Integer
140
+ value.to_i
141
+ when :Float
142
+ value.to_f
143
+ when :Boolean
144
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
145
+ true
146
+ else
147
+ false
148
+ end
149
+ when :Object
150
+ # generic object (usually a Hash), return directly
151
+ value
152
+ when /\AArray<(?<inner_type>.+)>\z/
153
+ inner_type = Regexp.last_match[:inner_type]
154
+ value.map { |v| _deserialize(inner_type, v) }
155
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
156
+ k_type = Regexp.last_match[:k_type]
157
+ v_type = Regexp.last_match[:v_type]
158
+ {}.tap do |hash|
159
+ value.each do |k, v|
160
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
161
+ end
162
+ end
163
+ else # model
164
+ # models (e.g. Pet) or oneOf
165
+ klass = MuxRuby.const_get(type)
166
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
167
+ end
168
+ end
169
+
170
+ # Returns the string representation of the object
171
+ # @return [String] String presentation of the object
172
+ def to_s
173
+ to_hash.to_s
174
+ end
175
+
176
+ # to_body is an alias to to_hash (backward compatibility)
177
+ # @return [Hash] Returns the object in the form of hash
178
+ def to_body
179
+ to_hash
180
+ end
181
+
182
+ # Returns the object in the form of hash
183
+ # @return [Hash] Returns the object in the form of hash
184
+ def to_hash
185
+ hash = {}
186
+ self.class.attribute_map.each_pair do |attr, param|
187
+ value = self.send(attr)
188
+ if value.nil?
189
+ is_nullable = self.class.openapi_nullable.include?(attr)
190
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
191
+ end
192
+
193
+ hash[param] = _to_hash(value)
194
+ end
195
+ hash
196
+ end
197
+
198
+ # Outputs non-array value in the form of hash
199
+ # For object, use to_hash. Otherwise, just return the value
200
+ # @param [Object] value Any valid value
201
+ # @return [Hash] Returns the value in the form of hash
202
+ def _to_hash(value)
203
+ if value.is_a?(Array)
204
+ value.compact.map { |v| _to_hash(v) }
205
+ elsif value.is_a?(Hash)
206
+ {}.tap do |hash|
207
+ value.each { |k, v| hash[k] = _to_hash(v) }
208
+ end
209
+ elsif value.respond_to? :to_hash
210
+ value.to_hash
211
+ else
212
+ value
213
+ end
214
+ end
215
+
216
+ end
217
+
218
+ end
@@ -21,7 +21,7 @@ module MuxRuby
21
21
  # The type of track
22
22
  attr_accessor :type
23
23
 
24
- # The duration in seconds of the track media. This parameter is not set for the `text` type track. This field is optional and may not be set. The top level `duration` field of an asset will always be set.
24
+ # The duration in seconds of the track media. This parameter is not set for `text` type tracks. This field is optional and may not be set. The top level `duration` field of an asset will always be set.
25
25
  attr_accessor :duration
26
26
 
27
27
  # The maximum width in pixels available for the track. Only set for the `video` type track.
@@ -39,21 +39,24 @@ module MuxRuby
39
39
  # Only set for the `audio` type track.
40
40
  attr_accessor :max_channel_layout
41
41
 
42
- # This parameter is set only for the `text` type track.
42
+ # This parameter is only set for `text` type tracks.
43
43
  attr_accessor :text_type
44
44
 
45
- # The language code value represents [BCP 47](https://tools.ietf.org/html/bcp47) specification compliant value. For example, `en` for English or `en-US` for the US version of English. This parameter is set for `text` type and `subtitles` text type track.
45
+ # The language code value represents [BCP 47](https://tools.ietf.org/html/bcp47) specification compliant value. For example, `en` for English or `en-US` for the US version of English. This parameter is only set for `text` type and `subtitles` text type tracks.
46
46
  attr_accessor :language_code
47
47
 
48
- # The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is \"English\" for subtitles text track for the `language_code` value of `en-US`. This parameter is set for the `text` type and `subtitles` text type track.
48
+ # The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is \"English\" for subtitles text track for the `language_code` value of `en-US`. This parameter is only set for `text` type and `subtitles` text type tracks.
49
49
  attr_accessor :name
50
50
 
51
- # Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is set for the `text` type and `subtitles` text type track.
51
+ # Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for `text` type and `subtitles` text type tracks.
52
52
  attr_accessor :closed_captions
53
53
 
54
- # Arbitrary user-supplied metadata set for the track either when creating the asset or track. This parameter is set for `text` type and `subtitles` text type track. Max 255 characters.
54
+ # Arbitrary user-supplied metadata set for the track either when creating the asset or track. This parameter is only set for `text` type tracks. Max 255 characters.
55
55
  attr_accessor :passthrough
56
56
 
57
+ # The status of the track. This parameter is only set for `text` type tracks.
58
+ attr_accessor :status
59
+
57
60
  class EnumAttributeValidator
58
61
  attr_reader :datatype
59
62
  attr_reader :allowable_values
@@ -91,7 +94,8 @@ module MuxRuby
91
94
  :'language_code' => :'language_code',
92
95
  :'name' => :'name',
93
96
  :'closed_captions' => :'closed_captions',
94
- :'passthrough' => :'passthrough'
97
+ :'passthrough' => :'passthrough',
98
+ :'status' => :'status'
95
99
  }
96
100
  end
97
101
 
@@ -115,7 +119,8 @@ module MuxRuby
115
119
  :'language_code' => :'String',
116
120
  :'name' => :'String',
117
121
  :'closed_captions' => :'Boolean',
118
- :'passthrough' => :'String'
122
+ :'passthrough' => :'String',
123
+ :'status' => :'String'
119
124
  }
120
125
  end
121
126
 
@@ -191,6 +196,10 @@ module MuxRuby
191
196
  if attributes.key?(:'passthrough')
192
197
  self.passthrough = attributes[:'passthrough']
193
198
  end
199
+
200
+ if attributes.key?(:'status')
201
+ self.status = attributes[:'status']
202
+ end
194
203
  end
195
204
 
196
205
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -207,6 +216,8 @@ module MuxRuby
207
216
  return false unless type_validator.valid?(@type)
208
217
  text_type_validator = EnumAttributeValidator.new('String', ["subtitles"])
209
218
  return false unless text_type_validator.valid?(@text_type)
219
+ status_validator = EnumAttributeValidator.new('String', ["preparing", "ready", "errored"])
220
+ return false unless status_validator.valid?(@status)
210
221
  true
211
222
  end
212
223
 
@@ -230,6 +241,16 @@ module MuxRuby
230
241
  @text_type = text_type
231
242
  end
232
243
 
244
+ # Custom attribute writer method checking allowed values (enum).
245
+ # @param [Object] status Object to be assigned
246
+ def status=(status)
247
+ validator = EnumAttributeValidator.new('String', ["preparing", "ready", "errored"])
248
+ unless validator.valid?(status)
249
+ fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}."
250
+ end
251
+ @status = status
252
+ end
253
+
233
254
  # Checks equality by comparing each attribute.
234
255
  # @param [Object] Object to be compared
235
256
  def ==(o)
@@ -247,7 +268,8 @@ module MuxRuby
247
268
  language_code == o.language_code &&
248
269
  name == o.name &&
249
270
  closed_captions == o.closed_captions &&
250
- passthrough == o.passthrough
271
+ passthrough == o.passthrough &&
272
+ status == o.status
251
273
  end
252
274
 
253
275
  # @see the `==` method
@@ -259,7 +281,7 @@ module MuxRuby
259
281
  # Calculates hash code according to all attributes.
260
282
  # @return [Integer] Hash code
261
283
  def hash
262
- [id, type, duration, max_width, max_height, max_frame_rate, max_channels, max_channel_layout, text_type, language_code, name, closed_captions, passthrough].hash
284
+ [id, type, duration, max_width, max_height, max_frame_rate, max_channels, max_channel_layout, text_type, language_code, name, closed_captions, passthrough, status].hash
263
285
  end
264
286
 
265
287
  # Builds the object from hash
@@ -24,6 +24,9 @@ module MuxRuby
24
24
  # When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset.
25
25
  attr_accessor :reconnect_window
26
26
 
27
+ # The time in seconds a live stream may be continuously active before being disconnected. Defaults to 12 hours.
28
+ attr_accessor :max_continuous_duration
29
+
27
30
  class EnumAttributeValidator
28
31
  attr_reader :datatype
29
32
  attr_reader :allowable_values
@@ -51,7 +54,8 @@ module MuxRuby
51
54
  {
52
55
  :'passthrough' => :'passthrough',
53
56
  :'latency_mode' => :'latency_mode',
54
- :'reconnect_window' => :'reconnect_window'
57
+ :'reconnect_window' => :'reconnect_window',
58
+ :'max_continuous_duration' => :'max_continuous_duration'
55
59
  }
56
60
  end
57
61
 
@@ -65,7 +69,8 @@ module MuxRuby
65
69
  {
66
70
  :'passthrough' => :'String',
67
71
  :'latency_mode' => :'String',
68
- :'reconnect_window' => :'Float'
72
+ :'reconnect_window' => :'Float',
73
+ :'max_continuous_duration' => :'Integer'
69
74
  }
70
75
  end
71
76
 
@@ -101,6 +106,12 @@ module MuxRuby
101
106
  if attributes.key?(:'reconnect_window')
102
107
  self.reconnect_window = attributes[:'reconnect_window']
103
108
  end
109
+
110
+ if attributes.key?(:'max_continuous_duration')
111
+ self.max_continuous_duration = attributes[:'max_continuous_duration']
112
+ else
113
+ self.max_continuous_duration = 43200
114
+ end
104
115
  end
105
116
 
106
117
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -115,6 +126,14 @@ module MuxRuby
115
126
  invalid_properties.push('invalid value for "reconnect_window", must be greater than or equal to 0.1.')
116
127
  end
117
128
 
129
+ if !@max_continuous_duration.nil? && @max_continuous_duration > 43200
130
+ invalid_properties.push('invalid value for "max_continuous_duration", must be smaller than or equal to 43200.')
131
+ end
132
+
133
+ if !@max_continuous_duration.nil? && @max_continuous_duration < 60
134
+ invalid_properties.push('invalid value for "max_continuous_duration", must be greater than or equal to 60.')
135
+ end
136
+
118
137
  invalid_properties
119
138
  end
120
139
 
@@ -125,6 +144,8 @@ module MuxRuby
125
144
  return false unless latency_mode_validator.valid?(@latency_mode)
126
145
  return false if !@reconnect_window.nil? && @reconnect_window > 300
127
146
  return false if !@reconnect_window.nil? && @reconnect_window < 0.1
147
+ return false if !@max_continuous_duration.nil? && @max_continuous_duration > 43200
148
+ return false if !@max_continuous_duration.nil? && @max_continuous_duration < 60
128
149
  true
129
150
  end
130
151
 
@@ -152,6 +173,20 @@ module MuxRuby
152
173
  @reconnect_window = reconnect_window
153
174
  end
154
175
 
176
+ # Custom attribute writer method with validation
177
+ # @param [Object] max_continuous_duration Value to be assigned
178
+ def max_continuous_duration=(max_continuous_duration)
179
+ if !max_continuous_duration.nil? && max_continuous_duration > 43200
180
+ fail ArgumentError, 'invalid value for "max_continuous_duration", must be smaller than or equal to 43200.'
181
+ end
182
+
183
+ if !max_continuous_duration.nil? && max_continuous_duration < 60
184
+ fail ArgumentError, 'invalid value for "max_continuous_duration", must be greater than or equal to 60.'
185
+ end
186
+
187
+ @max_continuous_duration = max_continuous_duration
188
+ end
189
+
155
190
  # Checks equality by comparing each attribute.
156
191
  # @param [Object] Object to be compared
157
192
  def ==(o)
@@ -159,7 +194,8 @@ module MuxRuby
159
194
  self.class == o.class &&
160
195
  passthrough == o.passthrough &&
161
196
  latency_mode == o.latency_mode &&
162
- reconnect_window == o.reconnect_window
197
+ reconnect_window == o.reconnect_window &&
198
+ max_continuous_duration == o.max_continuous_duration
163
199
  end
164
200
 
165
201
  # @see the `==` method
@@ -171,7 +207,7 @@ module MuxRuby
171
207
  # Calculates hash code according to all attributes.
172
208
  # @return [Integer] Hash code
173
209
  def hash
174
- [passthrough, latency_mode, reconnect_window].hash
210
+ [passthrough, latency_mode, reconnect_window, max_continuous_duration].hash
175
211
  end
176
212
 
177
213
  # Builds the object from hash