freeclimb 1.0.3 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +89 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +11 -5
  5. data/docs/AccountRequest.md +1 -3
  6. data/docs/ApplicationRequest.md +1 -3
  7. data/docs/BuyIncomingNumberRequest.md +1 -3
  8. data/docs/CreateConferenceRequest.md +1 -3
  9. data/docs/DefaultApi.md +22 -38
  10. data/docs/FilterLogsRequest.md +1 -3
  11. data/docs/GetDigits.md +3 -1
  12. data/docs/GetDigitsAllOf.md +3 -1
  13. data/docs/GetSpeech.md +2 -2
  14. data/docs/GetSpeechAllOf.md +2 -2
  15. data/docs/Hangup.md +17 -0
  16. data/docs/HangupAllOf.md +17 -0
  17. data/docs/IncomingNumberRequest.md +1 -3
  18. data/docs/MakeCallRequest.md +3 -3
  19. data/docs/MessageRequest.md +0 -2
  20. data/docs/MessageRequestAllOf.md +0 -2
  21. data/docs/MessageResult.md +1 -1
  22. data/docs/MessageResultAllOf.md +1 -1
  23. data/docs/OutDial.md +3 -1
  24. data/docs/OutDialAllOf.md +3 -1
  25. data/docs/Play.md +3 -1
  26. data/docs/PlayAllOf.md +3 -1
  27. data/docs/QueueRequest.md +1 -3
  28. data/docs/Redirect.md +1 -1
  29. data/docs/RedirectAllOf.md +1 -1
  30. data/docs/Reject.md +17 -0
  31. data/docs/RejectAllOf.md +17 -0
  32. data/docs/Say.md +2 -2
  33. data/docs/SayAllOf.md +2 -2
  34. data/docs/SendDigits.md +3 -1
  35. data/docs/SendDigitsAllOf.md +3 -1
  36. data/docs/UpdateCallRequest.md +1 -3
  37. data/docs/UpdateConferenceParticipantRequest.md +1 -3
  38. data/docs/UpdateConferenceRequest.md +1 -3
  39. data/freeclimb-2.0.3.gem +0 -0
  40. data/lib/freeclimb.rb +4 -1
  41. data/lib/freeclimb/api/default_api.rb +42 -34
  42. data/lib/freeclimb/api_client.rb +1 -1
  43. data/lib/freeclimb/models/account_request.rb +4 -14
  44. data/lib/freeclimb/models/application_request.rb +4 -14
  45. data/lib/freeclimb/models/buy_incoming_number_request.rb +4 -14
  46. data/lib/freeclimb/models/create_conference_request.rb +4 -14
  47. data/lib/freeclimb/models/filter_logs_request.rb +4 -14
  48. data/lib/freeclimb/models/get_digits.rb +14 -4
  49. data/lib/freeclimb/models/get_digits_all_of.rb +14 -4
  50. data/lib/freeclimb/models/get_speech.rb +8 -8
  51. data/lib/freeclimb/models/get_speech_all_of.rb +8 -8
  52. data/lib/freeclimb/models/hangup.rb +220 -0
  53. data/lib/freeclimb/models/{dequeue_member_request.rb → hangup_all_of.rb} +11 -11
  54. data/lib/freeclimb/models/incoming_number_request.rb +4 -14
  55. data/lib/freeclimb/models/make_call_request.rb +14 -14
  56. data/lib/freeclimb/models/message_request.rb +1 -11
  57. data/lib/freeclimb/models/message_request_all_of.rb +1 -11
  58. data/lib/freeclimb/models/message_result.rb +3 -3
  59. data/lib/freeclimb/models/message_result_all_of.rb +3 -3
  60. data/lib/freeclimb/models/out_dial.rb +14 -4
  61. data/lib/freeclimb/models/out_dial_all_of.rb +14 -4
  62. data/lib/freeclimb/models/play.rb +14 -4
  63. data/lib/freeclimb/models/play_all_of.rb +14 -4
  64. data/lib/freeclimb/models/queue_request.rb +4 -14
  65. data/lib/freeclimb/models/redirect.rb +7 -2
  66. data/lib/freeclimb/models/redirect_all_of.rb +6 -1
  67. data/lib/freeclimb/models/reject.rb +220 -0
  68. data/lib/freeclimb/models/reject_all_of.rb +207 -0
  69. data/lib/freeclimb/models/say.rb +8 -8
  70. data/lib/freeclimb/models/say_all_of.rb +8 -8
  71. data/lib/freeclimb/models/send_digits.rb +14 -4
  72. data/lib/freeclimb/models/send_digits_all_of.rb +14 -4
  73. data/lib/freeclimb/models/update_call_request.rb +4 -14
  74. data/lib/freeclimb/models/update_conference_participant_request.rb +4 -14
  75. data/lib/freeclimb/models/update_conference_request.rb +4 -14
  76. data/lib/freeclimb/version.rb +1 -1
  77. data/spec/api/default_api_spec.rb +9 -24
  78. data/spec/models/hangup_spec.rb +41 -0
  79. data/spec/models/reject_spec.rb +41 -0
  80. metadata +16 -6
  81. data/docs/DequeueMemberRequest.md +0 -17
  82. data/spec/models/dequeue_member_request_spec.rb +0 -34
