freeclimb 2.0.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +95 -0
  3. data/Gemfile.lock +1 -1
  4. data/README.md +11 -4
  5. data/docs/DefaultApi.md +16 -24
  6. data/docs/GetDigits.md +3 -1
  7. data/docs/GetDigitsAllOf.md +3 -1
  8. data/docs/GetSpeech.md +2 -2
  9. data/docs/GetSpeechAllOf.md +2 -2
  10. data/docs/Hangup.md +17 -0
  11. data/docs/HangupAllOf.md +17 -0
  12. data/docs/MakeCallRequest.md +3 -1
  13. data/docs/MessageResult.md +1 -1
  14. data/docs/MessageResultAllOf.md +1 -1
  15. data/docs/OutDial.md +3 -1
  16. data/docs/OutDialAllOf.md +3 -1
  17. data/docs/Play.md +3 -1
  18. data/docs/PlayAllOf.md +3 -1
  19. data/docs/RecordUtterance.md +3 -1
  20. data/docs/RecordUtteranceAllOf.md +3 -1
  21. data/docs/Redirect.md +1 -1
  22. data/docs/RedirectAllOf.md +1 -1
  23. data/docs/Reject.md +17 -0
  24. data/docs/RejectAllOf.md +17 -0
  25. data/docs/Say.md +2 -2
  26. data/docs/SayAllOf.md +2 -2
  27. data/docs/SendDigits.md +3 -1
  28. data/docs/SendDigitsAllOf.md +3 -1
  29. data/freeclimb-2.0.3.gem +0 -0
  30. data/freeclimb-2.1.0.gem +0 -0
  31. data/lib/freeclimb.rb +4 -0
  32. data/lib/freeclimb/api/default_api.rb +40 -24
  33. data/lib/freeclimb/api_client.rb +1 -1
  34. data/lib/freeclimb/models/get_digits.rb +14 -4
  35. data/lib/freeclimb/models/get_digits_all_of.rb +14 -4
  36. data/lib/freeclimb/models/get_speech.rb +8 -8
  37. data/lib/freeclimb/models/get_speech_all_of.rb +8 -8
  38. data/lib/freeclimb/models/hangup.rb +220 -0
  39. data/lib/freeclimb/models/hangup_all_of.rb +207 -0
  40. data/lib/freeclimb/models/make_call_request.rb +14 -4
  41. data/lib/freeclimb/models/message_result.rb +3 -3
  42. data/lib/freeclimb/models/message_result_all_of.rb +3 -3
  43. data/lib/freeclimb/models/out_dial.rb +14 -4
  44. data/lib/freeclimb/models/out_dial_all_of.rb +14 -4
  45. data/lib/freeclimb/models/play.rb +14 -4
  46. data/lib/freeclimb/models/play_all_of.rb +14 -4
  47. data/lib/freeclimb/models/record_utterance.rb +14 -4
  48. data/lib/freeclimb/models/record_utterance_all_of.rb +14 -4
  49. data/lib/freeclimb/models/redirect.rb +7 -2
  50. data/lib/freeclimb/models/redirect_all_of.rb +6 -1
  51. data/lib/freeclimb/models/reject.rb +220 -0
  52. data/lib/freeclimb/models/reject_all_of.rb +207 -0
  53. data/lib/freeclimb/models/say.rb +8 -8
  54. data/lib/freeclimb/models/say_all_of.rb +8 -8
  55. data/lib/freeclimb/models/send_digits.rb +14 -4
  56. data/lib/freeclimb/models/send_digits_all_of.rb +14 -4
  57. data/lib/freeclimb/version.rb +1 -1
  58. data/spec/api/default_api_spec.rb +7 -14
  59. data/spec/models/hangup_spec.rb +41 -0
  60. data/spec/models/reject_spec.rb +41 -0
  61. metadata +17 -2
@@ -38,6 +38,9 @@ module Freeclimb
38
38
  # The ID of the parent Call in the case that this new Call is meant to be treated as a child of an existing Call. This attribute should be included when possible to reduce latency when adding child calls to Conferences containing the parent Call. A call can only be used as a parent once the call is in progress or as an inbound call that is still ringing. An outbound call is considered to be in progress once the outdialConnect or outdialApiConnect webhook is invoked. An inbound call is ringing when the inbound webhook is invoked.
