cloudmersive-video-api-client 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +27 -18
- data/docs/AudioApi.md +248 -0
- data/docs/NsfwResult.md +14 -0
- data/docs/NsfwScannedFrame.md +12 -0
- data/docs/SplitVideoResult.md +9 -0
- data/docs/StillFrame.md +10 -0
- data/docs/StillFramesResult.md +10 -0
- data/docs/VideoApi.md +418 -46
- data/docs/VideoFile.md +9 -0
- data/lib/cloudmersive-video-api-client.rb +7 -0
- data/lib/cloudmersive-video-api-client/api/audio_api.rb +251 -0
- data/lib/cloudmersive-video-api-client/api/video_api.rb +429 -79
- data/lib/cloudmersive-video-api-client/models/nsfw_result.rb +248 -0
- data/lib/cloudmersive-video-api-client/models/nsfw_scanned_frame.rb +241 -0
- data/lib/cloudmersive-video-api-client/models/split_video_result.rb +198 -0
- data/lib/cloudmersive-video-api-client/models/still_frame.rb +221 -0
- data/lib/cloudmersive-video-api-client/models/still_frames_result.rb +208 -0
- data/lib/cloudmersive-video-api-client/models/video_file.rb +211 -0
- data/lib/cloudmersive-video-api-client/version.rb +1 -1
- data/spec/api/audio_api_spec.rb +91 -0
- data/spec/api/video_api_spec.rb +109 -17
- data/spec/models/nsfw_result_spec.rb +77 -0
- data/spec/models/nsfw_scanned_frame_spec.rb +65 -0
- data/spec/models/split_video_result_spec.rb +47 -0
- data/spec/models/still_frame_spec.rb +53 -0
- data/spec/models/still_frames_result_spec.rb +53 -0
- data/spec/models/video_file_spec.rb +47 -0
- metadata +23 -2
@@ -0,0 +1,77 @@
|
|
1
|
+
=begin
|
2
|
+
#videoapi
|
3
|
+
|
4
|
+
#The video APIs help you convert, encode, and transcode videos.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveVideoApiClient::NsfwResult
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'NsfwResult' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveVideoApiClient::NsfwResult.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of NsfwResult' do
|
31
|
+
it 'should create an instance of NsfwResult' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveVideoApiClient::NsfwResult)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "successful"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "highest_classification_result"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "highest_score"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "total_racy_frames"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "total_nsfw_frames"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "total_frames"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "nsfw_scanned_frames"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
=begin
|
2
|
+
#videoapi
|
3
|
+
|
4
|
+
#The video APIs help you convert, encode, and transcode videos.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveVideoApiClient::NsfwScannedFrame
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'NsfwScannedFrame' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveVideoApiClient::NsfwScannedFrame.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of NsfwScannedFrame' do
|
31
|
+
it 'should create an instance of NsfwScannedFrame' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveVideoApiClient::NsfwScannedFrame)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "frame_number"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "time_stamp"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "content"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "classification_result"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "score"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#videoapi
|
3
|
+
|
4
|
+
#The video APIs help you convert, encode, and transcode videos.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveVideoApiClient::SplitVideoResult
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SplitVideoResult' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveVideoApiClient::SplitVideoResult.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SplitVideoResult' do
|
31
|
+
it 'should create an instance of SplitVideoResult' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveVideoApiClient::SplitVideoResult)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "successful"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "videos"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#videoapi
|
3
|
+
|
4
|
+
#The video APIs help you convert, encode, and transcode videos.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveVideoApiClient::StillFrame
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'StillFrame' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveVideoApiClient::StillFrame.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of StillFrame' do
|
31
|
+
it 'should create an instance of StillFrame' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveVideoApiClient::StillFrame)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "frame_number"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "time_stamp"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "content"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
=begin
|
2
|
+
#videoapi
|
3
|
+
|
4
|
+
#The video APIs help you convert, encode, and transcode videos.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveVideoApiClient::StillFramesResult
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'StillFramesResult' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveVideoApiClient::StillFramesResult.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of StillFramesResult' do
|
31
|
+
it 'should create an instance of StillFramesResult' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveVideoApiClient::StillFramesResult)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "successful"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "total_frames"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "still_frames"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#videoapi
|
3
|
+
|
4
|
+
#The video APIs help you convert, encode, and transcode videos.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for CloudmersiveVideoApiClient::VideoFile
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'VideoFile' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = CloudmersiveVideoApiClient::VideoFile.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of VideoFile' do
|
31
|
+
it 'should create an instance of VideoFile' do
|
32
|
+
expect(@instance).to be_instance_of(CloudmersiveVideoApiClient::VideoFile)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "video_number"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "content"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudmersive-video-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cloudmersive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-08-
|
11
|
+
date: 2020-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -202,20 +202,41 @@ files:
|
|
202
202
|
- "./README.md"
|
203
203
|
- "./Rakefile"
|
204
204
|
- "./cloudmersive-video-api-client.gemspec"
|
205
|
+
- "./docs/AudioApi.md"
|
205
206
|
- "./docs/MediaInformation.md"
|
207
|
+
- "./docs/NsfwResult.md"
|
208
|
+
- "./docs/NsfwScannedFrame.md"
|
209
|
+
- "./docs/SplitVideoResult.md"
|
210
|
+
- "./docs/StillFrame.md"
|
211
|
+
- "./docs/StillFramesResult.md"
|
206
212
|
- "./docs/VideoApi.md"
|
213
|
+
- "./docs/VideoFile.md"
|
207
214
|
- "./git_push.sh"
|
208
215
|
- "./lib/cloudmersive-video-api-client.rb"
|
216
|
+
- "./lib/cloudmersive-video-api-client/api/audio_api.rb"
|
209
217
|
- "./lib/cloudmersive-video-api-client/api/video_api.rb"
|
210
218
|
- "./lib/cloudmersive-video-api-client/api_client.rb"
|
211
219
|
- "./lib/cloudmersive-video-api-client/api_error.rb"
|
212
220
|
- "./lib/cloudmersive-video-api-client/configuration.rb"
|
213
221
|
- "./lib/cloudmersive-video-api-client/models/media_information.rb"
|
222
|
+
- "./lib/cloudmersive-video-api-client/models/nsfw_result.rb"
|
223
|
+
- "./lib/cloudmersive-video-api-client/models/nsfw_scanned_frame.rb"
|
224
|
+
- "./lib/cloudmersive-video-api-client/models/split_video_result.rb"
|
225
|
+
- "./lib/cloudmersive-video-api-client/models/still_frame.rb"
|
226
|
+
- "./lib/cloudmersive-video-api-client/models/still_frames_result.rb"
|
227
|
+
- "./lib/cloudmersive-video-api-client/models/video_file.rb"
|
214
228
|
- "./lib/cloudmersive-video-api-client/version.rb"
|
229
|
+
- "./spec/api/audio_api_spec.rb"
|
215
230
|
- "./spec/api/video_api_spec.rb"
|
216
231
|
- "./spec/api_client_spec.rb"
|
217
232
|
- "./spec/configuration_spec.rb"
|
218
233
|
- "./spec/models/media_information_spec.rb"
|
234
|
+
- "./spec/models/nsfw_result_spec.rb"
|
235
|
+
- "./spec/models/nsfw_scanned_frame_spec.rb"
|
236
|
+
- "./spec/models/split_video_result_spec.rb"
|
237
|
+
- "./spec/models/still_frame_spec.rb"
|
238
|
+
- "./spec/models/still_frames_result_spec.rb"
|
239
|
+
- "./spec/models/video_file_spec.rb"
|
219
240
|
- "./spec/spec_helper.rb"
|
220
241
|
homepage: https://cloudmersive.com/video-and-media-services-api
|
221
242
|
licenses:
|