@@ -6,7 +6,6 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **talk** | **Boolean** | (Optional) Default is `true`. Setting to `false` mutes the Participant. FreeClimb returns an error and ignores any other value. | [optional]
8
8
  **listen** | **Boolean** | (Optional) Default is `true`. Setting to `false` silences the Conference for this Participant. FreeClimb returns an error and ignores any other value. | [optional]
9
- **request_id** | **String** | ID of this request starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request include this requestId. If this value is not provided, FreeClimb generates a requestId and returns it as a header in the response (e.g., X-Pulse-Request-Id: <requestId>). | [optional]
10
9
 
11
10
  ## Code Sample
12
11
 
@@ -14,8 +13,7 @@ Name | Type | Description | Notes
14
13
  require 'freeclimb'
15
14
 
16
15
  instance = Freeclimb::UpdateConferenceParticipantRequest.new(talk: nil,
17
- listen: nil,
18
- request_id: nil)
16
+ listen: nil)
19
17
  ```
20
18
 
21
19
 
@@ -7,7 +7,6 @@ Name | Type | Description | Notes
7
7
  **_alias** | **String** | Description for this conference. Maximum 64 characters. | [optional]
8
8
  **play_beep** | **String** | Controls when a beep is played. Valid values: `always`, `never`, `entryOnly`, `exitOnly`. | [optional] [default to 'always']
9
9
  **status** | **String** | New status of the conference. Valid values: `empty` or `terminated`. For more information, see **Status Parameter** below.** | [optional]
10
- **request_id** | **String** | ID for this request starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response (e.g. X-Pulse-Request-Id: <requestId>). | [optional]
11
10
 
12
11
  ## Code Sample
13
12
 
@@ -16,8 +15,7 @@ require 'freeclimb'
16
15
 
17
16
  instance = Freeclimb::UpdateConferenceRequest.new(_alias: nil,
18
17
  play_beep: nil,
19
- status: nil,
20
- request_id: nil)
18
+ status: nil)
21
19
  ```
22
20
 
23
21
 
Binary file
@@ -48,7 +48,6 @@ require 'freeclimb/models/create_conference'
48
48
  require 'freeclimb/models/create_conference_all_of'
49
49
  require 'freeclimb/models/create_conference_request'
50
50
  require 'freeclimb/models/dequeue'
51
- require 'freeclimb/models/dequeue_member_request'
52
51
  require 'freeclimb/models/enqueue'
53
52
  require 'freeclimb/models/enqueue_all_of'
54
53
  require 'freeclimb/models/filter_logs_request'
@@ -56,6 +55,8 @@ require 'freeclimb/models/get_digits'
56
55
  require 'freeclimb/models/get_digits_all_of'
57
56
  require 'freeclimb/models/get_speech'
58
57
  require 'freeclimb/models/get_speech_all_of'
58
+ require 'freeclimb/models/hangup'
59
+ require 'freeclimb/models/hangup_all_of'
59
60
  require 'freeclimb/models/incoming_number_list'
60
61
  require 'freeclimb/models/incoming_number_list_all_of'
61
62
  require 'freeclimb/models/incoming_number_request'
@@ -99,6 +100,8 @@ require 'freeclimb/models/recording_result'
99
100
  require 'freeclimb/models/recording_result_all_of'
100
101
  require 'freeclimb/models/redirect'