39
39
  attr_accessor :parent_call_id
40
40
 
41
+ # Activate privacy mode in order to obscure log data that can potentially expose private information.
42
+ attr_accessor :privacy_mode
43
+
41
44
  # Attribute mapping from ruby-style variable name to JSON key.
42
45
  def self.attribute_map
43
46
  {
@@ -48,7 +51,8 @@ module Freeclimb
48
51
  :'if_machine' => :'ifMachine',
49
52
  :'if_machine_url' => :'ifMachineUrl',
50
53
  :'timeout' => :'timeout',
51
- :'parent_call_id' => :'parentCallId'
54
+ :'parent_call_id' => :'parentCallId',
55
+ :'privacy_mode' => :'privacyMode'
52
56
  }
53
57
  end
54
58
 
@@ -62,7 +66,8 @@ module Freeclimb
62
66
  :'if_machine' => :'String',
63
67
  :'if_machine_url' => :'String',
64
68
  :'timeout' => :'Integer',
65
- :'parent_call_id' => :'String'
69
+ :'parent_call_id' => :'String',
70
+ :'privacy_mode' => :'Boolean'
66
71
  }
67
72
  end
68
73
 
@@ -118,6 +123,10 @@ module Freeclimb
118
123
  if attributes.key?(:'parent_call_id')
119
124
  self.parent_call_id = attributes[:'parent_call_id']
120
125
  end
126
+
127
+ if attributes.key?(:'privacy_mode')
128
+ self.privacy_mode = attributes[:'privacy_mode']
129
+ end
121
130
  end
122
131
 
123
132
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -160,7 +169,8 @@ module Freeclimb
160
169
  if_machine == o.if_machine &&
161
170
  if_machine_url == o.if_machine_url &&
162
171
  timeout == o.timeout &&
163
- parent_call_id == o.parent_call_id
172
+ parent_call_id == o.parent_call_id &&
173
+ privacy_mode == o.privacy_mode
164
174
  end
165
175
 
166
176
  # @see the `==` method
@@ -172,7 +182,7 @@ module Freeclimb
172
182
  # Calculates hash code according to all attributes.
173
183
  # @return [Integer] Hash code
174
184
  def hash
175
- [from, to, application_id, send_digits, if_machine, if_machine_url, timeout, parent_call_id].hash
185
+ [from, to, application_id, send_digits, if_machine, if_machine_url, timeout, parent_call_id, privacy_mode].hash
176
186
  end
177
187
 
178
188
  # Builds the object from hash
@@ -32,7 +32,7 @@ module Freeclimb
32
32
  # String that uniquely identifies this message resource
33
33
  attr_accessor :message_id
34
34
 
35
- # Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received
35
+ # Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown
36
36
  attr_accessor :status
37
37
 
38
38
  # Phone number in E.164 format that sent the message.
@@ -196,7 +196,7 @@ module Freeclimb
196
196
  # Check to see if the all the properties in the model are valid
197
197
  # @return true if the model is valid
198
198
  def valid?
199
- status_validator = EnumAttributeValidator.new('String', ["new", "queued", "rejected", "sending", "sent", "failed", "received", "undelivered"])
199
+ status_validator = EnumAttributeValidator.new('String', ["new", "queued", "rejected", "sending", "sent", "failed", "received", "undelivered", "expired", "deleted", "unknown"])
200
200
  return false unless status_validator.valid?(@status)
201
201
  true
202
202
  end
@@ -204,7 +204,7 @@ module Freeclimb
204
204
  # Custom attribute writer method checking allowed values (enum).
205
205
  # @param [Object] status Object to be assigned
206
206
  def status=(status)
207
- validator = EnumAttributeValidator.new('String', ["new", "queued", "rejected", "sending", "sent", "failed", "received", "undelivered"])
207
+ validator = EnumAttributeValidator.new('String', ["new", "queued", "rejected", "sending", "sent", "failed", "received", "undelivered", "expired", "deleted", "unknown"])
208
208
  unless validator.valid?(status)
209
209
  fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}."
210
210
  end
@@ -20,7 +20,7 @@ module Freeclimb
20
20
  # String that uniquely identifies this message resource
21
21
  attr_accessor :message_id
22
22
 
23
- # Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received
23
+ # Indicates the state of the message through the message lifecycle including: new, queued, rejected, sending, sent, failed, received, undelivered, expired, deleted, and unknown
24
24
  attr_accessor :status
