telestream_cloud_flip 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/README.md +130 -0
- data/Rakefile +8 -0
- data/docs/CanceledResponse.md +8 -0
- data/docs/CloudNotificationSettings.md +11 -0
- data/docs/CloudNotificationSettingsEvents.md +11 -0
- data/docs/CopyProfileBody.md +9 -0
- data/docs/CountResponse.md +8 -0
- data/docs/CreateEncodingBody.md +10 -0
- data/docs/CreateVideoBody.md +12 -0
- data/docs/DeletedResponse.md +8 -0
- data/docs/Encoding.md +38 -0
- data/docs/EncodingSignedUrl.md +8 -0
- data/docs/EncodingSignedUrls.md +8 -0
- data/docs/Error.md +9 -0
- data/docs/ExtraFile.md +10 -0
- data/docs/Factory.md +25 -0
- data/docs/FactoryBody.md +23 -0
- data/docs/FactoryBodyStorageCredentialAttributes.md +11 -0
- data/docs/FactorySync.md +8 -0
- data/docs/FactorySyncBody.md +8 -0
- data/docs/FlipApi.md +2179 -0
- data/docs/PaginatedEncodingsCollection.md +11 -0
- data/docs/PaginatedFactoryCollection.md +11 -0
- data/docs/PaginatedProfilesCollection.md +11 -0
- data/docs/PaginatedVideoCollection.md +11 -0
- data/docs/PaginatedWorkflowsCollection.md +11 -0
- data/docs/Profile.md +135 -0
- data/docs/ProfileBody.md +137 -0
- data/docs/ResubmitVideoBody.md +8 -0
- data/docs/RetriedResponse.md +8 -0
- data/docs/SignedVideoUrl.md +8 -0
- data/docs/UpdateEncodingBody.md +9 -0
- data/docs/UploadSession.md +13 -0
- data/docs/Video.md +31 -0
- data/docs/VideoMetadata.md +7 -0
- data/docs/VideoUploadBody.md +24 -0
- data/git_push.sh +55 -0
- data/lib/telestream_cloud_flip/api/flip_api.rb +2385 -0
- data/lib/telestream_cloud_flip/api_client.rb +389 -0
- data/lib/telestream_cloud_flip/api_error.rb +38 -0
- data/lib/telestream_cloud_flip/configuration.rb +209 -0
- data/lib/telestream_cloud_flip/models/canceled_response.rb +189 -0
- data/lib/telestream_cloud_flip/models/cloud_notification_settings.rb +237 -0
- data/lib/telestream_cloud_flip/models/cloud_notification_settings_events.rb +239 -0
- data/lib/telestream_cloud_flip/models/copy_profile_body.rb +209 -0
- data/lib/telestream_cloud_flip/models/count_response.rb +189 -0
- data/lib/telestream_cloud_flip/models/create_encoding_body.rb +214 -0
- data/lib/telestream_cloud_flip/models/create_video_body.rb +231 -0
- data/lib/telestream_cloud_flip/models/deleted_response.rb +189 -0
- data/lib/telestream_cloud_flip/models/encoding.rb +486 -0
- data/lib/telestream_cloud_flip/models/encoding_signed_url.rb +189 -0
- data/lib/telestream_cloud_flip/models/encoding_signed_urls.rb +191 -0
- data/lib/telestream_cloud_flip/models/error.rb +199 -0
- data/lib/telestream_cloud_flip/models/extra_file.rb +221 -0
- data/lib/telestream_cloud_flip/models/factory.rb +388 -0
- data/lib/telestream_cloud_flip/models/factory_body.rb +374 -0
- data/lib/telestream_cloud_flip/models/factory_body_storage_credential_attributes.rb +215 -0
- data/lib/telestream_cloud_flip/models/factory_sync.rb +222 -0
- data/lib/telestream_cloud_flip/models/factory_sync_body.rb +227 -0
- data/lib/telestream_cloud_flip/models/paginated_encodings_collection.rb +240 -0
- data/lib/telestream_cloud_flip/models/paginated_factory_collection.rb +220 -0
- data/lib/telestream_cloud_flip/models/paginated_profiles_collection.rb +220 -0
- data/lib/telestream_cloud_flip/models/paginated_video_collection.rb +220 -0
- data/lib/telestream_cloud_flip/models/paginated_workflows_collection.rb +220 -0
- data/lib/telestream_cloud_flip/models/profile.rb +1777 -0
- data/lib/telestream_cloud_flip/models/profile_body.rb +1762 -0
- data/lib/telestream_cloud_flip/models/resubmit_video_body.rb +189 -0
- data/lib/telestream_cloud_flip/models/retried_response.rb +189 -0
- data/lib/telestream_cloud_flip/models/signed_video_url.rb +189 -0
- data/lib/telestream_cloud_flip/models/update_encoding_body.rb +199 -0
- data/lib/telestream_cloud_flip/models/upload_session.rb +249 -0
- data/lib/telestream_cloud_flip/models/video.rb +418 -0
- data/lib/telestream_cloud_flip/models/video_metadata.rb +179 -0
- data/lib/telestream_cloud_flip/models/video_upload_body.rb +362 -0
- data/lib/telestream_cloud_flip/uploader.rb +244 -0
- data/lib/telestream_cloud_flip/version.rb +18 -0
- data/lib/telestream_cloud_flip.rb +79 -0
- data/spec/api/flip_api_spec.rb +550 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/canceled_response_spec.rb +42 -0
- data/spec/models/cloud_notification_settings_events_spec.rb +60 -0
- data/spec/models/cloud_notification_settings_spec.rb +60 -0
- data/spec/models/copy_profile_body_spec.rb +48 -0
- data/spec/models/count_response_spec.rb +42 -0
- data/spec/models/create_encoding_body_spec.rb +54 -0
- data/spec/models/create_video_body_spec.rb +66 -0
- data/spec/models/deleted_response_spec.rb +42 -0
- data/spec/models/encoding_signed_url_spec.rb +42 -0
- data/spec/models/encoding_signed_urls_spec.rb +42 -0
- data/spec/models/encoding_spec.rb +222 -0
- data/spec/models/error_spec.rb +48 -0
- data/spec/models/extra_file_spec.rb +54 -0
- data/spec/models/factory_body_spec.rb +136 -0
- data/spec/models/factory_body_storage_credential_attributes_spec.rb +60 -0
- data/spec/models/factory_spec.rb +148 -0
- data/spec/models/factory_sync_body_spec.rb +46 -0
- data/spec/models/factory_sync_spec.rb +46 -0
- data/spec/models/paginated_encodings_collection_spec.rb +60 -0
- data/spec/models/paginated_factory_collection_spec.rb +60 -0
- data/spec/models/paginated_profiles_collection_spec.rb +60 -0
- data/spec/models/paginated_video_collection_spec.rb +60 -0
- data/spec/models/paginated_workflows_collection_spec.rb +60 -0
- data/spec/models/profile_body_spec.rb +916 -0
- data/spec/models/profile_spec.rb +916 -0
- data/spec/models/resubmit_video_body_spec.rb +42 -0
- data/spec/models/retried_response_spec.rb +42 -0
- data/spec/models/signed_video_url_spec.rb +42 -0
- data/spec/models/update_encoding_body_spec.rb +48 -0
- data/spec/models/upload_session_spec.rb +72 -0
- data/spec/models/video_metadata_spec.rb +36 -0
- data/spec/models/video_spec.rb +180 -0
- data/spec/models/video_upload_body_spec.rb +138 -0
- data/spec/spec_helper.rb +111 -0
- data/telestream_cloud_flip.gemspec +47 -0
- metadata +396 -0
@@ -0,0 +1,550 @@
|
|
1
|
+
=begin
|
2
|
+
#Flip API
|
3
|
+
|
4
|
+
#Description
|
5
|
+
|
6
|
+
OpenAPI spec version: 3.1.0
|
7
|
+
Contact: cloudsupport@telestream.net
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for TelestreamCloud::Flip::FlipApi
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'FlipApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@instance = TelestreamCloud::Flip::FlipApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of FlipApi' do
|
30
|
+
it 'should create an instance of FlipApi' do
|
31
|
+
expect(@instance).to be_instance_of(TelestreamCloud::Flip::FlipApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for cancel_encoding
|
36
|
+
# Cancels an Encoding.
|
37
|
+
#
|
38
|
+
# @param id Id of an Encoding.
|
39
|
+
# @param factory_id Id of a Factory.
|
40
|
+
# @param [Hash] opts the optional parameters
|
41
|
+
# @return [CanceledResponse]
|
42
|
+
describe 'cancel_encoding test' do
|
43
|
+
it "should work" do
|
44
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# unit tests for copy_profile
|
49
|
+
# Copies a given Profile
|
50
|
+
#
|
51
|
+
# @param id Id of a Profile.
|
52
|
+
# @param factory_id Id of a Factory.
|
53
|
+
# @param copy_profile_body
|
54
|
+
# @param [Hash] opts the optional parameters
|
55
|
+
# @option opts [BOOLEAN] :expand If expand option is set Profile objects will contain all command parameters, even if their value is default. By default this is not set.
|
56
|
+
# @return [Profile]
|
57
|
+
describe 'copy_profile test' do
|
58
|
+
it "should work" do
|
59
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
# unit tests for create_encoding
|
64
|
+
# Creates an Encoding
|
65
|
+
#
|
66
|
+
# @param factory_id Id of a Factory.
|
67
|
+
# @param create_encoding_body
|
68
|
+
# @param [Hash] opts the optional parameters
|
69
|
+
# @option opts [BOOLEAN] :screenshots Determines whether the response will include screenshots. By default this is not set.
|
70
|
+
# @option opts [BOOLEAN] :precise_status Determines whether the response will include a precise status. By default this is not set.
|
71
|
+
# @return [Encoding]
|
72
|
+
describe 'create_encoding test' do
|
73
|
+
it "should work" do
|
74
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# unit tests for create_factory
|
79
|
+
# Creates a new factory
|
80
|
+
#
|
81
|
+
# @param create_factory_body
|
82
|
+
# @param [Hash] opts the optional parameters
|
83
|
+
# @option opts [BOOLEAN] :with_storage_provider if set to `true`, results will include a storage provider's id
|
84
|
+
# @return [Factory]
|
85
|
+
describe 'create_factory test' do
|
86
|
+
it "should work" do
|
87
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
# unit tests for create_profile
|
92
|
+
# Creates a Profile
|
93
|
+
#
|
94
|
+
# @param factory_id Id of a Factory.
|
95
|
+
# @param create_profile_body
|
96
|
+
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [BOOLEAN] :exclude_advanced_services
|
98
|
+
# @option opts [BOOLEAN] :expand If expand option is set Profile objects will contain all command parameters, even if their value is default. By default it is not set.
|
99
|
+
# @return [Profile]
|
100
|
+
describe 'create_profile test' do
|
101
|
+
it "should work" do
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
# unit tests for create_video
|
107
|
+
# Creates a Video from a provided source_url.
|
108
|
+
#
|
109
|
+
# @param factory_id Id of a Factory.
|
110
|
+
# @param create_video_body
|
111
|
+
# @param [Hash] opts the optional parameters
|
112
|
+
# @return [Video]
|
113
|
+
describe 'create_video test' do
|
114
|
+
it "should work" do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# unit tests for create_workorder
|
120
|
+
# Creates a Workorder.
|
121
|
+
#
|
122
|
+
# @param factory_id Id of a Factory.
|
123
|
+
# @param [Hash] opts the optional parameters
|
124
|
+
# @option opts [String] :profile_id Id of a Profile.
|
125
|
+
# @option opts [File] :file Input file.
|
126
|
+
# @option opts [String] :source_url URL pointing to an input file.
|
127
|
+
# @return [nil]
|
128
|
+
describe 'create_workorder test' do
|
129
|
+
it "should work" do
|
130
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
# unit tests for delete_encoding
|
135
|
+
# Deletes an Encoding from both Telestream Cloud and your storage. Returns an information whether the operation was successful.
|
136
|
+
#
|
137
|
+
# @param id Id of an Encoding.
|
138
|
+
# @param factory_id Id of a Factory.
|
139
|
+
# @param [Hash] opts the optional parameters
|
140
|
+
# @return [DeletedResponse]
|
141
|
+
describe 'delete_encoding test' do
|
142
|
+
it "should work" do
|
143
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
# unit tests for delete_profile
|
148
|
+
# Deletes a given Profile
|
149
|
+
#
|
150
|
+
# @param id Id of a Profile
|
151
|
+
# @param factory_id Id of a Factory.
|
152
|
+
# @param [Hash] opts the optional parameters
|
153
|
+
# @return [DeletedResponse]
|
154
|
+
describe 'delete_profile test' do
|
155
|
+
it "should work" do
|
156
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
# unit tests for delete_video
|
161
|
+
# Deletes a Video object.
|
162
|
+
#
|
163
|
+
# @param id Id of a Video.
|
164
|
+
# @param factory_id Id of a Factory.
|
165
|
+
# @param [Hash] opts the optional parameters
|
166
|
+
# @return [DeletedResponse]
|
167
|
+
describe 'delete_video test' do
|
168
|
+
it "should work" do
|
169
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
173
|
+
# unit tests for delete_video_source
|
174
|
+
# Delete a video's source file.
|
175
|
+
#
|
176
|
+
# @param id Id of a Video.
|
177
|
+
# @param factory_id Id of a Factory.
|
178
|
+
# @param [Hash] opts the optional parameters
|
179
|
+
# @return [DeletedResponse]
|
180
|
+
describe 'delete_video_source test' do
|
181
|
+
it "should work" do
|
182
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
# unit tests for encoding
|
187
|
+
# Returns an Encoding object.
|
188
|
+
#
|
189
|
+
# @param id Id of an Encoding.
|
190
|
+
# @param factory_id Id of a Factory.
|
191
|
+
# @param [Hash] opts the optional parameters
|
192
|
+
# @option opts [BOOLEAN] :screenshots Determines whether the response will include screenshots. By default this is not set.
|
193
|
+
# @option opts [BOOLEAN] :precise_status Determines whether the response will include a precise status. By default this is not set.
|
194
|
+
# @return [Encoding]
|
195
|
+
describe 'encoding test' do
|
196
|
+
it "should work" do
|
197
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
201
|
+
# unit tests for encodings
|
202
|
+
# Returns a list of Encoding objects
|
203
|
+
#
|
204
|
+
# @param factory_id Id of a Factory.
|
205
|
+
# @param [Hash] opts the optional parameters
|
206
|
+
# @option opts [String] :video_id Id of a Video. When specified, the resulting list will contain videos that belong to the Video.
|
207
|
+
# @option opts [String] :status One of `success`, `fail`, `processing`. When specified, the resulting list will contain ecodings filtered by status.
|
208
|
+
# @option opts [String] :profile_id Filter by profile_id.
|
209
|
+
# @option opts [String] :profile_name Filter by profile_name.
|
210
|
+
# @option opts [Integer] :page A page to be fetched. Default is `1`.
|
211
|
+
# @option opts [Integer] :per_page A number of results per page. Default is `100`.
|
212
|
+
# @option opts [BOOLEAN] :screenshots Determines whether the response will include screenshots. By default this is not set.
|
213
|
+
# @option opts [BOOLEAN] :precise_status Determines whether the response will include a precise status. By default this is not set.
|
214
|
+
# @return [PaginatedEncodingsCollection]
|
215
|
+
describe 'encodings test' do
|
216
|
+
it "should work" do
|
217
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
# unit tests for encodings_count
|
222
|
+
# Returns a number of Encoding objects created using a given factory.
|
223
|
+
#
|
224
|
+
# @param factory_id Id of a Factory.
|
225
|
+
# @param [Hash] opts the optional parameters
|
226
|
+
# @return [CountResponse]
|
227
|
+
describe 'encodings_count test' do
|
228
|
+
it "should work" do
|
229
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
# unit tests for factories
|
234
|
+
# Returns a collection of Factory objects.
|
235
|
+
# Returns a collection of Factory objects.
|
236
|
+
# @param [Hash] opts the optional parameters
|
237
|
+
# @option opts [Integer] :page A page to be fetched. Default is `1`.
|
238
|
+
# @option opts [Integer] :per_page A number of results per page. Default is `100`.
|
239
|
+
# @option opts [BOOLEAN] :with_storage_provider if set to `true`, results will include a storage provider's id
|
240
|
+
# @return [PaginatedFactoryCollection]
|
241
|
+
describe 'factories test' do
|
242
|
+
it "should work" do
|
243
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
247
|
+
# unit tests for factory
|
248
|
+
# Returns a Factory object.
|
249
|
+
# Returns a Factory object.
|
250
|
+
# @param id id of a factory
|
251
|
+
# @param [Hash] opts the optional parameters
|
252
|
+
# @option opts [BOOLEAN] :with_storage_provider if set to `true`, results will include a storage provider's id
|
253
|
+
# @return [Factory]
|
254
|
+
describe 'factory test' do
|
255
|
+
it "should work" do
|
256
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
257
|
+
end
|
258
|
+
end
|
259
|
+
|
260
|
+
# unit tests for notifications
|
261
|
+
# Returns a Factory's notification settings.
|
262
|
+
#
|
263
|
+
# @param factory_id Id of a Factory.
|
264
|
+
# @param [Hash] opts the optional parameters
|
265
|
+
# @return [CloudNotificationSettings]
|
266
|
+
describe 'notifications test' do
|
267
|
+
it "should work" do
|
268
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
# unit tests for profile
|
273
|
+
# Returns a Profile object.
|
274
|
+
#
|
275
|
+
# @param id_or_name A name or an id of a Profile.
|
276
|
+
# @param factory_id Id of a Factory.
|
277
|
+
# @param [Hash] opts the optional parameters
|
278
|
+
# @option opts [BOOLEAN] :expand If expand option is set Profile objects will contain all command parameters, even if their value is default. By default this is not set.
|
279
|
+
# @return [Profile]
|
280
|
+
describe 'profile test' do
|
281
|
+
it "should work" do
|
282
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
283
|
+
end
|
284
|
+
end
|
285
|
+
|
286
|
+
# unit tests for profile_encodings
|
287
|
+
# Returns a list of Encodings that belong to a Profile.
|
288
|
+
#
|
289
|
+
# @param id_or_name Id or name of a Profile.
|
290
|
+
# @param factory_id Id of a Factory.
|
291
|
+
# @param [Hash] opts the optional parameters
|
292
|
+
# @return [PaginatedEncodingsCollection]
|
293
|
+
describe 'profile_encodings test' do
|
294
|
+
it "should work" do
|
295
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
299
|
+
# unit tests for profiles
|
300
|
+
# Returns a collection of Profile objects.
|
301
|
+
#
|
302
|
+
# @param factory_id Id of a Factory.
|
303
|
+
# @param [Hash] opts the optional parameters
|
304
|
+
# @option opts [BOOLEAN] :exclude_advanced_services Determine whether exclude Advanced Services profiles from the results. By default this is not set.
|
305
|
+
# @option opts [BOOLEAN] :expand If expand option is set Profile objects will contain all command parameters, even if their value is default. By default this is not set.
|
306
|
+
# @option opts [Integer] :page A page to be fetched. Default is `1`.
|
307
|
+
# @option opts [Integer] :per_page A number of results per page. Default is `100`.
|
308
|
+
# @return [PaginatedProfilesCollection]
|
309
|
+
describe 'profiles test' do
|
310
|
+
it "should work" do
|
311
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
312
|
+
end
|
313
|
+
end
|
314
|
+
|
315
|
+
# unit tests for queued_videos
|
316
|
+
# Returns a collection of Video objects queued for encoding.
|
317
|
+
#
|
318
|
+
# @param factory_id Id of a Factory.
|
319
|
+
# @param [Hash] opts the optional parameters
|
320
|
+
# @option opts [Integer] :page A page to be fetched. Default is `1`.
|
321
|
+
# @option opts [Integer] :per_page A number of results per page. Default is `100`.
|
322
|
+
# @return [PaginatedVideoCollection]
|
323
|
+
describe 'queued_videos test' do
|
324
|
+
it "should work" do
|
325
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
326
|
+
end
|
327
|
+
end
|
328
|
+
|
329
|
+
# unit tests for resubmit_video
|
330
|
+
# Resubmits a video to encode.
|
331
|
+
# Resubmits the video to encode. Please note that this option will work only for videos in `success` status.
|
332
|
+
# @param factory_id Id of a Factory.
|
333
|
+
# @param resubmit_video_body
|
334
|
+
# @param [Hash] opts the optional parameters
|
335
|
+
# @return [nil]
|
336
|
+
describe 'resubmit_video test' do
|
337
|
+
it "should work" do
|
338
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
342
|
+
# unit tests for retry_encoding
|
343
|
+
# Retries a failed encoding.
|
344
|
+
#
|
345
|
+
# @param id Id of an Encoding.
|
346
|
+
# @param factory_id Id of a Factory.
|
347
|
+
# @param [Hash] opts the optional parameters
|
348
|
+
# @return [RetriedResponse]
|
349
|
+
describe 'retry_encoding test' do
|
350
|
+
it "should work" do
|
351
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
352
|
+
end
|
353
|
+
end
|
354
|
+
|
355
|
+
# unit tests for signed_encoding_url
|
356
|
+
# Returns a signed url pointing to an Encoding.
|
357
|
+
#
|
358
|
+
# @param id Id of an Encoding.
|
359
|
+
# @param factory_id Id of a Factory.
|
360
|
+
# @param [Hash] opts the optional parameters
|
361
|
+
# @return [EncodingSignedUrl]
|
362
|
+
describe 'signed_encoding_url test' do
|
363
|
+
it "should work" do
|
364
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
368
|
+
# unit tests for signed_encoding_urls
|
369
|
+
# Returns a list of signed urls pointing to an Encoding's outputs.
|
370
|
+
#
|
371
|
+
# @param id Id of an Encoding.
|
372
|
+
# @param factory_id Id of a Factory.
|
373
|
+
# @param [Hash] opts the optional parameters
|
374
|
+
# @return [EncodingSignedUrls]
|
375
|
+
describe 'signed_encoding_urls test' do
|
376
|
+
it "should work" do
|
377
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
# unit tests for signed_video_url
|
382
|
+
# Returns a signed url pointing to a Video.
|
383
|
+
#
|
384
|
+
# @param id Id of a Video.
|
385
|
+
# @param factory_id Id of a Factory.
|
386
|
+
# @param [Hash] opts the optional parameters
|
387
|
+
# @return [SignedVideoUrl]
|
388
|
+
describe 'signed_video_url test' do
|
389
|
+
it "should work" do
|
390
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
391
|
+
end
|
392
|
+
end
|
393
|
+
|
394
|
+
# unit tests for toggle_factory_sync
|
395
|
+
# Toggles synchronisation settings.
|
396
|
+
#
|
397
|
+
# @param id id of the factory
|
398
|
+
# @param factory_sync_body
|
399
|
+
# @param [Hash] opts the optional parameters
|
400
|
+
# @return [FactorySync]
|
401
|
+
describe 'toggle_factory_sync test' do
|
402
|
+
it "should work" do
|
403
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
404
|
+
end
|
405
|
+
end
|
406
|
+
|
407
|
+
# unit tests for update_encoding
|
408
|
+
# Updates an Encoding
|
409
|
+
#
|
410
|
+
# @param id Id of an Encoding.
|
411
|
+
# @param factory_id Id of a Factory.
|
412
|
+
# @param update_encoding_body
|
413
|
+
# @param [Hash] opts the optional parameters
|
414
|
+
# @option opts [BOOLEAN] :screenshots Determines whether the response will include screenshots. By default this is not set.
|
415
|
+
# @option opts [BOOLEAN] :precise_status Determines whether the response will include a precise status. By default this is not set.
|
416
|
+
# @return [Encoding]
|
417
|
+
describe 'update_encoding test' do
|
418
|
+
it "should work" do
|
419
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
420
|
+
end
|
421
|
+
end
|
422
|
+
|
423
|
+
# unit tests for update_factory
|
424
|
+
# Updates a Factory's settings. Returns a Factory object.
|
425
|
+
#
|
426
|
+
# @param id id of the factory
|
427
|
+
# @param update_factory_body
|
428
|
+
# @param [Hash] opts the optional parameters
|
429
|
+
# @option opts [BOOLEAN] :with_storage_provider if set to `true`, results will include a storage provider's id
|
430
|
+
# @return [Factory]
|
431
|
+
describe 'update_factory test' do
|
432
|
+
it "should work" do
|
433
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
434
|
+
end
|
435
|
+
end
|
436
|
+
|
437
|
+
# unit tests for update_notifications
|
438
|
+
# Updates a Factory's notification settings.
|
439
|
+
#
|
440
|
+
# @param factory_id Id of a Factory.
|
441
|
+
# @param cloud_notification_settings_body
|
442
|
+
# @param [Hash] opts the optional parameters
|
443
|
+
# @return [CloudNotificationSettings]
|
444
|
+
describe 'update_notifications test' do
|
445
|
+
it "should work" do
|
446
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
447
|
+
end
|
448
|
+
end
|
449
|
+
|
450
|
+
# unit tests for update_profile
|
451
|
+
# Updates a given Profile
|
452
|
+
#
|
453
|
+
# @param id
|
454
|
+
# @param factory_id Id of a Factory.
|
455
|
+
# @param update_profile_body
|
456
|
+
# @param [Hash] opts the optional parameters
|
457
|
+
# @option opts [BOOLEAN] :exclude_advanced_services
|
458
|
+
# @option opts [BOOLEAN] :expand If expand option is set Profile objects will contain all command parameters, even if their value is default. By default this is not set.
|
459
|
+
# @return [Profile]
|
460
|
+
describe 'update_profile test' do
|
461
|
+
it "should work" do
|
462
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
463
|
+
end
|
464
|
+
end
|
465
|
+
|
466
|
+
# unit tests for upload_video
|
467
|
+
# Creates an upload session.
|
468
|
+
#
|
469
|
+
# @param factory_id Id of a Factory.
|
470
|
+
# @param video_upload_body
|
471
|
+
# @param [Hash] opts the optional parameters
|
472
|
+
# @return [UploadSession]
|
473
|
+
describe 'upload_video test' do
|
474
|
+
it "should work" do
|
475
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
476
|
+
end
|
477
|
+
end
|
478
|
+
|
479
|
+
# unit tests for video
|
480
|
+
# Returns a Video object.
|
481
|
+
#
|
482
|
+
# @param id Id of a Video.
|
483
|
+
# @param factory_id Id of a Factory.
|
484
|
+
# @param [Hash] opts the optional parameters
|
485
|
+
# @return [Video]
|
486
|
+
describe 'video test' do
|
487
|
+
it "should work" do
|
488
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
489
|
+
end
|
490
|
+
end
|
491
|
+
|
492
|
+
# unit tests for video_encodings
|
493
|
+
# Returns a list of Encodings that belong to a Video.
|
494
|
+
#
|
495
|
+
# @param id Id of a Video.
|
496
|
+
# @param factory_id Id of a Factory.
|
497
|
+
# @param [Hash] opts the optional parameters
|
498
|
+
# @option opts [Integer] :page A page to be fetched. Default is `1`.
|
499
|
+
# @option opts [Integer] :per_page A number of results per page. Default is `100`.
|
500
|
+
# @option opts [BOOLEAN] :screenshots Determines whether the response will include screenshots. By default this is not set.
|
501
|
+
# @option opts [BOOLEAN] :precise_status Determines whether the response will include a precise status. By default this is not set.
|
502
|
+
# @return [PaginatedEncodingsCollection]
|
503
|
+
describe 'video_encodings test' do
|
504
|
+
it "should work" do
|
505
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
506
|
+
end
|
507
|
+
end
|
508
|
+
|
509
|
+
# unit tests for video_metadata
|
510
|
+
# Returns a Video's metadata
|
511
|
+
#
|
512
|
+
# @param id Id of a Video.
|
513
|
+
# @param factory_id Id of a Factory.
|
514
|
+
# @param [Hash] opts the optional parameters
|
515
|
+
# @return [VideoMetadata]
|
516
|
+
describe 'video_metadata test' do
|
517
|
+
it "should work" do
|
518
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
519
|
+
end
|
520
|
+
end
|
521
|
+
|
522
|
+
# unit tests for videos
|
523
|
+
# Returns a collection of Video objects.
|
524
|
+
#
|
525
|
+
# @param factory_id Id of a Factory.
|
526
|
+
# @param [Hash] opts the optional parameters
|
527
|
+
# @option opts [Integer] :page A page to be fetched. Default is `1`.
|
528
|
+
# @option opts [Integer] :per_page A number of results per page. Default is `100`.
|
529
|
+
# @return [PaginatedVideoCollection]
|
530
|
+
describe 'videos test' do
|
531
|
+
it "should work" do
|
532
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
533
|
+
end
|
534
|
+
end
|
535
|
+
|
536
|
+
# unit tests for workflows
|
537
|
+
# Returns a collection of Workflows that belong to a Factory.
|
538
|
+
#
|
539
|
+
# @param factory_id Id of a Factory.
|
540
|
+
# @param [Hash] opts the optional parameters
|
541
|
+
# @option opts [Integer] :page A page to be fetched. Default is `1`.
|
542
|
+
# @option opts [Integer] :per_page A number of results per page. Default is `100`.
|
543
|
+
# @return [PaginatedWorkflowsCollection]
|
544
|
+
describe 'workflows test' do
|
545
|
+
it "should work" do
|
546
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
547
|
+
end
|
548
|
+
end
|
549
|
+
|
550
|
+
end
|