101
102
  require 'freeclimb/models/redirect_all_of'
103
+ require 'freeclimb/models/reject'
104
+ require 'freeclimb/models/reject_all_of'
102
105
  require 'freeclimb/models/remove_from_conference'
103
106
  require 'freeclimb/models/remove_from_conference_all_of'
104
107
  require 'freeclimb/models/say'
@@ -79,22 +79,26 @@ module Freeclimb
79
79
  end
80
80
 
81
81
  # Buy a Phone Number
82
+ # @param buy_incoming_number_request [BuyIncomingNumberRequest] Incoming Number transaction details
82
83
  # @param [Hash] opts the optional parameters
83
- # @option opts [BuyIncomingNumberRequest] :buy_incoming_number_request Incoming Number transaction details
84
84
  # @return [IncomingNumberResult]
85
- def buy_a_phone_number(opts = {})
86
- data, _status_code, _headers = buy_a_phone_number_with_http_info(opts)
85
+ def buy_a_phone_number(buy_incoming_number_request, opts = {})
86
+ data, _status_code, _headers = buy_a_phone_number_with_http_info(buy_incoming_number_request, opts)
87
87
  data
88
88
  end
89
89
 
90
90
  # Buy a Phone Number
91
+ # @param buy_incoming_number_request [BuyIncomingNumberRequest] Incoming Number transaction details
91
92
  # @param [Hash] opts the optional parameters
92
- # @option opts [BuyIncomingNumberRequest] :buy_incoming_number_request Incoming Number transaction details
93
93
  # @return [Array<(IncomingNumberResult, Integer, Hash)>] IncomingNumberResult data, response status code and response headers
94
- def buy_a_phone_number_with_http_info(opts = {})
94
+ def buy_a_phone_number_with_http_info(buy_incoming_number_request, opts = {})
95
95
  if @api_client.config.debugging
96
96
  @api_client.config.logger.debug 'Calling API: DefaultApi.buy_a_phone_number ...'
97
97
  end
98
+ # verify the required parameter 'buy_incoming_number_request' is set
99
+ if @api_client.config.client_side_validation && buy_incoming_number_request.nil?
100
+ fail ArgumentError, "Missing the required parameter 'buy_incoming_number_request' when calling DefaultApi.buy_a_phone_number"
101
+ end
98
102
  # resource path
99
103
  local_var_path = '/Accounts/{accountId}/IncomingPhoneNumbers'.sub('{' + 'accountId' + '}', CGI.escape(@account_id.to_s))
100
104
 
@@ -112,7 +116,7 @@ module Freeclimb
112
116
  form_params = opts[:form_params] || {}
113
117
 
114
118
  # http body (model)
115
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'buy_incoming_number_request'])
119
+ post_body = opts[:body] || @api_client.object_to_http_body(buy_incoming_number_request)
116
120
 
117
121
  # return_type
118
122
  return_type = opts[:return_type] || 'IncomingNumberResult'
@@ -488,7 +492,6 @@ module Freeclimb
488
492
  # @param queue_id [String] String that uniquely identifies the Queue that the Member belongs to.
489
493
  # @param call_id [String] ID if the Call that the Member belongs to
490
494
  # @param [Hash] opts the optional parameters
491
- # @option opts [DequeueMemberRequest] :dequeue_member_request Dequeue member request details
492
495
  # @return [QueueMember]
493
496
  def dequeue_a_member(queue_id, call_id, opts = {})
494
497
  data, _status_code, _headers = dequeue_a_member_with_http_info(queue_id, call_id, opts)
@@ -499,7 +502,6 @@ module Freeclimb
499
502
  # @param queue_id [String] String that uniquely identifies the Queue that the Member belongs to.
500
503
  # @param call_id [String] ID if the Call that the Member belongs to
501
504
  # @param [Hash] opts the optional parameters
502
- # @option opts [DequeueMemberRequest] :dequeue_member_request Dequeue member request details
503
505
  # @return [Array<(QueueMember, Integer, Hash)>] QueueMember data, response status code and response headers
504
506
  def dequeue_a_member_with_http_info(queue_id, call_id, opts = {})
505
507
  if @api_client.config.debugging
@@ -523,14 +525,12 @@ module Freeclimb
523
525
  header_params = opts[:header_params] || {}