25
25
 
26
26
  # Phone number in E.164 format that sent the message.
@@ -152,7 +152,7 @@ module Freeclimb
152
152
  # Check to see if the all the properties in the model are valid
153
153
  # @return true if the model is valid
154
154
  def valid?
155
- status_validator = EnumAttributeValidator.new('String', ["new", "queued", "rejected", "sending", "sent", "failed", "received", "undelivered"])
155
+ status_validator = EnumAttributeValidator.new('String', ["new", "queued", "rejected", "sending", "sent", "failed", "received", "undelivered", "expired", "deleted", "unknown"])
156
156
  return false unless status_validator.valid?(@status)
157
157
  true
158
158
  end
@@ -160,7 +160,7 @@ module Freeclimb
160
160
  # Custom attribute writer method checking allowed values (enum).
161
161
  # @param [Object] status Object to be assigned
162
162
  def status=(status)
163
- validator = EnumAttributeValidator.new('String', ["new", "queued", "rejected", "sending", "sent", "failed", "received", "undelivered"])
163
+ validator = EnumAttributeValidator.new('String', ["new", "queued", "rejected", "sending", "sent", "failed", "received", "undelivered", "expired", "deleted", "unknown"])
164
164
  unless validator.valid?(status)
165
165
  fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}."
166
166
  end
@@ -42,6 +42,9 @@ module Freeclimb
42
42
  # Maximum time in seconds the `OutDial` command waits for the called party to answer the Call. When a timeout occurs, FreeClimb invokes the `callConnectUrl` Webhook to report that the out-dialed Call has ended with a status of `noAnswer`.
43
43
  attr_accessor :timeout
44
44
 
45
+ # Parameter `privacyMode` will not log the `text` as required by PCI compliance.
46
+ attr_accessor :privacy_mode
47
+
45
48
  # Attribute mapping from ruby-style variable name to JSON key.
46
49
  def self.attribute_map
47
50
  {
@@ -53,7 +56,8 @@ module Freeclimb
53
56
  :'if_machine_url' => :'ifMachineUrl',
54
57
  :'send_digits' => :'sendDigits',
55
58
  :'status_callback_url' => :'statusCallbackUrl',
56
- :'timeout' => :'timeout'
59
+ :'timeout' => :'timeout',
60
+ :'privacy_mode' => :'privacyMode'
57
61
  }
58
62
  end
59
63
 
@@ -68,7 +72,8 @@ module Freeclimb
68
72
  :'if_machine_url' => :'String',
69
73
  :'send_digits' => :'String',
70
74
  :'status_callback_url' => :'String',
71
- :'timeout' => :'Integer'
75
+ :'timeout' => :'Integer',
76
+ :'privacy_mode' => :'Boolean'
72
77
  }
73
78
  end
74
79
 
@@ -139,6 +144,10 @@ module Freeclimb
139
144
  if attributes.key?(:'timeout')
140
145
  self.timeout = attributes[:'timeout']
141
146
  end
147
+
148
+ if attributes.key?(:'privacy_mode')
149
+ self.privacy_mode = attributes[:'privacy_mode']
150
+ end
142
151
  end
143
152
 
144
153
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -187,7 +196,8 @@ module Freeclimb
187
196
  if_machine_url == o.if_machine_url &&
188
197
  send_digits == o.send_digits &&
189
198
  status_callback_url == o.status_callback_url &&
190
- timeout == o.timeout && super(o)
199
+ timeout == o.timeout &&
200
+ privacy_mode == o.privacy_mode && super(o)
191
201
  end
192
202
 
193
203
  # @see the `==` method
@@ -199,7 +209,7 @@ module Freeclimb
199
209
  # Calculates hash code according to all attributes.
200
210
  # @return [Integer] Hash code
201
211
  def hash
202
- [action_url, call_connect_url, calling_number, destination, if_machine, if_machine_url, send_digits, status_callback_url, timeout].hash
212
+ [action_url, call_connect_url, calling_number, destination, if_machine, if_machine_url, send_digits, status_callback_url, timeout, privacy_mode].hash
203
213
  end
204
214
 
205
215
  # Builds the object from hash
