freeclimb 4.2.0 → 4.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/Gemfile.lock +1 -1
- data/README.md +23 -5
- data/docs/DefaultApi.md +437 -1
- data/docs/IncomingNumberRequest.md +3 -1
- data/docs/SMSTenDLCBrand.md +78 -0
- data/docs/SMSTenDLCBrandsListResult.md +32 -0
- data/docs/SMSTenDLCBrandsListResultAllOf.md +18 -0
- data/docs/SMSTenDLCCampaign.md +78 -0
- data/docs/SMSTenDLCCampaignsListResult.md +32 -0
- data/docs/SMSTenDLCCampaignsListResultAllOf.md +18 -0
- data/docs/SMSTenDLCPartnerCampaign.md +74 -0
- data/docs/SMSTenDLCPartnerCampaignBrand.md +38 -0
- data/docs/SMSTenDLCPartnerCampaignsListResult.md +32 -0
- data/docs/SMSTenDLCPartnerCampaignsListResultAllOf.md +18 -0
- data/lib/freeclimb/api/default_api.rb +367 -0
- data/lib/freeclimb/models/account_result.rb +2 -0
- data/lib/freeclimb/models/account_result_all_of.rb +2 -0
- data/lib/freeclimb/models/call_result.rb +3 -0
- data/lib/freeclimb/models/call_result_all_of.rb +3 -0
- data/lib/freeclimb/models/conference_result.rb +2 -0
- data/lib/freeclimb/models/conference_result_all_of.rb +2 -0
- data/lib/freeclimb/models/create_conference.rb +1 -0
- data/lib/freeclimb/models/create_conference_all_of.rb +1 -0
- data/lib/freeclimb/models/create_conference_request.rb +1 -0
- data/lib/freeclimb/models/get_speech.rb +1 -0
- data/lib/freeclimb/models/get_speech_all_of.rb +1 -0
- data/lib/freeclimb/models/incoming_number_request.rb +15 -4
- data/lib/freeclimb/models/log_result.rb +1 -0
- data/lib/freeclimb/models/message_result.rb +1 -0
- data/lib/freeclimb/models/message_result_all_of.rb +1 -0
- data/lib/freeclimb/models/sms_ten_dlc_brand.rb +960 -0
- data/lib/freeclimb/models/sms_ten_dlc_brands_list_result.rb +306 -0
- data/lib/freeclimb/models/sms_ten_dlc_brands_list_result_all_of.rb +221 -0
- data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +814 -0
- data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result.rb +306 -0
- data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result_all_of.rb +221 -0
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaign.rb +807 -0
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_brand.rb +445 -0
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result.rb +306 -0
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result_all_of.rb +221 -0
- data/lib/freeclimb/models/update_conference_request.rb +1 -0
- data/lib/freeclimb/version.rb +1 -1
- data/lib/freeclimb.rb +10 -0
- data/openapi.json +1200 -27
- data/spec/api/default_api_spec.rb +156 -2
- data/spec/models/sms_ten_dlc_brand_spec.rb +234 -0
- data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +76 -0
- data/spec/models/sms_ten_dlc_campaign_spec.rb +218 -0
- data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +76 -0
- data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +94 -0
- data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +206 -0
- data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +76 -0
- data/spec/utils/signature_information_spec.rb +4 -3
- metadata +107 -73
@@ -128,6 +128,8 @@ describe 'DefaultApi' do
|
|
128
128
|
|
129
129
|
@parent_call_id_list_calls_test_value = 'parentCallId_example'
|
130
130
|
|
131
|
+
@application_id_list_calls_test_value = ['AP0123456789ABCDEFabcedf000000000000000001', 'AP0123456789ABCDEFabcedf000000000000000002', 'AP0123456789ABCDEFabcedf000000000000000002']
|
132
|
+
|
131
133
|
@status_list_conferences_test_value = 'status_example'
|
132
134
|
|
133
135
|
@alias_list_conferences_test_value = 'alias_example'
|
@@ -208,6 +210,18 @@ describe 'DefaultApi' do
|
|
208
210
|
|
209
211
|
@date_created_list_recordings_test_value = 'dateCreated_example'
|
210
212
|
|
213
|
+
@brand_id_get_ten_dlc_sms_campaigns_test_value = 'BX56XX4'
|
214
|
+
|
215
|
+
@brand_id_get_ten_dlc_sms_partner_campaigns_test_value = 'BX56XX4'
|
216
|
+
|
217
|
+
@brand_id_get_ten_dlc_sms_brand_test_value = 'BX56XX4'
|
218
|
+
|
219
|
+
@campaign_id_get_ten_dlc_sms_campaign_test_value = 'CX56XX4'
|
220
|
+
|
221
|
+
@campaign_id_get_ten_dlc_sms_partner_campaign_test_value = 'CX56XX4'
|
222
|
+
|
223
|
+
@has_campaign_list_incoming_numbers_test_value = true
|
224
|
+
|
211
225
|
@queue_request_update_a_queue_test_value = Freeclimb::QueueRequest.new
|
212
226
|
|
213
227
|
@application_request_update_an_application_test_value = Freeclimb::ApplicationRequest.new
|
@@ -748,6 +762,142 @@ describe 'DefaultApi' do
|
|
748
762
|
end
|
749
763
|
end
|
750
764
|
|
765
|
+
# unit tests for get_ten_dlc_sms_brand
|
766
|
+
# Get a 10DLC SMS Brand
|
767
|
+
# @param brand_id String that uniquely identifies this brand resource.
|
768
|
+
# @param [Hash] opts the optional parameters
|
769
|
+
# @return [SMSTenDLCBrand]
|
770
|
+
describe 'get_ten_dlc_sms_brand test' do
|
771
|
+
it 'should work' do
|
772
|
+
|
773
|
+
brand_id = @brand_id_get_ten_dlc_sms_brand_test_value
|
774
|
+
|
775
|
+
result = @api_instance.get_ten_dlc_sms_brand(
|
776
|
+
brand_id,
|
777
|
+
{
|
778
|
+
|
779
|
+
}
|
780
|
+
)
|
781
|
+
|
782
|
+
expect(result).to be_a Freeclimb::SMSTenDLCBrand
|
783
|
+
|
784
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
785
|
+
end
|
786
|
+
end
|
787
|
+
|
788
|
+
# unit tests for get_ten_dlc_sms_brands
|
789
|
+
# Get list of SMS 10DLC Brands
|
790
|
+
# @param [Hash] opts the optional parameters
|
791
|
+
# @return [SMSTenDLCBrandsListResult]
|
792
|
+
describe 'get_ten_dlc_sms_brands test' do
|
793
|
+
it 'should work' do
|
794
|
+
|
795
|
+
|
796
|
+
result = @api_instance.get_ten_dlc_sms_brands(
|
797
|
+
|
798
|
+
{
|
799
|
+
|
800
|
+
}
|
801
|
+
)
|
802
|
+
|
803
|
+
expect(result).to be_a Freeclimb::SMSTenDLCBrandsListResult
|
804
|
+
|
805
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
806
|
+
end
|
807
|
+
end
|
808
|
+
|
809
|
+
# unit tests for get_ten_dlc_sms_campaign
|
810
|
+
# Get a 10DLC SMS Campaign
|
811
|
+
# @param campaign_id String that uniquely identifies this campaign resource.
|
812
|
+
# @param [Hash] opts the optional parameters
|
813
|
+
# @return [SMSTenDLCCampaign]
|
814
|
+
describe 'get_ten_dlc_sms_campaign test' do
|
815
|
+
it 'should work' do
|
816
|
+
|
817
|
+
campaign_id = @campaign_id_get_ten_dlc_sms_campaign_test_value
|
818
|
+
|
819
|
+
result = @api_instance.get_ten_dlc_sms_campaign(
|
820
|
+
campaign_id,
|
821
|
+
{
|
822
|
+
|
823
|
+
}
|
824
|
+
)
|
825
|
+
|
826
|
+
expect(result).to be_a Freeclimb::SMSTenDLCCampaign
|
827
|
+
|
828
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
829
|
+
end
|
830
|
+
end
|
831
|
+
|
832
|
+
# unit tests for get_ten_dlc_sms_campaigns
|
833
|
+
# Get list of SMS 10DLC Campaigns
|
834
|
+
# @param [Hash] opts the optional parameters
|
835
|
+
# @option opts [String] :brand_id The unique identifier for a brand
|
836
|
+
# @return [SMSTenDLCCampaignsListResult]
|
837
|
+
describe 'get_ten_dlc_sms_campaigns test' do
|
838
|
+
it 'should work' do
|
839
|
+
|
840
|
+
brand_id = @brand_id_get_ten_dlc_sms_campaigns_test_value
|
841
|
+
|
842
|
+
result = @api_instance.get_ten_dlc_sms_campaigns(
|
843
|
+
|
844
|
+
{
|
845
|
+
:brand_id => brand_id,
|
846
|
+
}
|
847
|
+
)
|
848
|
+
|
849
|
+
expect(result).to be_a Freeclimb::SMSTenDLCCampaignsListResult
|
850
|
+
|
851
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
852
|
+
end
|
853
|
+
end
|
854
|
+
|
855
|
+
# unit tests for get_ten_dlc_sms_partner_campaign
|
856
|
+
# Get a 10DLC SMS Partner Campaign
|
857
|
+
# @param campaign_id String that uniquely identifies this campaign resource.
|
858
|
+
# @param [Hash] opts the optional parameters
|
859
|
+
# @return [SMSTenDLCPartnerCampaign]
|
860
|
+
describe 'get_ten_dlc_sms_partner_campaign test' do
|
861
|
+
it 'should work' do
|
862
|
+
|
863
|
+
campaign_id = @campaign_id_get_ten_dlc_sms_partner_campaign_test_value
|
864
|
+
|
865
|
+
result = @api_instance.get_ten_dlc_sms_partner_campaign(
|
866
|
+
campaign_id,
|
867
|
+
{
|
868
|
+
|
869
|
+
}
|
870
|
+
)
|
871
|
+
|
872
|
+
expect(result).to be_a Freeclimb::SMSTenDLCPartnerCampaign
|
873
|
+
|
874
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
875
|
+
end
|
876
|
+
end
|
877
|
+
|
878
|
+
# unit tests for get_ten_dlc_sms_partner_campaigns
|
879
|
+
# Get list of SMS 10DLC Partner Campaigns
|
880
|
+
# @param [Hash] opts the optional parameters
|
881
|
+
# @option opts [String] :brand_id The unique identifier for a brand
|
882
|
+
# @return [SMSTenDLCPartnerCampaignsListResult]
|
883
|
+
describe 'get_ten_dlc_sms_partner_campaigns test' do
|
884
|
+
it 'should work' do
|
885
|
+
|
886
|
+
brand_id = @brand_id_get_ten_dlc_sms_partner_campaigns_test_value
|
887
|
+
|
888
|
+
result = @api_instance.get_ten_dlc_sms_partner_campaigns(
|
889
|
+
|
890
|
+
{
|
891
|
+
:brand_id => brand_id,
|
892
|
+
}
|
893
|
+
)
|
894
|
+
|
895
|
+
expect(result).to be_a Freeclimb::SMSTenDLCPartnerCampaignsListResult
|
896
|
+
|
897
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
898
|
+
end
|
899
|
+
end
|
900
|
+
|
751
901
|
# unit tests for list_active_queues
|
752
902
|
# List Active Queues
|
753
903
|
# @param [Hash] opts the optional parameters
|
@@ -914,6 +1064,7 @@ describe 'DefaultApi' do
|
|
914
1064
|
# @option opts [String] :start_time Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss.
|
915
1065
|
# @option opts [String] :end_time Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss.
|
916
1066
|
# @option opts [String] :parent_call_id Only show Calls spawned by the call with this ID.
|
1067
|
+
# @option opts [Array<String>] :application_id Only show calls belonging to the given applicationId. This parameter can be repeated to return calls from multiple Applications.
|
917
1068
|
# @return [CallList]
|
918
1069
|
describe 'list_calls test' do
|
919
1070
|
it 'should work' do
|
@@ -925,11 +1076,12 @@ describe 'DefaultApi' do
|
|
925
1076
|
start_time = @start_time_list_calls_test_value
|
926
1077
|
end_time = @end_time_list_calls_test_value
|
927
1078
|
parent_call_id = @parent_call_id_list_calls_test_value
|
1079
|
+
application_id = @application_id_list_calls_test_value
|
928
1080
|
|
929
1081
|
result = @api_instance.list_calls(
|
930
1082
|
|
931
1083
|
{
|
932
|
-
:active => active,:to => to,:from => from,:status => status,:start_time => start_time,:end_time => end_time,:parent_call_id => parent_call_id,
|
1084
|
+
:active => active,:to => to,:from => from,:status => status,:start_time => start_time,:end_time => end_time,:parent_call_id => parent_call_id,:application_id => application_id,
|
933
1085
|
}
|
934
1086
|
)
|
935
1087
|
|
@@ -979,6 +1131,7 @@ describe 'DefaultApi' do
|
|
979
1131
|
# @option opts [Boolean] :has_application Indication of whether the phone number has an application linked to it.
|
980
1132
|
# @option opts [Boolean] :voice_enabled Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
|
981
1133
|
# @option opts [Boolean] :sms_enabled Indication of whether the phone number can handle sending and receiving SMS messages. Typically set to true for all numbers.
|
1134
|
+
# @option opts [Boolean] :has_campaign Indication of whether the phone number has a campaign associated with it
|
982
1135
|
# @option opts [Boolean] :capabilities_voice
|
983
1136
|
# @option opts [Boolean] :capabilities_sms
|
984
1137
|
# @option opts [Boolean] :capabilities_toll_free
|
@@ -997,6 +1150,7 @@ describe 'DefaultApi' do
|
|
997
1150
|
has_application = @has_application_list_incoming_numbers_test_value
|
998
1151
|
voice_enabled = @voice_enabled_list_incoming_numbers_test_value
|
999
1152
|
sms_enabled = @sms_enabled_list_incoming_numbers_test_value
|
1153
|
+
has_campaign = @has_campaign_list_incoming_numbers_test_value
|
1000
1154
|
capabilities_voice = @capabilities_voice_list_incoming_numbers_test_value
|
1001
1155
|
capabilities_sms = @capabilities_sms_list_incoming_numbers_test_value
|
1002
1156
|
capabilities_toll_free = @capabilities_toll_free_list_incoming_numbers_test_value
|
@@ -1007,7 +1161,7 @@ describe 'DefaultApi' do
|
|
1007
1161
|
result = @api_instance.list_incoming_numbers(
|
1008
1162
|
|
1009
1163
|
{
|
1010
|
-
:phone_number => phone_number,:_alias => _alias,:region => region,:country => country,:application_id => application_id,:has_application => has_application,:voice_enabled => voice_enabled,:sms_enabled => sms_enabled,:capabilities_voice => capabilities_voice,:capabilities_sms => capabilities_sms,:capabilities_toll_free => capabilities_toll_free,:capabilities_ten_dlc => capabilities_ten_dlc,:capabilities_short_code => capabilities_short_code,:offnet => offnet,
|
1164
|
+
:phone_number => phone_number,:_alias => _alias,:region => region,:country => country,:application_id => application_id,:has_application => has_application,:voice_enabled => voice_enabled,:sms_enabled => sms_enabled,:has_campaign => has_campaign,:capabilities_voice => capabilities_voice,:capabilities_sms => capabilities_sms,:capabilities_toll_free => capabilities_toll_free,:capabilities_ten_dlc => capabilities_ten_dlc,:capabilities_short_code => capabilities_short_code,:offnet => offnet,
|
1011
1165
|
}
|
1012
1166
|
)
|
1013
1167
|
|
@@ -0,0 +1,234 @@
|
|
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
|
+
Contact: support@freeclimb.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Freeclimb::SMSTenDLCBrand
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Freeclimb::SMSTenDLCBrand do
|
21
|
+
let(:instance) { Freeclimb::SMSTenDLCBrand.new }
|
22
|
+
|
23
|
+
describe 'test an instance of SMSTenDLCBrand' do
|
24
|
+
it 'should create an instance of SMSTenDLCBrand' do
|
25
|
+
expect(instance).to be_instance_of(Freeclimb::SMSTenDLCBrand)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "account_id"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "entity_type"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PRIVATE_PROFIT", "PUBLIC_PROFIT", "NON_PROFIT", "GOVERNMENT", "SOLE_PROPRIETOR"])
|
38
|
+
# validator.allowable_values.each do |value|
|
39
|
+
# expect { instance.entity_type = value }.not_to raise_error
|
40
|
+
# end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
describe 'test attribute "csp_id"' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
describe 'test attribute "brand_id"' do
|
51
|
+
it 'should work' do
|
52
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
describe 'test attribute "first_name"' do
|
57
|
+
it 'should work' do
|
58
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
describe 'test attribute "last_name"' do
|
63
|
+
it 'should work' do
|
64
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
describe 'test attribute "display_name"' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
describe 'test attribute "company_name"' do
|
75
|
+
it 'should work' do
|
76
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
describe 'test attribute "ein"' do
|
81
|
+
it 'should work' do
|
82
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
describe 'test attribute "ein_issuing_country"' do
|
87
|
+
it 'should work' do
|
88
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
describe 'test attribute "phone"' do
|
93
|
+
it 'should work' do
|
94
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
describe 'test attribute "street"' do
|
99
|
+
it 'should work' do
|
100
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
describe 'test attribute "city"' do
|
105
|
+
it 'should work' do
|
106
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
describe 'test attribute "state"' do
|
111
|
+
it 'should work' do
|
112
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
describe 'test attribute "postal_code"' do
|
117
|
+
it 'should work' do
|
118
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
119
|
+
end
|
120
|
+
end
|
121
|
+
|
122
|
+
describe 'test attribute "country"' do
|
123
|
+
it 'should work' do
|
124
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
describe 'test attribute "email"' 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
|
+
describe 'test attribute "stock_symbol"' do
|
135
|
+
it 'should work' do
|
136
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
describe 'test attribute "stock_exchange"' do
|
141
|
+
it 'should work' do
|
142
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
143
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["NONE", "NASDAQ", "NYSE", "AMEX", "AMX", "ASX", "B3", "BME", "BSE", "FRA", "ICEX", "JPX", "JSE", "KRX", "LON", "NSE", "OMX", "SEHK", "SGX", "SSE", "STO", "SWX", "SZSE", "TSX", "TWSE", "VSE", "OTHER"])
|
144
|
+
# validator.allowable_values.each do |value|
|
145
|
+
# expect { instance.stock_exchange = value }.not_to raise_error
|
146
|
+
# end
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
describe 'test attribute "ip_address"' do
|
151
|
+
it 'should work' do
|
152
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
describe 'test attribute "website"' do
|
157
|
+
it 'should work' do
|
158
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
162
|
+
describe 'test attribute "brand_relationship"' do
|
163
|
+
it 'should work' do
|
164
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
165
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["BASIC_ACCOUNT", "SMALL_ACCOUNT", "MEDIUM_ACCOUNT", "LARGE_ACCOUNT", "KEY_ACCOUNT"])
|
166
|
+
# validator.allowable_values.each do |value|
|
167
|
+
# expect { instance.brand_relationship = value }.not_to raise_error
|
168
|
+
# end
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
describe 'test attribute "vertical"' do
|
173
|
+
it 'should work' do
|
174
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
describe 'test attribute "alt_business_id"' do
|
179
|
+
it 'should work' do
|
180
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
describe 'test attribute "alt_business_id_type"' do
|
185
|
+
it 'should work' do
|
186
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
187
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["NONE", "DUNS", "GIIN", "LEI"])
|
188
|
+
# validator.allowable_values.each do |value|
|
189
|
+
# expect { instance.alt_business_id_type = value }.not_to raise_error
|
190
|
+
# end
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
describe 'test attribute "universal_ein"' do
|
195
|
+
it 'should work' do
|
196
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
describe 'test attribute "reference_id"' do
|
201
|
+
it 'should work' do
|
202
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
describe 'test attribute "optional_attributes"' do
|
207
|
+
it 'should work' do
|
208
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
212
|
+
describe 'test attribute "mock"' do
|
213
|
+
it 'should work' do
|
214
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
describe 'test attribute "identity_status"' do
|
219
|
+
it 'should work' do
|
220
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
221
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["SELF_DECLARED", "UNVERIFIED", "VERIFIED", "VETTED_VERIFIED"])
|
222
|
+
# validator.allowable_values.each do |value|
|
223
|
+
# expect { instance.identity_status = value }.not_to raise_error
|
224
|
+
# end
|
225
|
+
end
|
226
|
+
end
|
227
|
+
|
228
|
+
describe 'test attribute "create_date"' do
|
229
|
+
it 'should work' do
|
230
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
end
|
@@ -0,0 +1,76 @@
|
|
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
|
+
Contact: support@freeclimb.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Freeclimb::SMSTenDLCBrandsListResult
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Freeclimb::SMSTenDLCBrandsListResult do
|
21
|
+
let(:instance) { Freeclimb::SMSTenDLCBrandsListResult.new }
|
22
|
+
|
23
|
+
describe 'test an instance of SMSTenDLCBrandsListResult' do
|
24
|
+
it 'should create an instance of SMSTenDLCBrandsListResult' do
|
25
|
+
expect(instance).to be_instance_of(Freeclimb::SMSTenDLCBrandsListResult)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "total"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "start"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "_end"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "page"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "num_pages"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "page_size"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "next_page_uri"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "queue_members"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
end
|