524
526
  # HTTP header 'Accept' (if needed)
525
527
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
526
- # HTTP header 'Content-Type'
527
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
528
528
 
529
529
  # form parameters
530
530
  form_params = opts[:form_params] || {}
531
531
 
532
532
  # http body (model)
533
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'dequeue_member_request'])
533
+ post_body = opts[:body]
534
534
 
535
535
  # return_type
536
536
  return_type = opts[:return_type] || 'QueueMember'
@@ -557,7 +557,6 @@ module Freeclimb
557
557
  # Dequeue Head Member
558
558
  # @param queue_id [String] String that uniquely identifies this queue resource.
559
559
  # @param [Hash] opts the optional parameters
560
- # @option opts [DequeueMemberRequest] :dequeue_member_request Dequeue head member request details
561
560
  # @return [QueueMember]
562
561
  def dequeue_head_member(queue_id, opts = {})
563
562
  data, _status_code, _headers = dequeue_head_member_with_http_info(queue_id, opts)
@@ -567,7 +566,6 @@ module Freeclimb
567
566
  # Dequeue Head Member
568
567
  # @param queue_id [String] String that uniquely identifies this queue resource.
569
568
  # @param [Hash] opts the optional parameters
570
- # @option opts [DequeueMemberRequest] :dequeue_member_request Dequeue head member request details
571
569
  # @return [Array<(QueueMember, Integer, Hash)>] QueueMember data, response status code and response headers
572
570
  def dequeue_head_member_with_http_info(queue_id, opts = {})
573
571
  if @api_client.config.debugging
@@ -587,14 +585,12 @@ module Freeclimb
587
585
  header_params = opts[:header_params] || {}
588
586
  # HTTP header 'Accept' (if needed)
589
587
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
590
- # HTTP header 'Content-Type'
591
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
592
588
 
593
589
  # form parameters
594
590
  form_params = opts[:form_params] || {}
595
591
 
596
592
  # http body (model)
597
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'dequeue_member_request'])
593
+ post_body = opts[:body]
598
594
 
599
595
  # return_type
600
596
  return_type = opts[:return_type] || 'QueueMember'
@@ -679,22 +675,26 @@ module Freeclimb
679
675
  end
680
676
 
681
677
  # Filter Logs
678
+ # @param filter_logs_request [FilterLogsRequest] Filter logs request paramters
682
679
  # @param [Hash] opts the optional parameters
683
- # @option opts [FilterLogsRequest] :filter_logs_request Filter logs request paramters
684
680
  # @return [LogList]
685
- def filter_logs(opts = {})
686
- data, _status_code, _headers = filter_logs_with_http_info(opts)
681
+ def filter_logs(filter_logs_request, opts = {})
682
+ data, _status_code, _headers = filter_logs_with_http_info(filter_logs_request, opts)
687
683
  data
688
684
  end
689
685
 
690
686
  # Filter Logs
687
+ # @param filter_logs_request [FilterLogsRequest] Filter logs request paramters
691
688
  # @param [Hash] opts the optional parameters
692
- # @option opts [FilterLogsRequest] :filter_logs_request Filter logs request paramters
693
689
  # @return [Array<(LogList, Integer, Hash)>] LogList data, response status code and response headers
694
- def filter_logs_with_http_info(opts = {})
690
+ def filter_logs_with_http_info(filter_logs_request, opts = {})
695
691
  if @api_client.config.debugging
696
692
  @api_client.config.logger.debug 'Calling API: DefaultApi.filter_logs ...'
697
693
  end
694
+ # verify the required parameter 'filter_logs_request' is set
695
+ if @api_client.config.client_side_validation && filter_logs_request.nil?
696
+ fail ArgumentError, "Missing the required parameter 'filter_logs_request' when calling DefaultApi.filter_logs"
697
+ end
698
698
  # resource path
699
699
  local_var_path = '/Accounts/{accountId}/Logs'.sub('{' + 'accountId' + '}', CGI.escape(@account_id.to_s))
700
700
 
@@ -712,7 +712,7 @@ module Freeclimb
712
712
  form_params = opts[:form_params] || {}
713
713
 
714
714
  # http body (model)
715
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'filter_logs_request'])
715
+ post_body = opts[:body] || @api_client.object_to_http_body(filter_logs_request)
716
716
 
717
717
  # return_type