@@ -41,6 +41,9 @@ module Freeclimb
41
41
  # Maximum time in seconds the `OutDial` command waits for the called party to answer the Call. When a timeout occurs, FreeClimb invokes the `callConnectUrl` Webhook to report that the out-dialed Call has ended with a status of `noAnswer`.
42
42
  attr_accessor :timeout
43
43
 
44
+ # Parameter `privacyMode` will not log the `text` as required by PCI compliance.
45
+ attr_accessor :privacy_mode
46
+
44
47
  # Attribute mapping from ruby-style variable name to JSON key.
45
48
  def self.attribute_map
46
49
  {
@@ -52,7 +55,8 @@ module Freeclimb
52
55
  :'if_machine_url' => :'ifMachineUrl',
53
56
  :'send_digits' => :'sendDigits',
54
57
  :'status_callback_url' => :'statusCallbackUrl',
55
- :'timeout' => :'timeout'
58
+ :'timeout' => :'timeout',
59
+ :'privacy_mode' => :'privacyMode'
56
60
  }
57
61
  end
58
62
 
@@ -67,7 +71,8 @@ module Freeclimb
67
71
  :'if_machine_url' => :'String',
68
72
  :'send_digits' => :'String',
69
73
  :'status_callback_url' => :'String',
70
- :'timeout' => :'Integer'
74
+ :'timeout' => :'Integer',
75
+ :'privacy_mode' => :'Boolean'
71
76
  }
72
77
  end
73
78
 
@@ -127,6 +132,10 @@ module Freeclimb
127
132
  if attributes.key?(:'timeout')
128
133
  self.timeout = attributes[:'timeout']
129
134
  end
135
+
136
+ if attributes.key?(:'privacy_mode')
137
+ self.privacy_mode = attributes[:'privacy_mode']
138
+ end
130
139
  end
131
140
 
132
141
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -175,7 +184,8 @@ module Freeclimb
175
184
  if_machine_url == o.if_machine_url &&
176
185
  send_digits == o.send_digits &&
177
186
  status_callback_url == o.status_callback_url &&
178
- timeout == o.timeout
187
+ timeout == o.timeout &&
188
+ privacy_mode == o.privacy_mode
179
189
  end
180
190
 
181
191
  # @see the `==` method
@@ -187,7 +197,7 @@ module Freeclimb
187
197
  # Calculates hash code according to all attributes.
188
198
  # @return [Integer] Hash code
189
199
  def hash
190
- [action_url, call_connect_url, calling_number, destination, if_machine, if_machine_url, send_digits, status_callback_url, timeout].hash
200
+ [action_url, call_connect_url, calling_number, destination, if_machine, if_machine_url, send_digits, status_callback_url, timeout, privacy_mode].hash
191
201
  end
192
202
 
193
203
  # Builds the object from hash
@@ -24,12 +24,16 @@ module Freeclimb
24
24
  # ID of the Conference the audio should be rendered to. If this is not specified, the audio is by default rendered to the caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error.
25
25
  attr_accessor :conference_id
26
26
 
27
+ # Parameter `privacyMode` will not log the `text` as required by PCI compliance.
28
+ attr_accessor :privacy_mode
29
+
27
30
  # Attribute mapping from ruby-style variable name to JSON key.
28
31
  def self.attribute_map
29
32
  {
30
33
  :'file' => :'file',
31
34
  :'loop' => :'loop',
32
- :'conference_id' => :'conferenceId'
35
+ :'conference_id' => :'conferenceId',
36
+ :'privacy_mode' => :'privacyMode'
33
37
  }
34
38
  end
35
39
 
@@ -38,7 +42,8 @@ module Freeclimb
38
42
  {
39
43
  :'file' => :'String',
40
44
  :'loop' => :'Integer',
41
- :'conference_id' => :'String'
45
+ :'conference_id' => :'String',
46
+ :'privacy_mode' => :'Boolean'
42
47
  }
43
48
  end
44
49
 
@@ -85,6 +90,10 @@ module Freeclimb
85
90
  if attributes.key?(:'conference_id')
86
91
  self.conference_id = attributes[:'conference_id']
87
92
  end
93
+
94
+ if attributes.key?(:'privacy_mode')
95
+ self.privacy_mode = attributes[:'privacy_mode']
96
+ end
88
97
  end
89
98
 
90
99
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -112,7 +121,8 @@ module Freeclimb
112
121
  self.class == o.class &&
