freeclimb 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile +4 -1
- data/Gemfile.lock +41 -20
- data/README.md +34 -33
- data/docs/AccountRequest.md +9 -8
- data/docs/AccountResult.md +27 -26
- data/docs/AccountResultAllOf.md +19 -18
- data/docs/AddToConference.md +25 -24
- data/docs/AddToConferenceAllOf.md +25 -24
- data/docs/ApplicationList.md +21 -20
- data/docs/ApplicationListAllOf.md +7 -6
- data/docs/ApplicationRequest.md +19 -18
- data/docs/ApplicationResult.md +31 -30
- data/docs/ApplicationResultAllOf.md +23 -22
- data/docs/AvailableNumber.md +17 -14
- data/docs/AvailableNumberList.md +21 -20
- data/docs/AvailableNumberListAllOf.md +7 -6
- data/docs/BuyIncomingNumberRequest.md +11 -10
- data/docs/CallList.md +21 -20
- data/docs/CallListAllOf.md +7 -6
- data/docs/CallResult.md +43 -42
- data/docs/CallResultAllOf.md +35 -34
- data/docs/Capabilities.md +26 -0
- data/docs/ConferenceList.md +21 -20
- data/docs/ConferenceListAllOf.md +7 -6
- data/docs/ConferenceParticipantList.md +21 -20
- data/docs/ConferenceParticipantListAllOf.md +7 -6
- data/docs/ConferenceParticipantResult.md +25 -24
- data/docs/ConferenceParticipantResultAllOf.md +17 -16
- data/docs/ConferenceResult.md +33 -32
- data/docs/ConferenceResultAllOf.md +25 -24
- data/docs/CreateConference.md +17 -16
- data/docs/CreateConferenceAllOf.md +17 -16
- data/docs/CreateConferenceRequest.md +15 -14
- data/docs/DefaultApi.md +1670 -600
- data/docs/Dequeue.md +3 -4
- data/docs/Enqueue.md +13 -12
- data/docs/EnqueueAllOf.md +13 -12
- data/docs/FilterLogsRequest.md +7 -6
- data/docs/GetDigits.md +23 -22
- data/docs/GetDigitsAllOf.md +23 -22
- data/docs/GetSpeech.md +31 -30
- data/docs/GetSpeechAllOf.md +31 -30
- data/docs/Hangup.md +7 -6
- data/docs/HangupAllOf.md +7 -6
- data/docs/IncomingNumberList.md +21 -20
- data/docs/IncomingNumberListAllOf.md +7 -6
- data/docs/IncomingNumberRequest.md +9 -8
- data/docs/IncomingNumberResult.md +33 -30
- data/docs/IncomingNumberResultAllOf.md +25 -22
- data/docs/LogList.md +21 -20
- data/docs/LogListAllOf.md +7 -6
- data/docs/LogResult.md +19 -18
- data/docs/MakeCallRequest.md +25 -24
- data/docs/MessageRequest.md +23 -22
- data/docs/MessageRequestAllOf.md +15 -14
- data/docs/MessageResult.md +29 -28
- data/docs/MessageResultAllOf.md +21 -20
- data/docs/MessagesList.md +21 -20
- data/docs/MessagesListAllOf.md +7 -6
- data/docs/MutableResourceModel.md +13 -12
- data/docs/OutDial.md +25 -24
- data/docs/OutDialAllOf.md +25 -24
- data/docs/PaginationModel.md +19 -18
- data/docs/Pause.md +7 -6
- data/docs/PauseAllOf.md +7 -6
- data/docs/PerclCommand.md +7 -6
- data/docs/PerclScript.md +7 -6
- data/docs/Play.md +13 -12
- data/docs/PlayAllOf.md +13 -12
- data/docs/PlayEarlyMedia.md +7 -6
- data/docs/PlayEarlyMediaAllOf.md +7 -6
- data/docs/QueueList.md +21 -20
- data/docs/QueueListAllOf.md +7 -6
- data/docs/QueueMember.md +15 -14
- data/docs/QueueMemberList.md +21 -20
- data/docs/QueueMemberListAllOf.md +7 -6
- data/docs/QueueRequest.md +9 -8
- data/docs/QueueResult.md +27 -26
- data/docs/QueueResultAllOf.md +19 -18
- data/docs/RecordUtterance.md +19 -18
- data/docs/RecordUtteranceAllOf.md +19 -18
- data/docs/RecordingList.md +21 -20
- data/docs/RecordingListAllOf.md +7 -6
- data/docs/RecordingResult.md +23 -22
- data/docs/RecordingResultAllOf.md +15 -14
- data/docs/Redirect.md +7 -6
- data/docs/RedirectAllOf.md +7 -6
- data/docs/Reject.md +7 -6
- data/docs/RejectAllOf.md +7 -6
- data/docs/RemoveFromConference.md +7 -6
- data/docs/RemoveFromConferenceAllOf.md +7 -6
- data/docs/Say.md +15 -14
- data/docs/SayAllOf.md +15 -14
- data/docs/SendDigits.md +11 -10
- data/docs/SendDigitsAllOf.md +11 -10
- data/docs/SetListen.md +9 -8
- data/docs/SetListenAllOf.md +9 -8
- data/docs/SetTalk.md +9 -8
- data/docs/SetTalkAllOf.md +9 -8
- data/docs/Sms.md +13 -12
- data/docs/SmsAllOf.md +13 -12
- data/docs/StartRecordCall.md +3 -4
- data/docs/TerminateConference.md +7 -6
- data/docs/TerminateConferenceAllOf.md +7 -6
- data/docs/UpdateCallRequest.md +7 -6
- data/docs/UpdateConferenceParticipantRequest.md +9 -8
- data/docs/UpdateConferenceRequest.md +11 -10
- data/freeclimb.gemspec +2 -3
- data/lib/freeclimb/api/default_api.rb +424 -272
- data/lib/freeclimb/api_client.rb +54 -50
- data/lib/freeclimb/api_error.rb +1 -1
- data/lib/freeclimb/configuration.rb +40 -10
- data/lib/freeclimb/models/account_request.rb +19 -7
- data/lib/freeclimb/models/account_result.rb +19 -7
- data/lib/freeclimb/models/account_result_all_of.rb +19 -7
- data/lib/freeclimb/models/add_to_conference.rb +19 -7
- data/lib/freeclimb/models/add_to_conference_all_of.rb +19 -7
- data/lib/freeclimb/models/application_list.rb +19 -7
- data/lib/freeclimb/models/application_list_all_of.rb +19 -7
- data/lib/freeclimb/models/application_request.rb +19 -7
- data/lib/freeclimb/models/application_result.rb +19 -7
- data/lib/freeclimb/models/application_result_all_of.rb +19 -7
- data/lib/freeclimb/models/available_number.rb +29 -8
- data/lib/freeclimb/models/available_number_list.rb +19 -7
- data/lib/freeclimb/models/available_number_list_all_of.rb +19 -7
- data/lib/freeclimb/models/buy_incoming_number_request.rb +19 -7
- data/lib/freeclimb/models/call_list.rb +19 -7
- data/lib/freeclimb/models/call_list_all_of.rb +19 -7
- data/lib/freeclimb/models/call_result.rb +19 -7
- data/lib/freeclimb/models/call_result_all_of.rb +19 -7
- data/lib/freeclimb/models/capabilities.rb +285 -0
- data/lib/freeclimb/models/conference_list.rb +19 -7
- data/lib/freeclimb/models/conference_list_all_of.rb +19 -7
- data/lib/freeclimb/models/conference_participant_list.rb +19 -7
- data/lib/freeclimb/models/conference_participant_list_all_of.rb +19 -7
- data/lib/freeclimb/models/conference_participant_result.rb +19 -7
- data/lib/freeclimb/models/conference_participant_result_all_of.rb +19 -7
- data/lib/freeclimb/models/conference_result.rb +19 -7
- data/lib/freeclimb/models/conference_result_all_of.rb +19 -7
- data/lib/freeclimb/models/create_conference.rb +19 -7
- data/lib/freeclimb/models/create_conference_all_of.rb +19 -7
- data/lib/freeclimb/models/create_conference_request.rb +19 -7
- data/lib/freeclimb/models/dequeue.rb +19 -7
- data/lib/freeclimb/models/enqueue.rb +19 -7
- data/lib/freeclimb/models/enqueue_all_of.rb +19 -7
- data/lib/freeclimb/models/filter_logs_request.rb +19 -7
- data/lib/freeclimb/models/get_digits.rb +19 -7
- data/lib/freeclimb/models/get_digits_all_of.rb +19 -7
- data/lib/freeclimb/models/get_speech.rb +19 -7
- data/lib/freeclimb/models/get_speech_all_of.rb +19 -7
- data/lib/freeclimb/models/hangup.rb +19 -7
- data/lib/freeclimb/models/hangup_all_of.rb +19 -7
- data/lib/freeclimb/models/incoming_number_list.rb +19 -7
- data/lib/freeclimb/models/incoming_number_list_all_of.rb +19 -7
- data/lib/freeclimb/models/incoming_number_request.rb +19 -7
- data/lib/freeclimb/models/incoming_number_result.rb +29 -8
- data/lib/freeclimb/models/incoming_number_result_all_of.rb +29 -8
- data/lib/freeclimb/models/log_list.rb +19 -7
- data/lib/freeclimb/models/log_list_all_of.rb +19 -7
- data/lib/freeclimb/models/log_result.rb +19 -7
- data/lib/freeclimb/models/make_call_request.rb +19 -7
- data/lib/freeclimb/models/message_request.rb +19 -7
- data/lib/freeclimb/models/message_request_all_of.rb +19 -7
- data/lib/freeclimb/models/message_result.rb +19 -7
- data/lib/freeclimb/models/message_result_all_of.rb +19 -7
- data/lib/freeclimb/models/messages_list.rb +19 -7
- data/lib/freeclimb/models/messages_list_all_of.rb +19 -7
- data/lib/freeclimb/models/mutable_resource_model.rb +19 -7
- data/lib/freeclimb/models/out_dial.rb +19 -7
- data/lib/freeclimb/models/out_dial_all_of.rb +19 -7
- data/lib/freeclimb/models/pagination_model.rb +19 -7
- data/lib/freeclimb/models/pause.rb +19 -7
- data/lib/freeclimb/models/pause_all_of.rb +19 -7
- data/lib/freeclimb/models/percl_command.rb +19 -7
- data/lib/freeclimb/models/percl_script.rb +19 -7
- data/lib/freeclimb/models/play.rb +19 -7
- data/lib/freeclimb/models/play_all_of.rb +19 -7
- data/lib/freeclimb/models/play_early_media.rb +19 -7
- data/lib/freeclimb/models/play_early_media_all_of.rb +19 -7
- data/lib/freeclimb/models/queue_list.rb +19 -7
- data/lib/freeclimb/models/queue_list_all_of.rb +19 -7
- data/lib/freeclimb/models/queue_member.rb +19 -7
- data/lib/freeclimb/models/queue_member_list.rb +19 -7
- data/lib/freeclimb/models/queue_member_list_all_of.rb +19 -7
- data/lib/freeclimb/models/queue_request.rb +19 -7
- data/lib/freeclimb/models/queue_result.rb +19 -7
- data/lib/freeclimb/models/queue_result_all_of.rb +19 -7
- data/lib/freeclimb/models/record_utterance.rb +19 -7
- data/lib/freeclimb/models/record_utterance_all_of.rb +19 -7
- data/lib/freeclimb/models/recording_list.rb +19 -7
- data/lib/freeclimb/models/recording_list_all_of.rb +19 -7
- data/lib/freeclimb/models/recording_result.rb +19 -7
- data/lib/freeclimb/models/recording_result_all_of.rb +19 -7
- data/lib/freeclimb/models/redirect.rb +19 -7
- data/lib/freeclimb/models/redirect_all_of.rb +19 -7
- data/lib/freeclimb/models/reject.rb +19 -7
- data/lib/freeclimb/models/reject_all_of.rb +19 -7
- data/lib/freeclimb/models/remove_from_conference.rb +19 -7
- data/lib/freeclimb/models/remove_from_conference_all_of.rb +19 -7
- data/lib/freeclimb/models/say.rb +19 -7
- data/lib/freeclimb/models/say_all_of.rb +19 -7
- data/lib/freeclimb/models/send_digits.rb +19 -7
- data/lib/freeclimb/models/send_digits_all_of.rb +19 -7
- data/lib/freeclimb/models/set_listen.rb +19 -7
- data/lib/freeclimb/models/set_listen_all_of.rb +19 -7
- data/lib/freeclimb/models/set_talk.rb +19 -7
- data/lib/freeclimb/models/set_talk_all_of.rb +19 -7
- data/lib/freeclimb/models/sms.rb +19 -7
- data/lib/freeclimb/models/sms_all_of.rb +19 -7
- data/lib/freeclimb/models/start_record_call.rb +19 -7
- data/lib/freeclimb/models/terminate_conference.rb +19 -7
- data/lib/freeclimb/models/terminate_conference_all_of.rb +19 -7
- data/lib/freeclimb/models/update_call_request.rb +19 -7
- data/lib/freeclimb/models/update_conference_participant_request.rb +19 -7
- data/lib/freeclimb/models/update_conference_request.rb +19 -7
- data/lib/freeclimb/version.rb +2 -2
- data/lib/freeclimb.rb +46 -46
- data/spec/api/default_api_spec.rb +1001 -18
- data/spec/api_client_spec.rb +4 -4
- data/spec/configuration_spec.rb +9 -9
- data/spec/factories.rb +80 -0
- data/spec/models/account_request_spec.rb +4 -11
- data/spec/models/account_result_spec.rb +5 -12
- data/spec/models/add_to_conference_spec.rb +4 -11
- data/spec/models/application_list_spec.rb +4 -11
- data/spec/models/application_request_spec.rb +4 -11
- data/spec/models/application_result_spec.rb +4 -11
- data/spec/models/available_number_list_spec.rb +4 -11
- data/spec/models/available_number_spec.rb +10 -11
- data/spec/models/buy_incoming_number_request_spec.rb +4 -11
- data/spec/models/call_list_spec.rb +4 -11
- data/spec/models/call_result_spec.rb +5 -12
- data/spec/models/{say_all_of_spec.rb → capabilities_spec.rb} +12 -19
- data/spec/models/conference_list_spec.rb +4 -11
- data/spec/models/conference_participant_list_spec.rb +4 -11
- data/spec/models/conference_participant_result_spec.rb +4 -11
- data/spec/models/conference_result_spec.rb +6 -13
- data/spec/models/create_conference_request_spec.rb +5 -12
- data/spec/models/create_conference_spec.rb +4 -11
- data/spec/models/dequeue_spec.rb +4 -11
- data/spec/models/enqueue_spec.rb +4 -11
- data/spec/models/filter_logs_request_spec.rb +4 -11
- data/spec/models/get_digits_spec.rb +4 -11
- data/spec/models/get_speech_spec.rb +4 -11
- data/spec/models/hangup_spec.rb +4 -11
- data/spec/models/incoming_number_list_spec.rb +4 -11
- data/spec/models/incoming_number_request_spec.rb +4 -11
- data/spec/models/incoming_number_result_spec.rb +10 -11
- data/spec/models/log_list_spec.rb +4 -11
- data/spec/models/log_result_spec.rb +5 -12
- data/spec/models/make_call_request_spec.rb +4 -11
- data/spec/models/message_request_spec.rb +4 -11
- data/spec/models/message_result_spec.rb +5 -12
- data/spec/models/messages_list_spec.rb +4 -11
- data/spec/models/mutable_resource_model_spec.rb +4 -11
- data/spec/models/out_dial_spec.rb +4 -11
- data/spec/models/pagination_model_spec.rb +4 -11
- data/spec/models/pause_spec.rb +4 -11
- data/spec/models/percl_command_spec.rb +4 -11
- data/spec/models/percl_script_spec.rb +4 -11
- data/spec/models/play_early_media_spec.rb +4 -11
- data/spec/models/play_spec.rb +4 -11
- data/spec/models/queue_list_spec.rb +4 -11
- data/spec/models/queue_member_list_spec.rb +4 -11
- data/spec/models/queue_member_spec.rb +4 -11
- data/spec/models/queue_request_spec.rb +4 -11
- data/spec/models/queue_result_spec.rb +4 -11
- data/spec/models/record_utterance_spec.rb +4 -11
- data/spec/models/recording_list_spec.rb +4 -11
- data/spec/models/recording_result_spec.rb +4 -11
- data/spec/models/redirect_spec.rb +4 -11
- data/spec/models/reject_spec.rb +4 -11
- data/spec/models/remove_from_conference_spec.rb +4 -11
- data/spec/models/say_spec.rb +4 -11
- data/spec/models/send_digits_spec.rb +4 -11
- data/spec/models/set_listen_spec.rb +4 -11
- data/spec/models/set_talk_spec.rb +4 -11
- data/spec/models/sms_spec.rb +4 -11
- data/spec/models/start_record_call_spec.rb +4 -11
- data/spec/models/terminate_conference_spec.rb +4 -11
- data/spec/models/update_call_request_spec.rb +5 -12
- data/spec/models/update_conference_participant_request_spec.rb +4 -11
- data/spec/models/update_conference_request_spec.rb +5 -12
- data/spec/quickstart_spec.rb +10 -0
- data/spec/spec_helper.rb +55 -1
- metadata +20 -117
- data/lib/freeclimb/utils.rb +0 -34
- data/spec/api/web_mocks.rb +0 -473
- data/spec/models/account_result_all_of_spec.rb +0 -81
- data/spec/models/add_to_conference_all_of_spec.rb +0 -95
- data/spec/models/application_list_all_of_spec.rb +0 -41
- data/spec/models/application_result_all_of_spec.rb +0 -89
- data/spec/models/available_number_list_all_of_spec.rb +0 -41
- data/spec/models/call_list_all_of_spec.rb +0 -41
- data/spec/models/call_result_all_of_spec.rb +0 -129
- data/spec/models/conference_list_all_of_spec.rb +0 -41
- data/spec/models/conference_participant_list_all_of_spec.rb +0 -41
- data/spec/models/conference_participant_result_all_of_spec.rb +0 -71
- data/spec/models/conference_result_all_of_spec.rb +0 -103
- data/spec/models/create_conference_all_of_spec.rb +0 -71
- data/spec/models/enqueue_all_of_spec.rb +0 -59
- data/spec/models/get_digits_all_of_spec.rb +0 -89
- data/spec/models/get_speech_all_of_spec.rb +0 -113
- data/spec/models/hangup_all_of_spec.rb +0 -41
- data/spec/models/incoming_number_list_all_of_spec.rb +0 -41
- data/spec/models/incoming_number_result_all_of_spec.rb +0 -89
- data/spec/models/log_list_all_of_spec.rb +0 -41
- data/spec/models/message_request_all_of_spec.rb +0 -65
- data/spec/models/message_result_all_of_spec.rb +0 -87
- data/spec/models/messages_list_all_of_spec.rb +0 -41
- data/spec/models/out_dial_all_of_spec.rb +0 -95
- data/spec/models/pause_all_of_spec.rb +0 -41
- data/spec/models/play_all_of_spec.rb +0 -59
- data/spec/models/play_early_media_all_of_spec.rb +0 -41
- data/spec/models/queue_list_all_of_spec.rb +0 -41
- data/spec/models/queue_member_list_all_of_spec.rb +0 -41
- data/spec/models/queue_result_all_of_spec.rb +0 -77
- data/spec/models/record_utterance_all_of_spec.rb +0 -77
- data/spec/models/recording_list_all_of_spec.rb +0 -41
- data/spec/models/recording_result_all_of_spec.rb +0 -65
- data/spec/models/redirect_all_of_spec.rb +0 -41
- data/spec/models/reject_all_of_spec.rb +0 -41
- data/spec/models/remove_from_conference_all_of_spec.rb +0 -41
- data/spec/models/send_digits_all_of_spec.rb +0 -53
- data/spec/models/set_listen_all_of_spec.rb +0 -47
- data/spec/models/set_talk_all_of_spec.rb +0 -47
- data/spec/models/sms_all_of_spec.rb +0 -59
- data/spec/models/terminate_conference_all_of_spec.rb +0 -41
data/lib/freeclimb/models/say.rb
CHANGED
@@ -6,11 +6,12 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
|
+
require 'time'
|
14
15
|
|
15
16
|
module Freeclimb
|
16
17
|
# The `Say` command provides Text-To-Speech (TTS) support. It converts text to speech and then renders it in a female voice back to the caller. `Say` is useful in cases where it's difficult to pre-record a prompt for any reason. `Say` does not allow barge-in unless nested within a `GetSpeech` command. The file will always be played to completion unless nested.
|
@@ -41,6 +42,11 @@ module Freeclimb
|
|
41
42
|
}
|
42
43
|
end
|
43
44
|
|
45
|
+
# Returns all the JSON keys this model knows about, including the ones defined in its parent(s)
|
46
|
+
def self.acceptable_attributes
|
47
|
+
attribute_map.values.concat(superclass.acceptable_attributes)
|
48
|
+
end
|
49
|
+
|
44
50
|
# Attribute type mapping.
|
45
51
|
def self.openapi_types
|
46
52
|
{
|
@@ -161,7 +167,9 @@ module Freeclimb
|
|
161
167
|
return nil unless attributes.is_a?(Hash)
|
162
168
|
super(attributes)
|
163
169
|
self.class.openapi_types.each_pair do |key, type|
|
164
|
-
if
|
170
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
171
|
+
self.send("#{key}=", nil)
|
172
|
+
elsif type =~ /\AArray<(.*)>/i
|
165
173
|
# check to ensure the input is an array given that the attribute
|
166
174
|
# is documented as an array but the input is not
|
167
175
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
@@ -169,7 +177,7 @@ module Freeclimb
|
|
169
177
|
end
|
170
178
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
171
179
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
172
|
-
end
|
180
|
+
end
|
173
181
|
end
|
174
182
|
|
175
183
|
self
|
@@ -181,8 +189,8 @@ module Freeclimb
|
|
181
189
|
# @return [Object] Deserialized data
|
182
190
|
def _deserialize(type, value)
|
183
191
|
case type.to_sym
|
184
|
-
when :
|
185
|
-
|
192
|
+
when :Time
|
193
|
+
Time.parse(value)
|
186
194
|
when :Date
|
187
195
|
Date.parse(value)
|
188
196
|
when :String
|
@@ -212,7 +220,9 @@ module Freeclimb
|
|
212
220
|
end
|
213
221
|
end
|
214
222
|
else # model
|
215
|
-
|
223
|
+
# models (e.g. Pet) or oneOf
|
224
|
+
klass = Freeclimb.const_get(type)
|
225
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
216
226
|
end
|
217
227
|
end
|
218
228
|
|
@@ -238,7 +248,7 @@ module Freeclimb
|
|
238
248
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
239
249
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
240
250
|
end
|
241
|
-
|
251
|
+
|
242
252
|
hash[param] = _to_hash(value)
|
243
253
|
end
|
244
254
|
hash
|
@@ -261,5 +271,7 @@ module Freeclimb
|
|
261
271
|
value
|
262
272
|
end
|
263
273
|
end
|
274
|
+
|
264
275
|
end
|
276
|
+
|
265
277
|
end
|
@@ -6,11 +6,12 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
|
+
require 'time'
|
14
15
|
|
15
16
|
module Freeclimb
|
16
17
|
class SayAllOf
|
@@ -40,6 +41,11 @@ module Freeclimb
|
|
40
41
|
}
|
41
42
|
end
|
42
43
|
|
44
|
+
# Returns all the JSON keys this model knows about
|
45
|
+
def self.acceptable_attributes
|
46
|
+
attribute_map.values
|
47
|
+
end
|
48
|
+
|
43
49
|
# Attribute type mapping.
|
44
50
|
def self.openapi_types
|
45
51
|
{
|
@@ -148,7 +154,9 @@ module Freeclimb
|
|
148
154
|
def build_from_hash(attributes)
|
149
155
|
return nil unless attributes.is_a?(Hash)
|
150
156
|
self.class.openapi_types.each_pair do |key, type|
|
151
|
-
if
|
157
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
158
|
+
self.send("#{key}=", nil)
|
159
|
+
elsif type =~ /\AArray<(.*)>/i
|
152
160
|
# check to ensure the input is an array given that the attribute
|
153
161
|
# is documented as an array but the input is not
|
154
162
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
@@ -156,7 +164,7 @@ module Freeclimb
|
|
156
164
|
end
|
157
165
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
158
166
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
159
|
-
end
|
167
|
+
end
|
160
168
|
end
|
161
169
|
|
162
170
|
self
|
@@ -168,8 +176,8 @@ module Freeclimb
|
|
168
176
|
# @return [Object] Deserialized data
|
169
177
|
def _deserialize(type, value)
|
170
178
|
case type.to_sym
|
171
|
-
when :
|
172
|
-
|
179
|
+
when :Time
|
180
|
+
Time.parse(value)
|
173
181
|
when :Date
|
174
182
|
Date.parse(value)
|
175
183
|
when :String
|
@@ -199,7 +207,9 @@ module Freeclimb
|
|
199
207
|
end
|
200
208
|
end
|
201
209
|
else # model
|
202
|
-
|
210
|
+
# models (e.g. Pet) or oneOf
|
211
|
+
klass = Freeclimb.const_get(type)
|
212
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
203
213
|
end
|
204
214
|
end
|
205
215
|
|
@@ -225,7 +235,7 @@ module Freeclimb
|
|
225
235
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
226
236
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
227
237
|
end
|
228
|
-
|
238
|
+
|
229
239
|
hash[param] = _to_hash(value)
|
230
240
|
end
|
231
241
|
hash
|
@@ -248,5 +258,7 @@ module Freeclimb
|
|
248
258
|
value
|
249
259
|
end
|
250
260
|
end
|
261
|
+
|
251
262
|
end
|
263
|
+
|
252
264
|
end
|
@@ -6,11 +6,12 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
|
+
require 'time'
|
14
15
|
|
15
16
|
module Freeclimb
|
16
17
|
# The `SendDigits` command plays DTMF tones on a live Call. This is useful for navigating through IVR menus or dialing extensions.
|
@@ -33,6 +34,11 @@ module Freeclimb
|
|
33
34
|
}
|
34
35
|
end
|
35
36
|
|
37
|
+
# Returns all the JSON keys this model knows about, including the ones defined in its parent(s)
|
38
|
+
def self.acceptable_attributes
|
39
|
+
attribute_map.values.concat(superclass.acceptable_attributes)
|
40
|
+
end
|
41
|
+
|
36
42
|
# Attribute type mapping.
|
37
43
|
def self.openapi_types
|
38
44
|
{
|
@@ -141,7 +147,9 @@ module Freeclimb
|
|
141
147
|
return nil unless attributes.is_a?(Hash)
|
142
148
|
super(attributes)
|
143
149
|
self.class.openapi_types.each_pair do |key, type|
|
144
|
-
if
|
150
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
151
|
+
self.send("#{key}=", nil)
|
152
|
+
elsif type =~ /\AArray<(.*)>/i
|
145
153
|
# check to ensure the input is an array given that the attribute
|
146
154
|
# is documented as an array but the input is not
|
147
155
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
@@ -149,7 +157,7 @@ module Freeclimb
|
|
149
157
|
end
|
150
158
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
151
159
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
152
|
-
end
|
160
|
+
end
|
153
161
|
end
|
154
162
|
|
155
163
|
self
|
@@ -161,8 +169,8 @@ module Freeclimb
|
|
161
169
|
# @return [Object] Deserialized data
|
162
170
|
def _deserialize(type, value)
|
163
171
|
case type.to_sym
|
164
|
-
when :
|
165
|
-
|
172
|
+
when :Time
|
173
|
+
Time.parse(value)
|
166
174
|
when :Date
|
167
175
|
Date.parse(value)
|
168
176
|
when :String
|
@@ -192,7 +200,9 @@ module Freeclimb
|
|
192
200
|
end
|
193
201
|
end
|
194
202
|
else # model
|
195
|
-
|
203
|
+
# models (e.g. Pet) or oneOf
|
204
|
+
klass = Freeclimb.const_get(type)
|
205
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
196
206
|
end
|
197
207
|
end
|
198
208
|
|
@@ -218,7 +228,7 @@ module Freeclimb
|
|
218
228
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
219
229
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
220
230
|
end
|
221
|
-
|
231
|
+
|
222
232
|
hash[param] = _to_hash(value)
|
223
233
|
end
|
224
234
|
hash
|
@@ -241,5 +251,7 @@ module Freeclimb
|
|
241
251
|
value
|
242
252
|
end
|
243
253
|
end
|
254
|
+
|
244
255
|
end
|
256
|
+
|
245
257
|
end
|
@@ -6,11 +6,12 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
|
+
require 'time'
|
14
15
|
|
15
16
|
module Freeclimb
|
16
17
|
class SendDigitsAllOf
|
@@ -32,6 +33,11 @@ module Freeclimb
|
|
32
33
|
}
|
33
34
|
end
|
34
35
|
|
36
|
+
# Returns all the JSON keys this model knows about
|
37
|
+
def self.acceptable_attributes
|
38
|
+
attribute_map.values
|
39
|
+
end
|
40
|
+
|
35
41
|
# Attribute type mapping.
|
36
42
|
def self.openapi_types
|
37
43
|
{
|
@@ -128,7 +134,9 @@ module Freeclimb
|
|
128
134
|
def build_from_hash(attributes)
|
129
135
|
return nil unless attributes.is_a?(Hash)
|
130
136
|
self.class.openapi_types.each_pair do |key, type|
|
131
|
-
if
|
137
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
138
|
+
self.send("#{key}=", nil)
|
139
|
+
elsif type =~ /\AArray<(.*)>/i
|
132
140
|
# check to ensure the input is an array given that the attribute
|
133
141
|
# is documented as an array but the input is not
|
134
142
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
@@ -136,7 +144,7 @@ module Freeclimb
|
|
136
144
|
end
|
137
145
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
138
146
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
139
|
-
end
|
147
|
+
end
|
140
148
|
end
|
141
149
|
|
142
150
|
self
|
@@ -148,8 +156,8 @@ module Freeclimb
|
|
148
156
|
# @return [Object] Deserialized data
|
149
157
|
def _deserialize(type, value)
|
150
158
|
case type.to_sym
|
151
|
-
when :
|
152
|
-
|
159
|
+
when :Time
|
160
|
+
Time.parse(value)
|
153
161
|
when :Date
|
154
162
|
Date.parse(value)
|
155
163
|
when :String
|
@@ -179,7 +187,9 @@ module Freeclimb
|
|
179
187
|
end
|
180
188
|
end
|
181
189
|
else # model
|
182
|
-
|
190
|
+
# models (e.g. Pet) or oneOf
|
191
|
+
klass = Freeclimb.const_get(type)
|
192
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
183
193
|
end
|
184
194
|
end
|
185
195
|
|
@@ -205,7 +215,7 @@ module Freeclimb
|
|
205
215
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
206
216
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
207
217
|
end
|
208
|
-
|
218
|
+
|
209
219
|
hash[param] = _to_hash(value)
|
210
220
|
end
|
211
221
|
hash
|
@@ -228,5 +238,7 @@ module Freeclimb
|
|
228
238
|
value
|
229
239
|
end
|
230
240
|
end
|
241
|
+
|
231
242
|
end
|
243
|
+
|
232
244
|
end
|
@@ -6,11 +6,12 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
|
+
require 'time'
|
14
15
|
|
15
16
|
module Freeclimb
|
16
17
|
# The `SetListen` command enables or disables the listen privilege for a Conference Participant provided both calls are in the same conference. The Participant can hear what the other participants are saying only if this privilege is enabled.
|
@@ -29,6 +30,11 @@ module Freeclimb
|
|
29
30
|
}
|
30
31
|
end
|
31
32
|
|
33
|
+
# Returns all the JSON keys this model knows about, including the ones defined in its parent(s)
|
34
|
+
def self.acceptable_attributes
|
35
|
+
attribute_map.values.concat(superclass.acceptable_attributes)
|
36
|
+
end
|
37
|
+
|
32
38
|
# Attribute type mapping.
|
33
39
|
def self.openapi_types
|
34
40
|
{
|
@@ -131,7 +137,9 @@ module Freeclimb
|
|
131
137
|
return nil unless attributes.is_a?(Hash)
|
132
138
|
super(attributes)
|
133
139
|
self.class.openapi_types.each_pair do |key, type|
|
134
|
-
if
|
140
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
141
|
+
self.send("#{key}=", nil)
|
142
|
+
elsif type =~ /\AArray<(.*)>/i
|
135
143
|
# check to ensure the input is an array given that the attribute
|
136
144
|
# is documented as an array but the input is not
|
137
145
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
@@ -139,7 +147,7 @@ module Freeclimb
|
|
139
147
|
end
|
140
148
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
141
149
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
142
|
-
end
|
150
|
+
end
|
143
151
|
end
|
144
152
|
|
145
153
|
self
|
@@ -151,8 +159,8 @@ module Freeclimb
|
|
151
159
|
# @return [Object] Deserialized data
|
152
160
|
def _deserialize(type, value)
|
153
161
|
case type.to_sym
|
154
|
-
when :
|
155
|
-
|
162
|
+
when :Time
|
163
|
+
Time.parse(value)
|
156
164
|
when :Date
|
157
165
|
Date.parse(value)
|
158
166
|
when :String
|
@@ -182,7 +190,9 @@ module Freeclimb
|
|
182
190
|
end
|
183
191
|
end
|
184
192
|
else # model
|
185
|
-
|
193
|
+
# models (e.g. Pet) or oneOf
|
194
|
+
klass = Freeclimb.const_get(type)
|
195
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
186
196
|
end
|
187
197
|
end
|
188
198
|
|
@@ -208,7 +218,7 @@ module Freeclimb
|
|
208
218
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
209
219
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
210
220
|
end
|
211
|
-
|
221
|
+
|
212
222
|
hash[param] = _to_hash(value)
|
213
223
|
end
|
214
224
|
hash
|
@@ -231,5 +241,7 @@ module Freeclimb
|
|
231
241
|
value
|
232
242
|
end
|
233
243
|
end
|
244
|
+
|
234
245
|
end
|
246
|
+
|
235
247
|
end
|
@@ -6,11 +6,12 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
|
+
require 'time'
|
14
15
|
|
15
16
|
module Freeclimb
|
16
17
|
class SetListenAllOf
|
@@ -28,6 +29,11 @@ module Freeclimb
|
|
28
29
|
}
|
29
30
|
end
|
30
31
|
|
32
|
+
# Returns all the JSON keys this model knows about
|
33
|
+
def self.acceptable_attributes
|
34
|
+
attribute_map.values
|
35
|
+
end
|
36
|
+
|
31
37
|
# Attribute type mapping.
|
32
38
|
def self.openapi_types
|
33
39
|
{
|
@@ -118,7 +124,9 @@ module Freeclimb
|
|
118
124
|
def build_from_hash(attributes)
|
119
125
|
return nil unless attributes.is_a?(Hash)
|
120
126
|
self.class.openapi_types.each_pair do |key, type|
|
121
|
-
if
|
127
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
128
|
+
self.send("#{key}=", nil)
|
129
|
+
elsif type =~ /\AArray<(.*)>/i
|
122
130
|
# check to ensure the input is an array given that the attribute
|
123
131
|
# is documented as an array but the input is not
|
124
132
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
@@ -126,7 +134,7 @@ module Freeclimb
|
|
126
134
|
end
|
127
135
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
128
136
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
129
|
-
end
|
137
|
+
end
|
130
138
|
end
|
131
139
|
|
132
140
|
self
|
@@ -138,8 +146,8 @@ module Freeclimb
|
|
138
146
|
# @return [Object] Deserialized data
|
139
147
|
def _deserialize(type, value)
|
140
148
|
case type.to_sym
|
141
|
-
when :
|
142
|
-
|
149
|
+
when :Time
|
150
|
+
Time.parse(value)
|
143
151
|
when :Date
|
144
152
|
Date.parse(value)
|
145
153
|
when :String
|
@@ -169,7 +177,9 @@ module Freeclimb
|
|
169
177
|
end
|
170
178
|
end
|
171
179
|
else # model
|
172
|
-
|
180
|
+
# models (e.g. Pet) or oneOf
|
181
|
+
klass = Freeclimb.const_get(type)
|
182
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
173
183
|
end
|
174
184
|
end
|
175
185
|
|
@@ -195,7 +205,7 @@ module Freeclimb
|
|
195
205
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
196
206
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
197
207
|
end
|
198
|
-
|
208
|
+
|
199
209
|
hash[param] = _to_hash(value)
|
200
210
|
end
|
201
211
|
hash
|
@@ -218,5 +228,7 @@ module Freeclimb
|
|
218
228
|
value
|
219
229
|
end
|
220
230
|
end
|
231
|
+
|
221
232
|
end
|
233
|
+
|
222
234
|
end
|
@@ -6,11 +6,12 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
|
+
require 'time'
|
14
15
|
|
15
16
|
module Freeclimb
|
16
17
|
# The `SetTalk` command enables or disables the talk privilege for a Participant in a Conference provided both calls are in the same conference. If 'true', no audio from that Participant is shared with the other Participants of the Conference.
|
@@ -29,6 +30,11 @@ module Freeclimb
|
|
29
30
|
}
|
30
31
|
end
|
31
32
|
|
33
|
+
# Returns all the JSON keys this model knows about, including the ones defined in its parent(s)
|
34
|
+
def self.acceptable_attributes
|
35
|
+
attribute_map.values.concat(superclass.acceptable_attributes)
|
36
|
+
end
|
37
|
+
|
32
38
|
# Attribute type mapping.
|
33
39
|
def self.openapi_types
|
34
40
|
{
|
@@ -131,7 +137,9 @@ module Freeclimb
|
|
131
137
|
return nil unless attributes.is_a?(Hash)
|
132
138
|
super(attributes)
|
133
139
|
self.class.openapi_types.each_pair do |key, type|
|
134
|
-
if
|
140
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
141
|
+
self.send("#{key}=", nil)
|
142
|
+
elsif type =~ /\AArray<(.*)>/i
|
135
143
|
# check to ensure the input is an array given that the attribute
|
136
144
|
# is documented as an array but the input is not
|
137
145
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
@@ -139,7 +147,7 @@ module Freeclimb
|
|
139
147
|
end
|
140
148
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
141
149
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
142
|
-
end
|
150
|
+
end
|
143
151
|
end
|
144
152
|
|
145
153
|
self
|
@@ -151,8 +159,8 @@ module Freeclimb
|
|
151
159
|
# @return [Object] Deserialized data
|
152
160
|
def _deserialize(type, value)
|
153
161
|
case type.to_sym
|
154
|
-
when :
|
155
|
-
|
162
|
+
when :Time
|
163
|
+
Time.parse(value)
|
156
164
|
when :Date
|
157
165
|
Date.parse(value)
|
158
166
|
when :String
|
@@ -182,7 +190,9 @@ module Freeclimb
|
|
182
190
|
end
|
183
191
|
end
|
184
192
|
else # model
|
185
|
-
|
193
|
+
# models (e.g. Pet) or oneOf
|
194
|
+
klass = Freeclimb.const_get(type)
|
195
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
186
196
|
end
|
187
197
|
end
|
188
198
|
|
@@ -208,7 +218,7 @@ module Freeclimb
|
|
208
218
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
209
219
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
210
220
|
end
|
211
|
-
|
221
|
+
|
212
222
|
hash[param] = _to_hash(value)
|
213
223
|
end
|
214
224
|
hash
|
@@ -231,5 +241,7 @@ module Freeclimb
|
|
231
241
|
value
|
232
242
|
end
|
233
243
|
end
|
244
|
+
|
234
245
|
end
|
246
|
+
|
235
247
|
end
|
@@ -6,11 +6,12 @@
|
|
6
6
|
The version of the OpenAPI document: 1.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 5.4.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
|
+
require 'time'
|
14
15
|
|
15
16
|
module Freeclimb
|
16
17
|
class SetTalkAllOf
|
@@ -28,6 +29,11 @@ module Freeclimb
|
|
28
29
|
}
|
29
30
|
end
|
30
31
|
|
32
|
+
# Returns all the JSON keys this model knows about
|
33
|
+
def self.acceptable_attributes
|
34
|
+
attribute_map.values
|
35
|
+
end
|
36
|
+
|
31
37
|
# Attribute type mapping.
|
32
38
|
def self.openapi_types
|
33
39
|
{
|
@@ -118,7 +124,9 @@ module Freeclimb
|
|
118
124
|
def build_from_hash(attributes)
|
119
125
|
return nil unless attributes.is_a?(Hash)
|
120
126
|
self.class.openapi_types.each_pair do |key, type|
|
121
|
-
if
|
127
|
+
if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
128
|
+
self.send("#{key}=", nil)
|
129
|
+
elsif type =~ /\AArray<(.*)>/i
|
122
130
|
# check to ensure the input is an array given that the attribute
|
123
131
|
# is documented as an array but the input is not
|
124
132
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
@@ -126,7 +134,7 @@ module Freeclimb
|
|
126
134
|
end
|
127
135
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
128
136
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
129
|
-
end
|
137
|
+
end
|
130
138
|
end
|
131
139
|
|
132
140
|
self
|
@@ -138,8 +146,8 @@ module Freeclimb
|
|
138
146
|
# @return [Object] Deserialized data
|
139
147
|
def _deserialize(type, value)
|
140
148
|
case type.to_sym
|
141
|
-
when :
|
142
|
-
|
149
|
+
when :Time
|
150
|
+
Time.parse(value)
|
143
151
|
when :Date
|
144
152
|
Date.parse(value)
|
145
153
|
when :String
|
@@ -169,7 +177,9 @@ module Freeclimb
|
|
169
177
|
end
|
170
178
|
end
|
171
179
|
else # model
|
172
|
-
|
180
|
+
# models (e.g. Pet) or oneOf
|
181
|
+
klass = Freeclimb.const_get(type)
|
182
|
+
klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
173
183
|
end
|
174
184
|
end
|
175
185
|
|
@@ -195,7 +205,7 @@ module Freeclimb
|
|
195
205
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
196
206
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
197
207
|
end
|
198
|
-
|
208
|
+
|
199
209
|
hash[param] = _to_hash(value)
|
200
210
|
end
|
201
211
|
hash
|
@@ -218,5 +228,7 @@ module Freeclimb
|
|
218
228
|
value
|
219
229
|
end
|
220
230
|
end
|
231
|
+
|
221
232
|
end
|
233
|
+
|
222
234
|
end
|