freeclimb 4.6.2 → 4.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1719,4 +1719,509 @@ describe 'DefaultApi' do
1719
1719
  end
1720
1720
  end
1721
1721
 
1722
+ # unit tests for get_next_page get_ten_dlc_sms_brands
1723
+ # Get list of SMS 10DLC Brands
1724
+ # @param [Hash] opts the optional parameters
1725
+ # @return [SMSTenDLCBrandsListResult]
1726
+ describe 'get_ten_dlc_sms_brands_get_next_page test' do
1727
+ it 'should work' do
1728
+
1729
+
1730
+ result = @api_instance.get_ten_dlc_sms_brands(
1731
+
1732
+ {
1733
+
1734
+ }
1735
+ )
1736
+ result.next_page_uri = "/Accounts/{accountId}/Messages/10DLC/Brands?cursor=1"
1737
+ next_page_result = @api_instance.get_next_page(result)
1738
+ expect(next_page_result).to be_a Freeclimb::SMSTenDLCBrandsListResult
1739
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1740
+ end
1741
+ end
1742
+
1743
+ # unit tests for get_next_page get_ten_dlc_sms_campaigns
1744
+ # Get list of SMS 10DLC Campaigns
1745
+ # @param [Hash] opts the optional parameters
1746
+ # @option opts [String] :brand_id The unique identifier for a brand
1747
+ # @return [SMSTenDLCCampaignsListResult]
1748
+ describe 'get_ten_dlc_sms_campaigns_get_next_page test' do
1749
+ it 'should work' do
1750
+
1751
+ brand_id = @brand_id_get_ten_dlc_sms_campaigns_test_value
1752
+
1753
+ result = @api_instance.get_ten_dlc_sms_campaigns(
1754
+
1755
+ {
1756
+ :brand_id => brand_id,
1757
+ }
1758
+ )
1759
+ result.next_page_uri = "/Accounts/{accountId}/Messages/10DLC/Campaigns?cursor=1"
1760
+ next_page_result = @api_instance.get_next_page(result)
1761
+ expect(next_page_result).to be_a Freeclimb::SMSTenDLCCampaignsListResult
1762
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1763
+ end
1764
+ end
1765
+
1766
+ # unit tests for get_next_page get_ten_dlc_sms_partner_campaigns
1767
+ # Get list of SMS 10DLC Partner Campaigns
1768
+ # @param [Hash] opts the optional parameters
1769
+ # @option opts [String] :brand_id The unique identifier for a brand
1770
+ # @return [SMSTenDLCPartnerCampaignsListResult]
1771
+ describe 'get_ten_dlc_sms_partner_campaigns_get_next_page test' do
1772
+ it 'should work' do
1773
+
1774
+ brand_id = @brand_id_get_ten_dlc_sms_partner_campaigns_test_value
1775
+
1776
+ result = @api_instance.get_ten_dlc_sms_partner_campaigns(
1777
+
1778
+ {
1779
+ :brand_id => brand_id,
1780
+ }
1781
+ )
1782
+ result.next_page_uri = "/Accounts/{accountId}/Messages/10DLC/PartnerCampaigns?cursor=1"
1783
+ next_page_result = @api_instance.get_next_page(result)
1784
+ expect(next_page_result).to be_a Freeclimb::SMSTenDLCPartnerCampaignsListResult
1785
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1786
+ end
1787
+ end
1788
+
1789
+ # unit tests for get_next_page get_toll_free_sms_campaigns
1790
+ # Get list of TollFree Campaigns
1791
+ # @param [Hash] opts the optional parameters
1792
+ # @return [SMSTollFreeCampaignsListResult]
1793
+ describe 'get_toll_free_sms_campaigns_get_next_page test' do
1794
+ it 'should work' do
1795
+
1796
+
1797
+ result = @api_instance.get_toll_free_sms_campaigns(
1798
+
1799
+ {
1800
+
1801
+ }
1802
+ )
1803
+ result.next_page_uri = "/Accounts/{accountId}/Messages/TollFree/Campaigns?cursor=1"
1804
+ next_page_result = @api_instance.get_next_page(result)
1805
+ expect(next_page_result).to be_a Freeclimb::SMSTollFreeCampaignsListResult
1806
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1807
+ end
1808
+ end
1809
+
1810
+ # unit tests for get_next_page list_active_queues
1811
+ # List Active Queues
1812
+ # @param [Hash] opts the optional parameters
1813
+ # @option opts [String] :_alias Return only the Queue resources with aliases that exactly match this name.
1814
+ # @return [QueueList]
1815
+ describe 'list_active_queues_get_next_page test' do
1816
+ it 'should work' do
1817
+
1818
+ _alias = @_alias_list_active_queues_test_value
1819
+
1820
+ result = @api_instance.list_active_queues(
1821
+
1822
+ {
1823
+ :_alias => _alias,
1824
+ }
1825
+ )
1826
+ result.next_page_uri = "/Accounts/{accountId}/Queues?cursor=1"
1827
+ next_page_result = @api_instance.get_next_page(result)
1828
+ expect(next_page_result).to be_a Freeclimb::QueueList
1829
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1830
+ end
1831
+ end
1832
+
1833
+ # unit tests for get_next_page list_all_account_logs
1834
+ # List All Account Logs
1835
+ # @param [Hash] opts the optional parameters
1836
+ # @return [LogList]
1837
+ describe 'list_all_account_logs_get_next_page test' do
1838
+ it 'should work' do
1839
+
1840
+
1841
+ result = @api_instance.list_all_account_logs(
1842
+
1843
+ {
1844
+
1845
+ }
1846
+ )
1847
+ result.next_page_uri = "/Accounts/{accountId}/Logs?cursor=1"
1848
+ next_page_result = @api_instance.get_next_page(result)
1849
+ expect(next_page_result).to be_a Freeclimb::LogList
1850
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1851
+ end
1852
+ end
1853
+
1854
+ # unit tests for get_next_page list_applications
1855
+ # List applications
1856
+ # @param [Hash] opts the optional parameters
1857
+ # @option opts [String] :_alias Return only applications with aliases that exactly match this value.
1858
+ # @return [ApplicationList]
1859
+ describe 'list_applications_get_next_page test' do
1860
+ it 'should work' do
1861
+
1862
+ _alias = @_alias_list_applications_test_value
1863
+
1864
+ result = @api_instance.list_applications(
1865
+
1866
+ {
1867
+ :_alias => _alias,
1868
+ }
1869
+ )
1870
+ result.next_page_uri = "/Accounts/{accountId}/Applications?cursor=1"
1871
+ next_page_result = @api_instance.get_next_page(result)
1872
+ expect(next_page_result).to be_a Freeclimb::ApplicationList
1873
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1874
+ end
1875
+ end
1876
+
1877
+ # unit tests for get_next_page list_available_numbers
1878
+ # List available numbers
1879
+ # @param [Hash] opts the optional parameters
1880
+ # @option opts [String] :phone_number PCRE-compatible regular expression to filter against `phoneNumber` field, which is in E.164 format.
1881
+ # @option opts [String] :region State or province of this phone number.
1882
+ # @option opts [String] :country Country of this phone number.
1883
+ # @option opts [Boolean] :voice_enabled Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
1884
+ # @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.
1885
+ # @option opts [Boolean] :capabilities_voice
1886
+ # @option opts [Boolean] :capabilities_sms
1887
+ # @option opts [Boolean] :capabilities_toll_free
1888
+ # @option opts [Boolean] :capabilities_ten_dlc
1889
+ # @option opts [Boolean] :capabilities_short_code
1890
+ # @return [AvailableNumberList]
1891
+ describe 'list_available_numbers_get_next_page test' do
1892
+ it 'should work' do
1893
+
1894
+ phone_number = @phone_number_list_available_numbers_test_value
1895
+ region = @region_list_available_numbers_test_value
1896
+ country = @country_list_available_numbers_test_value
1897
+ voice_enabled = @voice_enabled_list_available_numbers_test_value
1898
+ sms_enabled = @sms_enabled_list_available_numbers_test_value
1899
+ capabilities_voice = @capabilities_voice_list_available_numbers_test_value
1900
+ capabilities_sms = @capabilities_sms_list_available_numbers_test_value
1901
+ capabilities_toll_free = @capabilities_toll_free_list_available_numbers_test_value
1902
+ capabilities_ten_dlc = @capabilities_ten_dlc_list_available_numbers_test_value
1903
+ capabilities_short_code = @capabilities_short_code_list_available_numbers_test_value
1904
+
1905
+ result = @api_instance.list_available_numbers(
1906
+
1907
+ {
1908
+ :phone_number => phone_number,:region => region,:country => country,: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,
1909
+ }
1910
+ )
1911
+ result.next_page_uri = "/AvailablePhoneNumbers?cursor=1"
1912
+ next_page_result = @api_instance.get_next_page(result)
1913
+ expect(next_page_result).to be_a Freeclimb::AvailableNumberList
1914
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1915
+ end
1916
+ end
1917
+
1918
+ # unit tests for get_next_page list_call_logs
1919
+ # List Call Logs
1920
+ # @param call_id String that uniquely identifies this call resource.
1921
+ # @param [Hash] opts the optional parameters
1922
+ # @return [LogList]
1923
+ describe 'list_call_logs_get_next_page test' do
1924
+ it 'should work' do
1925
+
1926
+ call_id = @call_id_list_call_logs_test_value
1927
+
1928
+ result = @api_instance.list_call_logs(
1929
+ call_id,
1930
+ {
1931
+
1932
+ }
1933
+ )
1934
+ result.next_page_uri = "/Accounts/{accountId}/Calls/{callId}/Logs?cursor=1"
1935
+ next_page_result = @api_instance.get_next_page(result)
1936
+ expect(next_page_result).to be_a Freeclimb::LogList
1937
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1938
+ end
1939
+ end
1940
+
1941
+ # unit tests for get_next_page list_call_recordings
1942
+ # List Call Recordings
1943
+ # @param call_id String that uniquely identifies this call resource.
1944
+ # @param [Hash] opts the optional parameters
1945
+ # @option opts [String] :date_created Only show recordings created on the specified date, in the form *YYYY-MM-DD*.
1946
+ # @return [RecordingList]
1947
+ describe 'list_call_recordings_get_next_page test' do
1948
+ it 'should work' do
1949
+
1950
+ call_id = @call_id_list_call_recordings_test_value
1951
+ date_created = @date_created_list_call_recordings_test_value
1952
+
1953
+ result = @api_instance.list_call_recordings(
1954
+ call_id,
1955
+ {
1956
+ :date_created => date_created,
1957
+ }
1958
+ )
1959
+ result.next_page_uri = "/Accounts/{accountId}/Calls/{callId}/Recordings?cursor=1"
1960
+ next_page_result = @api_instance.get_next_page(result)
1961
+ expect(next_page_result).to be_a Freeclimb::RecordingList
1962
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
1963
+ end
1964
+ end
1965
+
1966
+ # unit tests for get_next_page list_calls
1967
+ # List Calls
1968
+ # @param [Hash] opts the optional parameters
1969
+ # @option opts [Boolean] :active If active is set to true then all calls of the nature queued, ringing, inProgress are returned in the query.
1970
+ # @option opts [String] :to Only show Calls to this phone number.
1971
+ # @option opts [String] :from Only show Calls from this phone number.
1972
+ # @option opts [CallStatus] :status Only show Calls currently in this status. May be `queued`, `ringing`, `inProgress`, `canceled`, `completed`, `failed`, `busy`, or `noAnswer`.
1973
+ # @option opts [String] :start_time Only show Calls that started at or after this time, given as YYYY-MM-DD hh:mm:ss.
1974
+ # @option opts [String] :end_time Only show Calls that ended at or before this time, given as YYYY-MM- DD hh:mm:ss.
1975
+ # @option opts [String] :parent_call_id Only show Calls spawned by the call with this ID.
1976
+ # @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.
1977
+ # @return [CallList]
1978
+ describe 'list_calls_get_next_page test' do
1979
+ it 'should work' do
1980
+
1981
+ active = @active_list_calls_test_value
1982
+ to = @to_list_calls_test_value
1983
+ from = @from_list_calls_test_value
1984
+ status = @status_list_calls_test_value
1985
+ start_time = @start_time_list_calls_test_value
1986
+ end_time = @end_time_list_calls_test_value
1987
+ parent_call_id = @parent_call_id_list_calls_test_value
1988
+ application_id = @application_id_list_calls_test_value
1989
+
1990
+ result = @api_instance.list_calls(
1991
+
1992
+ {
1993
+ :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,
1994
+ }
1995
+ )
1996
+ result.next_page_uri = "/Accounts/{accountId}/Calls?cursor=1"
1997
+ next_page_result = @api_instance.get_next_page(result)
1998
+ expect(next_page_result).to be_a Freeclimb::CallList
1999
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
2000
+ end
2001
+ end
2002
+
2003
+ # unit tests for get_next_page list_conference_recordings
2004
+ # List Conference Recordings
2005
+ # @param conference_id Show only Recordings made during the conference with this ID.
2006
+ # @param [Hash] opts the optional parameters
2007
+ # @option opts [String] :call_id Show only Recordings made during the Call with this ID.
2008
+ # @option opts [String] :date_created Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
2009
+ # @return [RecordingList]
2010
+ describe 'list_conference_recordings_get_next_page test' do
2011
+ it 'should work' do
2012
+
2013
+ conference_id = @conference_id_list_conference_recordings_test_value
2014
+ call_id = @call_id_list_conference_recordings_test_value
2015
+ date_created = @date_created_list_conference_recordings_test_value
2016
+
2017
+ result = @api_instance.list_conference_recordings(
2018
+ conference_id,
2019
+ {
2020
+ :call_id => call_id,:date_created => date_created,
2021
+ }
2022
+ )
2023
+ result.next_page_uri = "/Accounts/{accountId}/Conferences/{conferenceId}/Recordings?cursor=1"
2024
+ next_page_result = @api_instance.get_next_page(result)
2025
+ expect(next_page_result).to be_a Freeclimb::RecordingList
2026
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
2027
+ end
2028
+ end
2029
+
2030
+ # unit tests for get_next_page list_conferences
2031
+ # List Conferences
2032
+ # @param [Hash] opts the optional parameters
2033
+ # @option opts [String] :status Only show conferences that currently have the specified status. Valid values: &#x60;empty&#x60;, &#x60;populated&#x60;, &#x60;inProgress&#x60;, or &#x60;terminated&#x60;.
2034
+ # @option opts [String] :_alias List Conferences whose alias exactly matches this string.
2035
+ # @option opts [String] :date_created Only show Conferences that were created on the specified date, in the form *YYYY-MM-DD*.
2036
+ # @option opts [String] :date_updated Only show Conferences that were last updated on the specified date, in the form *YYYY-MM-DD*.
2037
+ # @return [ConferenceList]
2038
+ describe 'list_conferences_get_next_page test' do
2039
+ it 'should work' do
2040
+
2041
+ status = @status_list_conferences_test_value
2042
+ _alias = @_alias_list_conferences_test_value
2043
+ date_created = @date_created_list_conferences_test_value
2044
+ date_updated = @date_updated_list_conferences_test_value
2045
+
2046
+ result = @api_instance.list_conferences(
2047
+
2048
+ {
2049
+ :status => status,:_alias => _alias,:date_created => date_created,:date_updated => date_updated,
2050
+ }
2051
+ )
2052
+ result.next_page_uri = "/Accounts/{accountId}/Conferences?cursor=1"
2053
+ next_page_result = @api_instance.get_next_page(result)
2054
+ expect(next_page_result).to be_a Freeclimb::ConferenceList
2055
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
2056
+ end
2057
+ end
2058
+
2059
+ # unit tests for get_next_page list_incoming_numbers
2060
+ # List Incoming Numbers
2061
+ # @param [Hash] opts the optional parameters
2062
+ # @option opts [String] :phone_number Only show incoming phone number resources that match this PCRE-compatible regular expression.
2063
+ # @option opts [String] :_alias Only show incoming phone numbers with aliases that exactly match this value.
2064
+ # @option opts [String] :region State or province of this phone number.
2065
+ # @option opts [String] :country Country of this phone number.
2066
+ # @option opts [String] :application_id ID of the Application that FreeClimb should contact if a Call or SMS arrives for this phone number or a Call from this number is placed. An incoming phone number is not useful until associated with an applicationId.
2067
+ # @option opts [Boolean] :has_application Indication of whether the phone number has an application linked to it.
2068
+ # @option opts [Boolean] :voice_enabled Indicates whether the phone number can handle Calls. Typically set to true for all numbers.
2069
+ # @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.
2070
+ # @option opts [Boolean] :has_campaign Indication of whether the phone number has a campaign associated with it
2071
+ # @option opts [Boolean] :capabilities_voice
2072
+ # @option opts [Boolean] :capabilities_sms
2073
+ # @option opts [Boolean] :capabilities_toll_free
2074
+ # @option opts [Boolean] :capabilities_ten_dlc
2075
+ # @option opts [Boolean] :capabilities_short_code
2076
+ # @option opts [String] :tfn_campaign_id Only show incoming phone number resources that have been assigned to the provided TFNCampaign ID.
2077
+ # @option opts [Boolean] :offnet Indication of whether the phone number was registered as an offnet number. This field will be rendered only for requests to the IncomingPhone number resource.
2078
+ # @return [IncomingNumberList]
2079
+ describe 'list_incoming_numbers_get_next_page test' do
2080
+ it 'should work' do
2081
+
2082
+ phone_number = @phone_number_list_incoming_numbers_test_value
2083
+ _alias = @_alias_list_incoming_numbers_test_value
2084
+ region = @region_list_incoming_numbers_test_value
2085
+ country = @country_list_incoming_numbers_test_value
2086
+ application_id = @application_id_list_incoming_numbers_test_value
2087
+ has_application = @has_application_list_incoming_numbers_test_value
2088
+ voice_enabled = @voice_enabled_list_incoming_numbers_test_value
2089
+ sms_enabled = @sms_enabled_list_incoming_numbers_test_value
2090
+ has_campaign = @has_campaign_list_incoming_numbers_test_value
2091
+ capabilities_voice = @capabilities_voice_list_incoming_numbers_test_value
2092
+ capabilities_sms = @capabilities_sms_list_incoming_numbers_test_value
2093
+ capabilities_toll_free = @capabilities_toll_free_list_incoming_numbers_test_value
2094
+ capabilities_ten_dlc = @capabilities_ten_dlc_list_incoming_numbers_test_value
2095
+ capabilities_short_code = @capabilities_short_code_list_incoming_numbers_test_value
2096
+ tfn_campaign_id = @tfn_campaign_id_list_incoming_numbers_test_value
2097
+ offnet = @offnet_list_incoming_numbers_test_value
2098
+
2099
+ result = @api_instance.list_incoming_numbers(
2100
+
2101
+ {
2102
+ :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,:tfn_campaign_id => tfn_campaign_id,:offnet => offnet,
2103
+ }
2104
+ )
2105
+ result.next_page_uri = "/Accounts/{accountId}/IncomingPhoneNumbers?cursor=1"
2106
+ next_page_result = @api_instance.get_next_page(result)
2107
+ expect(next_page_result).to be_a Freeclimb::IncomingNumberList
2108
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
2109
+ end
2110
+ end
2111
+
2112
+ # unit tests for get_next_page list_members
2113
+ # List Members
2114
+ # @param queue_id String that uniquely identifies the Queue that the Member belongs to.
2115
+ # @param [Hash] opts the optional parameters
2116
+ # @return [QueueMemberList]
2117
+ describe 'list_members_get_next_page test' do
2118
+ it 'should work' do
2119
+
2120
+ queue_id = @queue_id_list_members_test_value
2121
+
2122
+ result = @api_instance.list_members(
2123
+ queue_id,
2124
+ {
2125
+
2126
+ }
2127
+ )
2128
+ result.next_page_uri = "/Accounts/{accountId}/Queues/{queueId}/Members?cursor=1"
2129
+ next_page_result = @api_instance.get_next_page(result)
2130
+ expect(next_page_result).to be_a Freeclimb::QueueMemberList
2131
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
2132
+ end
2133
+ end
2134
+
2135
+ # unit tests for get_next_page list_participants
2136
+ # List Participants
2137
+ # @param conference_id ID of the conference this participant is in.
2138
+ # @param [Hash] opts the optional parameters
2139
+ # @option opts [Boolean] :talk Only show Participants with the talk privilege.
2140
+ # @option opts [Boolean] :listen Only show Participants with the listen privilege.
2141
+ # @return [ConferenceParticipantList]
2142
+ describe 'list_participants_get_next_page test' do
2143
+ it 'should work' do
2144
+
2145
+ conference_id = @conference_id_list_participants_test_value
2146
+ talk = @talk_list_participants_test_value
2147
+ listen = @listen_list_participants_test_value
2148
+
2149
+ result = @api_instance.list_participants(
2150
+ conference_id,
2151
+ {
2152
+ :talk => talk,:listen => listen,
2153
+ }
2154
+ )
2155
+ result.next_page_uri = "/Accounts/{accountId}/Conferences/{conferenceId}/Participants?cursor=1"
2156
+ next_page_result = @api_instance.get_next_page(result)
2157
+ expect(next_page_result).to be_a Freeclimb::ConferenceParticipantList
2158
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
2159
+ end
2160
+ end
2161
+
2162
+ # unit tests for get_next_page list_recordings
2163
+ # List Recordings
2164
+ # @param [Hash] opts the optional parameters
2165
+ # @option opts [String] :call_id Show only Recordings made during the Call with this ID.
2166
+ # @option opts [String] :conference_id Show only Recordings made during the conference with this ID.
2167
+ # @option opts [String] :date_created Only show Recordings created on this date, formatted as *YYYY-MM-DD*.
2168
+ # @return [RecordingList]
2169
+ describe 'list_recordings_get_next_page test' do
2170
+ it 'should work' do
2171
+
2172
+ call_id = @call_id_list_recordings_test_value
2173
+ conference_id = @conference_id_list_recordings_test_value
2174
+ date_created = @date_created_list_recordings_test_value
2175
+
2176
+ result = @api_instance.list_recordings(
2177
+
2178
+ {
2179
+ :call_id => call_id,:conference_id => conference_id,:date_created => date_created,
2180
+ }
2181
+ )
2182
+ result.next_page_uri = "/Accounts/{accountId}/Recordings?cursor=1"
2183
+ next_page_result = @api_instance.get_next_page(result)
2184
+ expect(next_page_result).to be_a Freeclimb::RecordingList
2185
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
2186
+ end
2187
+ end
2188
+
2189
+ # unit tests for get_next_page list_sms_messages
2190
+ # List SMS Messages
2191
+ # @param [Hash] opts the optional parameters
2192
+ # @option opts [String] :to Only show Messages to this phone number.
2193
+ # @option opts [String] :from Only show Messages from this phone number.
2194
+ # @option opts [String] :begin_time Only show Messages sent at or after this time (GMT), given as *YYYY-MM-DD hh:mm:ss*.
2195
+ # @option opts [String] :end_time Only show messages sent at or before this time (GMT), given as *YYYY-MM-DD hh:mm*..
2196
+ # @option opts [MessageDirection] :direction Either &#x60;inbound&#x60; or &#x60;outbound&#x60;. Only show Messages that were either *sent from* or *received by* FreeClimb.
2197
+ # @option opts [String] :campaign_id Only show messages associated with this campaign ID.
2198
+ # @option opts [String] :brand_id Only show messages associated with this brand ID
2199
+ # @option opts [Boolean] :is10_dlc Only show messages that were sent as part of a 10DLC campaign.
2200
+ # @return [MessagesList]
2201
+ describe 'list_sms_messages_get_next_page test' do
2202
+ it 'should work' do
2203
+
2204
+ to = @to_list_sms_messages_test_value
2205
+ from = @from_list_sms_messages_test_value
2206
+ begin_time = @begin_time_list_sms_messages_test_value
2207
+ end_time = @end_time_list_sms_messages_test_value
2208
+ direction = @direction_list_sms_messages_test_value
2209
+ campaign_id = @campaign_id_list_sms_messages_test_value
2210
+ brand_id = @brand_id_list_sms_messages_test_value
2211
+ is10_dlc = @is10_dlc_list_sms_messages_test_value
2212
+
2213
+ result = @api_instance.list_sms_messages(
2214
+
2215
+ {
2216
+ :to => to,:from => from,:begin_time => begin_time,:end_time => end_time,:direction => direction,:campaign_id => campaign_id,:brand_id => brand_id,:is10_dlc => is10_dlc,
2217
+ }
2218
+ )
2219
+ result.next_page_uri = "/Accounts/{accountId}/Messages?cursor=1"
2220
+ next_page_result = @api_instance.get_next_page(result)
2221
+ expect(next_page_result).to be_a Freeclimb::MessagesList
2222
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
2223
+ end
2224
+ end
2225
+
1722
2226
  end
2227
+