113
122
  file == o.file &&
114
123
  loop == o.loop &&
115
- conference_id == o.conference_id && super(o)
124
+ conference_id == o.conference_id &&
125
+ privacy_mode == o.privacy_mode && super(o)
116
126
  end
117
127
 
118
128
  # @see the `==` method
@@ -124,7 +134,7 @@ module Freeclimb
124
134
  # Calculates hash code according to all attributes.
125
135
  # @return [Integer] Hash code
126
136
  def hash
127
- [file, loop, conference_id].hash
137
+ [file, loop, conference_id, privacy_mode].hash
128
138
  end
129
139
 
130
140
  # Builds the object from hash
@@ -23,12 +23,16 @@ module Freeclimb
23
23
  # ID of the Conference the audio should be rendered to. If this is not specified, the audio is by default rendered to the caller associated with the call leg that corresponds to the current PerCL execution context. The call leg associated with this command must be in the specified Conference or the command will return an error.
24
24
  attr_accessor :conference_id
25
25
 
26
+ # Parameter `privacyMode` will not log the `text` as required by PCI compliance.
27
+ attr_accessor :privacy_mode
28
+
26
29
  # Attribute mapping from ruby-style variable name to JSON key.
27
30
  def self.attribute_map
28
31
  {
29
32
  :'file' => :'file',
30
33
  :'loop' => :'loop',
31
- :'conference_id' => :'conferenceId'
34
+ :'conference_id' => :'conferenceId',
35
+ :'privacy_mode' => :'privacyMode'
32
36
  }
33
37
  end
34
38
 
@@ -37,7 +41,8 @@ module Freeclimb
37
41
  {
38
42
  :'file' => :'String',
39
43
  :'loop' => :'Integer',
40
- :'conference_id' => :'String'
44
+ :'conference_id' => :'String',
45
+ :'privacy_mode' => :'Boolean'
41
46
  }
42
47
  end
43
48
 
@@ -73,6 +78,10 @@ module Freeclimb
73
78
  if attributes.key?(:'conference_id')
74
79
  self.conference_id = attributes[:'conference_id']
75
80
  end
81
+
82
+ if attributes.key?(:'privacy_mode')
83
+ self.privacy_mode = attributes[:'privacy_mode']
84
+ end
76
85
  end
77
86
 
78
87
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -100,7 +109,8 @@ module Freeclimb
100
109
  self.class == o.class &&
101
110
  file == o.file &&
102
111
  loop == o.loop &&
103
- conference_id == o.conference_id
112
+ conference_id == o.conference_id &&
113
+ privacy_mode == o.privacy_mode
104
114
  end
105
115
 
106
116
  # @see the `==` method
@@ -112,7 +122,7 @@ module Freeclimb
112
122
  # Calculates hash code according to all attributes.
113
123
  # @return [Integer] Hash code
114
124
  def hash
115
- [file, loop, conference_id].hash
125
+ [file, loop, conference_id, privacy_mode].hash
116
126
  end
117
127
 
118
128
  # Builds the object from hash
@@ -33,6 +33,9 @@ module Freeclimb
33
33
  # If `false`, recording begins immediately after the RecordUtterance command is processed. If `true`, recording begins when audio is present and if audio begins before the `maxLengthSec` timeout. If no audio begins before `maxLengthSec`, no recording is generated.
34
34
  attr_accessor :auto_start
35
35
 
36
+ # Parameter `privacyMode` will not log the `text` as required by PCI compliance.
37
+ attr_accessor :privacy_mode
38
+
36
39
  # Attribute mapping from ruby-style variable name to JSON key.
37
40
  def self.attribute_map
38
41
  {
@@ -41,7 +44,8 @@ module Freeclimb
41
44
  :'finish_on_key' => :'finishOnKey',
42
45
  :'max_length_sec' => :'maxLengthSec',
43
46
  :'play_beep' => :'playBeep',
44
- :'auto_start' => :'autoStart'
47
+ :'auto_start' => :'autoStart',
48
+ :'privacy_mode' => :'privacyMode'
45
49
  }
46
50
  end
47
51
 
@@ -53,7 +57,8 @@ module Freeclimb
53
57
  :'finish_on_key' => :'String',
54
58
  :'max_length_sec' => :'Integer',
55
59
  :'play_beep' => :'Boolean',