718
718
  return_type = opts[:return_type] || 'LogList'
@@ -2281,22 +2281,26 @@ module Freeclimb
2281
2281
  end
2282
2282
 
2283
2283
  # Send an SMS Message
2284
+ # @param message_request [MessageRequest] Details to create a message
2284
2285
  # @param [Hash] opts the optional parameters
2285
- # @option opts [MessageRequest] :message_request Details to create a message
2286
2286
  # @return [MessageResult]
2287
- def send_an_sms_message(opts = {})
2288
- data, _status_code, _headers = send_an_sms_message_with_http_info(opts)
2287
+ def send_an_sms_message(message_request, opts = {})
2288
+ data, _status_code, _headers = send_an_sms_message_with_http_info(message_request, opts)
2289
2289
  data
2290
2290
  end
2291
2291
 
2292
2292
  # Send an SMS Message
2293
+ # @param message_request [MessageRequest] Details to create a message
2293
2294
  # @param [Hash] opts the optional parameters
2294
- # @option opts [MessageRequest] :message_request Details to create a message
2295
2295
  # @return [Array<(MessageResult, Integer, Hash)>] MessageResult data, response status code and response headers
2296
- def send_an_sms_message_with_http_info(opts = {})
2296
+ def send_an_sms_message_with_http_info(message_request, opts = {})
2297
2297
  if @api_client.config.debugging
2298
2298
  @api_client.config.logger.debug 'Calling API: DefaultApi.send_an_sms_message ...'
2299
2299
  end
2300
+ # verify the required parameter 'message_request' is set
2301
+ if @api_client.config.client_side_validation && message_request.nil?
2302
+ fail ArgumentError, "Missing the required parameter 'message_request' when calling DefaultApi.send_an_sms_message"
2303
+ end
2300
2304
  # resource path
2301
2305
  local_var_path = '/Accounts/{accountId}/Messages'.sub('{' + 'accountId' + '}', CGI.escape(@account_id.to_s))
2302
2306
 
@@ -2314,7 +2318,7 @@ module Freeclimb
2314
2318
  form_params = opts[:form_params] || {}
2315
2319
 
2316
2320
  # http body (model)
2317
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'message_request'])
2321
+ post_body = opts[:body] || @api_client.object_to_http_body(message_request)
2318
2322
 
2319
2323
  # return_type
2320
2324
  return_type = opts[:return_type] || 'MessageResult'
@@ -2464,20 +2468,20 @@ module Freeclimb
2464
2468
 
2465
2469
  # Update a Live Call
2466
2470
  # @param call_id [String] String that uniquely identifies this call resource.
2471
+ # @param update_call_request [UpdateCallRequest] Call details to update
2467
2472
  # @param [Hash] opts the optional parameters
2468
- # @option opts [UpdateCallRequest] :update_call_request Call details to update
2469
2473
  # @return [nil]
2470
- def update_a_live_call(call_id, opts = {})
2471
- update_a_live_call_with_http_info(call_id, opts)
2474
+ def update_a_live_call(call_id, update_call_request, opts = {})
2475
+ update_a_live_call_with_http_info(call_id, update_call_request, opts)
2472
2476
  nil
2473
2477
  end
2474
2478
 
2475
2479
  # Update a Live Call
2476
2480
  # @param call_id [String] String that uniquely identifies this call resource.
2481
+ # @param update_call_request [UpdateCallRequest] Call details to update
2477
2482
  # @param [Hash] opts the optional parameters
2478
- # @option opts [UpdateCallRequest] :update_call_request Call details to update
2479
2483
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
2480
- def update_a_live_call_with_http_info(call_id, opts = {})
2484
+ def update_a_live_call_with_http_info(call_id, update_call_request, opts = {})
2481
2485
  if @api_client.config.debugging
2482
2486
  @api_client.config.logger.debug 'Calling API: DefaultApi.update_a_live_call ...'
2483
2487
  end
@@ -2485,6 +2489,10 @@ module Freeclimb
2485
2489
  if @api_client.config.client_side_validation && call_id.nil?
2486
2490
  fail ArgumentError, "Missing the required parameter 'call_id' when calling DefaultApi.update_a_live_call"
2487
2491
  end
