freeclimb 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile +0 -1
- data/README.md +4 -4
- data/docs/AvailableNumber.md +0 -2
- data/docs/CallResult.md +0 -2
- data/docs/CallResultAllOf.md +0 -2
- data/docs/DefaultApi.md +27 -5
- data/lib/freeclimb/api/default_api.rb +33 -3
- data/lib/freeclimb/api_client.rb +1 -1
- data/lib/freeclimb/models/available_number.rb +1 -11
- data/lib/freeclimb/models/call_result.rb +1 -13
- data/lib/freeclimb/models/call_result_all_of.rb +1 -13
- data/lib/freeclimb/models/percl_command.rb +1 -0
- data/lib/freeclimb/version.rb +1 -1
- data/lib/freeclimb.rb +0 -1
- data/spec/api/default_api_spec.rb +119 -675
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +18 -10
- data/spec/models/account_request_spec.rb +19 -5
- data/spec/models/account_result_all_of_spec.rb +81 -0
- data/spec/models/account_result_spec.rb +77 -5
- data/spec/models/add_to_conference_all_of_spec.rb +95 -0
- data/spec/models/add_to_conference_spec.rb +2 -2
- data/spec/models/application_list_all_of_spec.rb +41 -0
- data/spec/models/application_list_spec.rb +55 -5
- data/spec/models/application_request_spec.rb +49 -5
- data/spec/models/application_result_all_of_spec.rb +89 -0
- data/spec/models/application_result_spec.rb +85 -5
- data/spec/models/available_number_list_all_of_spec.rb +41 -0
- data/spec/models/available_number_list_spec.rb +55 -6
- data/spec/models/available_number_spec.rb +37 -5
- data/spec/models/buy_incoming_number_request_spec.rb +25 -5
- data/spec/models/call_list_all_of_spec.rb +41 -0
- data/spec/models/call_list_spec.rb +55 -6
- data/spec/models/call_result_all_of_spec.rb +129 -0
- data/spec/models/call_result_spec.rb +124 -5
- data/spec/models/conference_list_all_of_spec.rb +41 -0
- data/spec/models/conference_list_spec.rb +55 -5
- data/spec/models/conference_participant_list_all_of_spec.rb +41 -0
- data/spec/models/conference_participant_list_spec.rb +55 -5
- data/spec/models/conference_participant_result_all_of_spec.rb +71 -0
- data/spec/models/conference_participant_result_spec.rb +67 -5
- data/spec/models/conference_result_all_of_spec.rb +103 -0
- data/spec/models/conference_result_spec.rb +99 -6
- data/spec/models/create_conference_all_of_spec.rb +71 -0
- data/spec/models/create_conference_request_spec.rb +41 -6
- data/spec/models/create_conference_spec.rb +2 -2
- data/spec/models/dequeue_spec.rb +2 -2
- data/spec/models/enqueue_all_of_spec.rb +59 -0
- data/spec/models/enqueue_spec.rb +2 -2
- data/spec/models/filter_logs_request_spec.rb +13 -5
- data/spec/models/get_digits_all_of_spec.rb +89 -0
- data/spec/models/get_digits_spec.rb +8 -2
- data/spec/models/get_speech_all_of_spec.rb +113 -0
- data/spec/models/get_speech_spec.rb +3 -3
- data/spec/models/hangup_all_of_spec.rb +41 -0
- data/spec/models/incoming_number_list_all_of_spec.rb +41 -0
- data/spec/models/incoming_number_list_spec.rb +55 -6
- data/spec/models/incoming_number_request_spec.rb +19 -5
- data/spec/models/incoming_number_result_all_of_spec.rb +89 -0
- data/spec/models/incoming_number_result_spec.rb +85 -6
- data/spec/models/log_list_all_of_spec.rb +41 -0
- data/spec/models/log_list_spec.rb +55 -5
- data/spec/models/log_result_spec.rb +53 -5
- data/spec/models/make_call_request_spec.rb +67 -5
- data/spec/models/message_request_all_of_spec.rb +65 -0
- data/spec/models/message_request_spec.rb +61 -6
- data/spec/models/message_result_all_of_spec.rb +87 -0
- data/spec/models/message_result_spec.rb +83 -5
- data/spec/models/messages_list_all_of_spec.rb +41 -0
- data/spec/models/messages_list_spec.rb +55 -5
- data/spec/models/mutable_resource_model_spec.rb +31 -6
- data/spec/models/out_dial_all_of_spec.rb +95 -0
- data/spec/models/out_dial_spec.rb +8 -2
- data/spec/models/pagination_model_spec.rb +49 -5
- data/spec/models/pause_all_of_spec.rb +41 -0
- data/spec/models/pause_spec.rb +2 -2
- data/spec/models/percl_command_spec.rb +2 -2
- data/spec/models/percl_script_spec.rb +2 -2
- data/spec/models/play_all_of_spec.rb +59 -0
- data/spec/models/play_early_media_all_of_spec.rb +41 -0
- data/spec/models/play_early_media_spec.rb +2 -2
- data/spec/models/play_spec.rb +8 -2
- data/spec/models/queue_list_all_of_spec.rb +41 -0
- data/spec/models/queue_list_spec.rb +54 -5
- data/spec/models/queue_member_list_all_of_spec.rb +41 -0
- data/spec/models/queue_member_list_spec.rb +55 -5
- data/spec/models/queue_member_spec.rb +37 -6
- data/spec/models/queue_request_spec.rb +19 -6
- data/spec/models/queue_result_all_of_spec.rb +77 -0
- data/spec/models/queue_result_spec.rb +73 -5
- data/spec/models/record_utterance_all_of_spec.rb +77 -0
- data/spec/models/record_utterance_spec.rb +8 -2
- data/spec/models/recording_list_all_of_spec.rb +41 -0
- data/spec/models/recording_list_spec.rb +55 -5
- data/spec/models/recording_result_all_of_spec.rb +65 -0
- data/spec/models/recording_result_spec.rb +61 -5
- data/spec/models/redirect_all_of_spec.rb +41 -0
- data/spec/models/redirect_spec.rb +2 -2
- data/spec/models/reject_all_of_spec.rb +41 -0
- data/spec/models/remove_from_conference_all_of_spec.rb +41 -0
- data/spec/models/remove_from_conference_spec.rb +2 -2
- data/spec/models/say_all_of_spec.rb +65 -0
- data/spec/models/say_spec.rb +3 -3
- data/spec/models/send_digits_all_of_spec.rb +53 -0
- data/spec/models/send_digits_spec.rb +8 -2
- data/spec/models/set_listen_all_of_spec.rb +47 -0
- data/spec/models/set_listen_spec.rb +2 -2
- data/spec/models/set_talk_all_of_spec.rb +47 -0
- data/spec/models/set_talk_spec.rb +2 -2
- data/spec/models/sms_all_of_spec.rb +59 -0
- data/spec/models/sms_spec.rb +2 -2
- data/spec/models/start_record_call_spec.rb +2 -2
- data/spec/models/terminate_conference_all_of_spec.rb +41 -0
- data/spec/models/terminate_conference_spec.rb +2 -2
- data/spec/models/update_call_request_spec.rb +17 -5
- data/spec/models/update_conference_participant_request_spec.rb +19 -5
- data/spec/models/update_conference_request_spec.rb +29 -5
- data/spec/spec_helper.rb +4 -7
- metadata +87 -11
- data/freeclimb-2.0.3.gem +0 -0
- data/freeclimb-2.1.0.gem +0 -0
- data/freeclimb-2.1.1.gem +0 -0
- data/freeclimb-2.1.2.gem +0 -0
- data/freeclimb-2.2.0.gem +0 -0
- data/freeclimb-3.0.0.gem +0 -0
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#FreeClimb API
|
3
3
|
|
4
|
-
#
|
4
|
+
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.0
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -27,7 +27,69 @@ describe 'MakeCallRequest' do
|
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
|
31
|
-
|
30
|
+
describe 'test an instance of MakeCallRequest' do
|
31
|
+
it 'should create an instance of MakeCallRequest' do
|
32
|
+
expect(@instance).to be_instance_of(Freeclimb::MakeCallRequest)
|
33
|
+
end
|
32
34
|
end
|
35
|
+
describe 'test attribute "from"' 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 "to"' 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 "application_id"' 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 "send_digits"' 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 "if_machine"' 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 "if_machine_url"' 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 "timeout"' 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
|
+
describe 'test attribute "parent_call_id"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "privacy_mode"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
describe 'test attribute "call_connect_url"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
33
95
|
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
=begin
|
2
|
+
#FreeClimb API
|
3
|
+
|
4
|
+
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Freeclimb::MessageRequestAllOf
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'MessageRequestAllOf' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Freeclimb::MessageRequestAllOf.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of MessageRequestAllOf' do
|
31
|
+
it 'should create an instance of MessageRequestAllOf' do
|
32
|
+
expect(@instance).to be_instance_of(Freeclimb::MessageRequestAllOf)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "from"' 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 "to"' 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 "text"' 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 "notification_url"' 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 "account_id"' 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
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#FreeClimb API
|
3
3
|
|
4
|
-
#
|
4
|
+
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.0
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -27,8 +27,63 @@ describe 'MessageRequest' do
|
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
|
31
|
-
|
30
|
+
describe 'test an instance of MessageRequest' do
|
31
|
+
it 'should create an instance of MessageRequest' do
|
32
|
+
expect(@instance).to be_instance_of(Freeclimb::MessageRequest)
|
33
|
+
end
|
32
34
|
end
|
33
|
-
|
35
|
+
describe 'test attribute "uri"' 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 "date_created"' 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 "date_updated"' 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 "revision"' 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 "from"' 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 "to"' 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 "text"' 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
|
+
describe 'test attribute "notification_url"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "account_id"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
34
89
|
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
=begin
|
2
|
+
#FreeClimb API
|
3
|
+
|
4
|
+
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Freeclimb::MessageResultAllOf
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'MessageResultAllOf' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Freeclimb::MessageResultAllOf.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of MessageResultAllOf' do
|
31
|
+
it 'should create an instance of MessageResultAllOf' do
|
32
|
+
expect(@instance).to be_instance_of(Freeclimb::MessageResultAllOf)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "account_id"' 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 "message_id"' 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 "status"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["new", "queued", "rejected", "sending", "sent", "failed", "received", "undelivered", "expired", "deleted", "unknown"])
|
51
|
+
# validator.allowable_values.each do |value|
|
52
|
+
# expect { @instance.status = value }.not_to raise_error
|
53
|
+
# end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
describe 'test attribute "from"' 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
|
+
describe 'test attribute "to"' do
|
64
|
+
it 'should work' do
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
69
|
+
describe 'test attribute "text"' do
|
70
|
+
it 'should work' do
|
71
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
describe 'test attribute "direction"' do
|
76
|
+
it 'should work' do
|
77
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
describe 'test attribute "notification_url"' do
|
82
|
+
it 'should work' do
|
83
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
end
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#FreeClimb API
|
3
3
|
|
4
|
-
#
|
4
|
+
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.0
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -27,7 +27,85 @@ describe 'MessageResult' do
|
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
|
31
|
-
|
30
|
+
describe 'test an instance of MessageResult' do
|
31
|
+
it 'should create an instance of MessageResult' do
|
32
|
+
expect(@instance).to be_instance_of(Freeclimb::MessageResult)
|
33
|
+
end
|
32
34
|
end
|
35
|
+
describe 'test attribute "uri"' 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 "date_created"' 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 "date_updated"' 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 "revision"' 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 "account_id"' 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 "message_id"' 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 "status"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["new", "queued", "rejected", "sending", "sent", "failed", "received", "undelivered", "expired", "deleted", "unknown"])
|
75
|
+
# validator.allowable_values.each do |value|
|
76
|
+
# expect { @instance.status = value }.not_to raise_error
|
77
|
+
# end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
describe 'test attribute "from"' do
|
82
|
+
it 'should work' do
|
83
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
describe 'test attribute "to"' do
|
88
|
+
it 'should work' do
|
89
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
describe 'test attribute "text"' do
|
94
|
+
it 'should work' do
|
95
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
describe 'test attribute "direction"' do
|
100
|
+
it 'should work' do
|
101
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
102
|
+
end
|
103
|
+
end
|
104
|
+
|
105
|
+
describe 'test attribute "notification_url"' do
|
106
|
+
it 'should work' do
|
107
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
33
111
|
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
=begin
|
2
|
+
#FreeClimb API
|
3
|
+
|
4
|
+
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.0-SNAPSHOT
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Freeclimb::MessagesListAllOf
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'MessagesListAllOf' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Freeclimb::MessagesListAllOf.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of MessagesListAllOf' do
|
31
|
+
it 'should create an instance of MessagesListAllOf' do
|
32
|
+
expect(@instance).to be_instance_of(Freeclimb::MessagesListAllOf)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "messages"' 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
|
+
end
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#FreeClimb API
|
3
3
|
|
4
|
-
#
|
4
|
+
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.0
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -27,7 +27,57 @@ describe 'MessagesList' do
|
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
|
31
|
-
|
30
|
+
describe 'test an instance of MessagesList' do
|
31
|
+
it 'should create an instance of MessagesList' do
|
32
|
+
expect(@instance).to be_instance_of(Freeclimb::MessagesList)
|
33
|
+
end
|
32
34
|
end
|
35
|
+
describe 'test attribute "total"' 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 "start"' 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 "_end"' 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 "page"' 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 "num_pages"' 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 "page_size"' 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 "next_page_uri"' 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
|
+
describe 'test attribute "messages"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
33
83
|
end
|
@@ -1,12 +1,12 @@
|
|
1
1
|
=begin
|
2
2
|
#FreeClimb API
|
3
3
|
|
4
|
-
#
|
4
|
+
#FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.0
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.0-SNAPSHOT
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -27,8 +27,33 @@ describe 'MutableResourceModel' do
|
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
|
31
|
-
|
30
|
+
describe 'test an instance of MutableResourceModel' do
|
31
|
+
it 'should create an instance of MutableResourceModel' do
|
32
|
+
expect(@instance).to be_instance_of(Freeclimb::MutableResourceModel)
|
33
|
+
end
|
32
34
|
end
|
33
|
-
|
35
|
+
describe 'test attribute "uri"' 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 "date_created"' 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 "date_updated"' 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 "revision"' 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
|
+
|
34
59
|
end
|