56
- :'auto_start' => :'Boolean'
60
+ :'auto_start' => :'Boolean',
61
+ :'privacy_mode' => :'Boolean'
57
62
  }
58
63
  end
59
64
 
@@ -112,6 +117,10 @@ module Freeclimb
112
117
  if attributes.key?(:'auto_start')
113
118
  self.auto_start = attributes[:'auto_start']
114
119
  end
120
+
121
+ if attributes.key?(:'privacy_mode')
122
+ self.privacy_mode = attributes[:'privacy_mode']
123
+ end
115
124
  end
116
125
 
117
126
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -142,7 +151,8 @@ module Freeclimb
142
151
  finish_on_key == o.finish_on_key &&
143
152
  max_length_sec == o.max_length_sec &&
144
153
  play_beep == o.play_beep &&
145
- auto_start == o.auto_start && super(o)
154
+ auto_start == o.auto_start &&
155
+ privacy_mode == o.privacy_mode && super(o)
146
156
  end
147
157
 
148
158
  # @see the `==` method
@@ -154,7 +164,7 @@ module Freeclimb
154
164
  # Calculates hash code according to all attributes.
155
165
  # @return [Integer] Hash code
156
166
  def hash
157
- [action_url, silence_timeout_ms, finish_on_key, max_length_sec, play_beep, auto_start].hash
167
+ [action_url, silence_timeout_ms, finish_on_key, max_length_sec, play_beep, auto_start, privacy_mode].hash
158
168
  end
159
169
 
160
170
  # Builds the object from hash
@@ -32,6 +32,9 @@ module Freeclimb
32
32
  # If `false`, recording begins immediately after the RecordUtterance command is processed. If `true`, recording begins when audio is present and if audio begins before the `maxLengthSec` timeout. If no audio begins before `maxLengthSec`, no recording is generated.
33
33
  attr_accessor :auto_start
34
34
 
35
+ # Parameter `privacyMode` will not log the `text` as required by PCI compliance.
36
+ attr_accessor :privacy_mode
37
+
35
38
  # Attribute mapping from ruby-style variable name to JSON key.
36
39
  def self.attribute_map
37
40
  {
@@ -40,7 +43,8 @@ module Freeclimb
40
43
  :'finish_on_key' => :'finishOnKey',
41
44
  :'max_length_sec' => :'maxLengthSec',
42
45
  :'play_beep' => :'playBeep',
43
- :'auto_start' => :'autoStart'
46
+ :'auto_start' => :'autoStart',
47
+ :'privacy_mode' => :'privacyMode'
44
48
  }
45
49
  end
46
50
 
@@ -52,7 +56,8 @@ module Freeclimb
52
56
  :'finish_on_key' => :'String',
53
57
  :'max_length_sec' => :'Integer',
54
58
  :'play_beep' => :'Boolean',
55
- :'auto_start' => :'Boolean'
59
+ :'auto_start' => :'Boolean',
60
+ :'privacy_mode' => :'Boolean'
56
61
  }
57
62
  end
58
63
 
@@ -100,6 +105,10 @@ module Freeclimb
100
105
  if attributes.key?(:'auto_start')
101
106
  self.auto_start = attributes[:'auto_start']
102
107
  end
108
+
109
+ if attributes.key?(:'privacy_mode')
110
+ self.privacy_mode = attributes[:'privacy_mode']
111
+ end
103
112
  end
104
113
 
105
114
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -130,7 +139,8 @@ module Freeclimb
130
139
  finish_on_key == o.finish_on_key &&
131
140
  max_length_sec == o.max_length_sec &&
132
141
  play_beep == o.play_beep &&
133
- auto_start == o.auto_start
142
+ auto_start == o.auto_start &&
143
+ privacy_mode == o.privacy_mode
134
144
  end
135
145
 
136
146
  # @see the `==` method
@@ -142,7 +152,7 @@ module Freeclimb
142
152
  # Calculates hash code according to all attributes.
143
153
  # @return [Integer] Hash code
144
154
  def hash
145
- [action_url, silence_timeout_ms, finish_on_key, max_length_sec, play_beep, auto_start].hash
155
+ [action_url, silence_timeout_ms, finish_on_key, max_length_sec, play_beep, auto_start, privacy_mode].hash
146
156
  end
147
157
 
148
158
  # Builds the object from hash