2492
+ # verify the required parameter 'update_call_request' is set
2493
+ if @api_client.config.client_side_validation && update_call_request.nil?
2494
+ fail ArgumentError, "Missing the required parameter 'update_call_request' when calling DefaultApi.update_a_live_call"
2495
+ end
2488
2496
  # resource path
2489
2497
  local_var_path = '/Accounts/{accountId}/Calls/{callId}'.sub('{' + 'accountId' + '}', CGI.escape(@account_id.to_s)).sub('{' + 'callId' + '}', CGI.escape(call_id.to_s))
2490
2498
 
@@ -2500,7 +2508,7 @@ module Freeclimb
2500
2508
  form_params = opts[:form_params] || {}
2501
2509
 
2502
2510
  # http body (model)
2503
- post_body = opts[:body] || @api_client.object_to_http_body(opts[:'update_call_request'])
2511
+ post_body = opts[:body] || @api_client.object_to_http_body(update_call_request)
2504
2512
 
2505
2513
  # return_type
2506
2514
  return_type = opts[:return_type]
@@ -30,7 +30,7 @@ module Freeclimb
30
30
  # @option config [Configuration] Configuration for initializing the object, default to Configuration.default
31
31
  def initialize(config = Configuration.default)
32
32
  @config = config
33
- @user_agent = "FreeClimbSDK/1.0.3/ruby"
33
+ @user_agent = "FreeClimbSDK/2.1.0/ruby"
34
34
  @default_headers = {
35
35
  'Content-Type' => 'application/json',
36
36
  'User-Agent' => @user_agent
@@ -20,15 +20,11 @@ module Freeclimb
20
20
  # Group to which this account belongs.
21
21
  attr_accessor :label
22
22
 
23
- # RequestId for this request starting with prefix *RQ* followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response, e.g. X-Pulse-Request-Id: <requestId>
24
- attr_accessor :request_id
25
-
26
23
  # Attribute mapping from ruby-style variable name to JSON key.
27
24
  def self.attribute_map
28
25
  {
29
26
  :'_alias' => :'alias',
30
- :'label' => :'label',
31
- :'request_id' => :'requestId'
27
+ :'label' => :'label'
32
28
  }
33
29
  end
34
30
 
@@ -36,8 +32,7 @@ module Freeclimb
36
32
  def self.openapi_types
37
33
  {
38
34
  :'_alias' => :'String',
39
- :'label' => :'String',
40
- :'request_id' => :'String'
35
+ :'label' => :'String'
41
36
  }
42
37
  end
43
38
 
@@ -69,10 +64,6 @@ module Freeclimb
69
64
  if attributes.key?(:'label')
70
65
  self.label = attributes[:'label']
71
66
  end
72
-
73
- if attributes.key?(:'request_id')
74
- self.request_id = attributes[:'request_id']
75
- end
76
67
  end
77
68
 
78
69
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -94,8 +85,7 @@ module Freeclimb
94
85
  return true if self.equal?(o)
95
86
  self.class == o.class &&
96
87
  _alias == o._alias &&
97
- label == o.label &&
98
- request_id == o.request_id
88
+ label == o.label
99
89
  end
100
90
 
101
91
  # @see the `==` method
@@ -107,7 +97,7 @@ module Freeclimb
107
97
  # Calculates hash code according to all attributes.
108
98
  # @return [Integer] Hash code
109
99
  def hash
110
- [_alias, label, request_id].hash
100
+ [_alias, label].hash
111
101
  end
112
102
 
113
103
  # Builds the object from hash
@@ -35,9 +35,6 @@ module Freeclimb
35
35
  # The URL that FreeClimb will request if it times out waiting for a response from the smsUrl. Used for inbound SMS only. Note: Any PerCL returned will be ignored.
36
36
  attr_accessor :sms_fallback_url
37
37
 
38
- # The requestId for this request starting with prefix \"RQ\" followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response, e.g. X-Pulse-Request-Id: <requestId>
39
- attr_accessor :request_id
40
-
41
38
  # Attribute mapping from ruby-style variable name to JSON key.
42
39
  def self.attribute_map
43
40
  {
@@ -47,8 +44,7 @@ module Freeclimb
47
44
  :'call_connect_url' => :'callConnectUrl',
48
45
  :'status_callback_url' => :'statusCallbackUrl',
49
46
  :'sms_url' => :'smsUrl',
50
- :'sms_fallback_url' => :'smsFallbackUrl',
51
- :'request_id' => :'requestId'
47
+ :'sms_fallback_url' => :'smsFallbackUrl'
52
48
  }
53
49
  end
54
50
 
@@ -61,8 +57,7 @@ module Freeclimb
61
57
  :'call_connect_url' => :'String',
62
58
  :'status_callback_url' => :'String',
63
59
  :'sms_url' => :'String',
64
- :'sms_fallback_url' => :'String',
65
- :'request_id' => :'String'
60
+ :'sms_fallback_url' => :'String'
66
61
  }
