mimic-browser 0.1.0 → 0.1.1
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/README.md +13 -12
- data/lib/mimic_sdk/ferrum.rb +130 -18
- data/lib/mimic_sdk/generated.rb +2477 -121
- data/lib/mimic_sdk/runtime-lock.json +18 -18
- data/lib/mimic_sdk/runtime.rb +11 -2
- data/lib/mimic_sdk/transport.rb +59 -4
- data/lib/mimic_sdk.rb +1 -1
- metadata +1 -1
data/lib/mimic_sdk/generated.rb
CHANGED
|
@@ -51,825 +51,3181 @@ module MimicSDK
|
|
|
51
51
|
FIELDS = {width: "width", height: "height", frame_rate: "frameRate"}.freeze
|
|
52
52
|
TYPES = {width: nil, height: nil, frame_rate: nil}.freeze
|
|
53
53
|
REQUIRED = [:width, :height, :frame_rate].freeze
|
|
54
|
-
|
|
54
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
55
|
+
attr_accessor :width
|
|
56
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
57
|
+
attr_accessor :height
|
|
58
|
+
# @return [Numeric] UNSET until assigned when omitted.
|
|
59
|
+
attr_accessor :frame_rate
|
|
60
|
+
# @param width [Integer]
|
|
61
|
+
# @param height [Integer]
|
|
62
|
+
# @param frame_rate [Numeric]
|
|
63
|
+
def initialize(
|
|
64
|
+
width: UNSET,
|
|
65
|
+
height: UNSET,
|
|
66
|
+
frame_rate: UNSET
|
|
67
|
+
)
|
|
68
|
+
@width = width
|
|
69
|
+
@height = height
|
|
70
|
+
@frame_rate = frame_rate
|
|
71
|
+
end
|
|
55
72
|
end
|
|
56
73
|
class CancelExecutionParams < Model
|
|
57
74
|
FIELDS = {}.freeze
|
|
58
75
|
TYPES = {}.freeze
|
|
59
76
|
REQUIRED = [].freeze
|
|
60
|
-
|
|
77
|
+
def initialize
|
|
78
|
+
end
|
|
61
79
|
end
|
|
62
80
|
class CancelExecutionResult < Model
|
|
63
81
|
FIELDS = {cancelled: "cancelled"}.freeze
|
|
64
82
|
TYPES = {cancelled: nil}.freeze
|
|
65
83
|
REQUIRED = [:cancelled].freeze
|
|
66
|
-
|
|
84
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
85
|
+
attr_accessor :cancelled
|
|
86
|
+
# @param cancelled [Boolean]
|
|
87
|
+
def initialize(
|
|
88
|
+
cancelled: UNSET
|
|
89
|
+
)
|
|
90
|
+
@cancelled = cancelled
|
|
91
|
+
end
|
|
67
92
|
end
|
|
68
93
|
class CaptureSnapshotParams < Model
|
|
69
94
|
FIELDS = {interrupt: "interrupt"}.freeze
|
|
70
95
|
TYPES = {interrupt: nil}.freeze
|
|
71
96
|
REQUIRED = [].freeze
|
|
72
|
-
|
|
97
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
98
|
+
attr_accessor :interrupt
|
|
99
|
+
# @param interrupt [Boolean]
|
|
100
|
+
def initialize(
|
|
101
|
+
interrupt: UNSET
|
|
102
|
+
)
|
|
103
|
+
@interrupt = interrupt
|
|
104
|
+
end
|
|
73
105
|
end
|
|
74
106
|
class CaptureSnapshotResult < Model
|
|
75
107
|
FIELDS = {url: "url", files: "files", warnings: "warnings", timings_ms: "timingsMs"}.freeze
|
|
76
108
|
TYPES = {url: nil, files: [:map, nil], warnings: [:array, nil], timings_ms: [:map, nil]}.freeze
|
|
77
109
|
REQUIRED = [:url, :files, :warnings, :timings_ms].freeze
|
|
78
|
-
|
|
110
|
+
# @return [String] UNSET until assigned when omitted.
|
|
111
|
+
attr_accessor :url
|
|
112
|
+
# @return [Hash{String => String}] UNSET until assigned when omitted.
|
|
113
|
+
attr_accessor :files
|
|
114
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
115
|
+
attr_accessor :warnings
|
|
116
|
+
# @return [Hash{String => Integer}] UNSET until assigned when omitted.
|
|
117
|
+
attr_accessor :timings_ms
|
|
118
|
+
# @param url [String]
|
|
119
|
+
# @param files [Hash{String => String}]
|
|
120
|
+
# @param warnings [Array<String>]
|
|
121
|
+
# @param timings_ms [Hash{String => Integer}]
|
|
122
|
+
def initialize(
|
|
123
|
+
url: UNSET,
|
|
124
|
+
files: UNSET,
|
|
125
|
+
warnings: UNSET,
|
|
126
|
+
timings_ms: UNSET
|
|
127
|
+
)
|
|
128
|
+
@url = url
|
|
129
|
+
@files = files
|
|
130
|
+
@warnings = warnings
|
|
131
|
+
@timings_ms = timings_ms
|
|
132
|
+
end
|
|
79
133
|
end
|
|
80
134
|
class ClearTraceParams < Model
|
|
81
135
|
FIELDS = {}.freeze
|
|
82
136
|
TYPES = {}.freeze
|
|
83
137
|
REQUIRED = [].freeze
|
|
84
|
-
|
|
138
|
+
def initialize
|
|
139
|
+
end
|
|
85
140
|
end
|
|
86
141
|
class ClearTraceResult < Model
|
|
87
142
|
FIELDS = {}.freeze
|
|
88
143
|
TYPES = {}.freeze
|
|
89
144
|
REQUIRED = [].freeze
|
|
90
|
-
|
|
145
|
+
def initialize
|
|
146
|
+
end
|
|
91
147
|
end
|
|
92
148
|
class ConfigureContextParams < Model
|
|
93
149
|
FIELDS = {profile: "profile", proxy: "proxy", resource_policy: "resourcePolicy", media: "media", browser_context_id: "browserContextId"}.freeze
|
|
94
150
|
TYPES = {profile: "ProfileSelection", proxy: "Proxy", resource_policy: "ResourcePolicy", media: "MediaConfiguration", browser_context_id: nil}.freeze
|
|
95
151
|
REQUIRED = [:browser_context_id].freeze
|
|
96
|
-
|
|
152
|
+
# @return [String, GenerateProfileSelection] UNSET until assigned when omitted.
|
|
153
|
+
attr_accessor :profile
|
|
154
|
+
# @return [Proxy] UNSET until assigned when omitted.
|
|
155
|
+
attr_accessor :proxy
|
|
156
|
+
# @return [ResourcePolicy] UNSET until assigned when omitted.
|
|
157
|
+
attr_accessor :resource_policy
|
|
158
|
+
# @return [MediaConfiguration] UNSET until assigned when omitted.
|
|
159
|
+
attr_accessor :media
|
|
160
|
+
# @return [String] UNSET until assigned when omitted.
|
|
161
|
+
attr_accessor :browser_context_id
|
|
162
|
+
# @param profile [String, GenerateProfileSelection]
|
|
163
|
+
# @param proxy [Proxy]
|
|
164
|
+
# @param resource_policy [ResourcePolicy]
|
|
165
|
+
# @param media [MediaConfiguration]
|
|
166
|
+
# @param browser_context_id [String]
|
|
167
|
+
def initialize(
|
|
168
|
+
profile: UNSET,
|
|
169
|
+
proxy: UNSET,
|
|
170
|
+
resource_policy: UNSET,
|
|
171
|
+
media: UNSET,
|
|
172
|
+
browser_context_id: UNSET
|
|
173
|
+
)
|
|
174
|
+
@profile = profile
|
|
175
|
+
@proxy = proxy
|
|
176
|
+
@resource_policy = resource_policy
|
|
177
|
+
@media = media
|
|
178
|
+
@browser_context_id = browser_context_id
|
|
179
|
+
end
|
|
97
180
|
end
|
|
98
181
|
class ConfigureContextResult < Model
|
|
99
182
|
FIELDS = {profile: "profile", profile_id: "profileId", mode: "mode", warnings: "warnings", browser_context_id: "browserContextId", media: "media"}.freeze
|
|
100
183
|
TYPES = {profile: nil, profile_id: nil, mode: nil, warnings: [:array, nil], browser_context_id: nil, media: "MediaProfile"}.freeze
|
|
101
184
|
REQUIRED = [:profile, :profile_id, :mode, :warnings, :browser_context_id].freeze
|
|
102
|
-
|
|
185
|
+
# @return [String] UNSET until assigned when omitted.
|
|
186
|
+
attr_accessor :profile
|
|
187
|
+
# @return [String] UNSET until assigned when omitted.
|
|
188
|
+
attr_accessor :profile_id
|
|
189
|
+
# @return [String] UNSET until assigned when omitted.
|
|
190
|
+
attr_accessor :mode
|
|
191
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
192
|
+
attr_accessor :warnings
|
|
193
|
+
# @return [String] UNSET until assigned when omitted.
|
|
194
|
+
attr_accessor :browser_context_id
|
|
195
|
+
# @return [MediaProfile] UNSET until assigned when omitted.
|
|
196
|
+
attr_accessor :media
|
|
197
|
+
# @param profile [String]
|
|
198
|
+
# @param profile_id [String]
|
|
199
|
+
# @param mode [String]
|
|
200
|
+
# @param warnings [Array<String>]
|
|
201
|
+
# @param browser_context_id [String]
|
|
202
|
+
# @param media [MediaProfile]
|
|
203
|
+
def initialize(
|
|
204
|
+
profile: UNSET,
|
|
205
|
+
profile_id: UNSET,
|
|
206
|
+
mode: UNSET,
|
|
207
|
+
warnings: UNSET,
|
|
208
|
+
browser_context_id: UNSET,
|
|
209
|
+
media: UNSET
|
|
210
|
+
)
|
|
211
|
+
@profile = profile
|
|
212
|
+
@profile_id = profile_id
|
|
213
|
+
@mode = mode
|
|
214
|
+
@warnings = warnings
|
|
215
|
+
@browser_context_id = browser_context_id
|
|
216
|
+
@media = media
|
|
217
|
+
end
|
|
103
218
|
end
|
|
104
219
|
class CreateContextParams < Model
|
|
105
220
|
FIELDS = {profile: "profile", proxy: "proxy", resource_policy: "resourcePolicy", dispose_on_detach: "disposeOnDetach", media: "media"}.freeze
|
|
106
221
|
TYPES = {profile: "ProfileSelection", proxy: "Proxy", resource_policy: "ResourcePolicy", dispose_on_detach: nil, media: "MediaConfiguration"}.freeze
|
|
107
222
|
REQUIRED = [].freeze
|
|
108
|
-
|
|
223
|
+
# @return [String, GenerateProfileSelection] UNSET until assigned when omitted.
|
|
224
|
+
attr_accessor :profile
|
|
225
|
+
# @return [Proxy] UNSET until assigned when omitted.
|
|
226
|
+
attr_accessor :proxy
|
|
227
|
+
# @return [ResourcePolicy] UNSET until assigned when omitted.
|
|
228
|
+
attr_accessor :resource_policy
|
|
229
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
230
|
+
attr_accessor :dispose_on_detach
|
|
231
|
+
# @return [MediaConfiguration] UNSET until assigned when omitted.
|
|
232
|
+
attr_accessor :media
|
|
233
|
+
# @param profile [String, GenerateProfileSelection]
|
|
234
|
+
# @param proxy [Proxy]
|
|
235
|
+
# @param resource_policy [ResourcePolicy]
|
|
236
|
+
# @param dispose_on_detach [Boolean]
|
|
237
|
+
# @param media [MediaConfiguration]
|
|
238
|
+
def initialize(
|
|
239
|
+
profile: UNSET,
|
|
240
|
+
proxy: UNSET,
|
|
241
|
+
resource_policy: UNSET,
|
|
242
|
+
dispose_on_detach: UNSET,
|
|
243
|
+
media: UNSET
|
|
244
|
+
)
|
|
245
|
+
@profile = profile
|
|
246
|
+
@proxy = proxy
|
|
247
|
+
@resource_policy = resource_policy
|
|
248
|
+
@dispose_on_detach = dispose_on_detach
|
|
249
|
+
@media = media
|
|
250
|
+
end
|
|
109
251
|
end
|
|
110
252
|
class CreateContextResult < Model
|
|
111
253
|
FIELDS = {profile: "profile", profile_id: "profileId", mode: "mode", warnings: "warnings", browser_context_id: "browserContextId", media: "media"}.freeze
|
|
112
254
|
TYPES = {profile: nil, profile_id: nil, mode: nil, warnings: [:array, nil], browser_context_id: nil, media: "MediaProfile"}.freeze
|
|
113
255
|
REQUIRED = [:profile, :profile_id, :mode, :warnings, :browser_context_id].freeze
|
|
114
|
-
|
|
256
|
+
# @return [String] UNSET until assigned when omitted.
|
|
257
|
+
attr_accessor :profile
|
|
258
|
+
# @return [String] UNSET until assigned when omitted.
|
|
259
|
+
attr_accessor :profile_id
|
|
260
|
+
# @return [String] UNSET until assigned when omitted.
|
|
261
|
+
attr_accessor :mode
|
|
262
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
263
|
+
attr_accessor :warnings
|
|
264
|
+
# @return [String] UNSET until assigned when omitted.
|
|
265
|
+
attr_accessor :browser_context_id
|
|
266
|
+
# @return [MediaProfile] UNSET until assigned when omitted.
|
|
267
|
+
attr_accessor :media
|
|
268
|
+
# @param profile [String]
|
|
269
|
+
# @param profile_id [String]
|
|
270
|
+
# @param mode [String]
|
|
271
|
+
# @param warnings [Array<String>]
|
|
272
|
+
# @param browser_context_id [String]
|
|
273
|
+
# @param media [MediaProfile]
|
|
274
|
+
def initialize(
|
|
275
|
+
profile: UNSET,
|
|
276
|
+
profile_id: UNSET,
|
|
277
|
+
mode: UNSET,
|
|
278
|
+
warnings: UNSET,
|
|
279
|
+
browser_context_id: UNSET,
|
|
280
|
+
media: UNSET
|
|
281
|
+
)
|
|
282
|
+
@profile = profile
|
|
283
|
+
@profile_id = profile_id
|
|
284
|
+
@mode = mode
|
|
285
|
+
@warnings = warnings
|
|
286
|
+
@browser_context_id = browser_context_id
|
|
287
|
+
@media = media
|
|
288
|
+
end
|
|
115
289
|
end
|
|
116
290
|
class DiagnosticCost < Model
|
|
117
291
|
FIELDS = {count: "count", ns: "ns"}.freeze
|
|
118
292
|
TYPES = {count: nil, ns: nil}.freeze
|
|
119
293
|
REQUIRED = [:count, :ns].freeze
|
|
120
|
-
|
|
294
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
295
|
+
attr_accessor :count
|
|
296
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
297
|
+
attr_accessor :ns
|
|
298
|
+
# @param count [Integer]
|
|
299
|
+
# @param ns [Integer]
|
|
300
|
+
def initialize(
|
|
301
|
+
count: UNSET,
|
|
302
|
+
ns: UNSET
|
|
303
|
+
)
|
|
304
|
+
@count = count
|
|
305
|
+
@ns = ns
|
|
306
|
+
end
|
|
121
307
|
end
|
|
122
308
|
class Diagnostics < Model
|
|
123
309
|
FIELDS = {enabled: "enabled", host_only: "hostOnly", costs: "costs", cpu_profiles: "cpu_profiles", realms: "realms"}.freeze
|
|
124
310
|
TYPES = {enabled: nil, host_only: nil, costs: [:map, "DiagnosticCost"], cpu_profiles: [:map, nil], realms: [:array, "RealmDiagnostics"]}.freeze
|
|
125
311
|
REQUIRED = [:enabled].freeze
|
|
126
|
-
|
|
312
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
313
|
+
attr_accessor :enabled
|
|
314
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
315
|
+
attr_accessor :host_only
|
|
316
|
+
# @return [Hash{String => DiagnosticCost}] UNSET until assigned when omitted.
|
|
317
|
+
attr_accessor :costs
|
|
318
|
+
# @return [Hash{String => Object}] UNSET until assigned when omitted.
|
|
319
|
+
attr_accessor :cpu_profiles
|
|
320
|
+
# @return [Array<RealmDiagnostics>] UNSET until assigned when omitted.
|
|
321
|
+
attr_accessor :realms
|
|
322
|
+
# @param enabled [Boolean]
|
|
323
|
+
# @param host_only [Boolean]
|
|
324
|
+
# @param costs [Hash{String => DiagnosticCost}]
|
|
325
|
+
# @param cpu_profiles [Hash{String => Object}]
|
|
326
|
+
# @param realms [Array<RealmDiagnostics>]
|
|
327
|
+
def initialize(
|
|
328
|
+
enabled: UNSET,
|
|
329
|
+
host_only: UNSET,
|
|
330
|
+
costs: UNSET,
|
|
331
|
+
cpu_profiles: UNSET,
|
|
332
|
+
realms: UNSET
|
|
333
|
+
)
|
|
334
|
+
@enabled = enabled
|
|
335
|
+
@host_only = host_only
|
|
336
|
+
@costs = costs
|
|
337
|
+
@cpu_profiles = cpu_profiles
|
|
338
|
+
@realms = realms
|
|
339
|
+
end
|
|
127
340
|
end
|
|
128
341
|
class Empty < Model
|
|
129
342
|
FIELDS = {}.freeze
|
|
130
343
|
TYPES = {}.freeze
|
|
131
344
|
REQUIRED = [].freeze
|
|
132
|
-
|
|
345
|
+
def initialize
|
|
346
|
+
end
|
|
133
347
|
end
|
|
134
348
|
class EnvironmentAudio < Model
|
|
135
349
|
FIELDS = {sample_rate: "sampleRate", channels: "channels", buffer_duration: "bufferDuration", max_buffer_frames: "maxBufferFrames"}.freeze
|
|
136
350
|
TYPES = {sample_rate: nil, channels: nil, buffer_duration: nil, max_buffer_frames: nil}.freeze
|
|
137
351
|
REQUIRED = [].freeze
|
|
138
|
-
|
|
352
|
+
# @return [Numeric] UNSET until assigned when omitted.
|
|
353
|
+
attr_accessor :sample_rate
|
|
354
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
355
|
+
attr_accessor :channels
|
|
356
|
+
# @return [Numeric] UNSET until assigned when omitted.
|
|
357
|
+
attr_accessor :buffer_duration
|
|
358
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
359
|
+
attr_accessor :max_buffer_frames
|
|
360
|
+
# @param sample_rate [Numeric]
|
|
361
|
+
# @param channels [Integer]
|
|
362
|
+
# @param buffer_duration [Numeric]
|
|
363
|
+
# @param max_buffer_frames [Integer]
|
|
364
|
+
def initialize(
|
|
365
|
+
sample_rate: UNSET,
|
|
366
|
+
channels: UNSET,
|
|
367
|
+
buffer_duration: UNSET,
|
|
368
|
+
max_buffer_frames: UNSET
|
|
369
|
+
)
|
|
370
|
+
@sample_rate = sample_rate
|
|
371
|
+
@channels = channels
|
|
372
|
+
@buffer_duration = buffer_duration
|
|
373
|
+
@max_buffer_frames = max_buffer_frames
|
|
374
|
+
end
|
|
139
375
|
end
|
|
140
376
|
class EnvironmentCapabilities < Model
|
|
141
377
|
FIELDS = {storage_quota_bytes: "storageQuotaBytes", devices: "devices", media: "media", keyboard_layout: "keyboardLayout"}.freeze
|
|
142
378
|
TYPES = {storage_quota_bytes: nil, devices: "EnvironmentDeviceCapabilities", media: "EnvironmentMediaCapabilities", keyboard_layout: [:map, nil]}.freeze
|
|
143
379
|
REQUIRED = [].freeze
|
|
144
|
-
|
|
380
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
381
|
+
attr_accessor :storage_quota_bytes
|
|
382
|
+
# @return [EnvironmentDeviceCapabilities] UNSET until assigned when omitted.
|
|
383
|
+
attr_accessor :devices
|
|
384
|
+
# @return [EnvironmentMediaCapabilities] UNSET until assigned when omitted.
|
|
385
|
+
attr_accessor :media
|
|
386
|
+
# @return [Hash{String => String}] UNSET until assigned when omitted.
|
|
387
|
+
attr_accessor :keyboard_layout
|
|
388
|
+
# @param storage_quota_bytes [Integer]
|
|
389
|
+
# @param devices [EnvironmentDeviceCapabilities]
|
|
390
|
+
# @param media [EnvironmentMediaCapabilities]
|
|
391
|
+
# @param keyboard_layout [Hash{String => String}]
|
|
392
|
+
def initialize(
|
|
393
|
+
storage_quota_bytes: UNSET,
|
|
394
|
+
devices: UNSET,
|
|
395
|
+
media: UNSET,
|
|
396
|
+
keyboard_layout: UNSET
|
|
397
|
+
)
|
|
398
|
+
@storage_quota_bytes = storage_quota_bytes
|
|
399
|
+
@devices = devices
|
|
400
|
+
@media = media
|
|
401
|
+
@keyboard_layout = keyboard_layout
|
|
402
|
+
end
|
|
145
403
|
end
|
|
146
404
|
class EnvironmentDeviceCapabilities < Model
|
|
147
405
|
FIELDS = {bluetooth_available: "bluetoothAvailable", posture: "posture"}.freeze
|
|
148
406
|
TYPES = {bluetooth_available: nil, posture: nil}.freeze
|
|
149
407
|
REQUIRED = [].freeze
|
|
150
|
-
|
|
408
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
409
|
+
attr_accessor :bluetooth_available
|
|
410
|
+
# @return [String] UNSET until assigned when omitted.
|
|
411
|
+
attr_accessor :posture
|
|
412
|
+
# @param bluetooth_available [Boolean]
|
|
413
|
+
# @param posture [String]
|
|
414
|
+
def initialize(
|
|
415
|
+
bluetooth_available: UNSET,
|
|
416
|
+
posture: UNSET
|
|
417
|
+
)
|
|
418
|
+
@bluetooth_available = bluetooth_available
|
|
419
|
+
@posture = posture
|
|
420
|
+
end
|
|
151
421
|
end
|
|
152
422
|
class EnvironmentDisplay < Model
|
|
153
423
|
FIELDS = {width: "width", height: "height", available_width: "availableWidth", available_height: "availableHeight", device_scale_factor: "deviceScaleFactor", color_depth: "colorDepth", orientation: "orientation"}.freeze
|
|
154
424
|
TYPES = {width: nil, height: nil, available_width: nil, available_height: nil, device_scale_factor: nil, color_depth: nil, orientation: "EnvironmentScreenOrientation"}.freeze
|
|
155
425
|
REQUIRED = [].freeze
|
|
156
|
-
|
|
426
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
427
|
+
attr_accessor :width
|
|
428
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
429
|
+
attr_accessor :height
|
|
430
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
431
|
+
attr_accessor :available_width
|
|
432
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
433
|
+
attr_accessor :available_height
|
|
434
|
+
# @return [Numeric] UNSET until assigned when omitted.
|
|
435
|
+
attr_accessor :device_scale_factor
|
|
436
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
437
|
+
attr_accessor :color_depth
|
|
438
|
+
# @return [EnvironmentScreenOrientation] UNSET until assigned when omitted.
|
|
439
|
+
attr_accessor :orientation
|
|
440
|
+
# @param width [Integer]
|
|
441
|
+
# @param height [Integer]
|
|
442
|
+
# @param available_width [Integer]
|
|
443
|
+
# @param available_height [Integer]
|
|
444
|
+
# @param device_scale_factor [Numeric]
|
|
445
|
+
# @param color_depth [Integer]
|
|
446
|
+
# @param orientation [EnvironmentScreenOrientation]
|
|
447
|
+
def initialize(
|
|
448
|
+
width: UNSET,
|
|
449
|
+
height: UNSET,
|
|
450
|
+
available_width: UNSET,
|
|
451
|
+
available_height: UNSET,
|
|
452
|
+
device_scale_factor: UNSET,
|
|
453
|
+
color_depth: UNSET,
|
|
454
|
+
orientation: UNSET
|
|
455
|
+
)
|
|
456
|
+
@width = width
|
|
457
|
+
@height = height
|
|
458
|
+
@available_width = available_width
|
|
459
|
+
@available_height = available_height
|
|
460
|
+
@device_scale_factor = device_scale_factor
|
|
461
|
+
@color_depth = color_depth
|
|
462
|
+
@orientation = orientation
|
|
463
|
+
end
|
|
157
464
|
end
|
|
158
465
|
class EnvironmentFonts < Model
|
|
159
466
|
FIELDS = {serif: "serif", sans_serif: "sansSerif", monospace: "monospace", system_u_i: "systemUI", system: "system", fallback: "fallback"}.freeze
|
|
160
467
|
TYPES = {serif: nil, sans_serif: nil, monospace: nil, system_u_i: nil, system: [:map, nil], fallback: [:array, nil]}.freeze
|
|
161
468
|
REQUIRED = [].freeze
|
|
162
|
-
|
|
469
|
+
# @return [String] UNSET until assigned when omitted.
|
|
470
|
+
attr_accessor :serif
|
|
471
|
+
# @return [String] UNSET until assigned when omitted.
|
|
472
|
+
attr_accessor :sans_serif
|
|
473
|
+
# @return [String] UNSET until assigned when omitted.
|
|
474
|
+
attr_accessor :monospace
|
|
475
|
+
# @return [String] UNSET until assigned when omitted.
|
|
476
|
+
attr_accessor :system_u_i
|
|
477
|
+
# @return [Hash{String => String}] UNSET until assigned when omitted.
|
|
478
|
+
attr_accessor :system
|
|
479
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
480
|
+
attr_accessor :fallback
|
|
481
|
+
# @param serif [String]
|
|
482
|
+
# @param sans_serif [String]
|
|
483
|
+
# @param monospace [String]
|
|
484
|
+
# @param system_u_i [String]
|
|
485
|
+
# @param system [Hash{String => String}]
|
|
486
|
+
# @param fallback [Array<String>]
|
|
487
|
+
def initialize(
|
|
488
|
+
serif: UNSET,
|
|
489
|
+
sans_serif: UNSET,
|
|
490
|
+
monospace: UNSET,
|
|
491
|
+
system_u_i: UNSET,
|
|
492
|
+
system: UNSET,
|
|
493
|
+
fallback: UNSET
|
|
494
|
+
)
|
|
495
|
+
@serif = serif
|
|
496
|
+
@sans_serif = sans_serif
|
|
497
|
+
@monospace = monospace
|
|
498
|
+
@system_u_i = system_u_i
|
|
499
|
+
@system = system
|
|
500
|
+
@fallback = fallback
|
|
501
|
+
end
|
|
163
502
|
end
|
|
164
503
|
class EnvironmentGPUAdapter < Model
|
|
165
504
|
FIELDS = {vendor: "vendor", architecture: "architecture", device: "device", description: "description", subgroup_min_size: "subgroupMinSize", subgroup_max_size: "subgroupMaxSize", is_fallback_adapter: "isFallbackAdapter", features: "features", limits: "limits", wgsl_language_features: "wgslLanguageFeatures", initialization_delay_millis: "initializationDelayMillis"}.freeze
|
|
166
505
|
TYPES = {vendor: nil, architecture: nil, device: nil, description: nil, subgroup_min_size: nil, subgroup_max_size: nil, is_fallback_adapter: nil, features: [:array, nil], limits: [:map, nil], wgsl_language_features: [:array, nil], initialization_delay_millis: nil}.freeze
|
|
167
506
|
REQUIRED = [].freeze
|
|
168
|
-
|
|
507
|
+
# @return [String] UNSET until assigned when omitted.
|
|
508
|
+
attr_accessor :vendor
|
|
509
|
+
# @return [String] UNSET until assigned when omitted.
|
|
510
|
+
attr_accessor :architecture
|
|
511
|
+
# @return [String] UNSET until assigned when omitted.
|
|
512
|
+
attr_accessor :device
|
|
513
|
+
# @return [String] UNSET until assigned when omitted.
|
|
514
|
+
attr_accessor :description
|
|
515
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
516
|
+
attr_accessor :subgroup_min_size
|
|
517
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
518
|
+
attr_accessor :subgroup_max_size
|
|
519
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
520
|
+
attr_accessor :is_fallback_adapter
|
|
521
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
522
|
+
attr_accessor :features
|
|
523
|
+
# @return [Hash{String => Integer}] UNSET until assigned when omitted.
|
|
524
|
+
attr_accessor :limits
|
|
525
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
526
|
+
attr_accessor :wgsl_language_features
|
|
527
|
+
# @return [Numeric] UNSET until assigned when omitted.
|
|
528
|
+
attr_accessor :initialization_delay_millis
|
|
529
|
+
# @param vendor [String]
|
|
530
|
+
# @param architecture [String]
|
|
531
|
+
# @param device [String]
|
|
532
|
+
# @param description [String]
|
|
533
|
+
# @param subgroup_min_size [Integer]
|
|
534
|
+
# @param subgroup_max_size [Integer]
|
|
535
|
+
# @param is_fallback_adapter [Boolean]
|
|
536
|
+
# @param features [Array<String>]
|
|
537
|
+
# @param limits [Hash{String => Integer}]
|
|
538
|
+
# @param wgsl_language_features [Array<String>]
|
|
539
|
+
# @param initialization_delay_millis [Numeric]
|
|
540
|
+
def initialize(
|
|
541
|
+
vendor: UNSET,
|
|
542
|
+
architecture: UNSET,
|
|
543
|
+
device: UNSET,
|
|
544
|
+
description: UNSET,
|
|
545
|
+
subgroup_min_size: UNSET,
|
|
546
|
+
subgroup_max_size: UNSET,
|
|
547
|
+
is_fallback_adapter: UNSET,
|
|
548
|
+
features: UNSET,
|
|
549
|
+
limits: UNSET,
|
|
550
|
+
wgsl_language_features: UNSET,
|
|
551
|
+
initialization_delay_millis: UNSET
|
|
552
|
+
)
|
|
553
|
+
@vendor = vendor
|
|
554
|
+
@architecture = architecture
|
|
555
|
+
@device = device
|
|
556
|
+
@description = description
|
|
557
|
+
@subgroup_min_size = subgroup_min_size
|
|
558
|
+
@subgroup_max_size = subgroup_max_size
|
|
559
|
+
@is_fallback_adapter = is_fallback_adapter
|
|
560
|
+
@features = features
|
|
561
|
+
@limits = limits
|
|
562
|
+
@wgsl_language_features = wgsl_language_features
|
|
563
|
+
@initialization_delay_millis = initialization_delay_millis
|
|
564
|
+
end
|
|
169
565
|
end
|
|
170
566
|
class EnvironmentGraphics < Model
|
|
171
567
|
FIELDS = {vendor: "vendor", renderer: "renderer", max_texture_size: "maxTextureSize", web_g_l_capabilities_j_s_o_n: "webGLCapabilitiesJSON", web_g_p_u: "webGPU", web_g_p_u_adapters: "webGPUAdapters"}.freeze
|
|
172
568
|
TYPES = {vendor: nil, renderer: nil, max_texture_size: nil, web_g_l_capabilities_j_s_o_n: nil, web_g_p_u: "EnvironmentGPUAdapter", web_g_p_u_adapters: [:map, "EnvironmentGPUAdapter"]}.freeze
|
|
173
569
|
REQUIRED = [].freeze
|
|
174
|
-
|
|
570
|
+
# @return [String] UNSET until assigned when omitted.
|
|
571
|
+
attr_accessor :vendor
|
|
572
|
+
# @return [String] UNSET until assigned when omitted.
|
|
573
|
+
attr_accessor :renderer
|
|
574
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
575
|
+
attr_accessor :max_texture_size
|
|
576
|
+
# @return [String] UNSET until assigned when omitted.
|
|
577
|
+
attr_accessor :web_g_l_capabilities_j_s_o_n
|
|
578
|
+
# @return [EnvironmentGPUAdapter] UNSET until assigned when omitted.
|
|
579
|
+
attr_accessor :web_g_p_u
|
|
580
|
+
# @return [Hash{String => EnvironmentGPUAdapter}] UNSET until assigned when omitted.
|
|
581
|
+
attr_accessor :web_g_p_u_adapters
|
|
582
|
+
# @param vendor [String]
|
|
583
|
+
# @param renderer [String]
|
|
584
|
+
# @param max_texture_size [Integer]
|
|
585
|
+
# @param web_g_l_capabilities_j_s_o_n [String]
|
|
586
|
+
# @param web_g_p_u [EnvironmentGPUAdapter]
|
|
587
|
+
# @param web_g_p_u_adapters [Hash{String => EnvironmentGPUAdapter}]
|
|
588
|
+
def initialize(
|
|
589
|
+
vendor: UNSET,
|
|
590
|
+
renderer: UNSET,
|
|
591
|
+
max_texture_size: UNSET,
|
|
592
|
+
web_g_l_capabilities_j_s_o_n: UNSET,
|
|
593
|
+
web_g_p_u: UNSET,
|
|
594
|
+
web_g_p_u_adapters: UNSET
|
|
595
|
+
)
|
|
596
|
+
@vendor = vendor
|
|
597
|
+
@renderer = renderer
|
|
598
|
+
@max_texture_size = max_texture_size
|
|
599
|
+
@web_g_l_capabilities_j_s_o_n = web_g_l_capabilities_j_s_o_n
|
|
600
|
+
@web_g_p_u = web_g_p_u
|
|
601
|
+
@web_g_p_u_adapters = web_g_p_u_adapters
|
|
602
|
+
end
|
|
175
603
|
end
|
|
176
604
|
class EnvironmentHardware < Model
|
|
177
605
|
FIELDS = {cpu_performance: "cpuPerformance", cpu_performance_known: "cpuPerformanceKnown", logical_processors: "logicalProcessors", device_memory_g_b: "deviceMemoryGB"}.freeze
|
|
178
606
|
TYPES = {cpu_performance: nil, cpu_performance_known: nil, logical_processors: nil, device_memory_g_b: nil}.freeze
|
|
179
607
|
REQUIRED = [].freeze
|
|
180
|
-
|
|
608
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
609
|
+
attr_accessor :cpu_performance
|
|
610
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
611
|
+
attr_accessor :cpu_performance_known
|
|
612
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
613
|
+
attr_accessor :logical_processors
|
|
614
|
+
# @return [Numeric] UNSET until assigned when omitted.
|
|
615
|
+
attr_accessor :device_memory_g_b
|
|
616
|
+
# @param cpu_performance [Integer]
|
|
617
|
+
# @param cpu_performance_known [Boolean]
|
|
618
|
+
# @param logical_processors [Integer]
|
|
619
|
+
# @param device_memory_g_b [Numeric]
|
|
620
|
+
def initialize(
|
|
621
|
+
cpu_performance: UNSET,
|
|
622
|
+
cpu_performance_known: UNSET,
|
|
623
|
+
logical_processors: UNSET,
|
|
624
|
+
device_memory_g_b: UNSET
|
|
625
|
+
)
|
|
626
|
+
@cpu_performance = cpu_performance
|
|
627
|
+
@cpu_performance_known = cpu_performance_known
|
|
628
|
+
@logical_processors = logical_processors
|
|
629
|
+
@device_memory_g_b = device_memory_g_b
|
|
630
|
+
end
|
|
181
631
|
end
|
|
182
632
|
class EnvironmentICEProfile < Model
|
|
183
633
|
FIELDS = {host_candidate_count: "hostCandidateCount", reflexive_candidate_count: "reflexiveCandidateCount", port_offsets: "portOffsets", reflexive_port_offsets: "reflexivePortOffsets", public_address: "publicAddress", network_cost: "networkCost", host_delay_millis: "hostDelayMillis", reflexive_delay_millis: "reflexiveDelayMillis", end_delay_millis: "endDelayMillis"}.freeze
|
|
184
634
|
TYPES = {host_candidate_count: nil, reflexive_candidate_count: nil, port_offsets: [:array, nil], reflexive_port_offsets: [:array, nil], public_address: nil, network_cost: nil, host_delay_millis: nil, reflexive_delay_millis: nil, end_delay_millis: nil}.freeze
|
|
185
635
|
REQUIRED = [].freeze
|
|
186
|
-
|
|
636
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
637
|
+
attr_accessor :host_candidate_count
|
|
638
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
639
|
+
attr_accessor :reflexive_candidate_count
|
|
640
|
+
# @return [Array<Integer>] UNSET until assigned when omitted.
|
|
641
|
+
attr_accessor :port_offsets
|
|
642
|
+
# @return [Array<Integer>] UNSET until assigned when omitted.
|
|
643
|
+
attr_accessor :reflexive_port_offsets
|
|
644
|
+
# @return [String] UNSET until assigned when omitted.
|
|
645
|
+
attr_accessor :public_address
|
|
646
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
647
|
+
attr_accessor :network_cost
|
|
648
|
+
# @return [Numeric] UNSET until assigned when omitted.
|
|
649
|
+
attr_accessor :host_delay_millis
|
|
650
|
+
# @return [Numeric] UNSET until assigned when omitted.
|
|
651
|
+
attr_accessor :reflexive_delay_millis
|
|
652
|
+
# @return [Numeric] UNSET until assigned when omitted.
|
|
653
|
+
attr_accessor :end_delay_millis
|
|
654
|
+
# @param host_candidate_count [Integer]
|
|
655
|
+
# @param reflexive_candidate_count [Integer]
|
|
656
|
+
# @param port_offsets [Array<Integer>]
|
|
657
|
+
# @param reflexive_port_offsets [Array<Integer>]
|
|
658
|
+
# @param public_address [String]
|
|
659
|
+
# @param network_cost [Integer]
|
|
660
|
+
# @param host_delay_millis [Numeric]
|
|
661
|
+
# @param reflexive_delay_millis [Numeric]
|
|
662
|
+
# @param end_delay_millis [Numeric]
|
|
663
|
+
def initialize(
|
|
664
|
+
host_candidate_count: UNSET,
|
|
665
|
+
reflexive_candidate_count: UNSET,
|
|
666
|
+
port_offsets: UNSET,
|
|
667
|
+
reflexive_port_offsets: UNSET,
|
|
668
|
+
public_address: UNSET,
|
|
669
|
+
network_cost: UNSET,
|
|
670
|
+
host_delay_millis: UNSET,
|
|
671
|
+
reflexive_delay_millis: UNSET,
|
|
672
|
+
end_delay_millis: UNSET
|
|
673
|
+
)
|
|
674
|
+
@host_candidate_count = host_candidate_count
|
|
675
|
+
@reflexive_candidate_count = reflexive_candidate_count
|
|
676
|
+
@port_offsets = port_offsets
|
|
677
|
+
@reflexive_port_offsets = reflexive_port_offsets
|
|
678
|
+
@public_address = public_address
|
|
679
|
+
@network_cost = network_cost
|
|
680
|
+
@host_delay_millis = host_delay_millis
|
|
681
|
+
@reflexive_delay_millis = reflexive_delay_millis
|
|
682
|
+
@end_delay_millis = end_delay_millis
|
|
683
|
+
end
|
|
187
684
|
end
|
|
188
685
|
class EnvironmentIdentity < Model
|
|
189
686
|
FIELDS = {user_agent: "userAgent", platform: "platform", metadata: "metadata"}.freeze
|
|
190
687
|
TYPES = {user_agent: nil, platform: nil, metadata: "EnvironmentUserAgentMetadata"}.freeze
|
|
191
688
|
REQUIRED = [].freeze
|
|
192
|
-
|
|
689
|
+
# @return [String] UNSET until assigned when omitted.
|
|
690
|
+
attr_accessor :user_agent
|
|
691
|
+
# @return [String] UNSET until assigned when omitted.
|
|
692
|
+
attr_accessor :platform
|
|
693
|
+
# @return [EnvironmentUserAgentMetadata] UNSET until assigned when omitted.
|
|
694
|
+
attr_accessor :metadata
|
|
695
|
+
# @param user_agent [String]
|
|
696
|
+
# @param platform [String]
|
|
697
|
+
# @param metadata [EnvironmentUserAgentMetadata]
|
|
698
|
+
def initialize(
|
|
699
|
+
user_agent: UNSET,
|
|
700
|
+
platform: UNSET,
|
|
701
|
+
metadata: UNSET
|
|
702
|
+
)
|
|
703
|
+
@user_agent = user_agent
|
|
704
|
+
@platform = platform
|
|
705
|
+
@metadata = metadata
|
|
706
|
+
end
|
|
193
707
|
end
|
|
194
708
|
class EnvironmentLocale < Model
|
|
195
709
|
FIELDS = {reduce_accept_language: "reduceAcceptLanguage", languages: "languages", intl_locale: "intlLocale", timezone: "timezone"}.freeze
|
|
196
710
|
TYPES = {reduce_accept_language: nil, languages: [:array, nil], intl_locale: nil, timezone: nil}.freeze
|
|
197
711
|
REQUIRED = [].freeze
|
|
198
|
-
|
|
712
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
713
|
+
attr_accessor :reduce_accept_language
|
|
714
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
715
|
+
attr_accessor :languages
|
|
716
|
+
# @return [String] UNSET until assigned when omitted.
|
|
717
|
+
attr_accessor :intl_locale
|
|
718
|
+
# @return [String] UNSET until assigned when omitted.
|
|
719
|
+
attr_accessor :timezone
|
|
720
|
+
# @param reduce_accept_language [Boolean]
|
|
721
|
+
# @param languages [Array<String>]
|
|
722
|
+
# @param intl_locale [String]
|
|
723
|
+
# @param timezone [String]
|
|
724
|
+
def initialize(
|
|
725
|
+
reduce_accept_language: UNSET,
|
|
726
|
+
languages: UNSET,
|
|
727
|
+
intl_locale: UNSET,
|
|
728
|
+
timezone: UNSET
|
|
729
|
+
)
|
|
730
|
+
@reduce_accept_language = reduce_accept_language
|
|
731
|
+
@languages = languages
|
|
732
|
+
@intl_locale = intl_locale
|
|
733
|
+
@timezone = timezone
|
|
734
|
+
end
|
|
199
735
|
end
|
|
200
736
|
class EnvironmentMediaCapabilities < Model
|
|
201
737
|
FIELDS = {rtp: "rtp", formats: "formats", kinds: "kinds", supported_constraints: "supportedConstraints"}.freeze
|
|
202
738
|
TYPES = {rtp: [:map, "EnvironmentRTPMediaCatalog"], formats: "EnvironmentMediaFormatCatalog", kinds: [:array, nil], supported_constraints: [:array, nil]}.freeze
|
|
203
739
|
REQUIRED = [].freeze
|
|
204
|
-
|
|
740
|
+
# @return [Hash{String => EnvironmentRTPMediaCatalog}] UNSET until assigned when omitted.
|
|
741
|
+
attr_accessor :rtp
|
|
742
|
+
# @return [EnvironmentMediaFormatCatalog] UNSET until assigned when omitted.
|
|
743
|
+
attr_accessor :formats
|
|
744
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
745
|
+
attr_accessor :kinds
|
|
746
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
747
|
+
attr_accessor :supported_constraints
|
|
748
|
+
# @param rtp [Hash{String => EnvironmentRTPMediaCatalog}]
|
|
749
|
+
# @param formats [EnvironmentMediaFormatCatalog]
|
|
750
|
+
# @param kinds [Array<String>]
|
|
751
|
+
# @param supported_constraints [Array<String>]
|
|
752
|
+
def initialize(
|
|
753
|
+
rtp: UNSET,
|
|
754
|
+
formats: UNSET,
|
|
755
|
+
kinds: UNSET,
|
|
756
|
+
supported_constraints: UNSET
|
|
757
|
+
)
|
|
758
|
+
@rtp = rtp
|
|
759
|
+
@formats = formats
|
|
760
|
+
@kinds = kinds
|
|
761
|
+
@supported_constraints = supported_constraints
|
|
762
|
+
end
|
|
205
763
|
end
|
|
206
764
|
class EnvironmentMediaContainerPolicy < Model
|
|
207
765
|
FIELDS = {codecs: "codecs", default_codec: "defaultCodec", media_source: "mediaSource"}.freeze
|
|
208
766
|
TYPES = {codecs: [:array, nil], default_codec: nil, media_source: nil}.freeze
|
|
209
767
|
REQUIRED = [].freeze
|
|
210
|
-
|
|
768
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
769
|
+
attr_accessor :codecs
|
|
770
|
+
# @return [String] UNSET until assigned when omitted.
|
|
771
|
+
attr_accessor :default_codec
|
|
772
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
773
|
+
attr_accessor :media_source
|
|
774
|
+
# @param codecs [Array<String>]
|
|
775
|
+
# @param default_codec [String]
|
|
776
|
+
# @param media_source [Boolean]
|
|
777
|
+
def initialize(
|
|
778
|
+
codecs: UNSET,
|
|
779
|
+
default_codec: UNSET,
|
|
780
|
+
media_source: UNSET
|
|
781
|
+
)
|
|
782
|
+
@codecs = codecs
|
|
783
|
+
@default_codec = default_codec
|
|
784
|
+
@media_source = media_source
|
|
785
|
+
end
|
|
211
786
|
end
|
|
212
787
|
class EnvironmentMediaFormatCatalog < Model
|
|
213
788
|
FIELDS = {containers: "containers", efficient_video: "efficientVideo"}.freeze
|
|
214
789
|
TYPES = {containers: [:map, "EnvironmentMediaContainerPolicy"], efficient_video: [:array, nil]}.freeze
|
|
215
790
|
REQUIRED = [].freeze
|
|
216
|
-
|
|
791
|
+
# @return [Hash{String => EnvironmentMediaContainerPolicy}] UNSET until assigned when omitted.
|
|
792
|
+
attr_accessor :containers
|
|
793
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
794
|
+
attr_accessor :efficient_video
|
|
795
|
+
# @param containers [Hash{String => EnvironmentMediaContainerPolicy}]
|
|
796
|
+
# @param efficient_video [Array<String>]
|
|
797
|
+
def initialize(
|
|
798
|
+
containers: UNSET,
|
|
799
|
+
efficient_video: UNSET
|
|
800
|
+
)
|
|
801
|
+
@containers = containers
|
|
802
|
+
@efficient_video = efficient_video
|
|
803
|
+
end
|
|
217
804
|
end
|
|
218
805
|
class EnvironmentNetwork < Model
|
|
219
806
|
FIELDS = {save_data: "saveData", online: "online", effective_type: "effectiveType", downlink_mbps: "downlinkMbps", rtt_millis: "rttMillis", cookies_enabled: "cookiesEnabled", wire_profile: "wireProfile", ice: "ice", proxy: "proxy"}.freeze
|
|
220
807
|
TYPES = {save_data: nil, online: nil, effective_type: nil, downlink_mbps: nil, rtt_millis: nil, cookies_enabled: nil, wire_profile: nil, ice: "EnvironmentICEProfile", proxy: "EnvironmentProxy"}.freeze
|
|
221
808
|
REQUIRED = [].freeze
|
|
222
|
-
|
|
809
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
810
|
+
attr_accessor :save_data
|
|
811
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
812
|
+
attr_accessor :online
|
|
813
|
+
# @return [String] UNSET until assigned when omitted.
|
|
814
|
+
attr_accessor :effective_type
|
|
815
|
+
# @return [Numeric] UNSET until assigned when omitted.
|
|
816
|
+
attr_accessor :downlink_mbps
|
|
817
|
+
# @return [Numeric] UNSET until assigned when omitted.
|
|
818
|
+
attr_accessor :rtt_millis
|
|
819
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
820
|
+
attr_accessor :cookies_enabled
|
|
821
|
+
# @return [String] UNSET until assigned when omitted.
|
|
822
|
+
attr_accessor :wire_profile
|
|
823
|
+
# @return [EnvironmentICEProfile] UNSET until assigned when omitted.
|
|
824
|
+
attr_accessor :ice
|
|
825
|
+
# @return [EnvironmentProxy] UNSET until assigned when omitted.
|
|
826
|
+
attr_accessor :proxy
|
|
827
|
+
# @param save_data [Boolean]
|
|
828
|
+
# @param online [Boolean]
|
|
829
|
+
# @param effective_type [String]
|
|
830
|
+
# @param downlink_mbps [Numeric]
|
|
831
|
+
# @param rtt_millis [Numeric]
|
|
832
|
+
# @param cookies_enabled [Boolean]
|
|
833
|
+
# @param wire_profile [String]
|
|
834
|
+
# @param ice [EnvironmentICEProfile]
|
|
835
|
+
# @param proxy [EnvironmentProxy]
|
|
836
|
+
def initialize(
|
|
837
|
+
save_data: UNSET,
|
|
838
|
+
online: UNSET,
|
|
839
|
+
effective_type: UNSET,
|
|
840
|
+
downlink_mbps: UNSET,
|
|
841
|
+
rtt_millis: UNSET,
|
|
842
|
+
cookies_enabled: UNSET,
|
|
843
|
+
wire_profile: UNSET,
|
|
844
|
+
ice: UNSET,
|
|
845
|
+
proxy: UNSET
|
|
846
|
+
)
|
|
847
|
+
@save_data = save_data
|
|
848
|
+
@online = online
|
|
849
|
+
@effective_type = effective_type
|
|
850
|
+
@downlink_mbps = downlink_mbps
|
|
851
|
+
@rtt_millis = rtt_millis
|
|
852
|
+
@cookies_enabled = cookies_enabled
|
|
853
|
+
@wire_profile = wire_profile
|
|
854
|
+
@ice = ice
|
|
855
|
+
@proxy = proxy
|
|
856
|
+
end
|
|
223
857
|
end
|
|
224
858
|
class EnvironmentPreferences < Model
|
|
225
859
|
FIELDS = {color_scheme: "colorScheme", system_colors: "systemColors", reduced_motion: "reducedMotion", do_not_track: "doNotTrack"}.freeze
|
|
226
860
|
TYPES = {color_scheme: nil, system_colors: [:map, [:map, nil]], reduced_motion: nil, do_not_track: nil}.freeze
|
|
227
861
|
REQUIRED = [].freeze
|
|
228
|
-
|
|
862
|
+
# @return [String] UNSET until assigned when omitted.
|
|
863
|
+
attr_accessor :color_scheme
|
|
864
|
+
# @return [Hash{String => Hash{String => String}}] UNSET until assigned when omitted.
|
|
865
|
+
attr_accessor :system_colors
|
|
866
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
867
|
+
attr_accessor :reduced_motion
|
|
868
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
869
|
+
attr_accessor :do_not_track
|
|
870
|
+
# @param color_scheme [String]
|
|
871
|
+
# @param system_colors [Hash{String => Hash{String => String}}]
|
|
872
|
+
# @param reduced_motion [Boolean]
|
|
873
|
+
# @param do_not_track [Boolean]
|
|
874
|
+
def initialize(
|
|
875
|
+
color_scheme: UNSET,
|
|
876
|
+
system_colors: UNSET,
|
|
877
|
+
reduced_motion: UNSET,
|
|
878
|
+
do_not_track: UNSET
|
|
879
|
+
)
|
|
880
|
+
@color_scheme = color_scheme
|
|
881
|
+
@system_colors = system_colors
|
|
882
|
+
@reduced_motion = reduced_motion
|
|
883
|
+
@do_not_track = do_not_track
|
|
884
|
+
end
|
|
229
885
|
end
|
|
230
886
|
class EnvironmentProfile < Model
|
|
231
887
|
FIELDS = {schema_version: "schemaVersion", base_profile: "baseProfile", identity: "identity", display: "display", window: "window", hardware: "hardware", locale: "locale", graphics: "graphics", audio: "audio", fonts: "fonts", preferences: "preferences", network: "network", permissions: "permissions", capabilities: "capabilities", features: "features", timing: "timing"}.freeze
|
|
232
888
|
TYPES = {schema_version: nil, base_profile: nil, identity: "EnvironmentIdentity", display: "EnvironmentDisplay", window: "EnvironmentWindow", hardware: "EnvironmentHardware", locale: "EnvironmentLocale", graphics: "EnvironmentGraphics", audio: "EnvironmentAudio", fonts: "EnvironmentFonts", preferences: "EnvironmentPreferences", network: "EnvironmentNetwork", permissions: [:map, nil], capabilities: "EnvironmentCapabilities", features: [:map, nil], timing: "EnvironmentTiming"}.freeze
|
|
233
889
|
REQUIRED = [].freeze
|
|
234
|
-
|
|
890
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
891
|
+
attr_accessor :schema_version
|
|
892
|
+
# @return [String] UNSET until assigned when omitted.
|
|
893
|
+
attr_accessor :base_profile
|
|
894
|
+
# @return [EnvironmentIdentity] UNSET until assigned when omitted.
|
|
895
|
+
attr_accessor :identity
|
|
896
|
+
# @return [EnvironmentDisplay] UNSET until assigned when omitted.
|
|
897
|
+
attr_accessor :display
|
|
898
|
+
# @return [EnvironmentWindow] UNSET until assigned when omitted.
|
|
899
|
+
attr_accessor :window
|
|
900
|
+
# @return [EnvironmentHardware] UNSET until assigned when omitted.
|
|
901
|
+
attr_accessor :hardware
|
|
902
|
+
# @return [EnvironmentLocale] UNSET until assigned when omitted.
|
|
903
|
+
attr_accessor :locale
|
|
904
|
+
# @return [EnvironmentGraphics] UNSET until assigned when omitted.
|
|
905
|
+
attr_accessor :graphics
|
|
906
|
+
# @return [EnvironmentAudio] UNSET until assigned when omitted.
|
|
907
|
+
attr_accessor :audio
|
|
908
|
+
# @return [EnvironmentFonts] UNSET until assigned when omitted.
|
|
909
|
+
attr_accessor :fonts
|
|
910
|
+
# @return [EnvironmentPreferences] UNSET until assigned when omitted.
|
|
911
|
+
attr_accessor :preferences
|
|
912
|
+
# @return [EnvironmentNetwork] UNSET until assigned when omitted.
|
|
913
|
+
attr_accessor :network
|
|
914
|
+
# @return [Hash{String => String}] UNSET until assigned when omitted.
|
|
915
|
+
attr_accessor :permissions
|
|
916
|
+
# @return [EnvironmentCapabilities] UNSET until assigned when omitted.
|
|
917
|
+
attr_accessor :capabilities
|
|
918
|
+
# @return [Hash{String => Boolean}] UNSET until assigned when omitted.
|
|
919
|
+
attr_accessor :features
|
|
920
|
+
# @return [EnvironmentTiming] UNSET until assigned when omitted.
|
|
921
|
+
attr_accessor :timing
|
|
922
|
+
# @param schema_version [Integer]
|
|
923
|
+
# @param base_profile [String]
|
|
924
|
+
# @param identity [EnvironmentIdentity]
|
|
925
|
+
# @param display [EnvironmentDisplay]
|
|
926
|
+
# @param window [EnvironmentWindow]
|
|
927
|
+
# @param hardware [EnvironmentHardware]
|
|
928
|
+
# @param locale [EnvironmentLocale]
|
|
929
|
+
# @param graphics [EnvironmentGraphics]
|
|
930
|
+
# @param audio [EnvironmentAudio]
|
|
931
|
+
# @param fonts [EnvironmentFonts]
|
|
932
|
+
# @param preferences [EnvironmentPreferences]
|
|
933
|
+
# @param network [EnvironmentNetwork]
|
|
934
|
+
# @param permissions [Hash{String => String}]
|
|
935
|
+
# @param capabilities [EnvironmentCapabilities]
|
|
936
|
+
# @param features [Hash{String => Boolean}]
|
|
937
|
+
# @param timing [EnvironmentTiming]
|
|
938
|
+
def initialize(
|
|
939
|
+
schema_version: UNSET,
|
|
940
|
+
base_profile: UNSET,
|
|
941
|
+
identity: UNSET,
|
|
942
|
+
display: UNSET,
|
|
943
|
+
window: UNSET,
|
|
944
|
+
hardware: UNSET,
|
|
945
|
+
locale: UNSET,
|
|
946
|
+
graphics: UNSET,
|
|
947
|
+
audio: UNSET,
|
|
948
|
+
fonts: UNSET,
|
|
949
|
+
preferences: UNSET,
|
|
950
|
+
network: UNSET,
|
|
951
|
+
permissions: UNSET,
|
|
952
|
+
capabilities: UNSET,
|
|
953
|
+
features: UNSET,
|
|
954
|
+
timing: UNSET
|
|
955
|
+
)
|
|
956
|
+
@schema_version = schema_version
|
|
957
|
+
@base_profile = base_profile
|
|
958
|
+
@identity = identity
|
|
959
|
+
@display = display
|
|
960
|
+
@window = window
|
|
961
|
+
@hardware = hardware
|
|
962
|
+
@locale = locale
|
|
963
|
+
@graphics = graphics
|
|
964
|
+
@audio = audio
|
|
965
|
+
@fonts = fonts
|
|
966
|
+
@preferences = preferences
|
|
967
|
+
@network = network
|
|
968
|
+
@permissions = permissions
|
|
969
|
+
@capabilities = capabilities
|
|
970
|
+
@features = features
|
|
971
|
+
@timing = timing
|
|
972
|
+
end
|
|
235
973
|
end
|
|
236
974
|
class EnvironmentProxy < Model
|
|
237
975
|
FIELDS = {server: "server", username: "username", password: "password"}.freeze
|
|
238
976
|
TYPES = {server: nil, username: nil, password: nil}.freeze
|
|
239
977
|
REQUIRED = [].freeze
|
|
240
|
-
|
|
978
|
+
# @return [String] UNSET until assigned when omitted.
|
|
979
|
+
attr_accessor :server
|
|
980
|
+
# @return [String] UNSET until assigned when omitted.
|
|
981
|
+
attr_accessor :username
|
|
982
|
+
# @return [String] UNSET until assigned when omitted.
|
|
983
|
+
attr_accessor :password
|
|
984
|
+
# @param server [String]
|
|
985
|
+
# @param username [String]
|
|
986
|
+
# @param password [String]
|
|
987
|
+
def initialize(
|
|
988
|
+
server: UNSET,
|
|
989
|
+
username: UNSET,
|
|
990
|
+
password: UNSET
|
|
991
|
+
)
|
|
992
|
+
@server = server
|
|
993
|
+
@username = username
|
|
994
|
+
@password = password
|
|
995
|
+
end
|
|
241
996
|
end
|
|
242
997
|
class EnvironmentRTPCodec < Model
|
|
243
998
|
FIELDS = {name: "name", clock_rate: "clockRate", channels: "channels", parameters: "parameters", sender_parameters: "senderParameters", feedback: "feedback", payload: "payload", rtx_payload: "rtxPayload", redundant: "redundant"}.freeze
|
|
244
999
|
TYPES = {name: nil, clock_rate: nil, channels: nil, parameters: nil, sender_parameters: nil, feedback: [:array, nil], payload: nil, rtx_payload: nil, redundant: [:array, nil]}.freeze
|
|
245
1000
|
REQUIRED = [].freeze
|
|
246
|
-
|
|
1001
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1002
|
+
attr_accessor :name
|
|
1003
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
1004
|
+
attr_accessor :clock_rate
|
|
1005
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
1006
|
+
attr_accessor :channels
|
|
1007
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1008
|
+
attr_accessor :parameters
|
|
1009
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1010
|
+
attr_accessor :sender_parameters
|
|
1011
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
1012
|
+
attr_accessor :feedback
|
|
1013
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
1014
|
+
attr_accessor :payload
|
|
1015
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
1016
|
+
attr_accessor :rtx_payload
|
|
1017
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
1018
|
+
attr_accessor :redundant
|
|
1019
|
+
# @param name [String]
|
|
1020
|
+
# @param clock_rate [Integer]
|
|
1021
|
+
# @param channels [Integer]
|
|
1022
|
+
# @param parameters [String]
|
|
1023
|
+
# @param sender_parameters [String]
|
|
1024
|
+
# @param feedback [Array<String>]
|
|
1025
|
+
# @param payload [Integer]
|
|
1026
|
+
# @param rtx_payload [Integer]
|
|
1027
|
+
# @param redundant [Array<String>]
|
|
1028
|
+
def initialize(
|
|
1029
|
+
name: UNSET,
|
|
1030
|
+
clock_rate: UNSET,
|
|
1031
|
+
channels: UNSET,
|
|
1032
|
+
parameters: UNSET,
|
|
1033
|
+
sender_parameters: UNSET,
|
|
1034
|
+
feedback: UNSET,
|
|
1035
|
+
payload: UNSET,
|
|
1036
|
+
rtx_payload: UNSET,
|
|
1037
|
+
redundant: UNSET
|
|
1038
|
+
)
|
|
1039
|
+
@name = name
|
|
1040
|
+
@clock_rate = clock_rate
|
|
1041
|
+
@channels = channels
|
|
1042
|
+
@parameters = parameters
|
|
1043
|
+
@sender_parameters = sender_parameters
|
|
1044
|
+
@feedback = feedback
|
|
1045
|
+
@payload = payload
|
|
1046
|
+
@rtx_payload = rtx_payload
|
|
1047
|
+
@redundant = redundant
|
|
1048
|
+
end
|
|
247
1049
|
end
|
|
248
1050
|
class EnvironmentRTPMediaCatalog < Model
|
|
249
1051
|
FIELDS = {codecs: "codecs", sender_order: "senderOrder", receiver_order: "receiverOrder", offer_order: "offerOrder", header_extensions: "headerExtensions", receiver_r_t_t: "receiverRTT"}.freeze
|
|
250
1052
|
TYPES = {codecs: [:map, "EnvironmentRTPCodec"], sender_order: [:array, nil], receiver_order: [:array, nil], offer_order: [:array, nil], header_extensions: [:array, nil], receiver_r_t_t: nil}.freeze
|
|
251
1053
|
REQUIRED = [].freeze
|
|
252
|
-
|
|
1054
|
+
# @return [Hash{String => EnvironmentRTPCodec}] UNSET until assigned when omitted.
|
|
1055
|
+
attr_accessor :codecs
|
|
1056
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
1057
|
+
attr_accessor :sender_order
|
|
1058
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
1059
|
+
attr_accessor :receiver_order
|
|
1060
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
1061
|
+
attr_accessor :offer_order
|
|
1062
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
1063
|
+
attr_accessor :header_extensions
|
|
1064
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
1065
|
+
attr_accessor :receiver_r_t_t
|
|
1066
|
+
# @param codecs [Hash{String => EnvironmentRTPCodec}]
|
|
1067
|
+
# @param sender_order [Array<String>]
|
|
1068
|
+
# @param receiver_order [Array<String>]
|
|
1069
|
+
# @param offer_order [Array<String>]
|
|
1070
|
+
# @param header_extensions [Array<String>]
|
|
1071
|
+
# @param receiver_r_t_t [Boolean]
|
|
1072
|
+
def initialize(
|
|
1073
|
+
codecs: UNSET,
|
|
1074
|
+
sender_order: UNSET,
|
|
1075
|
+
receiver_order: UNSET,
|
|
1076
|
+
offer_order: UNSET,
|
|
1077
|
+
header_extensions: UNSET,
|
|
1078
|
+
receiver_r_t_t: UNSET
|
|
1079
|
+
)
|
|
1080
|
+
@codecs = codecs
|
|
1081
|
+
@sender_order = sender_order
|
|
1082
|
+
@receiver_order = receiver_order
|
|
1083
|
+
@offer_order = offer_order
|
|
1084
|
+
@header_extensions = header_extensions
|
|
1085
|
+
@receiver_r_t_t = receiver_r_t_t
|
|
1086
|
+
end
|
|
253
1087
|
end
|
|
254
1088
|
class EnvironmentScreenOrientation < Model
|
|
255
1089
|
FIELDS = {type: "type", angle: "angle"}.freeze
|
|
256
1090
|
TYPES = {type: nil, angle: nil}.freeze
|
|
257
1091
|
REQUIRED = [].freeze
|
|
258
|
-
|
|
1092
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1093
|
+
attr_accessor :type
|
|
1094
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
1095
|
+
attr_accessor :angle
|
|
1096
|
+
# @param type [String]
|
|
1097
|
+
# @param angle [Integer]
|
|
1098
|
+
def initialize(
|
|
1099
|
+
type: UNSET,
|
|
1100
|
+
angle: UNSET
|
|
1101
|
+
)
|
|
1102
|
+
@type = type
|
|
1103
|
+
@angle = angle
|
|
1104
|
+
end
|
|
259
1105
|
end
|
|
260
1106
|
class EnvironmentTiming < Model
|
|
261
1107
|
FIELDS = {execution_scale: "executionScale", navigation_scale: "navigationScale", network_scale: "networkScale"}.freeze
|
|
262
1108
|
TYPES = {execution_scale: nil, navigation_scale: nil, network_scale: nil}.freeze
|
|
263
1109
|
REQUIRED = [].freeze
|
|
264
|
-
|
|
1110
|
+
# @return [Numeric] UNSET until assigned when omitted.
|
|
1111
|
+
attr_accessor :execution_scale
|
|
1112
|
+
# @return [Numeric] UNSET until assigned when omitted.
|
|
1113
|
+
attr_accessor :navigation_scale
|
|
1114
|
+
# @return [Numeric] UNSET until assigned when omitted.
|
|
1115
|
+
attr_accessor :network_scale
|
|
1116
|
+
# @param execution_scale [Numeric]
|
|
1117
|
+
# @param navigation_scale [Numeric]
|
|
1118
|
+
# @param network_scale [Numeric]
|
|
1119
|
+
def initialize(
|
|
1120
|
+
execution_scale: UNSET,
|
|
1121
|
+
navigation_scale: UNSET,
|
|
1122
|
+
network_scale: UNSET
|
|
1123
|
+
)
|
|
1124
|
+
@execution_scale = execution_scale
|
|
1125
|
+
@navigation_scale = navigation_scale
|
|
1126
|
+
@network_scale = network_scale
|
|
1127
|
+
end
|
|
265
1128
|
end
|
|
266
1129
|
class EnvironmentUserAgentBrand < Model
|
|
267
1130
|
FIELDS = {brand: "brand", version: "version", full_version: "fullVersion"}.freeze
|
|
268
1131
|
TYPES = {brand: nil, version: nil, full_version: nil}.freeze
|
|
269
1132
|
REQUIRED = [].freeze
|
|
270
|
-
|
|
1133
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1134
|
+
attr_accessor :brand
|
|
1135
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1136
|
+
attr_accessor :version
|
|
1137
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1138
|
+
attr_accessor :full_version
|
|
1139
|
+
# @param brand [String]
|
|
1140
|
+
# @param version [String]
|
|
1141
|
+
# @param full_version [String]
|
|
1142
|
+
def initialize(
|
|
1143
|
+
brand: UNSET,
|
|
1144
|
+
version: UNSET,
|
|
1145
|
+
full_version: UNSET
|
|
1146
|
+
)
|
|
1147
|
+
@brand = brand
|
|
1148
|
+
@version = version
|
|
1149
|
+
@full_version = full_version
|
|
1150
|
+
end
|
|
271
1151
|
end
|
|
272
1152
|
class EnvironmentUserAgentMetadata < Model
|
|
273
1153
|
FIELDS = {brands: "brands", full_version_list: "fullVersionList", form_factors: "formFactors", full_version: "fullVersion", platform: "platform", platform_version: "platformVersion", architecture: "architecture", model: "model", bitness: "bitness", mobile: "mobile", wow64: "wow64"}.freeze
|
|
274
1154
|
TYPES = {brands: [:array, "EnvironmentUserAgentBrand"], full_version_list: [:array, "EnvironmentUserAgentBrand"], form_factors: [:array, nil], full_version: nil, platform: nil, platform_version: nil, architecture: nil, model: nil, bitness: nil, mobile: nil, wow64: nil}.freeze
|
|
275
1155
|
REQUIRED = [].freeze
|
|
276
|
-
|
|
1156
|
+
# @return [Array<EnvironmentUserAgentBrand>] UNSET until assigned when omitted.
|
|
1157
|
+
attr_accessor :brands
|
|
1158
|
+
# @return [Array<EnvironmentUserAgentBrand>] UNSET until assigned when omitted.
|
|
1159
|
+
attr_accessor :full_version_list
|
|
1160
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
1161
|
+
attr_accessor :form_factors
|
|
1162
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1163
|
+
attr_accessor :full_version
|
|
1164
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1165
|
+
attr_accessor :platform
|
|
1166
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1167
|
+
attr_accessor :platform_version
|
|
1168
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1169
|
+
attr_accessor :architecture
|
|
1170
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1171
|
+
attr_accessor :model
|
|
1172
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1173
|
+
attr_accessor :bitness
|
|
1174
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
1175
|
+
attr_accessor :mobile
|
|
1176
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
1177
|
+
attr_accessor :wow64
|
|
1178
|
+
# @param brands [Array<EnvironmentUserAgentBrand>]
|
|
1179
|
+
# @param full_version_list [Array<EnvironmentUserAgentBrand>]
|
|
1180
|
+
# @param form_factors [Array<String>]
|
|
1181
|
+
# @param full_version [String]
|
|
1182
|
+
# @param platform [String]
|
|
1183
|
+
# @param platform_version [String]
|
|
1184
|
+
# @param architecture [String]
|
|
1185
|
+
# @param model [String]
|
|
1186
|
+
# @param bitness [String]
|
|
1187
|
+
# @param mobile [Boolean]
|
|
1188
|
+
# @param wow64 [Boolean]
|
|
1189
|
+
def initialize(
|
|
1190
|
+
brands: UNSET,
|
|
1191
|
+
full_version_list: UNSET,
|
|
1192
|
+
form_factors: UNSET,
|
|
1193
|
+
full_version: UNSET,
|
|
1194
|
+
platform: UNSET,
|
|
1195
|
+
platform_version: UNSET,
|
|
1196
|
+
architecture: UNSET,
|
|
1197
|
+
model: UNSET,
|
|
1198
|
+
bitness: UNSET,
|
|
1199
|
+
mobile: UNSET,
|
|
1200
|
+
wow64: UNSET
|
|
1201
|
+
)
|
|
1202
|
+
@brands = brands
|
|
1203
|
+
@full_version_list = full_version_list
|
|
1204
|
+
@form_factors = form_factors
|
|
1205
|
+
@full_version = full_version
|
|
1206
|
+
@platform = platform
|
|
1207
|
+
@platform_version = platform_version
|
|
1208
|
+
@architecture = architecture
|
|
1209
|
+
@model = model
|
|
1210
|
+
@bitness = bitness
|
|
1211
|
+
@mobile = mobile
|
|
1212
|
+
@wow64 = wow64
|
|
1213
|
+
end
|
|
277
1214
|
end
|
|
278
1215
|
class EnvironmentWindow < Model
|
|
279
1216
|
FIELDS = {x: "x", y: "y", outer_width: "outerWidth", outer_height: "outerHeight", viewport_width: "viewportWidth", viewport_height: "viewportHeight"}.freeze
|
|
280
1217
|
TYPES = {x: nil, y: nil, outer_width: nil, outer_height: nil, viewport_width: nil, viewport_height: nil}.freeze
|
|
281
1218
|
REQUIRED = [].freeze
|
|
282
|
-
|
|
1219
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
1220
|
+
attr_accessor :x
|
|
1221
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
1222
|
+
attr_accessor :y
|
|
1223
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
1224
|
+
attr_accessor :outer_width
|
|
1225
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
1226
|
+
attr_accessor :outer_height
|
|
1227
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
1228
|
+
attr_accessor :viewport_width
|
|
1229
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
1230
|
+
attr_accessor :viewport_height
|
|
1231
|
+
# @param x [Integer]
|
|
1232
|
+
# @param y [Integer]
|
|
1233
|
+
# @param outer_width [Integer]
|
|
1234
|
+
# @param outer_height [Integer]
|
|
1235
|
+
# @param viewport_width [Integer]
|
|
1236
|
+
# @param viewport_height [Integer]
|
|
1237
|
+
def initialize(
|
|
1238
|
+
x: UNSET,
|
|
1239
|
+
y: UNSET,
|
|
1240
|
+
outer_width: UNSET,
|
|
1241
|
+
outer_height: UNSET,
|
|
1242
|
+
viewport_width: UNSET,
|
|
1243
|
+
viewport_height: UNSET
|
|
1244
|
+
)
|
|
1245
|
+
@x = x
|
|
1246
|
+
@y = y
|
|
1247
|
+
@outer_width = outer_width
|
|
1248
|
+
@outer_height = outer_height
|
|
1249
|
+
@viewport_width = viewport_width
|
|
1250
|
+
@viewport_height = viewport_height
|
|
1251
|
+
end
|
|
283
1252
|
end
|
|
284
1253
|
class ExecutionStatus < Model
|
|
285
1254
|
FIELDS = {running: "running", task_id: "taskId", source: "source", phase: "phase", elapsed_ms: "elapsedMs"}.freeze
|
|
286
1255
|
TYPES = {running: nil, task_id: nil, source: nil, phase: nil, elapsed_ms: nil}.freeze
|
|
287
1256
|
REQUIRED = [:running, :task_id, :source, :phase, :elapsed_ms].freeze
|
|
288
|
-
|
|
1257
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
1258
|
+
attr_accessor :running
|
|
1259
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
1260
|
+
attr_accessor :task_id
|
|
1261
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1262
|
+
attr_accessor :source
|
|
1263
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1264
|
+
attr_accessor :phase
|
|
1265
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
1266
|
+
attr_accessor :elapsed_ms
|
|
1267
|
+
# @param running [Boolean]
|
|
1268
|
+
# @param task_id [Integer]
|
|
1269
|
+
# @param source [String]
|
|
1270
|
+
# @param phase [String]
|
|
1271
|
+
# @param elapsed_ms [Integer]
|
|
1272
|
+
def initialize(
|
|
1273
|
+
running: UNSET,
|
|
1274
|
+
task_id: UNSET,
|
|
1275
|
+
source: UNSET,
|
|
1276
|
+
phase: UNSET,
|
|
1277
|
+
elapsed_ms: UNSET
|
|
1278
|
+
)
|
|
1279
|
+
@running = running
|
|
1280
|
+
@task_id = task_id
|
|
1281
|
+
@source = source
|
|
1282
|
+
@phase = phase
|
|
1283
|
+
@elapsed_ms = elapsed_ms
|
|
1284
|
+
end
|
|
289
1285
|
end
|
|
290
1286
|
class ExportProfileParams < Model
|
|
291
1287
|
FIELDS = {profile: "profile"}.freeze
|
|
292
1288
|
TYPES = {profile: nil}.freeze
|
|
293
1289
|
REQUIRED = [:profile].freeze
|
|
294
|
-
|
|
1290
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1291
|
+
attr_accessor :profile
|
|
1292
|
+
# @param profile [String]
|
|
1293
|
+
def initialize(
|
|
1294
|
+
profile: UNSET
|
|
1295
|
+
)
|
|
1296
|
+
@profile = profile
|
|
1297
|
+
end
|
|
295
1298
|
end
|
|
296
1299
|
class ExportProfileResult < Model
|
|
297
1300
|
FIELDS = {profile: "profile", warnings: "warnings"}.freeze
|
|
298
1301
|
TYPES = {profile: "ProfileDescriptor", warnings: [:array, nil]}.freeze
|
|
299
1302
|
REQUIRED = [:profile, :warnings].freeze
|
|
300
|
-
|
|
1303
|
+
# @return [ProfileDescriptor] UNSET until assigned when omitted.
|
|
1304
|
+
attr_accessor :profile
|
|
1305
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
1306
|
+
attr_accessor :warnings
|
|
1307
|
+
# @param profile [ProfileDescriptor]
|
|
1308
|
+
# @param warnings [Array<String>]
|
|
1309
|
+
def initialize(
|
|
1310
|
+
profile: UNSET,
|
|
1311
|
+
warnings: UNSET
|
|
1312
|
+
)
|
|
1313
|
+
@profile = profile
|
|
1314
|
+
@warnings = warnings
|
|
1315
|
+
end
|
|
301
1316
|
end
|
|
302
1317
|
class GenerateProfileOptions < Model
|
|
303
1318
|
FIELDS = {browser: "browser", version: "version", platform: "platform", seed: "seed"}.freeze
|
|
304
1319
|
TYPES = {browser: nil, version: nil, platform: nil, seed: nil}.freeze
|
|
305
1320
|
REQUIRED = [].freeze
|
|
306
|
-
|
|
1321
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1322
|
+
attr_accessor :browser
|
|
1323
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
1324
|
+
attr_accessor :version
|
|
1325
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1326
|
+
attr_accessor :platform
|
|
1327
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1328
|
+
attr_accessor :seed
|
|
1329
|
+
# @param browser [String]
|
|
1330
|
+
# @param version [Integer]
|
|
1331
|
+
# @param platform [String]
|
|
1332
|
+
# @param seed [String]
|
|
1333
|
+
def initialize(
|
|
1334
|
+
browser: UNSET,
|
|
1335
|
+
version: UNSET,
|
|
1336
|
+
platform: UNSET,
|
|
1337
|
+
seed: UNSET
|
|
1338
|
+
)
|
|
1339
|
+
@browser = browser
|
|
1340
|
+
@version = version
|
|
1341
|
+
@platform = platform
|
|
1342
|
+
@seed = seed
|
|
1343
|
+
end
|
|
307
1344
|
end
|
|
308
1345
|
class GenerateProfileParams < Model
|
|
309
1346
|
FIELDS = {browser: "browser", version: "version", platform: "platform", seed: "seed"}.freeze
|
|
310
1347
|
TYPES = {browser: nil, version: nil, platform: nil, seed: nil}.freeze
|
|
311
1348
|
REQUIRED = [].freeze
|
|
312
|
-
|
|
1349
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1350
|
+
attr_accessor :browser
|
|
1351
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
1352
|
+
attr_accessor :version
|
|
1353
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1354
|
+
attr_accessor :platform
|
|
1355
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1356
|
+
attr_accessor :seed
|
|
1357
|
+
# @param browser [String]
|
|
1358
|
+
# @param version [Integer]
|
|
1359
|
+
# @param platform [String]
|
|
1360
|
+
# @param seed [String]
|
|
1361
|
+
def initialize(
|
|
1362
|
+
browser: UNSET,
|
|
1363
|
+
version: UNSET,
|
|
1364
|
+
platform: UNSET,
|
|
1365
|
+
seed: UNSET
|
|
1366
|
+
)
|
|
1367
|
+
@browser = browser
|
|
1368
|
+
@version = version
|
|
1369
|
+
@platform = platform
|
|
1370
|
+
@seed = seed
|
|
1371
|
+
end
|
|
313
1372
|
end
|
|
314
1373
|
class GenerateProfileResult < Model
|
|
315
1374
|
FIELDS = {profile: "profile", profile_id: "profileId", mode: "mode", warnings: "warnings"}.freeze
|
|
316
1375
|
TYPES = {profile: nil, profile_id: nil, mode: nil, warnings: [:array, nil]}.freeze
|
|
317
1376
|
REQUIRED = [:profile, :profile_id, :mode, :warnings].freeze
|
|
318
|
-
|
|
1377
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1378
|
+
attr_accessor :profile
|
|
1379
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1380
|
+
attr_accessor :profile_id
|
|
1381
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1382
|
+
attr_accessor :mode
|
|
1383
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
1384
|
+
attr_accessor :warnings
|
|
1385
|
+
# @param profile [String]
|
|
1386
|
+
# @param profile_id [String]
|
|
1387
|
+
# @param mode [String]
|
|
1388
|
+
# @param warnings [Array<String>]
|
|
1389
|
+
def initialize(
|
|
1390
|
+
profile: UNSET,
|
|
1391
|
+
profile_id: UNSET,
|
|
1392
|
+
mode: UNSET,
|
|
1393
|
+
warnings: UNSET
|
|
1394
|
+
)
|
|
1395
|
+
@profile = profile
|
|
1396
|
+
@profile_id = profile_id
|
|
1397
|
+
@mode = mode
|
|
1398
|
+
@warnings = warnings
|
|
1399
|
+
end
|
|
319
1400
|
end
|
|
320
1401
|
class GenerateProfileSelection < Model
|
|
321
1402
|
FIELDS = {generate: "generate"}.freeze
|
|
322
1403
|
TYPES = {generate: "GenerateProfileOptions"}.freeze
|
|
323
1404
|
REQUIRED = [:generate].freeze
|
|
324
|
-
|
|
1405
|
+
# @return [GenerateProfileOptions] UNSET until assigned when omitted.
|
|
1406
|
+
attr_accessor :generate
|
|
1407
|
+
# @param generate [GenerateProfileOptions]
|
|
1408
|
+
def initialize(
|
|
1409
|
+
generate: UNSET
|
|
1410
|
+
)
|
|
1411
|
+
@generate = generate
|
|
1412
|
+
end
|
|
325
1413
|
end
|
|
326
1414
|
class GetCompatibilityMatrixParams < Model
|
|
327
1415
|
FIELDS = {}.freeze
|
|
328
1416
|
TYPES = {}.freeze
|
|
329
1417
|
REQUIRED = [].freeze
|
|
330
|
-
|
|
1418
|
+
def initialize
|
|
1419
|
+
end
|
|
331
1420
|
end
|
|
332
1421
|
class GetCompatibilityMatrixResult < Model
|
|
333
1422
|
FIELDS = {chrome_version: "chromeVersion", protocol: "protocol", extensions: "extensions"}.freeze
|
|
334
1423
|
TYPES = {chrome_version: nil, protocol: [:array, "ProtocolCoverage"], extensions: [:array, "ProtocolCoverage"]}.freeze
|
|
335
1424
|
REQUIRED = [:chrome_version, :protocol, :extensions].freeze
|
|
336
|
-
|
|
1425
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1426
|
+
attr_accessor :chrome_version
|
|
1427
|
+
# @return [Array<ProtocolCoverage>] UNSET until assigned when omitted.
|
|
1428
|
+
attr_accessor :protocol
|
|
1429
|
+
# @return [Array<ProtocolCoverage>] UNSET until assigned when omitted.
|
|
1430
|
+
attr_accessor :extensions
|
|
1431
|
+
# @param chrome_version [String]
|
|
1432
|
+
# @param protocol [Array<ProtocolCoverage>]
|
|
1433
|
+
# @param extensions [Array<ProtocolCoverage>]
|
|
1434
|
+
def initialize(
|
|
1435
|
+
chrome_version: UNSET,
|
|
1436
|
+
protocol: UNSET,
|
|
1437
|
+
extensions: UNSET
|
|
1438
|
+
)
|
|
1439
|
+
@chrome_version = chrome_version
|
|
1440
|
+
@protocol = protocol
|
|
1441
|
+
@extensions = extensions
|
|
1442
|
+
end
|
|
337
1443
|
end
|
|
338
1444
|
class GetDiagnosticsParams < Model
|
|
339
1445
|
FIELDS = {}.freeze
|
|
340
1446
|
TYPES = {}.freeze
|
|
341
1447
|
REQUIRED = [].freeze
|
|
342
|
-
|
|
1448
|
+
def initialize
|
|
1449
|
+
end
|
|
343
1450
|
end
|
|
344
1451
|
class GetDiagnosticsResult < Model
|
|
345
1452
|
FIELDS = {enabled: "enabled", host_only: "hostOnly", costs: "costs", cpu_profiles: "cpu_profiles", realms: "realms"}.freeze
|
|
346
1453
|
TYPES = {enabled: nil, host_only: nil, costs: [:map, "DiagnosticCost"], cpu_profiles: [:map, nil], realms: [:array, "RealmDiagnostics"]}.freeze
|
|
347
1454
|
REQUIRED = [:enabled].freeze
|
|
348
|
-
|
|
1455
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
1456
|
+
attr_accessor :enabled
|
|
1457
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
1458
|
+
attr_accessor :host_only
|
|
1459
|
+
# @return [Hash{String => DiagnosticCost}] UNSET until assigned when omitted.
|
|
1460
|
+
attr_accessor :costs
|
|
1461
|
+
# @return [Hash{String => Object}] UNSET until assigned when omitted.
|
|
1462
|
+
attr_accessor :cpu_profiles
|
|
1463
|
+
# @return [Array<RealmDiagnostics>] UNSET until assigned when omitted.
|
|
1464
|
+
attr_accessor :realms
|
|
1465
|
+
# @param enabled [Boolean]
|
|
1466
|
+
# @param host_only [Boolean]
|
|
1467
|
+
# @param costs [Hash{String => DiagnosticCost}]
|
|
1468
|
+
# @param cpu_profiles [Hash{String => Object}]
|
|
1469
|
+
# @param realms [Array<RealmDiagnostics>]
|
|
1470
|
+
def initialize(
|
|
1471
|
+
enabled: UNSET,
|
|
1472
|
+
host_only: UNSET,
|
|
1473
|
+
costs: UNSET,
|
|
1474
|
+
cpu_profiles: UNSET,
|
|
1475
|
+
realms: UNSET
|
|
1476
|
+
)
|
|
1477
|
+
@enabled = enabled
|
|
1478
|
+
@host_only = host_only
|
|
1479
|
+
@costs = costs
|
|
1480
|
+
@cpu_profiles = cpu_profiles
|
|
1481
|
+
@realms = realms
|
|
1482
|
+
end
|
|
349
1483
|
end
|
|
350
1484
|
class GetMediaPresetsParams < Model
|
|
351
1485
|
FIELDS = {browser_context_id: "browserContextId"}.freeze
|
|
352
1486
|
TYPES = {browser_context_id: nil}.freeze
|
|
353
1487
|
REQUIRED = [].freeze
|
|
354
|
-
|
|
1488
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1489
|
+
attr_accessor :browser_context_id
|
|
1490
|
+
# @param browser_context_id [String]
|
|
1491
|
+
def initialize(
|
|
1492
|
+
browser_context_id: UNSET
|
|
1493
|
+
)
|
|
1494
|
+
@browser_context_id = browser_context_id
|
|
1495
|
+
end
|
|
355
1496
|
end
|
|
356
1497
|
class GetMediaPresetsResult < Model
|
|
357
1498
|
FIELDS = {presets: "presets"}.freeze
|
|
358
1499
|
TYPES = {presets: [:array, "MediaPreset"]}.freeze
|
|
359
1500
|
REQUIRED = [:presets].freeze
|
|
360
|
-
|
|
1501
|
+
# @return [Array<MediaPreset>] UNSET until assigned when omitted.
|
|
1502
|
+
attr_accessor :presets
|
|
1503
|
+
# @param presets [Array<MediaPreset>]
|
|
1504
|
+
def initialize(
|
|
1505
|
+
presets: UNSET
|
|
1506
|
+
)
|
|
1507
|
+
@presets = presets
|
|
1508
|
+
end
|
|
361
1509
|
end
|
|
362
1510
|
class GetMediaProfileParams < Model
|
|
363
1511
|
FIELDS = {browser_context_id: "browserContextId"}.freeze
|
|
364
1512
|
TYPES = {browser_context_id: nil}.freeze
|
|
365
1513
|
REQUIRED = [].freeze
|
|
366
|
-
|
|
1514
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1515
|
+
attr_accessor :browser_context_id
|
|
1516
|
+
# @param browser_context_id [String]
|
|
1517
|
+
def initialize(
|
|
1518
|
+
browser_context_id: UNSET
|
|
1519
|
+
)
|
|
1520
|
+
@browser_context_id = browser_context_id
|
|
1521
|
+
end
|
|
367
1522
|
end
|
|
368
1523
|
class GetMediaProfileResult < Model
|
|
369
1524
|
FIELDS = {profile: "profile", diagnostics: "diagnostics"}.freeze
|
|
370
1525
|
TYPES = {profile: "MediaProfile", diagnostics: [:map, nil]}.freeze
|
|
371
1526
|
REQUIRED = [:profile, :diagnostics].freeze
|
|
372
|
-
|
|
1527
|
+
# @return [MediaProfile, nil] UNSET until assigned when omitted.
|
|
1528
|
+
attr_accessor :profile
|
|
1529
|
+
# @return [Hash{String => String}] UNSET until assigned when omitted.
|
|
1530
|
+
attr_accessor :diagnostics
|
|
1531
|
+
# @param profile [MediaProfile, nil]
|
|
1532
|
+
# @param diagnostics [Hash{String => String}]
|
|
1533
|
+
def initialize(
|
|
1534
|
+
profile: UNSET,
|
|
1535
|
+
diagnostics: UNSET
|
|
1536
|
+
)
|
|
1537
|
+
@profile = profile
|
|
1538
|
+
@diagnostics = diagnostics
|
|
1539
|
+
end
|
|
373
1540
|
end
|
|
374
1541
|
class GetMediaSourcesParams < Model
|
|
375
1542
|
FIELDS = {browser_context_id: "browserContextId"}.freeze
|
|
376
1543
|
TYPES = {browser_context_id: nil}.freeze
|
|
377
1544
|
REQUIRED = [].freeze
|
|
378
|
-
|
|
1545
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1546
|
+
attr_accessor :browser_context_id
|
|
1547
|
+
# @param browser_context_id [String]
|
|
1548
|
+
def initialize(
|
|
1549
|
+
browser_context_id: UNSET
|
|
1550
|
+
)
|
|
1551
|
+
@browser_context_id = browser_context_id
|
|
1552
|
+
end
|
|
379
1553
|
end
|
|
380
1554
|
class GetMediaSourcesResult < Model
|
|
381
1555
|
FIELDS = {sources: "sources", diagnostics: "diagnostics"}.freeze
|
|
382
1556
|
TYPES = {sources: [:array, "MediaSource"], diagnostics: [:map, nil]}.freeze
|
|
383
1557
|
REQUIRED = [:sources, :diagnostics].freeze
|
|
384
|
-
|
|
1558
|
+
# @return [Array<MediaSource>] UNSET until assigned when omitted.
|
|
1559
|
+
attr_accessor :sources
|
|
1560
|
+
# @return [Hash{String => String}] UNSET until assigned when omitted.
|
|
1561
|
+
attr_accessor :diagnostics
|
|
1562
|
+
# @param sources [Array<MediaSource>]
|
|
1563
|
+
# @param diagnostics [Hash{String => String}]
|
|
1564
|
+
def initialize(
|
|
1565
|
+
sources: UNSET,
|
|
1566
|
+
diagnostics: UNSET
|
|
1567
|
+
)
|
|
1568
|
+
@sources = sources
|
|
1569
|
+
@diagnostics = diagnostics
|
|
1570
|
+
end
|
|
385
1571
|
end
|
|
386
1572
|
class GetProfileParams < Model
|
|
387
1573
|
FIELDS = {browser_context_id: "browserContextId", target_id: "targetId"}.freeze
|
|
388
1574
|
TYPES = {browser_context_id: nil, target_id: nil}.freeze
|
|
389
1575
|
REQUIRED = [].freeze
|
|
390
|
-
|
|
1576
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1577
|
+
attr_accessor :browser_context_id
|
|
1578
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1579
|
+
attr_accessor :target_id
|
|
1580
|
+
# @param browser_context_id [String]
|
|
1581
|
+
# @param target_id [String]
|
|
1582
|
+
def initialize(
|
|
1583
|
+
browser_context_id: UNSET,
|
|
1584
|
+
target_id: UNSET
|
|
1585
|
+
)
|
|
1586
|
+
@browser_context_id = browser_context_id
|
|
1587
|
+
@target_id = target_id
|
|
1588
|
+
end
|
|
391
1589
|
end
|
|
392
1590
|
class GetProfileResult < Model
|
|
393
1591
|
FIELDS = {profile: "profile", limitations: "limitations"}.freeze
|
|
394
1592
|
TYPES = {profile: "EnvironmentProfile", limitations: [:array, nil]}.freeze
|
|
395
1593
|
REQUIRED = [:profile, :limitations].freeze
|
|
396
|
-
|
|
1594
|
+
# @return [EnvironmentProfile] UNSET until assigned when omitted.
|
|
1595
|
+
attr_accessor :profile
|
|
1596
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
1597
|
+
attr_accessor :limitations
|
|
1598
|
+
# @param profile [EnvironmentProfile]
|
|
1599
|
+
# @param limitations [Array<String>]
|
|
1600
|
+
def initialize(
|
|
1601
|
+
profile: UNSET,
|
|
1602
|
+
limitations: UNSET
|
|
1603
|
+
)
|
|
1604
|
+
@profile = profile
|
|
1605
|
+
@limitations = limitations
|
|
1606
|
+
end
|
|
397
1607
|
end
|
|
398
1608
|
class GetProfileSchemaParams < Model
|
|
399
1609
|
FIELDS = {}.freeze
|
|
400
1610
|
TYPES = {}.freeze
|
|
401
1611
|
REQUIRED = [].freeze
|
|
402
|
-
|
|
1612
|
+
def initialize
|
|
1613
|
+
end
|
|
403
1614
|
end
|
|
404
1615
|
class GetProfileSchemaResult < Model
|
|
405
1616
|
FIELDS = {schema: "schema", base_profiles: "baseProfiles", limitations: "limitations"}.freeze
|
|
406
1617
|
TYPES = {schema: [:map, nil], base_profiles: [:array, nil], limitations: [:array, nil]}.freeze
|
|
407
1618
|
REQUIRED = [:schema, :base_profiles, :limitations].freeze
|
|
408
|
-
|
|
1619
|
+
# @return [Hash{String => Object}] UNSET until assigned when omitted.
|
|
1620
|
+
attr_accessor :schema
|
|
1621
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
1622
|
+
attr_accessor :base_profiles
|
|
1623
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
1624
|
+
attr_accessor :limitations
|
|
1625
|
+
# @param schema [Hash{String => Object}]
|
|
1626
|
+
# @param base_profiles [Array<String>]
|
|
1627
|
+
# @param limitations [Array<String>]
|
|
1628
|
+
def initialize(
|
|
1629
|
+
schema: UNSET,
|
|
1630
|
+
base_profiles: UNSET,
|
|
1631
|
+
limitations: UNSET
|
|
1632
|
+
)
|
|
1633
|
+
@schema = schema
|
|
1634
|
+
@base_profiles = base_profiles
|
|
1635
|
+
@limitations = limitations
|
|
1636
|
+
end
|
|
409
1637
|
end
|
|
410
1638
|
class GetResourcePolicyParams < Model
|
|
411
1639
|
FIELDS = {browser_context_id: "browserContextId"}.freeze
|
|
412
1640
|
TYPES = {browser_context_id: nil}.freeze
|
|
413
1641
|
REQUIRED = [:browser_context_id].freeze
|
|
414
|
-
|
|
1642
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1643
|
+
attr_accessor :browser_context_id
|
|
1644
|
+
# @param browser_context_id [String]
|
|
1645
|
+
def initialize(
|
|
1646
|
+
browser_context_id: UNSET
|
|
1647
|
+
)
|
|
1648
|
+
@browser_context_id = browser_context_id
|
|
1649
|
+
end
|
|
415
1650
|
end
|
|
416
1651
|
class GetResourcePolicyResult < Model
|
|
417
1652
|
FIELDS = {policy: "policy", enabled: "enabled", generation: "generation"}.freeze
|
|
418
1653
|
TYPES = {policy: "ResourcePolicy", enabled: nil, generation: nil}.freeze
|
|
419
1654
|
REQUIRED = [:policy, :enabled, :generation].freeze
|
|
420
|
-
|
|
1655
|
+
# @return [ResourcePolicy] UNSET until assigned when omitted.
|
|
1656
|
+
attr_accessor :policy
|
|
1657
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
1658
|
+
attr_accessor :enabled
|
|
1659
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
1660
|
+
attr_accessor :generation
|
|
1661
|
+
# @param policy [ResourcePolicy]
|
|
1662
|
+
# @param enabled [Boolean]
|
|
1663
|
+
# @param generation [Integer]
|
|
1664
|
+
def initialize(
|
|
1665
|
+
policy: UNSET,
|
|
1666
|
+
enabled: UNSET,
|
|
1667
|
+
generation: UNSET
|
|
1668
|
+
)
|
|
1669
|
+
@policy = policy
|
|
1670
|
+
@enabled = enabled
|
|
1671
|
+
@generation = generation
|
|
1672
|
+
end
|
|
421
1673
|
end
|
|
422
1674
|
class GetResourcePolicySchemaParams < Model
|
|
423
1675
|
FIELDS = {}.freeze
|
|
424
1676
|
TYPES = {}.freeze
|
|
425
1677
|
REQUIRED = [].freeze
|
|
426
|
-
|
|
1678
|
+
def initialize
|
|
1679
|
+
end
|
|
427
1680
|
end
|
|
428
1681
|
class GetResourcePolicySchemaResult < Model
|
|
429
1682
|
FIELDS = {schema: "schema"}.freeze
|
|
430
1683
|
TYPES = {schema: [:map, nil]}.freeze
|
|
431
1684
|
REQUIRED = [:schema].freeze
|
|
432
|
-
|
|
1685
|
+
# @return [Hash{String => Object}] UNSET until assigned when omitted.
|
|
1686
|
+
attr_accessor :schema
|
|
1687
|
+
# @param schema [Hash{String => Object}]
|
|
1688
|
+
def initialize(
|
|
1689
|
+
schema: UNSET
|
|
1690
|
+
)
|
|
1691
|
+
@schema = schema
|
|
1692
|
+
end
|
|
433
1693
|
end
|
|
434
1694
|
class GetResourcePolicyStatsParams < Model
|
|
435
1695
|
FIELDS = {browser_context_id: "browserContextId"}.freeze
|
|
436
1696
|
TYPES = {browser_context_id: nil}.freeze
|
|
437
1697
|
REQUIRED = [:browser_context_id].freeze
|
|
438
|
-
|
|
1698
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1699
|
+
attr_accessor :browser_context_id
|
|
1700
|
+
# @param browser_context_id [String]
|
|
1701
|
+
def initialize(
|
|
1702
|
+
browser_context_id: UNSET
|
|
1703
|
+
)
|
|
1704
|
+
@browser_context_id = browser_context_id
|
|
1705
|
+
end
|
|
439
1706
|
end
|
|
440
1707
|
class GetResourcePolicyStatsResult < Model
|
|
441
1708
|
FIELDS = {stats: "stats"}.freeze
|
|
442
1709
|
TYPES = {stats: "ResourcePolicyStats"}.freeze
|
|
443
1710
|
REQUIRED = [:stats].freeze
|
|
444
|
-
|
|
1711
|
+
# @return [ResourcePolicyStats] UNSET until assigned when omitted.
|
|
1712
|
+
attr_accessor :stats
|
|
1713
|
+
# @param stats [ResourcePolicyStats]
|
|
1714
|
+
def initialize(
|
|
1715
|
+
stats: UNSET
|
|
1716
|
+
)
|
|
1717
|
+
@stats = stats
|
|
1718
|
+
end
|
|
445
1719
|
end
|
|
446
1720
|
class GetStatusParams < Model
|
|
447
1721
|
FIELDS = {}.freeze
|
|
448
1722
|
TYPES = {}.freeze
|
|
449
1723
|
REQUIRED = [].freeze
|
|
450
|
-
|
|
1724
|
+
def initialize
|
|
1725
|
+
end
|
|
451
1726
|
end
|
|
452
1727
|
class GetStatusResult < Model
|
|
453
1728
|
FIELDS = {execution: "execution"}.freeze
|
|
454
1729
|
TYPES = {execution: "ExecutionStatus"}.freeze
|
|
455
1730
|
REQUIRED = [:execution].freeze
|
|
456
|
-
|
|
1731
|
+
# @return [ExecutionStatus] UNSET until assigned when omitted.
|
|
1732
|
+
attr_accessor :execution
|
|
1733
|
+
# @param execution [ExecutionStatus]
|
|
1734
|
+
def initialize(
|
|
1735
|
+
execution: UNSET
|
|
1736
|
+
)
|
|
1737
|
+
@execution = execution
|
|
1738
|
+
end
|
|
457
1739
|
end
|
|
458
1740
|
class GetTraceParams < Model
|
|
459
1741
|
FIELDS = {}.freeze
|
|
460
1742
|
TYPES = {}.freeze
|
|
461
1743
|
REQUIRED = [].freeze
|
|
462
|
-
|
|
1744
|
+
def initialize
|
|
1745
|
+
end
|
|
463
1746
|
end
|
|
464
1747
|
class GetTraceResult < Model
|
|
465
1748
|
FIELDS = {events: "events", crash_reports: "crashReports"}.freeze
|
|
466
1749
|
TYPES = {events: [:array, "TraceEvent"], crash_reports: [:map, nil]}.freeze
|
|
467
1750
|
REQUIRED = [:events, :crash_reports].freeze
|
|
468
|
-
|
|
1751
|
+
# @return [Array<TraceEvent>, nil] UNSET until assigned when omitted.
|
|
1752
|
+
attr_accessor :events
|
|
1753
|
+
# @return [Hash{String => String}] UNSET until assigned when omitted.
|
|
1754
|
+
attr_accessor :crash_reports
|
|
1755
|
+
# @param events [Array<TraceEvent>, nil]
|
|
1756
|
+
# @param crash_reports [Hash{String => String}]
|
|
1757
|
+
def initialize(
|
|
1758
|
+
events: UNSET,
|
|
1759
|
+
crash_reports: UNSET
|
|
1760
|
+
)
|
|
1761
|
+
@events = events
|
|
1762
|
+
@crash_reports = crash_reports
|
|
1763
|
+
end
|
|
469
1764
|
end
|
|
470
1765
|
class GetVersionParams < Model
|
|
471
1766
|
FIELDS = {}.freeze
|
|
472
1767
|
TYPES = {}.freeze
|
|
473
1768
|
REQUIRED = [].freeze
|
|
474
|
-
|
|
1769
|
+
def initialize
|
|
1770
|
+
end
|
|
475
1771
|
end
|
|
476
1772
|
class GetVersionResult < Model
|
|
477
1773
|
FIELDS = {version: "version", chrome_version: "chromeVersion", base_profile: "baseProfile"}.freeze
|
|
478
1774
|
TYPES = {version: nil, chrome_version: nil, base_profile: nil}.freeze
|
|
479
1775
|
REQUIRED = [:version, :chrome_version, :base_profile].freeze
|
|
480
|
-
|
|
1776
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1777
|
+
attr_accessor :version
|
|
1778
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1779
|
+
attr_accessor :chrome_version
|
|
1780
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1781
|
+
attr_accessor :base_profile
|
|
1782
|
+
# @param version [String]
|
|
1783
|
+
# @param chrome_version [String]
|
|
1784
|
+
# @param base_profile [String]
|
|
1785
|
+
def initialize(
|
|
1786
|
+
version: UNSET,
|
|
1787
|
+
chrome_version: UNSET,
|
|
1788
|
+
base_profile: UNSET
|
|
1789
|
+
)
|
|
1790
|
+
@version = version
|
|
1791
|
+
@chrome_version = chrome_version
|
|
1792
|
+
@base_profile = base_profile
|
|
1793
|
+
end
|
|
481
1794
|
end
|
|
482
1795
|
class ImportProfileParams < Model
|
|
483
1796
|
FIELDS = {profile: "profile", mode: "mode"}.freeze
|
|
484
1797
|
TYPES = {profile: nil, mode: nil}.freeze
|
|
485
1798
|
REQUIRED = [:profile].freeze
|
|
486
|
-
|
|
1799
|
+
# @return [ProfileDescriptor, ManualProfile] UNSET until assigned when omitted.
|
|
1800
|
+
attr_accessor :profile
|
|
1801
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1802
|
+
attr_accessor :mode
|
|
1803
|
+
# @param profile [ProfileDescriptor, ManualProfile]
|
|
1804
|
+
# @param mode [String]
|
|
1805
|
+
def initialize(
|
|
1806
|
+
profile: UNSET,
|
|
1807
|
+
mode: UNSET
|
|
1808
|
+
)
|
|
1809
|
+
@profile = profile
|
|
1810
|
+
@mode = mode
|
|
1811
|
+
end
|
|
487
1812
|
end
|
|
488
1813
|
class ImportProfileResult < Model
|
|
489
1814
|
FIELDS = {profile: "profile", profile_id: "profileId", mode: "mode", warnings: "warnings"}.freeze
|
|
490
1815
|
TYPES = {profile: nil, profile_id: nil, mode: nil, warnings: [:array, nil]}.freeze
|
|
491
1816
|
REQUIRED = [:profile, :profile_id, :mode, :warnings].freeze
|
|
492
|
-
|
|
1817
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1818
|
+
attr_accessor :profile
|
|
1819
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1820
|
+
attr_accessor :profile_id
|
|
1821
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1822
|
+
attr_accessor :mode
|
|
1823
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
1824
|
+
attr_accessor :warnings
|
|
1825
|
+
# @param profile [String]
|
|
1826
|
+
# @param profile_id [String]
|
|
1827
|
+
# @param mode [String]
|
|
1828
|
+
# @param warnings [Array<String>]
|
|
1829
|
+
def initialize(
|
|
1830
|
+
profile: UNSET,
|
|
1831
|
+
profile_id: UNSET,
|
|
1832
|
+
mode: UNSET,
|
|
1833
|
+
warnings: UNSET
|
|
1834
|
+
)
|
|
1835
|
+
@profile = profile
|
|
1836
|
+
@profile_id = profile_id
|
|
1837
|
+
@mode = mode
|
|
1838
|
+
@warnings = warnings
|
|
1839
|
+
end
|
|
493
1840
|
end
|
|
494
1841
|
class ManualNetwork < Model
|
|
495
1842
|
FIELDS = {save_data: "saveData", online: "online", effective_type: "effectiveType", downlink_mbps: "downlinkMbps", rtt_millis: "rttMillis", cookies_enabled: "cookiesEnabled", wire_profile: "wireProfile", ice: "ice"}.freeze
|
|
496
1843
|
TYPES = {save_data: nil, online: nil, effective_type: nil, downlink_mbps: nil, rtt_millis: nil, cookies_enabled: nil, wire_profile: nil, ice: "EnvironmentICEProfile"}.freeze
|
|
497
1844
|
REQUIRED = [].freeze
|
|
498
|
-
|
|
1845
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
1846
|
+
attr_accessor :save_data
|
|
1847
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
1848
|
+
attr_accessor :online
|
|
1849
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1850
|
+
attr_accessor :effective_type
|
|
1851
|
+
# @return [Numeric] UNSET until assigned when omitted.
|
|
1852
|
+
attr_accessor :downlink_mbps
|
|
1853
|
+
# @return [Numeric] UNSET until assigned when omitted.
|
|
1854
|
+
attr_accessor :rtt_millis
|
|
1855
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
1856
|
+
attr_accessor :cookies_enabled
|
|
1857
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1858
|
+
attr_accessor :wire_profile
|
|
1859
|
+
# @return [EnvironmentICEProfile] UNSET until assigned when omitted.
|
|
1860
|
+
attr_accessor :ice
|
|
1861
|
+
# @param save_data [Boolean]
|
|
1862
|
+
# @param online [Boolean]
|
|
1863
|
+
# @param effective_type [String]
|
|
1864
|
+
# @param downlink_mbps [Numeric]
|
|
1865
|
+
# @param rtt_millis [Numeric]
|
|
1866
|
+
# @param cookies_enabled [Boolean]
|
|
1867
|
+
# @param wire_profile [String]
|
|
1868
|
+
# @param ice [EnvironmentICEProfile]
|
|
1869
|
+
def initialize(
|
|
1870
|
+
save_data: UNSET,
|
|
1871
|
+
online: UNSET,
|
|
1872
|
+
effective_type: UNSET,
|
|
1873
|
+
downlink_mbps: UNSET,
|
|
1874
|
+
rtt_millis: UNSET,
|
|
1875
|
+
cookies_enabled: UNSET,
|
|
1876
|
+
wire_profile: UNSET,
|
|
1877
|
+
ice: UNSET
|
|
1878
|
+
)
|
|
1879
|
+
@save_data = save_data
|
|
1880
|
+
@online = online
|
|
1881
|
+
@effective_type = effective_type
|
|
1882
|
+
@downlink_mbps = downlink_mbps
|
|
1883
|
+
@rtt_millis = rtt_millis
|
|
1884
|
+
@cookies_enabled = cookies_enabled
|
|
1885
|
+
@wire_profile = wire_profile
|
|
1886
|
+
@ice = ice
|
|
1887
|
+
end
|
|
499
1888
|
end
|
|
500
1889
|
class ManualProfile < Model
|
|
501
1890
|
FIELDS = {identity: "identity", display: "display", window: "window", hardware: "hardware", locale: "locale", graphics: "graphics", audio: "audio", fonts: "fonts", preferences: "preferences", network: "network", permissions: "permissions", capabilities: "capabilities", features: "features", timing: "timing"}.freeze
|
|
502
1891
|
TYPES = {identity: "EnvironmentIdentity", display: "EnvironmentDisplay", window: "EnvironmentWindow", hardware: "EnvironmentHardware", locale: "EnvironmentLocale", graphics: "EnvironmentGraphics", audio: "EnvironmentAudio", fonts: "EnvironmentFonts", preferences: "EnvironmentPreferences", network: "ManualNetwork", permissions: [:map, nil], capabilities: "EnvironmentCapabilities", features: [:map, nil], timing: "EnvironmentTiming"}.freeze
|
|
503
1892
|
REQUIRED = [].freeze
|
|
504
|
-
|
|
1893
|
+
# @return [EnvironmentIdentity] UNSET until assigned when omitted.
|
|
1894
|
+
attr_accessor :identity
|
|
1895
|
+
# @return [EnvironmentDisplay] UNSET until assigned when omitted.
|
|
1896
|
+
attr_accessor :display
|
|
1897
|
+
# @return [EnvironmentWindow] UNSET until assigned when omitted.
|
|
1898
|
+
attr_accessor :window
|
|
1899
|
+
# @return [EnvironmentHardware] UNSET until assigned when omitted.
|
|
1900
|
+
attr_accessor :hardware
|
|
1901
|
+
# @return [EnvironmentLocale] UNSET until assigned when omitted.
|
|
1902
|
+
attr_accessor :locale
|
|
1903
|
+
# @return [EnvironmentGraphics] UNSET until assigned when omitted.
|
|
1904
|
+
attr_accessor :graphics
|
|
1905
|
+
# @return [EnvironmentAudio] UNSET until assigned when omitted.
|
|
1906
|
+
attr_accessor :audio
|
|
1907
|
+
# @return [EnvironmentFonts] UNSET until assigned when omitted.
|
|
1908
|
+
attr_accessor :fonts
|
|
1909
|
+
# @return [EnvironmentPreferences] UNSET until assigned when omitted.
|
|
1910
|
+
attr_accessor :preferences
|
|
1911
|
+
# @return [ManualNetwork] UNSET until assigned when omitted.
|
|
1912
|
+
attr_accessor :network
|
|
1913
|
+
# @return [Hash{String => String}] UNSET until assigned when omitted.
|
|
1914
|
+
attr_accessor :permissions
|
|
1915
|
+
# @return [EnvironmentCapabilities] UNSET until assigned when omitted.
|
|
1916
|
+
attr_accessor :capabilities
|
|
1917
|
+
# @return [Hash{String => Boolean}] UNSET until assigned when omitted.
|
|
1918
|
+
attr_accessor :features
|
|
1919
|
+
# @return [EnvironmentTiming] UNSET until assigned when omitted.
|
|
1920
|
+
attr_accessor :timing
|
|
1921
|
+
# @param identity [EnvironmentIdentity]
|
|
1922
|
+
# @param display [EnvironmentDisplay]
|
|
1923
|
+
# @param window [EnvironmentWindow]
|
|
1924
|
+
# @param hardware [EnvironmentHardware]
|
|
1925
|
+
# @param locale [EnvironmentLocale]
|
|
1926
|
+
# @param graphics [EnvironmentGraphics]
|
|
1927
|
+
# @param audio [EnvironmentAudio]
|
|
1928
|
+
# @param fonts [EnvironmentFonts]
|
|
1929
|
+
# @param preferences [EnvironmentPreferences]
|
|
1930
|
+
# @param network [ManualNetwork]
|
|
1931
|
+
# @param permissions [Hash{String => String}]
|
|
1932
|
+
# @param capabilities [EnvironmentCapabilities]
|
|
1933
|
+
# @param features [Hash{String => Boolean}]
|
|
1934
|
+
# @param timing [EnvironmentTiming]
|
|
1935
|
+
def initialize(
|
|
1936
|
+
identity: UNSET,
|
|
1937
|
+
display: UNSET,
|
|
1938
|
+
window: UNSET,
|
|
1939
|
+
hardware: UNSET,
|
|
1940
|
+
locale: UNSET,
|
|
1941
|
+
graphics: UNSET,
|
|
1942
|
+
audio: UNSET,
|
|
1943
|
+
fonts: UNSET,
|
|
1944
|
+
preferences: UNSET,
|
|
1945
|
+
network: UNSET,
|
|
1946
|
+
permissions: UNSET,
|
|
1947
|
+
capabilities: UNSET,
|
|
1948
|
+
features: UNSET,
|
|
1949
|
+
timing: UNSET
|
|
1950
|
+
)
|
|
1951
|
+
@identity = identity
|
|
1952
|
+
@display = display
|
|
1953
|
+
@window = window
|
|
1954
|
+
@hardware = hardware
|
|
1955
|
+
@locale = locale
|
|
1956
|
+
@graphics = graphics
|
|
1957
|
+
@audio = audio
|
|
1958
|
+
@fonts = fonts
|
|
1959
|
+
@preferences = preferences
|
|
1960
|
+
@network = network
|
|
1961
|
+
@permissions = permissions
|
|
1962
|
+
@capabilities = capabilities
|
|
1963
|
+
@features = features
|
|
1964
|
+
@timing = timing
|
|
1965
|
+
end
|
|
505
1966
|
end
|
|
506
1967
|
class MediaCameraRequest < Model
|
|
507
1968
|
FIELDS = {source: "source", profile: "profile", overrides: "overrides"}.freeze
|
|
508
1969
|
TYPES = {source: "MediaSourceSelector", profile: nil, overrides: "MediaDeviceOverride"}.freeze
|
|
509
1970
|
REQUIRED = [].freeze
|
|
510
|
-
|
|
1971
|
+
# @return [String, Hash] UNSET until assigned when omitted.
|
|
1972
|
+
attr_accessor :source
|
|
1973
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1974
|
+
attr_accessor :profile
|
|
1975
|
+
# @return [MediaDeviceOverride] UNSET until assigned when omitted.
|
|
1976
|
+
attr_accessor :overrides
|
|
1977
|
+
# @param source [String, Hash]
|
|
1978
|
+
# @param profile [String]
|
|
1979
|
+
# @param overrides [MediaDeviceOverride]
|
|
1980
|
+
def initialize(
|
|
1981
|
+
source: UNSET,
|
|
1982
|
+
profile: UNSET,
|
|
1983
|
+
overrides: UNSET
|
|
1984
|
+
)
|
|
1985
|
+
@source = source
|
|
1986
|
+
@profile = profile
|
|
1987
|
+
@overrides = overrides
|
|
1988
|
+
end
|
|
511
1989
|
end
|
|
512
1990
|
class MediaConfiguration < Model
|
|
513
1991
|
FIELDS = {seed: "seed", camera: "camera", microphone: "microphone", devices: "devices"}.freeze
|
|
514
1992
|
TYPES = {seed: nil, camera: "MediaCameraRequest", microphone: "MediaMicrophoneRequest", devices: [:array, "MediaDeviceProfile"]}.freeze
|
|
515
1993
|
REQUIRED = [].freeze
|
|
516
|
-
|
|
1994
|
+
# @return [String] UNSET until assigned when omitted.
|
|
1995
|
+
attr_accessor :seed
|
|
1996
|
+
# @return [MediaCameraRequest] UNSET until assigned when omitted.
|
|
1997
|
+
attr_accessor :camera
|
|
1998
|
+
# @return [MediaMicrophoneRequest] UNSET until assigned when omitted.
|
|
1999
|
+
attr_accessor :microphone
|
|
2000
|
+
# @return [Array<MediaDeviceProfile>] UNSET until assigned when omitted.
|
|
2001
|
+
attr_accessor :devices
|
|
2002
|
+
# @param seed [String]
|
|
2003
|
+
# @param camera [MediaCameraRequest]
|
|
2004
|
+
# @param microphone [MediaMicrophoneRequest]
|
|
2005
|
+
# @param devices [Array<MediaDeviceProfile>]
|
|
2006
|
+
def initialize(
|
|
2007
|
+
seed: UNSET,
|
|
2008
|
+
camera: UNSET,
|
|
2009
|
+
microphone: UNSET,
|
|
2010
|
+
devices: UNSET
|
|
2011
|
+
)
|
|
2012
|
+
@seed = seed
|
|
2013
|
+
@camera = camera
|
|
2014
|
+
@microphone = microphone
|
|
2015
|
+
@devices = devices
|
|
2016
|
+
end
|
|
517
2017
|
end
|
|
518
2018
|
class MediaDeviceOverride < Model
|
|
519
2019
|
FIELDS = {label: "label", modes: "modes", default_mode: "defaultMode", processing: "processing"}.freeze
|
|
520
2020
|
TYPES = {label: nil, modes: [:array, "CameraFormat"], default_mode: "CameraFormat", processing: "MediaProcessing"}.freeze
|
|
521
2021
|
REQUIRED = [].freeze
|
|
522
|
-
|
|
2022
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2023
|
+
attr_accessor :label
|
|
2024
|
+
# @return [Array<CameraFormat>] UNSET until assigned when omitted.
|
|
2025
|
+
attr_accessor :modes
|
|
2026
|
+
# @return [CameraFormat] UNSET until assigned when omitted.
|
|
2027
|
+
attr_accessor :default_mode
|
|
2028
|
+
# @return [MediaProcessing] UNSET until assigned when omitted.
|
|
2029
|
+
attr_accessor :processing
|
|
2030
|
+
# @param label [String]
|
|
2031
|
+
# @param modes [Array<CameraFormat>]
|
|
2032
|
+
# @param default_mode [CameraFormat]
|
|
2033
|
+
# @param processing [MediaProcessing]
|
|
2034
|
+
def initialize(
|
|
2035
|
+
label: UNSET,
|
|
2036
|
+
modes: UNSET,
|
|
2037
|
+
default_mode: UNSET,
|
|
2038
|
+
processing: UNSET
|
|
2039
|
+
)
|
|
2040
|
+
@label = label
|
|
2041
|
+
@modes = modes
|
|
2042
|
+
@default_mode = default_mode
|
|
2043
|
+
@processing = processing
|
|
2044
|
+
end
|
|
523
2045
|
end
|
|
524
2046
|
class MediaDeviceProfile < Model
|
|
525
2047
|
FIELDS = {key: "key", kind: "kind", source: "source", profile: "profile", label: "label", group: "group", modes: "modes", default_mode: "defaultMode", processing: "processing"}.freeze
|
|
526
2048
|
TYPES = {key: nil, kind: nil, source: "MediaSourceSelector", profile: nil, label: nil, group: nil, modes: [:array, "CameraFormat"], default_mode: "CameraFormat", processing: "MediaProcessing"}.freeze
|
|
527
2049
|
REQUIRED = [:key, :kind, :source, :label].freeze
|
|
528
|
-
|
|
2050
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2051
|
+
attr_accessor :key
|
|
2052
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2053
|
+
attr_accessor :kind
|
|
2054
|
+
# @return [String, Hash] UNSET until assigned when omitted.
|
|
2055
|
+
attr_accessor :source
|
|
2056
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2057
|
+
attr_accessor :profile
|
|
2058
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2059
|
+
attr_accessor :label
|
|
2060
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2061
|
+
attr_accessor :group
|
|
2062
|
+
# @return [Array<CameraFormat>] UNSET until assigned when omitted.
|
|
2063
|
+
attr_accessor :modes
|
|
2064
|
+
# @return [CameraFormat] UNSET until assigned when omitted.
|
|
2065
|
+
attr_accessor :default_mode
|
|
2066
|
+
# @return [MediaProcessing] UNSET until assigned when omitted.
|
|
2067
|
+
attr_accessor :processing
|
|
2068
|
+
# @param key [String]
|
|
2069
|
+
# @param kind [String]
|
|
2070
|
+
# @param source [String, Hash]
|
|
2071
|
+
# @param profile [String]
|
|
2072
|
+
# @param label [String]
|
|
2073
|
+
# @param group [String]
|
|
2074
|
+
# @param modes [Array<CameraFormat>]
|
|
2075
|
+
# @param default_mode [CameraFormat]
|
|
2076
|
+
# @param processing [MediaProcessing]
|
|
2077
|
+
def initialize(
|
|
2078
|
+
key: UNSET,
|
|
2079
|
+
kind: UNSET,
|
|
2080
|
+
source: UNSET,
|
|
2081
|
+
profile: UNSET,
|
|
2082
|
+
label: UNSET,
|
|
2083
|
+
group: UNSET,
|
|
2084
|
+
modes: UNSET,
|
|
2085
|
+
default_mode: UNSET,
|
|
2086
|
+
processing: UNSET
|
|
2087
|
+
)
|
|
2088
|
+
@key = key
|
|
2089
|
+
@kind = kind
|
|
2090
|
+
@source = source
|
|
2091
|
+
@profile = profile
|
|
2092
|
+
@label = label
|
|
2093
|
+
@group = group
|
|
2094
|
+
@modes = modes
|
|
2095
|
+
@default_mode = default_mode
|
|
2096
|
+
@processing = processing
|
|
2097
|
+
end
|
|
529
2098
|
end
|
|
530
2099
|
class MediaMicrophoneRequest < Model
|
|
531
2100
|
FIELDS = {source: "source", profile: "profile"}.freeze
|
|
532
2101
|
TYPES = {source: "MediaSourceSelector", profile: nil}.freeze
|
|
533
2102
|
REQUIRED = [].freeze
|
|
534
|
-
|
|
2103
|
+
# @return [String, Hash] UNSET until assigned when omitted.
|
|
2104
|
+
attr_accessor :source
|
|
2105
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2106
|
+
attr_accessor :profile
|
|
2107
|
+
# @param source [String, Hash]
|
|
2108
|
+
# @param profile [String]
|
|
2109
|
+
def initialize(
|
|
2110
|
+
source: UNSET,
|
|
2111
|
+
profile: UNSET
|
|
2112
|
+
)
|
|
2113
|
+
@source = source
|
|
2114
|
+
@profile = profile
|
|
2115
|
+
end
|
|
535
2116
|
end
|
|
536
2117
|
class MediaPreset < Model
|
|
537
2118
|
FIELDS = {id: "id", label: "label", class_: "class", variants: "variants"}.freeze
|
|
538
2119
|
TYPES = {id: nil, label: nil, class_: nil, variants: [:array, nil]}.freeze
|
|
539
2120
|
REQUIRED = [:id, :label, :class_, :variants].freeze
|
|
540
|
-
|
|
2121
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2122
|
+
attr_accessor :id
|
|
2123
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2124
|
+
attr_accessor :label
|
|
2125
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2126
|
+
attr_accessor :class_
|
|
2127
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
2128
|
+
attr_accessor :variants
|
|
2129
|
+
# @param id [String]
|
|
2130
|
+
# @param label [String]
|
|
2131
|
+
# @param class_ [String]
|
|
2132
|
+
# @param variants [Array<String>]
|
|
2133
|
+
def initialize(
|
|
2134
|
+
id: UNSET,
|
|
2135
|
+
label: UNSET,
|
|
2136
|
+
class_: UNSET,
|
|
2137
|
+
variants: UNSET
|
|
2138
|
+
)
|
|
2139
|
+
@id = id
|
|
2140
|
+
@label = label
|
|
2141
|
+
@class_ = class_
|
|
2142
|
+
@variants = variants
|
|
2143
|
+
end
|
|
541
2144
|
end
|
|
542
2145
|
class MediaProcessing < Model
|
|
543
2146
|
FIELDS = {resize: "resize", noise: "noise"}.freeze
|
|
544
2147
|
TYPES = {resize: nil, noise: nil}.freeze
|
|
545
2148
|
REQUIRED = [].freeze
|
|
546
|
-
|
|
2149
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2150
|
+
attr_accessor :resize
|
|
2151
|
+
# @return [Numeric] UNSET until assigned when omitted.
|
|
2152
|
+
attr_accessor :noise
|
|
2153
|
+
# @param resize [String]
|
|
2154
|
+
# @param noise [Numeric]
|
|
2155
|
+
def initialize(
|
|
2156
|
+
resize: UNSET,
|
|
2157
|
+
noise: UNSET
|
|
2158
|
+
)
|
|
2159
|
+
@resize = resize
|
|
2160
|
+
@noise = noise
|
|
2161
|
+
end
|
|
547
2162
|
end
|
|
548
2163
|
class MediaProfile < Model
|
|
549
2164
|
FIELDS = {seed: "seed", devices: "devices"}.freeze
|
|
550
2165
|
TYPES = {seed: nil, devices: [:array, "MediaDeviceProfile"]}.freeze
|
|
551
2166
|
REQUIRED = [:seed, :devices].freeze
|
|
552
|
-
|
|
2167
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2168
|
+
attr_accessor :seed
|
|
2169
|
+
# @return [Array<MediaDeviceProfile>] UNSET until assigned when omitted.
|
|
2170
|
+
attr_accessor :devices
|
|
2171
|
+
# @param seed [String]
|
|
2172
|
+
# @param devices [Array<MediaDeviceProfile>]
|
|
2173
|
+
def initialize(
|
|
2174
|
+
seed: UNSET,
|
|
2175
|
+
devices: UNSET
|
|
2176
|
+
)
|
|
2177
|
+
@seed = seed
|
|
2178
|
+
@devices = devices
|
|
2179
|
+
end
|
|
553
2180
|
end
|
|
554
2181
|
class MediaSource < Model
|
|
555
2182
|
FIELDS = {source_id: "sourceId", kind: "kind", label: "label", default: "default"}.freeze
|
|
556
2183
|
TYPES = {source_id: nil, kind: nil, label: nil, default: nil}.freeze
|
|
557
2184
|
REQUIRED = [:source_id, :kind, :label, :default].freeze
|
|
558
|
-
|
|
2185
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2186
|
+
attr_accessor :source_id
|
|
2187
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2188
|
+
attr_accessor :kind
|
|
2189
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2190
|
+
attr_accessor :label
|
|
2191
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
2192
|
+
attr_accessor :default
|
|
2193
|
+
# @param source_id [String]
|
|
2194
|
+
# @param kind [String]
|
|
2195
|
+
# @param label [String]
|
|
2196
|
+
# @param default [Boolean]
|
|
2197
|
+
def initialize(
|
|
2198
|
+
source_id: UNSET,
|
|
2199
|
+
kind: UNSET,
|
|
2200
|
+
label: UNSET,
|
|
2201
|
+
default: UNSET
|
|
2202
|
+
)
|
|
2203
|
+
@source_id = source_id
|
|
2204
|
+
@kind = kind
|
|
2205
|
+
@label = label
|
|
2206
|
+
@default = default
|
|
2207
|
+
end
|
|
559
2208
|
end
|
|
560
2209
|
class PauseParams < Model
|
|
561
2210
|
FIELDS = {}.freeze
|
|
562
2211
|
TYPES = {}.freeze
|
|
563
2212
|
REQUIRED = [].freeze
|
|
564
|
-
|
|
2213
|
+
def initialize
|
|
2214
|
+
end
|
|
565
2215
|
end
|
|
566
2216
|
class PauseResult < Model
|
|
567
2217
|
FIELDS = {}.freeze
|
|
568
2218
|
TYPES = {}.freeze
|
|
569
2219
|
REQUIRED = [].freeze
|
|
570
|
-
|
|
2220
|
+
def initialize
|
|
2221
|
+
end
|
|
571
2222
|
end
|
|
572
2223
|
class ProfileDescriptor < Model
|
|
573
2224
|
FIELDS = {mode: "mode", base_profile: "baseProfile", seed: "seed", profile_id: "profileId", environment: "environment"}.freeze
|
|
574
2225
|
TYPES = {mode: nil, base_profile: nil, seed: nil, profile_id: nil, environment: "ManualProfile"}.freeze
|
|
575
2226
|
REQUIRED = [:mode, :base_profile, :profile_id].freeze
|
|
576
|
-
|
|
2227
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2228
|
+
attr_accessor :mode
|
|
2229
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2230
|
+
attr_accessor :base_profile
|
|
2231
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2232
|
+
attr_accessor :seed
|
|
2233
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2234
|
+
attr_accessor :profile_id
|
|
2235
|
+
# @return [ManualProfile] UNSET until assigned when omitted.
|
|
2236
|
+
attr_accessor :environment
|
|
2237
|
+
# @param mode [String]
|
|
2238
|
+
# @param base_profile [String]
|
|
2239
|
+
# @param seed [String]
|
|
2240
|
+
# @param profile_id [String]
|
|
2241
|
+
# @param environment [ManualProfile]
|
|
2242
|
+
def initialize(
|
|
2243
|
+
mode: UNSET,
|
|
2244
|
+
base_profile: UNSET,
|
|
2245
|
+
seed: UNSET,
|
|
2246
|
+
profile_id: UNSET,
|
|
2247
|
+
environment: UNSET
|
|
2248
|
+
)
|
|
2249
|
+
@mode = mode
|
|
2250
|
+
@base_profile = base_profile
|
|
2251
|
+
@seed = seed
|
|
2252
|
+
@profile_id = profile_id
|
|
2253
|
+
@environment = environment
|
|
2254
|
+
end
|
|
577
2255
|
end
|
|
578
2256
|
class ProfileErrorData < Model
|
|
579
2257
|
FIELDS = {path: "path", reason: "reason", message: "message"}.freeze
|
|
580
2258
|
TYPES = {path: nil, reason: nil, message: nil}.freeze
|
|
581
2259
|
REQUIRED = [:path, :reason, :message].freeze
|
|
582
|
-
|
|
2260
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2261
|
+
attr_accessor :path
|
|
2262
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2263
|
+
attr_accessor :reason
|
|
2264
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2265
|
+
attr_accessor :message
|
|
2266
|
+
# @param path [String]
|
|
2267
|
+
# @param reason [String]
|
|
2268
|
+
# @param message [String]
|
|
2269
|
+
def initialize(
|
|
2270
|
+
path: UNSET,
|
|
2271
|
+
reason: UNSET,
|
|
2272
|
+
message: UNSET
|
|
2273
|
+
)
|
|
2274
|
+
@path = path
|
|
2275
|
+
@reason = reason
|
|
2276
|
+
@message = message
|
|
2277
|
+
end
|
|
583
2278
|
end
|
|
584
2279
|
class ProfilePatch < Model
|
|
585
2280
|
FIELDS = {identity: "identity", display: "display", window: "window", hardware: "hardware", locale: "locale", graphics: "graphics", audio: "audio", fonts: "fonts", preferences: "preferences", network: "network", permissions: "permissions", capabilities: "capabilities", features: "features", timing: "timing"}.freeze
|
|
586
2281
|
TYPES = {identity: "EnvironmentIdentity", display: "EnvironmentDisplay", window: "EnvironmentWindow", hardware: "EnvironmentHardware", locale: "EnvironmentLocale", graphics: "EnvironmentGraphics", audio: "EnvironmentAudio", fonts: "EnvironmentFonts", preferences: "EnvironmentPreferences", network: "ManualNetwork", permissions: [:map, nil], capabilities: "EnvironmentCapabilities", features: [:map, nil], timing: "EnvironmentTiming"}.freeze
|
|
587
2282
|
REQUIRED = [].freeze
|
|
588
|
-
|
|
2283
|
+
# @return [EnvironmentIdentity] UNSET until assigned when omitted.
|
|
2284
|
+
attr_accessor :identity
|
|
2285
|
+
# @return [EnvironmentDisplay] UNSET until assigned when omitted.
|
|
2286
|
+
attr_accessor :display
|
|
2287
|
+
# @return [EnvironmentWindow] UNSET until assigned when omitted.
|
|
2288
|
+
attr_accessor :window
|
|
2289
|
+
# @return [EnvironmentHardware] UNSET until assigned when omitted.
|
|
2290
|
+
attr_accessor :hardware
|
|
2291
|
+
# @return [EnvironmentLocale] UNSET until assigned when omitted.
|
|
2292
|
+
attr_accessor :locale
|
|
2293
|
+
# @return [EnvironmentGraphics] UNSET until assigned when omitted.
|
|
2294
|
+
attr_accessor :graphics
|
|
2295
|
+
# @return [EnvironmentAudio] UNSET until assigned when omitted.
|
|
2296
|
+
attr_accessor :audio
|
|
2297
|
+
# @return [EnvironmentFonts] UNSET until assigned when omitted.
|
|
2298
|
+
attr_accessor :fonts
|
|
2299
|
+
# @return [EnvironmentPreferences] UNSET until assigned when omitted.
|
|
2300
|
+
attr_accessor :preferences
|
|
2301
|
+
# @return [ManualNetwork] UNSET until assigned when omitted.
|
|
2302
|
+
attr_accessor :network
|
|
2303
|
+
# @return [Hash{String => String}] UNSET until assigned when omitted.
|
|
2304
|
+
attr_accessor :permissions
|
|
2305
|
+
# @return [EnvironmentCapabilities] UNSET until assigned when omitted.
|
|
2306
|
+
attr_accessor :capabilities
|
|
2307
|
+
# @return [Hash{String => Boolean}] UNSET until assigned when omitted.
|
|
2308
|
+
attr_accessor :features
|
|
2309
|
+
# @return [EnvironmentTiming] UNSET until assigned when omitted.
|
|
2310
|
+
attr_accessor :timing
|
|
2311
|
+
# @param identity [EnvironmentIdentity]
|
|
2312
|
+
# @param display [EnvironmentDisplay]
|
|
2313
|
+
# @param window [EnvironmentWindow]
|
|
2314
|
+
# @param hardware [EnvironmentHardware]
|
|
2315
|
+
# @param locale [EnvironmentLocale]
|
|
2316
|
+
# @param graphics [EnvironmentGraphics]
|
|
2317
|
+
# @param audio [EnvironmentAudio]
|
|
2318
|
+
# @param fonts [EnvironmentFonts]
|
|
2319
|
+
# @param preferences [EnvironmentPreferences]
|
|
2320
|
+
# @param network [ManualNetwork]
|
|
2321
|
+
# @param permissions [Hash{String => String}]
|
|
2322
|
+
# @param capabilities [EnvironmentCapabilities]
|
|
2323
|
+
# @param features [Hash{String => Boolean}]
|
|
2324
|
+
# @param timing [EnvironmentTiming]
|
|
2325
|
+
def initialize(
|
|
2326
|
+
identity: UNSET,
|
|
2327
|
+
display: UNSET,
|
|
2328
|
+
window: UNSET,
|
|
2329
|
+
hardware: UNSET,
|
|
2330
|
+
locale: UNSET,
|
|
2331
|
+
graphics: UNSET,
|
|
2332
|
+
audio: UNSET,
|
|
2333
|
+
fonts: UNSET,
|
|
2334
|
+
preferences: UNSET,
|
|
2335
|
+
network: UNSET,
|
|
2336
|
+
permissions: UNSET,
|
|
2337
|
+
capabilities: UNSET,
|
|
2338
|
+
features: UNSET,
|
|
2339
|
+
timing: UNSET
|
|
2340
|
+
)
|
|
2341
|
+
@identity = identity
|
|
2342
|
+
@display = display
|
|
2343
|
+
@window = window
|
|
2344
|
+
@hardware = hardware
|
|
2345
|
+
@locale = locale
|
|
2346
|
+
@graphics = graphics
|
|
2347
|
+
@audio = audio
|
|
2348
|
+
@fonts = fonts
|
|
2349
|
+
@preferences = preferences
|
|
2350
|
+
@network = network
|
|
2351
|
+
@permissions = permissions
|
|
2352
|
+
@capabilities = capabilities
|
|
2353
|
+
@features = features
|
|
2354
|
+
@timing = timing
|
|
2355
|
+
end
|
|
589
2356
|
end
|
|
590
2357
|
class ProtocolCoverage < Model
|
|
591
2358
|
FIELDS = {name: "name", kind: "kind", surface_registered: "surfaceRegistered", wire_schema_generated: "wireSchemaGenerated", status: "status", notes: "notes", tests: "tests", semantics_implemented: "semanticsImplemented", semantics_verified: "semanticsVerified"}.freeze
|
|
592
2359
|
TYPES = {name: nil, kind: nil, surface_registered: nil, wire_schema_generated: nil, status: nil, notes: nil, tests: [:array, nil], semantics_implemented: nil, semantics_verified: nil}.freeze
|
|
593
2360
|
REQUIRED = [:name, :kind, :surface_registered, :wire_schema_generated, :status, :semantics_implemented, :semantics_verified].freeze
|
|
594
|
-
|
|
2361
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2362
|
+
attr_accessor :name
|
|
2363
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2364
|
+
attr_accessor :kind
|
|
2365
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
2366
|
+
attr_accessor :surface_registered
|
|
2367
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
2368
|
+
attr_accessor :wire_schema_generated
|
|
2369
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2370
|
+
attr_accessor :status
|
|
2371
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2372
|
+
attr_accessor :notes
|
|
2373
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
2374
|
+
attr_accessor :tests
|
|
2375
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
2376
|
+
attr_accessor :semantics_implemented
|
|
2377
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
2378
|
+
attr_accessor :semantics_verified
|
|
2379
|
+
# @param name [String]
|
|
2380
|
+
# @param kind [String]
|
|
2381
|
+
# @param surface_registered [Boolean]
|
|
2382
|
+
# @param wire_schema_generated [Boolean]
|
|
2383
|
+
# @param status [String]
|
|
2384
|
+
# @param notes [String]
|
|
2385
|
+
# @param tests [Array<String>]
|
|
2386
|
+
# @param semantics_implemented [Boolean]
|
|
2387
|
+
# @param semantics_verified [Boolean]
|
|
2388
|
+
def initialize(
|
|
2389
|
+
name: UNSET,
|
|
2390
|
+
kind: UNSET,
|
|
2391
|
+
surface_registered: UNSET,
|
|
2392
|
+
wire_schema_generated: UNSET,
|
|
2393
|
+
status: UNSET,
|
|
2394
|
+
notes: UNSET,
|
|
2395
|
+
tests: UNSET,
|
|
2396
|
+
semantics_implemented: UNSET,
|
|
2397
|
+
semantics_verified: UNSET
|
|
2398
|
+
)
|
|
2399
|
+
@name = name
|
|
2400
|
+
@kind = kind
|
|
2401
|
+
@surface_registered = surface_registered
|
|
2402
|
+
@wire_schema_generated = wire_schema_generated
|
|
2403
|
+
@status = status
|
|
2404
|
+
@notes = notes
|
|
2405
|
+
@tests = tests
|
|
2406
|
+
@semantics_implemented = semantics_implemented
|
|
2407
|
+
@semantics_verified = semantics_verified
|
|
2408
|
+
end
|
|
595
2409
|
end
|
|
596
2410
|
class ProtocolError < Model
|
|
597
2411
|
FIELDS = {code: "code", message: "message", data: "data"}.freeze
|
|
598
2412
|
TYPES = {code: nil, message: nil, data: nil}.freeze
|
|
599
2413
|
REQUIRED = [:code, :message].freeze
|
|
600
|
-
|
|
2414
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2415
|
+
attr_accessor :code
|
|
2416
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2417
|
+
attr_accessor :message
|
|
2418
|
+
# @return [Object] UNSET until assigned when omitted.
|
|
2419
|
+
attr_accessor :data
|
|
2420
|
+
# @param code [Integer]
|
|
2421
|
+
# @param message [String]
|
|
2422
|
+
# @param data [Object]
|
|
2423
|
+
def initialize(
|
|
2424
|
+
code: UNSET,
|
|
2425
|
+
message: UNSET,
|
|
2426
|
+
data: UNSET
|
|
2427
|
+
)
|
|
2428
|
+
@code = code
|
|
2429
|
+
@message = message
|
|
2430
|
+
@data = data
|
|
2431
|
+
end
|
|
601
2432
|
end
|
|
602
2433
|
class Proxy < Model
|
|
603
2434
|
FIELDS = {server: "server", username: "username", password: "password"}.freeze
|
|
604
2435
|
TYPES = {server: nil, username: nil, password: nil}.freeze
|
|
605
2436
|
REQUIRED = [].freeze
|
|
606
|
-
|
|
2437
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2438
|
+
attr_accessor :server
|
|
2439
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2440
|
+
attr_accessor :username
|
|
2441
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2442
|
+
attr_accessor :password
|
|
2443
|
+
# @param server [String]
|
|
2444
|
+
# @param username [String]
|
|
2445
|
+
# @param password [String]
|
|
2446
|
+
def initialize(
|
|
2447
|
+
server: UNSET,
|
|
2448
|
+
username: UNSET,
|
|
2449
|
+
password: UNSET
|
|
2450
|
+
)
|
|
2451
|
+
@server = server
|
|
2452
|
+
@username = username
|
|
2453
|
+
@password = password
|
|
2454
|
+
end
|
|
607
2455
|
end
|
|
608
2456
|
class RealmDiagnostics < Model
|
|
609
2457
|
FIELDS = {realm: "realm", diagnostics: "diagnostics"}.freeze
|
|
610
2458
|
TYPES = {realm: nil, diagnostics: "Diagnostics"}.freeze
|
|
611
2459
|
REQUIRED = [:realm, :diagnostics].freeze
|
|
612
|
-
|
|
2460
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2461
|
+
attr_accessor :realm
|
|
2462
|
+
# @return [Diagnostics] UNSET until assigned when omitted.
|
|
2463
|
+
attr_accessor :diagnostics
|
|
2464
|
+
# @param realm [String]
|
|
2465
|
+
# @param diagnostics [Diagnostics]
|
|
2466
|
+
def initialize(
|
|
2467
|
+
realm: UNSET,
|
|
2468
|
+
diagnostics: UNSET
|
|
2469
|
+
)
|
|
2470
|
+
@realm = realm
|
|
2471
|
+
@diagnostics = diagnostics
|
|
2472
|
+
end
|
|
613
2473
|
end
|
|
614
2474
|
class ResetProfileOverridesParams < Model
|
|
615
2475
|
FIELDS = {target_id: "targetId"}.freeze
|
|
616
2476
|
TYPES = {target_id: nil}.freeze
|
|
617
2477
|
REQUIRED = [:target_id].freeze
|
|
618
|
-
|
|
2478
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2479
|
+
attr_accessor :target_id
|
|
2480
|
+
# @param target_id [String]
|
|
2481
|
+
def initialize(
|
|
2482
|
+
target_id: UNSET
|
|
2483
|
+
)
|
|
2484
|
+
@target_id = target_id
|
|
2485
|
+
end
|
|
619
2486
|
end
|
|
620
2487
|
class ResetProfileOverridesResult < Model
|
|
621
2488
|
FIELDS = {profile: "profile"}.freeze
|
|
622
2489
|
TYPES = {profile: "EnvironmentProfile"}.freeze
|
|
623
2490
|
REQUIRED = [:profile].freeze
|
|
624
|
-
|
|
2491
|
+
# @return [EnvironmentProfile] UNSET until assigned when omitted.
|
|
2492
|
+
attr_accessor :profile
|
|
2493
|
+
# @param profile [EnvironmentProfile]
|
|
2494
|
+
def initialize(
|
|
2495
|
+
profile: UNSET
|
|
2496
|
+
)
|
|
2497
|
+
@profile = profile
|
|
2498
|
+
end
|
|
625
2499
|
end
|
|
626
2500
|
class ResourceBudgets < Model
|
|
627
2501
|
FIELDS = {max_requests: "maxRequests", max_concurrent: "maxConcurrent", max_wire_bytes: "maxWireBytes", max_body_bytes: "maxBodyBytes", max_response_bytes: "maxResponseBytes", max_decoded_bytes: "maxDecodedBytes", max_retained_bytes: "maxRetainedBytes"}.freeze
|
|
628
2502
|
TYPES = {max_requests: nil, max_concurrent: nil, max_wire_bytes: nil, max_body_bytes: nil, max_response_bytes: nil, max_decoded_bytes: nil, max_retained_bytes: nil}.freeze
|
|
629
2503
|
REQUIRED = [].freeze
|
|
630
|
-
|
|
2504
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2505
|
+
attr_accessor :max_requests
|
|
2506
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2507
|
+
attr_accessor :max_concurrent
|
|
2508
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2509
|
+
attr_accessor :max_wire_bytes
|
|
2510
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2511
|
+
attr_accessor :max_body_bytes
|
|
2512
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2513
|
+
attr_accessor :max_response_bytes
|
|
2514
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2515
|
+
attr_accessor :max_decoded_bytes
|
|
2516
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2517
|
+
attr_accessor :max_retained_bytes
|
|
2518
|
+
# @param max_requests [Integer]
|
|
2519
|
+
# @param max_concurrent [Integer]
|
|
2520
|
+
# @param max_wire_bytes [Integer]
|
|
2521
|
+
# @param max_body_bytes [Integer]
|
|
2522
|
+
# @param max_response_bytes [Integer]
|
|
2523
|
+
# @param max_decoded_bytes [Integer]
|
|
2524
|
+
# @param max_retained_bytes [Integer]
|
|
2525
|
+
def initialize(
|
|
2526
|
+
max_requests: UNSET,
|
|
2527
|
+
max_concurrent: UNSET,
|
|
2528
|
+
max_wire_bytes: UNSET,
|
|
2529
|
+
max_body_bytes: UNSET,
|
|
2530
|
+
max_response_bytes: UNSET,
|
|
2531
|
+
max_decoded_bytes: UNSET,
|
|
2532
|
+
max_retained_bytes: UNSET
|
|
2533
|
+
)
|
|
2534
|
+
@max_requests = max_requests
|
|
2535
|
+
@max_concurrent = max_concurrent
|
|
2536
|
+
@max_wire_bytes = max_wire_bytes
|
|
2537
|
+
@max_body_bytes = max_body_bytes
|
|
2538
|
+
@max_response_bytes = max_response_bytes
|
|
2539
|
+
@max_decoded_bytes = max_decoded_bytes
|
|
2540
|
+
@max_retained_bytes = max_retained_bytes
|
|
2541
|
+
end
|
|
631
2542
|
end
|
|
632
2543
|
class ResourceMatch < Model
|
|
633
2544
|
FIELDS = {kinds: "kinds", hosts: "hosts", origins: "origins", url_glob: "urlGlob", owners: "owners", mechanisms: "mechanisms", top_level_site: "topLevelSite"}.freeze
|
|
634
2545
|
TYPES = {kinds: [:array, nil], hosts: [:array, nil], origins: [:array, nil], url_glob: nil, owners: [:array, nil], mechanisms: [:array, nil], top_level_site: nil}.freeze
|
|
635
2546
|
REQUIRED = [].freeze
|
|
636
|
-
|
|
2547
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
2548
|
+
attr_accessor :kinds
|
|
2549
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
2550
|
+
attr_accessor :hosts
|
|
2551
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
2552
|
+
attr_accessor :origins
|
|
2553
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2554
|
+
attr_accessor :url_glob
|
|
2555
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
2556
|
+
attr_accessor :owners
|
|
2557
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
2558
|
+
attr_accessor :mechanisms
|
|
2559
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2560
|
+
attr_accessor :top_level_site
|
|
2561
|
+
# @param kinds [Array<String>]
|
|
2562
|
+
# @param hosts [Array<String>]
|
|
2563
|
+
# @param origins [Array<String>]
|
|
2564
|
+
# @param url_glob [String]
|
|
2565
|
+
# @param owners [Array<String>]
|
|
2566
|
+
# @param mechanisms [Array<String>]
|
|
2567
|
+
# @param top_level_site [String]
|
|
2568
|
+
def initialize(
|
|
2569
|
+
kinds: UNSET,
|
|
2570
|
+
hosts: UNSET,
|
|
2571
|
+
origins: UNSET,
|
|
2572
|
+
url_glob: UNSET,
|
|
2573
|
+
owners: UNSET,
|
|
2574
|
+
mechanisms: UNSET,
|
|
2575
|
+
top_level_site: UNSET
|
|
2576
|
+
)
|
|
2577
|
+
@kinds = kinds
|
|
2578
|
+
@hosts = hosts
|
|
2579
|
+
@origins = origins
|
|
2580
|
+
@url_glob = url_glob
|
|
2581
|
+
@owners = owners
|
|
2582
|
+
@mechanisms = mechanisms
|
|
2583
|
+
@top_level_site = top_level_site
|
|
2584
|
+
end
|
|
637
2585
|
end
|
|
638
2586
|
class ResourcePolicy < Model
|
|
639
2587
|
FIELDS = {report_only: "reportOnly", presets: "presets", rules: "rules", budgets: "budgets"}.freeze
|
|
640
2588
|
TYPES = {report_only: nil, presets: [:array, nil], rules: [:array, "ResourceRule"], budgets: "ResourceBudgets"}.freeze
|
|
641
2589
|
REQUIRED = [].freeze
|
|
642
|
-
|
|
2590
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
2591
|
+
attr_accessor :report_only
|
|
2592
|
+
# @return [Array<String>] UNSET until assigned when omitted.
|
|
2593
|
+
attr_accessor :presets
|
|
2594
|
+
# @return [Array<ResourceRule>] UNSET until assigned when omitted.
|
|
2595
|
+
attr_accessor :rules
|
|
2596
|
+
# @return [ResourceBudgets] UNSET until assigned when omitted.
|
|
2597
|
+
attr_accessor :budgets
|
|
2598
|
+
# @param report_only [Boolean]
|
|
2599
|
+
# @param presets [Array<String>]
|
|
2600
|
+
# @param rules [Array<ResourceRule>]
|
|
2601
|
+
# @param budgets [ResourceBudgets]
|
|
2602
|
+
def initialize(
|
|
2603
|
+
report_only: UNSET,
|
|
2604
|
+
presets: UNSET,
|
|
2605
|
+
rules: UNSET,
|
|
2606
|
+
budgets: UNSET
|
|
2607
|
+
)
|
|
2608
|
+
@report_only = report_only
|
|
2609
|
+
@presets = presets
|
|
2610
|
+
@rules = rules
|
|
2611
|
+
@budgets = budgets
|
|
2612
|
+
end
|
|
643
2613
|
end
|
|
644
2614
|
class ResourcePolicyStats < Model
|
|
645
2615
|
FIELDS = {generation: "generation", requests: "requests", network_acquisitions: "networkAcquisitions", cache_hits: "cacheHits", blocked: "blocked", header_only: "headerOnly", prefixes: "prefixes", wire_bytes_known: "wireBytesKnown", encoded_network_body_bytes: "encodedNetworkBodyBytes", body_bytes_consumed: "bodyBytesConsumed", retained_body_bytes: "retainedBodyBytes", decoded_pixel_work_bytes: "decodedPixelWorkBytes", known_avoided_body_read_bytes: "knownAvoidedBodyReadBytes", unknown_avoided_body_requests: "unknownAvoidedBodyRequests", would_block: "wouldBlock", would_bypass_cache: "wouldBypassCache", budget_denied: "budgetDenied", by_rule: "byRule"}.freeze
|
|
646
2616
|
TYPES = {generation: nil, requests: nil, network_acquisitions: nil, cache_hits: nil, blocked: nil, header_only: nil, prefixes: nil, wire_bytes_known: nil, encoded_network_body_bytes: nil, body_bytes_consumed: nil, retained_body_bytes: nil, decoded_pixel_work_bytes: nil, known_avoided_body_read_bytes: nil, unknown_avoided_body_requests: nil, would_block: nil, would_bypass_cache: nil, budget_denied: nil, by_rule: [:map, nil]}.freeze
|
|
647
2617
|
REQUIRED = [:generation, :requests, :network_acquisitions, :cache_hits, :blocked, :header_only, :prefixes, :wire_bytes_known, :encoded_network_body_bytes, :body_bytes_consumed, :retained_body_bytes, :decoded_pixel_work_bytes, :known_avoided_body_read_bytes, :unknown_avoided_body_requests, :would_block, :would_bypass_cache, :budget_denied, :by_rule].freeze
|
|
648
|
-
|
|
2618
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2619
|
+
attr_accessor :generation
|
|
2620
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2621
|
+
attr_accessor :requests
|
|
2622
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2623
|
+
attr_accessor :network_acquisitions
|
|
2624
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2625
|
+
attr_accessor :cache_hits
|
|
2626
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2627
|
+
attr_accessor :blocked
|
|
2628
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2629
|
+
attr_accessor :header_only
|
|
2630
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2631
|
+
attr_accessor :prefixes
|
|
2632
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2633
|
+
attr_accessor :wire_bytes_known
|
|
2634
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2635
|
+
attr_accessor :encoded_network_body_bytes
|
|
2636
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2637
|
+
attr_accessor :body_bytes_consumed
|
|
2638
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2639
|
+
attr_accessor :retained_body_bytes
|
|
2640
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2641
|
+
attr_accessor :decoded_pixel_work_bytes
|
|
2642
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2643
|
+
attr_accessor :known_avoided_body_read_bytes
|
|
2644
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2645
|
+
attr_accessor :unknown_avoided_body_requests
|
|
2646
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2647
|
+
attr_accessor :would_block
|
|
2648
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2649
|
+
attr_accessor :would_bypass_cache
|
|
2650
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2651
|
+
attr_accessor :budget_denied
|
|
2652
|
+
# @return [Hash{String => Integer}] UNSET until assigned when omitted.
|
|
2653
|
+
attr_accessor :by_rule
|
|
2654
|
+
# @param generation [Integer]
|
|
2655
|
+
# @param requests [Integer]
|
|
2656
|
+
# @param network_acquisitions [Integer]
|
|
2657
|
+
# @param cache_hits [Integer]
|
|
2658
|
+
# @param blocked [Integer]
|
|
2659
|
+
# @param header_only [Integer]
|
|
2660
|
+
# @param prefixes [Integer]
|
|
2661
|
+
# @param wire_bytes_known [Integer]
|
|
2662
|
+
# @param encoded_network_body_bytes [Integer]
|
|
2663
|
+
# @param body_bytes_consumed [Integer]
|
|
2664
|
+
# @param retained_body_bytes [Integer]
|
|
2665
|
+
# @param decoded_pixel_work_bytes [Integer]
|
|
2666
|
+
# @param known_avoided_body_read_bytes [Integer]
|
|
2667
|
+
# @param unknown_avoided_body_requests [Integer]
|
|
2668
|
+
# @param would_block [Integer]
|
|
2669
|
+
# @param would_bypass_cache [Integer]
|
|
2670
|
+
# @param budget_denied [Integer]
|
|
2671
|
+
# @param by_rule [Hash{String => Integer}]
|
|
2672
|
+
def initialize(
|
|
2673
|
+
generation: UNSET,
|
|
2674
|
+
requests: UNSET,
|
|
2675
|
+
network_acquisitions: UNSET,
|
|
2676
|
+
cache_hits: UNSET,
|
|
2677
|
+
blocked: UNSET,
|
|
2678
|
+
header_only: UNSET,
|
|
2679
|
+
prefixes: UNSET,
|
|
2680
|
+
wire_bytes_known: UNSET,
|
|
2681
|
+
encoded_network_body_bytes: UNSET,
|
|
2682
|
+
body_bytes_consumed: UNSET,
|
|
2683
|
+
retained_body_bytes: UNSET,
|
|
2684
|
+
decoded_pixel_work_bytes: UNSET,
|
|
2685
|
+
known_avoided_body_read_bytes: UNSET,
|
|
2686
|
+
unknown_avoided_body_requests: UNSET,
|
|
2687
|
+
would_block: UNSET,
|
|
2688
|
+
would_bypass_cache: UNSET,
|
|
2689
|
+
budget_denied: UNSET,
|
|
2690
|
+
by_rule: UNSET
|
|
2691
|
+
)
|
|
2692
|
+
@generation = generation
|
|
2693
|
+
@requests = requests
|
|
2694
|
+
@network_acquisitions = network_acquisitions
|
|
2695
|
+
@cache_hits = cache_hits
|
|
2696
|
+
@blocked = blocked
|
|
2697
|
+
@header_only = header_only
|
|
2698
|
+
@prefixes = prefixes
|
|
2699
|
+
@wire_bytes_known = wire_bytes_known
|
|
2700
|
+
@encoded_network_body_bytes = encoded_network_body_bytes
|
|
2701
|
+
@body_bytes_consumed = body_bytes_consumed
|
|
2702
|
+
@retained_body_bytes = retained_body_bytes
|
|
2703
|
+
@decoded_pixel_work_bytes = decoded_pixel_work_bytes
|
|
2704
|
+
@known_avoided_body_read_bytes = known_avoided_body_read_bytes
|
|
2705
|
+
@unknown_avoided_body_requests = unknown_avoided_body_requests
|
|
2706
|
+
@would_block = would_block
|
|
2707
|
+
@would_bypass_cache = would_bypass_cache
|
|
2708
|
+
@budget_denied = budget_denied
|
|
2709
|
+
@by_rule = by_rule
|
|
2710
|
+
end
|
|
649
2711
|
end
|
|
650
2712
|
class ResourceRule < Model
|
|
651
2713
|
FIELDS = {id: "id", match: "match", work: "work"}.freeze
|
|
652
2714
|
TYPES = {id: nil, match: "ResourceMatch", work: "ResourceWork"}.freeze
|
|
653
2715
|
REQUIRED = [:id].freeze
|
|
654
|
-
|
|
2716
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2717
|
+
attr_accessor :id
|
|
2718
|
+
# @return [ResourceMatch] UNSET until assigned when omitted.
|
|
2719
|
+
attr_accessor :match
|
|
2720
|
+
# @return [ResourceWork] UNSET until assigned when omitted.
|
|
2721
|
+
attr_accessor :work
|
|
2722
|
+
# @param id [String]
|
|
2723
|
+
# @param match [ResourceMatch]
|
|
2724
|
+
# @param work [ResourceWork]
|
|
2725
|
+
def initialize(
|
|
2726
|
+
id: UNSET,
|
|
2727
|
+
match: UNSET,
|
|
2728
|
+
work: UNSET
|
|
2729
|
+
)
|
|
2730
|
+
@id = id
|
|
2731
|
+
@match = match
|
|
2732
|
+
@work = work
|
|
2733
|
+
end
|
|
655
2734
|
end
|
|
656
2735
|
class ResourceWork < Model
|
|
657
2736
|
FIELDS = {cache_read: "cacheRead", network: "network", body: "body", prefix_bytes: "prefixBytes", decode: "decode", cache_retain: "cacheRetain", debug_retain: "debugRetain"}.freeze
|
|
658
2737
|
TYPES = {cache_read: nil, network: nil, body: nil, prefix_bytes: nil, decode: nil, cache_retain: nil, debug_retain: nil}.freeze
|
|
659
2738
|
REQUIRED = [].freeze
|
|
660
|
-
|
|
2739
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
2740
|
+
attr_accessor :cache_read
|
|
2741
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
2742
|
+
attr_accessor :network
|
|
2743
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2744
|
+
attr_accessor :body
|
|
2745
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2746
|
+
attr_accessor :prefix_bytes
|
|
2747
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
2748
|
+
attr_accessor :decode
|
|
2749
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
2750
|
+
attr_accessor :cache_retain
|
|
2751
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
2752
|
+
attr_accessor :debug_retain
|
|
2753
|
+
# @param cache_read [Boolean]
|
|
2754
|
+
# @param network [Boolean]
|
|
2755
|
+
# @param body [String]
|
|
2756
|
+
# @param prefix_bytes [Integer]
|
|
2757
|
+
# @param decode [Boolean]
|
|
2758
|
+
# @param cache_retain [Boolean]
|
|
2759
|
+
# @param debug_retain [Boolean]
|
|
2760
|
+
def initialize(
|
|
2761
|
+
cache_read: UNSET,
|
|
2762
|
+
network: UNSET,
|
|
2763
|
+
body: UNSET,
|
|
2764
|
+
prefix_bytes: UNSET,
|
|
2765
|
+
decode: UNSET,
|
|
2766
|
+
cache_retain: UNSET,
|
|
2767
|
+
debug_retain: UNSET
|
|
2768
|
+
)
|
|
2769
|
+
@cache_read = cache_read
|
|
2770
|
+
@network = network
|
|
2771
|
+
@body = body
|
|
2772
|
+
@prefix_bytes = prefix_bytes
|
|
2773
|
+
@decode = decode
|
|
2774
|
+
@cache_retain = cache_retain
|
|
2775
|
+
@debug_retain = debug_retain
|
|
2776
|
+
end
|
|
661
2777
|
end
|
|
662
2778
|
class ResumeParams < Model
|
|
663
2779
|
FIELDS = {}.freeze
|
|
664
2780
|
TYPES = {}.freeze
|
|
665
2781
|
REQUIRED = [].freeze
|
|
666
|
-
|
|
2782
|
+
def initialize
|
|
2783
|
+
end
|
|
667
2784
|
end
|
|
668
2785
|
class ResumeResult < Model
|
|
669
2786
|
FIELDS = {}.freeze
|
|
670
2787
|
TYPES = {}.freeze
|
|
671
2788
|
REQUIRED = [].freeze
|
|
672
|
-
|
|
2789
|
+
def initialize
|
|
2790
|
+
end
|
|
673
2791
|
end
|
|
674
2792
|
class SetMediaProfileParams < Model
|
|
675
2793
|
FIELDS = {seed: "seed", camera: "camera", microphone: "microphone", devices: "devices", browser_context_id: "browserContextId"}.freeze
|
|
676
2794
|
TYPES = {seed: nil, camera: "MediaCameraRequest", microphone: "MediaMicrophoneRequest", devices: [:array, "MediaDeviceProfile"], browser_context_id: nil}.freeze
|
|
677
2795
|
REQUIRED = [].freeze
|
|
678
|
-
|
|
2796
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2797
|
+
attr_accessor :seed
|
|
2798
|
+
# @return [MediaCameraRequest] UNSET until assigned when omitted.
|
|
2799
|
+
attr_accessor :camera
|
|
2800
|
+
# @return [MediaMicrophoneRequest] UNSET until assigned when omitted.
|
|
2801
|
+
attr_accessor :microphone
|
|
2802
|
+
# @return [Array<MediaDeviceProfile>] UNSET until assigned when omitted.
|
|
2803
|
+
attr_accessor :devices
|
|
2804
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2805
|
+
attr_accessor :browser_context_id
|
|
2806
|
+
# @param seed [String]
|
|
2807
|
+
# @param camera [MediaCameraRequest]
|
|
2808
|
+
# @param microphone [MediaMicrophoneRequest]
|
|
2809
|
+
# @param devices [Array<MediaDeviceProfile>]
|
|
2810
|
+
# @param browser_context_id [String]
|
|
2811
|
+
def initialize(
|
|
2812
|
+
seed: UNSET,
|
|
2813
|
+
camera: UNSET,
|
|
2814
|
+
microphone: UNSET,
|
|
2815
|
+
devices: UNSET,
|
|
2816
|
+
browser_context_id: UNSET
|
|
2817
|
+
)
|
|
2818
|
+
@seed = seed
|
|
2819
|
+
@camera = camera
|
|
2820
|
+
@microphone = microphone
|
|
2821
|
+
@devices = devices
|
|
2822
|
+
@browser_context_id = browser_context_id
|
|
2823
|
+
end
|
|
679
2824
|
end
|
|
680
2825
|
class SetMediaProfileResult < Model
|
|
681
2826
|
FIELDS = {profile: "profile", native_modes_verified: "nativeModesVerified"}.freeze
|
|
682
2827
|
TYPES = {profile: "MediaProfile", native_modes_verified: nil}.freeze
|
|
683
2828
|
REQUIRED = [:profile, :native_modes_verified].freeze
|
|
684
|
-
|
|
2829
|
+
# @return [MediaProfile] UNSET until assigned when omitted.
|
|
2830
|
+
attr_accessor :profile
|
|
2831
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
2832
|
+
attr_accessor :native_modes_verified
|
|
2833
|
+
# @param profile [MediaProfile]
|
|
2834
|
+
# @param native_modes_verified [Boolean]
|
|
2835
|
+
def initialize(
|
|
2836
|
+
profile: UNSET,
|
|
2837
|
+
native_modes_verified: UNSET
|
|
2838
|
+
)
|
|
2839
|
+
@profile = profile
|
|
2840
|
+
@native_modes_verified = native_modes_verified
|
|
2841
|
+
end
|
|
685
2842
|
end
|
|
686
2843
|
class SetViewportParams < Model
|
|
687
2844
|
FIELDS = {width: "width", height: "height"}.freeze
|
|
688
2845
|
TYPES = {width: nil, height: nil}.freeze
|
|
689
2846
|
REQUIRED = [:width, :height].freeze
|
|
690
|
-
|
|
2847
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2848
|
+
attr_accessor :width
|
|
2849
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2850
|
+
attr_accessor :height
|
|
2851
|
+
# @param width [Integer]
|
|
2852
|
+
# @param height [Integer]
|
|
2853
|
+
def initialize(
|
|
2854
|
+
width: UNSET,
|
|
2855
|
+
height: UNSET
|
|
2856
|
+
)
|
|
2857
|
+
@width = width
|
|
2858
|
+
@height = height
|
|
2859
|
+
end
|
|
691
2860
|
end
|
|
692
2861
|
class SetViewportResult < Model
|
|
693
2862
|
FIELDS = {}.freeze
|
|
694
2863
|
TYPES = {}.freeze
|
|
695
2864
|
REQUIRED = [].freeze
|
|
696
|
-
|
|
2865
|
+
def initialize
|
|
2866
|
+
end
|
|
697
2867
|
end
|
|
698
2868
|
class StartTraceParams < Model
|
|
699
2869
|
FIELDS = {}.freeze
|
|
700
2870
|
TYPES = {}.freeze
|
|
701
2871
|
REQUIRED = [].freeze
|
|
702
|
-
|
|
2872
|
+
def initialize
|
|
2873
|
+
end
|
|
703
2874
|
end
|
|
704
2875
|
class StartTraceResult < Model
|
|
705
2876
|
FIELDS = {}.freeze
|
|
706
2877
|
TYPES = {}.freeze
|
|
707
2878
|
REQUIRED = [].freeze
|
|
708
|
-
|
|
2879
|
+
def initialize
|
|
2880
|
+
end
|
|
709
2881
|
end
|
|
710
2882
|
class StopTraceParams < Model
|
|
711
2883
|
FIELDS = {}.freeze
|
|
712
2884
|
TYPES = {}.freeze
|
|
713
2885
|
REQUIRED = [].freeze
|
|
714
|
-
|
|
2886
|
+
def initialize
|
|
2887
|
+
end
|
|
715
2888
|
end
|
|
716
2889
|
class StopTraceResult < Model
|
|
717
2890
|
FIELDS = {}.freeze
|
|
718
2891
|
TYPES = {}.freeze
|
|
719
2892
|
REQUIRED = [].freeze
|
|
720
|
-
|
|
2893
|
+
def initialize
|
|
2894
|
+
end
|
|
721
2895
|
end
|
|
722
2896
|
class TraceEvent < Model
|
|
723
2897
|
FIELDS = {sequence: "sequence", time: "time", kind: "kind", name: "name", data: "data"}.freeze
|
|
724
2898
|
TYPES = {sequence: nil, time: nil, kind: nil, name: nil, data: [:map, nil]}.freeze
|
|
725
2899
|
REQUIRED = [:sequence, :time, :kind, :name].freeze
|
|
726
|
-
|
|
2900
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2901
|
+
attr_accessor :sequence
|
|
2902
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2903
|
+
attr_accessor :time
|
|
2904
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2905
|
+
attr_accessor :kind
|
|
2906
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2907
|
+
attr_accessor :name
|
|
2908
|
+
# @return [Hash{String => Object}] UNSET until assigned when omitted.
|
|
2909
|
+
attr_accessor :data
|
|
2910
|
+
# @param sequence [Integer]
|
|
2911
|
+
# @param time [String]
|
|
2912
|
+
# @param kind [String]
|
|
2913
|
+
# @param name [String]
|
|
2914
|
+
# @param data [Hash{String => Object}]
|
|
2915
|
+
def initialize(
|
|
2916
|
+
sequence: UNSET,
|
|
2917
|
+
time: UNSET,
|
|
2918
|
+
kind: UNSET,
|
|
2919
|
+
name: UNSET,
|
|
2920
|
+
data: UNSET
|
|
2921
|
+
)
|
|
2922
|
+
@sequence = sequence
|
|
2923
|
+
@time = time
|
|
2924
|
+
@kind = kind
|
|
2925
|
+
@name = name
|
|
2926
|
+
@data = data
|
|
2927
|
+
end
|
|
727
2928
|
end
|
|
728
2929
|
class UpdateProfileParams < Model
|
|
729
2930
|
FIELDS = {target_id: "targetId", patch: "patch"}.freeze
|
|
730
2931
|
TYPES = {target_id: nil, patch: "ProfilePatch"}.freeze
|
|
731
2932
|
REQUIRED = [:target_id, :patch].freeze
|
|
732
|
-
|
|
2933
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2934
|
+
attr_accessor :target_id
|
|
2935
|
+
# @return [ProfilePatch] UNSET until assigned when omitted.
|
|
2936
|
+
attr_accessor :patch
|
|
2937
|
+
# @param target_id [String]
|
|
2938
|
+
# @param patch [ProfilePatch]
|
|
2939
|
+
def initialize(
|
|
2940
|
+
target_id: UNSET,
|
|
2941
|
+
patch: UNSET
|
|
2942
|
+
)
|
|
2943
|
+
@target_id = target_id
|
|
2944
|
+
@patch = patch
|
|
2945
|
+
end
|
|
733
2946
|
end
|
|
734
2947
|
class UpdateProfileResult < Model
|
|
735
2948
|
FIELDS = {profile: "profile"}.freeze
|
|
736
2949
|
TYPES = {profile: "EnvironmentProfile"}.freeze
|
|
737
2950
|
REQUIRED = [:profile].freeze
|
|
738
|
-
|
|
2951
|
+
# @return [EnvironmentProfile] UNSET until assigned when omitted.
|
|
2952
|
+
attr_accessor :profile
|
|
2953
|
+
# @param profile [EnvironmentProfile]
|
|
2954
|
+
def initialize(
|
|
2955
|
+
profile: UNSET
|
|
2956
|
+
)
|
|
2957
|
+
@profile = profile
|
|
2958
|
+
end
|
|
739
2959
|
end
|
|
740
2960
|
class UpdateResourcePolicyParams < Model
|
|
741
2961
|
FIELDS = {browser_context_id: "browserContextId", policy: "policy"}.freeze
|
|
742
2962
|
TYPES = {browser_context_id: nil, policy: "ResourcePolicy"}.freeze
|
|
743
2963
|
REQUIRED = [:browser_context_id, :policy].freeze
|
|
744
|
-
|
|
2964
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2965
|
+
attr_accessor :browser_context_id
|
|
2966
|
+
# @return [ResourcePolicy] UNSET until assigned when omitted.
|
|
2967
|
+
attr_accessor :policy
|
|
2968
|
+
# @param browser_context_id [String]
|
|
2969
|
+
# @param policy [ResourcePolicy]
|
|
2970
|
+
def initialize(
|
|
2971
|
+
browser_context_id: UNSET,
|
|
2972
|
+
policy: UNSET
|
|
2973
|
+
)
|
|
2974
|
+
@browser_context_id = browser_context_id
|
|
2975
|
+
@policy = policy
|
|
2976
|
+
end
|
|
745
2977
|
end
|
|
746
2978
|
class UpdateResourcePolicyResult < Model
|
|
747
2979
|
FIELDS = {generation: "generation"}.freeze
|
|
748
2980
|
TYPES = {generation: nil}.freeze
|
|
749
2981
|
REQUIRED = [:generation].freeze
|
|
750
|
-
|
|
2982
|
+
# @return [Integer] UNSET until assigned when omitted.
|
|
2983
|
+
attr_accessor :generation
|
|
2984
|
+
# @param generation [Integer]
|
|
2985
|
+
def initialize(
|
|
2986
|
+
generation: UNSET
|
|
2987
|
+
)
|
|
2988
|
+
@generation = generation
|
|
2989
|
+
end
|
|
751
2990
|
end
|
|
752
2991
|
class ValidateMediaProfileParams < Model
|
|
753
2992
|
FIELDS = {seed: "seed", camera: "camera", microphone: "microphone", devices: "devices", browser_context_id: "browserContextId"}.freeze
|
|
754
2993
|
TYPES = {seed: nil, camera: "MediaCameraRequest", microphone: "MediaMicrophoneRequest", devices: [:array, "MediaDeviceProfile"], browser_context_id: nil}.freeze
|
|
755
2994
|
REQUIRED = [].freeze
|
|
756
|
-
|
|
2995
|
+
# @return [String] UNSET until assigned when omitted.
|
|
2996
|
+
attr_accessor :seed
|
|
2997
|
+
# @return [MediaCameraRequest] UNSET until assigned when omitted.
|
|
2998
|
+
attr_accessor :camera
|
|
2999
|
+
# @return [MediaMicrophoneRequest] UNSET until assigned when omitted.
|
|
3000
|
+
attr_accessor :microphone
|
|
3001
|
+
# @return [Array<MediaDeviceProfile>] UNSET until assigned when omitted.
|
|
3002
|
+
attr_accessor :devices
|
|
3003
|
+
# @return [String] UNSET until assigned when omitted.
|
|
3004
|
+
attr_accessor :browser_context_id
|
|
3005
|
+
# @param seed [String]
|
|
3006
|
+
# @param camera [MediaCameraRequest]
|
|
3007
|
+
# @param microphone [MediaMicrophoneRequest]
|
|
3008
|
+
# @param devices [Array<MediaDeviceProfile>]
|
|
3009
|
+
# @param browser_context_id [String]
|
|
3010
|
+
def initialize(
|
|
3011
|
+
seed: UNSET,
|
|
3012
|
+
camera: UNSET,
|
|
3013
|
+
microphone: UNSET,
|
|
3014
|
+
devices: UNSET,
|
|
3015
|
+
browser_context_id: UNSET
|
|
3016
|
+
)
|
|
3017
|
+
@seed = seed
|
|
3018
|
+
@camera = camera
|
|
3019
|
+
@microphone = microphone
|
|
3020
|
+
@devices = devices
|
|
3021
|
+
@browser_context_id = browser_context_id
|
|
3022
|
+
end
|
|
757
3023
|
end
|
|
758
3024
|
class ValidateMediaProfileResult < Model
|
|
759
3025
|
FIELDS = {profile: "profile", native_modes_verified: "nativeModesVerified"}.freeze
|
|
760
3026
|
TYPES = {profile: "MediaProfile", native_modes_verified: nil}.freeze
|
|
761
3027
|
REQUIRED = [:profile, :native_modes_verified].freeze
|
|
762
|
-
|
|
3028
|
+
# @return [MediaProfile] UNSET until assigned when omitted.
|
|
3029
|
+
attr_accessor :profile
|
|
3030
|
+
# @return [Boolean] UNSET until assigned when omitted.
|
|
3031
|
+
attr_accessor :native_modes_verified
|
|
3032
|
+
# @param profile [MediaProfile]
|
|
3033
|
+
# @param native_modes_verified [Boolean]
|
|
3034
|
+
def initialize(
|
|
3035
|
+
profile: UNSET,
|
|
3036
|
+
native_modes_verified: UNSET
|
|
3037
|
+
)
|
|
3038
|
+
@profile = profile
|
|
3039
|
+
@native_modes_verified = native_modes_verified
|
|
3040
|
+
end
|
|
763
3041
|
end
|
|
764
3042
|
class ValidateResourcePolicyParams < Model
|
|
765
3043
|
FIELDS = {policy: "policy"}.freeze
|
|
766
3044
|
TYPES = {policy: "ResourcePolicy"}.freeze
|
|
767
3045
|
REQUIRED = [:policy].freeze
|
|
768
|
-
|
|
3046
|
+
# @return [ResourcePolicy] UNSET until assigned when omitted.
|
|
3047
|
+
attr_accessor :policy
|
|
3048
|
+
# @param policy [ResourcePolicy]
|
|
3049
|
+
def initialize(
|
|
3050
|
+
policy: UNSET
|
|
3051
|
+
)
|
|
3052
|
+
@policy = policy
|
|
3053
|
+
end
|
|
769
3054
|
end
|
|
770
3055
|
class ValidateResourcePolicyResult < Model
|
|
771
3056
|
FIELDS = {policy: "policy"}.freeze
|
|
772
3057
|
TYPES = {policy: "ResourcePolicy"}.freeze
|
|
773
3058
|
REQUIRED = [:policy].freeze
|
|
774
|
-
|
|
3059
|
+
# @return [ResourcePolicy] UNSET until assigned when omitted.
|
|
3060
|
+
attr_accessor :policy
|
|
3061
|
+
# @param policy [ResourcePolicy]
|
|
3062
|
+
def initialize(
|
|
3063
|
+
policy: UNSET
|
|
3064
|
+
)
|
|
3065
|
+
@policy = policy
|
|
3066
|
+
end
|
|
775
3067
|
end
|
|
776
3068
|
class MimicCommands
|
|
777
3069
|
def initialize(sender)
|
|
778
3070
|
@sender = sender
|
|
779
3071
|
end
|
|
3072
|
+
# @param params [CancelExecutionParams, Hash]
|
|
3073
|
+
# @return [CancelExecutionResult]
|
|
780
3074
|
def cancel_execution(params = {})
|
|
781
3075
|
CancelExecutionResult.from_wire(@sender.call("Mimic.cancelExecution", Generated.to_wire(params)))
|
|
782
3076
|
end
|
|
3077
|
+
# @param params [CaptureSnapshotParams, Hash]
|
|
3078
|
+
# @return [CaptureSnapshotResult]
|
|
783
3079
|
def capture_snapshot(params = {})
|
|
784
3080
|
CaptureSnapshotResult.from_wire(@sender.call("Mimic.captureSnapshot", Generated.to_wire(params)))
|
|
785
3081
|
end
|
|
3082
|
+
# @param params [ClearTraceParams, Hash]
|
|
3083
|
+
# @return [ClearTraceResult]
|
|
786
3084
|
def clear_trace(params = {})
|
|
787
3085
|
ClearTraceResult.from_wire(@sender.call("Mimic.clearTrace", Generated.to_wire(params)))
|
|
788
3086
|
end
|
|
3087
|
+
# @param params [ConfigureContextParams, Hash]
|
|
3088
|
+
# @return [ConfigureContextResult]
|
|
789
3089
|
def configure_context(params)
|
|
790
3090
|
ConfigureContextResult.from_wire(@sender.call("Mimic.configureContext", Generated.to_wire(params)))
|
|
791
3091
|
end
|
|
3092
|
+
# @param params [CreateContextParams, Hash]
|
|
3093
|
+
# @return [CreateContextResult]
|
|
792
3094
|
def create_context(params = {})
|
|
793
3095
|
CreateContextResult.from_wire(@sender.call("Mimic.createContext", Generated.to_wire(params)))
|
|
794
3096
|
end
|
|
3097
|
+
# @param params [ExportProfileParams, Hash]
|
|
3098
|
+
# @return [ExportProfileResult]
|
|
795
3099
|
def export_profile(params)
|
|
796
3100
|
ExportProfileResult.from_wire(@sender.call("Mimic.exportProfile", Generated.to_wire(params)))
|
|
797
3101
|
end
|
|
3102
|
+
# @param params [GenerateProfileParams, Hash]
|
|
3103
|
+
# @return [GenerateProfileResult]
|
|
798
3104
|
def generate_profile(params = {})
|
|
799
3105
|
GenerateProfileResult.from_wire(@sender.call("Mimic.generateProfile", Generated.to_wire(params)))
|
|
800
3106
|
end
|
|
3107
|
+
# @param params [GetCompatibilityMatrixParams, Hash]
|
|
3108
|
+
# @return [GetCompatibilityMatrixResult]
|
|
801
3109
|
def get_compatibility_matrix(params = {})
|
|
802
3110
|
GetCompatibilityMatrixResult.from_wire(@sender.call("Mimic.getCompatibilityMatrix", Generated.to_wire(params)))
|
|
803
3111
|
end
|
|
3112
|
+
# @param params [GetDiagnosticsParams, Hash]
|
|
3113
|
+
# @return [GetDiagnosticsResult]
|
|
804
3114
|
def get_diagnostics(params = {})
|
|
805
3115
|
GetDiagnosticsResult.from_wire(@sender.call("Mimic.getDiagnostics", Generated.to_wire(params)))
|
|
806
3116
|
end
|
|
3117
|
+
# @param params [GetMediaPresetsParams, Hash]
|
|
3118
|
+
# @return [GetMediaPresetsResult]
|
|
807
3119
|
def get_media_presets(params = {})
|
|
808
3120
|
GetMediaPresetsResult.from_wire(@sender.call("Mimic.getMediaPresets", Generated.to_wire(params)))
|
|
809
3121
|
end
|
|
3122
|
+
# @param params [GetMediaProfileParams, Hash]
|
|
3123
|
+
# @return [GetMediaProfileResult]
|
|
810
3124
|
def get_media_profile(params = {})
|
|
811
3125
|
GetMediaProfileResult.from_wire(@sender.call("Mimic.getMediaProfile", Generated.to_wire(params)))
|
|
812
3126
|
end
|
|
3127
|
+
# @param params [GetMediaSourcesParams, Hash]
|
|
3128
|
+
# @return [GetMediaSourcesResult]
|
|
813
3129
|
def get_media_sources(params = {})
|
|
814
3130
|
GetMediaSourcesResult.from_wire(@sender.call("Mimic.getMediaSources", Generated.to_wire(params)))
|
|
815
3131
|
end
|
|
3132
|
+
# @param params [GetProfileParams, Hash]
|
|
3133
|
+
# @return [GetProfileResult]
|
|
816
3134
|
def get_profile(params)
|
|
817
3135
|
GetProfileResult.from_wire(@sender.call("Mimic.getProfile", Generated.to_wire(params)))
|
|
818
3136
|
end
|
|
3137
|
+
# @param params [GetProfileSchemaParams, Hash]
|
|
3138
|
+
# @return [GetProfileSchemaResult]
|
|
819
3139
|
def get_profile_schema(params = {})
|
|
820
3140
|
GetProfileSchemaResult.from_wire(@sender.call("Mimic.getProfileSchema", Generated.to_wire(params)))
|
|
821
3141
|
end
|
|
3142
|
+
# @param params [GetResourcePolicyParams, Hash]
|
|
3143
|
+
# @return [GetResourcePolicyResult]
|
|
822
3144
|
def get_resource_policy(params)
|
|
823
3145
|
GetResourcePolicyResult.from_wire(@sender.call("Mimic.getResourcePolicy", Generated.to_wire(params)))
|
|
824
3146
|
end
|
|
3147
|
+
# @param params [GetResourcePolicySchemaParams, Hash]
|
|
3148
|
+
# @return [GetResourcePolicySchemaResult]
|
|
825
3149
|
def get_resource_policy_schema(params = {})
|
|
826
3150
|
GetResourcePolicySchemaResult.from_wire(@sender.call("Mimic.getResourcePolicySchema", Generated.to_wire(params)))
|
|
827
3151
|
end
|
|
3152
|
+
# @param params [GetResourcePolicyStatsParams, Hash]
|
|
3153
|
+
# @return [GetResourcePolicyStatsResult]
|
|
828
3154
|
def get_resource_policy_stats(params)
|
|
829
3155
|
GetResourcePolicyStatsResult.from_wire(@sender.call("Mimic.getResourcePolicyStats", Generated.to_wire(params)))
|
|
830
3156
|
end
|
|
3157
|
+
# @param params [GetStatusParams, Hash]
|
|
3158
|
+
# @return [GetStatusResult]
|
|
831
3159
|
def get_status(params = {})
|
|
832
3160
|
GetStatusResult.from_wire(@sender.call("Mimic.getStatus", Generated.to_wire(params)))
|
|
833
3161
|
end
|
|
3162
|
+
# @param params [GetTraceParams, Hash]
|
|
3163
|
+
# @return [GetTraceResult]
|
|
834
3164
|
def get_trace(params = {})
|
|
835
3165
|
GetTraceResult.from_wire(@sender.call("Mimic.getTrace", Generated.to_wire(params)))
|
|
836
3166
|
end
|
|
3167
|
+
# @param params [GetVersionParams, Hash]
|
|
3168
|
+
# @return [GetVersionResult]
|
|
837
3169
|
def get_version(params = {})
|
|
838
3170
|
GetVersionResult.from_wire(@sender.call("Mimic.getVersion", Generated.to_wire(params)))
|
|
839
3171
|
end
|
|
3172
|
+
# @param params [ImportProfileParams, Hash]
|
|
3173
|
+
# @return [ImportProfileResult]
|
|
840
3174
|
def import_profile(params)
|
|
841
3175
|
ImportProfileResult.from_wire(@sender.call("Mimic.importProfile", Generated.to_wire(params)))
|
|
842
3176
|
end
|
|
3177
|
+
# @param params [PauseParams, Hash]
|
|
3178
|
+
# @return [PauseResult]
|
|
843
3179
|
def pause(params = {})
|
|
844
3180
|
PauseResult.from_wire(@sender.call("Mimic.pause", Generated.to_wire(params)))
|
|
845
3181
|
end
|
|
3182
|
+
# @param params [ResetProfileOverridesParams, Hash]
|
|
3183
|
+
# @return [ResetProfileOverridesResult]
|
|
846
3184
|
def reset_profile_overrides(params)
|
|
847
3185
|
ResetProfileOverridesResult.from_wire(@sender.call("Mimic.resetProfileOverrides", Generated.to_wire(params)))
|
|
848
3186
|
end
|
|
3187
|
+
# @param params [ResumeParams, Hash]
|
|
3188
|
+
# @return [ResumeResult]
|
|
849
3189
|
def resume(params = {})
|
|
850
3190
|
ResumeResult.from_wire(@sender.call("Mimic.resume", Generated.to_wire(params)))
|
|
851
3191
|
end
|
|
3192
|
+
# @param params [SetMediaProfileParams, Hash]
|
|
3193
|
+
# @return [SetMediaProfileResult]
|
|
852
3194
|
def set_media_profile(params)
|
|
853
3195
|
SetMediaProfileResult.from_wire(@sender.call("Mimic.setMediaProfile", Generated.to_wire(params)))
|
|
854
3196
|
end
|
|
3197
|
+
# @param params [SetViewportParams, Hash]
|
|
3198
|
+
# @return [SetViewportResult]
|
|
855
3199
|
def set_viewport(params)
|
|
856
3200
|
SetViewportResult.from_wire(@sender.call("Mimic.setViewport", Generated.to_wire(params)))
|
|
857
3201
|
end
|
|
3202
|
+
# @param params [StartTraceParams, Hash]
|
|
3203
|
+
# @return [StartTraceResult]
|
|
858
3204
|
def start_trace(params = {})
|
|
859
3205
|
StartTraceResult.from_wire(@sender.call("Mimic.startTrace", Generated.to_wire(params)))
|
|
860
3206
|
end
|
|
3207
|
+
# @param params [StopTraceParams, Hash]
|
|
3208
|
+
# @return [StopTraceResult]
|
|
861
3209
|
def stop_trace(params = {})
|
|
862
3210
|
StopTraceResult.from_wire(@sender.call("Mimic.stopTrace", Generated.to_wire(params)))
|
|
863
3211
|
end
|
|
3212
|
+
# @param params [UpdateProfileParams, Hash]
|
|
3213
|
+
# @return [UpdateProfileResult]
|
|
864
3214
|
def update_profile(params)
|
|
865
3215
|
UpdateProfileResult.from_wire(@sender.call("Mimic.updateProfile", Generated.to_wire(params)))
|
|
866
3216
|
end
|
|
3217
|
+
# @param params [UpdateResourcePolicyParams, Hash]
|
|
3218
|
+
# @return [UpdateResourcePolicyResult]
|
|
867
3219
|
def update_resource_policy(params)
|
|
868
3220
|
UpdateResourcePolicyResult.from_wire(@sender.call("Mimic.updateResourcePolicy", Generated.to_wire(params)))
|
|
869
3221
|
end
|
|
3222
|
+
# @param params [ValidateMediaProfileParams, Hash]
|
|
3223
|
+
# @return [ValidateMediaProfileResult]
|
|
870
3224
|
def validate_media_profile(params)
|
|
871
3225
|
ValidateMediaProfileResult.from_wire(@sender.call("Mimic.validateMediaProfile", Generated.to_wire(params)))
|
|
872
3226
|
end
|
|
3227
|
+
# @param params [ValidateResourcePolicyParams, Hash]
|
|
3228
|
+
# @return [ValidateResourcePolicyResult]
|
|
873
3229
|
def validate_resource_policy(params)
|
|
874
3230
|
ValidateResourcePolicyResult.from_wire(@sender.call("Mimic.validateResourcePolicy", Generated.to_wire(params)))
|
|
875
3231
|
end
|