67
62
  end
68
63
 
@@ -114,10 +109,6 @@ module Freeclimb
114
109
  if attributes.key?(:'sms_fallback_url')
115
110
  self.sms_fallback_url = attributes[:'sms_fallback_url']
116
111
  end
117
-
118
- if attributes.key?(:'request_id')
119
- self.request_id = attributes[:'request_id']
120
- end
121
112
  end
122
113
 
123
114
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -144,8 +135,7 @@ module Freeclimb
144
135
  call_connect_url == o.call_connect_url &&
145
136
  status_callback_url == o.status_callback_url &&
146
137
  sms_url == o.sms_url &&
147
- sms_fallback_url == o.sms_fallback_url &&
148
- request_id == o.request_id
138
+ sms_fallback_url == o.sms_fallback_url
149
139
  end
150
140
 
151
141
  # @see the `==` method
@@ -157,7 +147,7 @@ module Freeclimb
157
147
  # Calculates hash code according to all attributes.
158
148
  # @return [Integer] Hash code
159
149
  def hash
160
- [_alias, voice_url, voice_fallback_url, call_connect_url, status_callback_url, sms_url, sms_fallback_url, request_id].hash
150
+ [_alias, voice_url, voice_fallback_url, call_connect_url, status_callback_url, sms_url, sms_fallback_url].hash
161
151
  end
162
152
 
163
153
  # Builds the object from hash
@@ -23,16 +23,12 @@ module Freeclimb
23
23
  # ID of the application that should handle phone calls to the number.
24
24
  attr_accessor :application_id
25
25
 
26
- # RequestId for this request starting with prefix `RQ` followed by 40 hexadecimal characters. FreeClimb logs generated while processing this request will include this requestId. If it is not provided, FreeClimb will generate a requestId and return it as a header in the response, (e.g., `X-Pulse-Request-Id: <requestId>`).
27
- attr_accessor :request_id
28
-
29
26
  # Attribute mapping from ruby-style variable name to JSON key.
30
27
  def self.attribute_map
31
28
  {
32
29
  :'phone_number' => :'phoneNumber',
33
30
  :'_alias' => :'alias',
34
- :'application_id' => :'applicationId',
35
- :'request_id' => :'requestId'
31
+ :'application_id' => :'applicationId'
36
32
  }
37
33
  end
38
34
 
@@ -41,8 +37,7 @@ module Freeclimb
41
37
  {
42
38
  :'phone_number' => :'String',
43
39
  :'_alias' => :'String',
44
- :'application_id' => :'String',
45
- :'request_id' => :'String'
40
+ :'application_id' => :'String'
46
41
  }
47
42
  end
48
43
 
@@ -78,10 +73,6 @@ module Freeclimb
78
73
  if attributes.key?(:'application_id')
79
74
  self.application_id = attributes[:'application_id']
80
75
  end
81
-
82
- if attributes.key?(:'request_id')
83
- self.request_id = attributes[:'request_id']
84
- end
85
76
  end
86
77
 
87
78
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -109,8 +100,7 @@ module Freeclimb
109
100
  self.class == o.class &&
110
101
  phone_number == o.phone_number &&
111
102
  _alias == o._alias &&
112
- application_id == o.application_id &&
113
- request_id == o.request_id
103
+ application_id == o.application_id
114
104
  end
115
105
 
116
106
  # @see the `==` method
@@ -122,7 +112,7 @@ module Freeclimb
122
112
  # Calculates hash code according to all attributes.
123
113
  # @return [Integer] Hash code
124
114
  def hash
125
- [phone_number, _alias, application_id, request_id].hash
115
+ [phone_number, _alias, application_id].hash
126
116
  end
127
117
 
128
118
  # Builds the object from hash