daily-ruby 1.0.0 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/Gemfile.lock +9 -28
- data/README.md +62 -52
- data/daily-ruby.gemspec +4 -3
- data/docs/BatchProcessorError.md +24 -0
- data/docs/BatchProcessorErrorPayload.md +26 -0
- data/docs/BatchProcessorErrorPayloadInput.md +24 -0
- data/docs/BatchProcessorJobFinished.md +24 -0
- data/docs/BatchProcessorJobFinishedPayload.md +26 -0
- data/docs/BatchProcessorJobFinishedPayloadInput.md +24 -0
- data/docs/BatchProcessorJobFinishedPayloadOutput.md +24 -0
- data/docs/BatchProcessorJobFinishedPayloadOutputConcept.md +20 -0
- data/docs/BatchProcessorJobFinishedPayloadOutputSoap.md +20 -0
- data/docs/BatchProcessorJobFinishedPayloadOutputSoapS3Config.md +22 -0
- data/docs/BatchProcessorJobFinishedPayloadOutputSummary.md +20 -0
- data/docs/BatchProcessorJobFinishedPayloadOutputTranscriptionInner.md +20 -0
- data/docs/BuyPhoneNumberRequest.md +18 -0
- data/docs/DailyStreamingCustomLayoutConfig.md +1 -1
- data/docs/DailyStreamingCustomLayoutConfigCompositionParamsValue.md +15 -0
- data/docs/DialinApi.md +80 -0
- data/docs/DialoutProperties.md +26 -0
- data/docs/DialoutPropertiesCodecs.md +20 -0
- data/docs/DomainProperties.md +14 -4
- data/docs/EjectRequest.md +6 -2
- data/docs/GetDomainConfig200ResponseConfig.md +2 -0
- data/docs/GetTranscriptInfo200Response.md +1 -1
- data/docs/ListAPILogs200Response.md +1 -1
- data/docs/MeetingEnded.md +24 -0
- data/docs/MeetingEndedPayload.md +24 -0
- data/docs/MeetingParticipantsGetRes.md +0 -2
- data/docs/MeetingStarted.md +24 -0
- data/docs/MeetingStartedPayload.md +22 -0
- data/docs/ParticipantJoined.md +24 -0
- data/docs/ParticipantJoinedPayload.md +32 -0
- data/docs/ParticipantJoinedPayloadPermissions.md +22 -0
- data/docs/ParticipantLeft.md +24 -0
- data/docs/ParticipantLeftPayload.md +34 -0
- data/docs/PhoneNumbersApi.md +304 -0
- data/docs/PinDialinInner.md +22 -0
- data/docs/PinDialinInnerIvrGreeting.md +18 -0
- data/docs/PinlessCallUpdateRequest.md +22 -0
- data/docs/PinlessDialinInner.md +24 -0
- data/docs/PostWebhook.md +5 -1
- data/docs/Properties.md +3 -1
- data/docs/RecordingError.md +1 -1
- data/docs/RecordingReadyToDownload.md +1 -1
- data/docs/RecordingStarted.md +1 -1
- data/docs/RoomDialOutSendDTMFRequest.md +20 -0
- data/docs/RoomDialOutStopRequest.md +18 -0
- data/docs/RoomProperties.md +12 -2
- data/docs/RoomSipCallTransferRequest.md +20 -0
- data/docs/RoomsApi.md +376 -0
- data/docs/StreamingEnded.md +1 -1
- data/docs/StreamingError.md +1 -1
- data/docs/StreamingStarted.md +1 -1
- data/docs/StreamingUpdated.md +1 -1
- data/docs/TranscriptionProperties.md +4 -2
- data/docs/UpdateWebhook.md +5 -1
- data/docs/WaitingParticipantJoined.md +24 -0
- data/docs/WaitingParticipantJoinedPayload.md +32 -0
- data/docs/WaitingParticipantLeft.md +24 -0
- data/docs/WaitingParticipantLeftPayload.md +34 -0
- data/docs/Webhook.md +6 -4
- data/example.rb +12 -4
- data/lib/daily-ruby/api/batch_rooms_api.rb +3 -3
- data/lib/daily-ruby/api/dialin_api.rb +86 -0
- data/lib/daily-ruby/api/domain_api.rb +3 -3
- data/lib/daily-ruby/api/logs_api.rb +4 -4
- data/lib/daily-ruby/api/meeting_tokens_api.rb +3 -3
- data/lib/daily-ruby/api/meetings_api.rb +4 -4
- data/lib/daily-ruby/api/phone_numbers_api.rb +281 -0
- data/lib/daily-ruby/api/presence_api.rb +2 -2
- data/lib/daily-ruby/api/recordings_api.rb +5 -5
- data/lib/daily-ruby/api/rooms_api.rb +370 -20
- data/lib/daily-ruby/api/transcript_api.rb +6 -6
- data/lib/daily-ruby/api/webhooks_api.rb +6 -6
- data/lib/daily-ruby/api_client.rb +34 -28
- data/lib/daily-ruby/api_error.rb +1 -1
- data/lib/daily-ruby/configuration.rb +11 -1
- data/lib/daily-ruby/models/batch_processor_error.rb +278 -0
- data/lib/daily-ruby/models/batch_processor_error_payload.rb +289 -0
- data/lib/daily-ruby/models/batch_processor_error_payload_input.rb +280 -0
- data/lib/daily-ruby/models/batch_processor_job_finished.rb +278 -0
- data/lib/daily-ruby/models/batch_processor_job_finished_payload.rb +288 -0
- data/lib/daily-ruby/models/batch_processor_job_finished_payload_input.rb +280 -0
- data/lib/daily-ruby/models/batch_processor_job_finished_payload_output.rb +245 -0
- data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_concept.rb +259 -0
- data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_soap.rb +259 -0
- data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_soap_s3_config.rb +236 -0
- data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_summary.rb +259 -0
- data/lib/daily-ruby/models/batch_processor_job_finished_payload_output_transcription_inner.rb +258 -0
- data/lib/daily-ruby/models/batch_room_create_request.rb +1 -1
- data/lib/daily-ruby/models/batch_room_create_request_rooms_inner.rb +1 -1
- data/lib/daily-ruby/models/batch_room_delete200_response.rb +1 -1
- data/lib/daily-ruby/models/buy_phone_number_request.rb +215 -0
- data/lib/daily-ruby/models/create_meeting_token200_response.rb +1 -1
- data/lib/daily-ruby/models/create_meeting_token_request.rb +1 -1
- data/lib/daily-ruby/models/create_room200_response.rb +1 -1
- data/lib/daily-ruby/models/create_room_request.rb +1 -1
- data/lib/daily-ruby/models/daily_live_streaming_options.rb +1 -1
- data/lib/daily-ruby/models/daily_live_streaming_options_rtmp_url.rb +1 -1
- data/lib/daily-ruby/models/daily_streaming_active_participant_layout_config.rb +3 -3
- data/lib/daily-ruby/models/daily_streaming_custom_layout_config.rb +4 -4
- data/lib/daily-ruby/models/daily_streaming_custom_layout_config_composition_params.rb +1 -1
- data/lib/daily-ruby/models/daily_streaming_custom_layout_config_composition_params_value.rb +105 -0
- data/lib/daily-ruby/models/daily_streaming_default_layout_config.rb +3 -3
- data/lib/daily-ruby/models/daily_streaming_endpoint.rb +1 -1
- data/lib/daily-ruby/models/daily_streaming_layout_config.rb +1 -1
- data/lib/daily-ruby/models/daily_streaming_options.rb +1 -1
- data/lib/daily-ruby/models/daily_streaming_portrait_layout_config.rb +3 -3
- data/lib/daily-ruby/models/daily_streaming_portrait_layout_variant.rb +3 -2
- data/lib/daily-ruby/models/daily_streaming_single_participant_layout_config.rb +3 -3
- data/lib/daily-ruby/models/delete_transcript200_response.rb +3 -3
- data/lib/daily-ruby/models/dialout_properties.rb +254 -0
- data/lib/daily-ruby/models/dialout_properties_codecs.rb +228 -0
- data/lib/daily-ruby/models/domain.rb +1 -1
- data/lib/daily-ruby/models/domain_properties.rb +74 -16
- data/lib/daily-ruby/models/eject200_response.rb +1 -1
- data/lib/daily-ruby/models/eject_request.rb +30 -6
- data/lib/daily-ruby/models/get_domain_config200_response.rb +1 -1
- data/lib/daily-ruby/models/get_domain_config200_response_config.rb +11 -2
- data/lib/daily-ruby/models/get_domain_config200_response_config_recordings_bucket.rb +1 -1
- data/lib/daily-ruby/models/get_meeting_info200_response.rb +1 -1
- data/lib/daily-ruby/models/get_meeting_info200_response_data_inner.rb +1 -1
- data/lib/daily-ruby/models/get_meeting_info200_response_data_inner_participants_inner.rb +1 -1
- data/lib/daily-ruby/models/get_presence200_response.rb +1 -1
- data/lib/daily-ruby/models/get_presence200_response_aivw_whz_hl_lhr_sd_hdw7_ew_inner.rb +1 -1
- data/lib/daily-ruby/models/get_recording_info200_response.rb +3 -3
- data/lib/daily-ruby/models/get_recording_info200_response_tracks_inner.rb +3 -3
- data/lib/daily-ruby/models/get_recording_link200_response.rb +1 -1
- data/lib/daily-ruby/models/get_transcript_info200_response.rb +4 -4
- data/lib/daily-ruby/models/get_transcript_info200_response_out_params.rb +2 -1
- data/lib/daily-ruby/models/get_transcript_link200_response.rb +1 -1
- data/lib/daily-ruby/models/list_api_logs200_response.rb +2 -2
- data/lib/daily-ruby/models/list_recordings200_response.rb +1 -1
- data/lib/daily-ruby/models/list_recordings200_response_data_inner.rb +1 -1
- data/lib/daily-ruby/models/list_rooms200_response.rb +1 -1
- data/lib/daily-ruby/models/list_rooms200_response_data_inner.rb +1 -1
- data/lib/daily-ruby/models/list_rooms200_response_data_inner_config.rb +1 -1
- data/lib/daily-ruby/models/list_transcript200_response.rb +1 -1
- data/lib/daily-ruby/models/list_transcript200_response_data_inner.rb +3 -3
- data/lib/daily-ruby/models/meeting_ended.rb +278 -0
- data/lib/daily-ruby/models/meeting_ended_payload.rb +246 -0
- data/lib/daily-ruby/models/meeting_participants_get_res.rb +2 -11
- data/lib/daily-ruby/models/meeting_participants_get_res_data_inner.rb +1 -1
- data/lib/daily-ruby/models/meeting_started.rb +278 -0
- data/lib/daily-ruby/models/meeting_started_payload.rb +236 -0
- data/lib/daily-ruby/models/meetings_meeting_get_res.rb +1 -1
- data/lib/daily-ruby/models/participant_joined.rb +278 -0
- data/lib/daily-ruby/models/participant_joined_payload.rb +285 -0
- data/lib/daily-ruby/models/participant_joined_payload_permissions.rb +240 -0
- data/lib/daily-ruby/models/participant_left.rb +278 -0
- data/lib/daily-ruby/models/participant_left_payload.rb +295 -0
- data/lib/daily-ruby/models/permissions.rb +1 -1
- data/lib/daily-ruby/models/permissions_can_admin.rb +1 -1
- data/lib/daily-ruby/models/permissions_can_send.rb +1 -1
- data/lib/daily-ruby/models/pin_dialin_inner.rb +234 -0
- data/lib/daily-ruby/models/pin_dialin_inner_ivr_greeting.rb +215 -0
- data/lib/daily-ruby/models/pinless_call_update_request.rb +235 -0
- data/lib/daily-ruby/models/pinless_dialin_inner.rb +245 -0
- data/lib/daily-ruby/models/post_webhook.rb +37 -5
- data/lib/daily-ruby/models/properties.rb +17 -7
- data/lib/daily-ruby/models/recording_error.rb +4 -4
- data/lib/daily-ruby/models/recording_error_payload.rb +3 -3
- data/lib/daily-ruby/models/recording_ready_to_download.rb +4 -4
- data/lib/daily-ruby/models/recording_ready_to_download_payload.rb +5 -5
- data/lib/daily-ruby/models/recording_started.rb +4 -4
- data/lib/daily-ruby/models/recording_started_payload.rb +3 -3
- data/lib/daily-ruby/models/recording_streaming_options.rb +3 -3
- data/lib/daily-ruby/models/recordings_bucket.rb +1 -1
- data/lib/daily-ruby/models/room_dial_out_send_dtmf_request.rb +224 -0
- data/lib/daily-ruby/models/room_dial_out_stop_request.rb +215 -0
- data/lib/daily-ruby/models/room_properties.rb +67 -9
- data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner.rb +267 -267
- data/lib/daily-ruby/models/room_properties_streaming_endpoints_inner_hls_config_variants_inner.rb +1 -1
- data/lib/daily-ruby/models/room_sip_call_transfer_request.rb +224 -0
- data/lib/daily-ruby/models/rooms_room_name_get_res.rb +1 -1
- data/lib/daily-ruby/models/rooms_room_name_presence_get_res.rb +1 -1
- data/lib/daily-ruby/models/rooms_room_name_presence_get_res_data_inner.rb +1 -1
- data/lib/daily-ruby/models/send_app_message_request.rb +1 -1
- data/lib/daily-ruby/models/set_room_config_request.rb +1 -1
- data/lib/daily-ruby/models/set_session_data_request.rb +3 -3
- data/lib/daily-ruby/models/streaming_ended.rb +4 -4
- data/lib/daily-ruby/models/streaming_ended_payload.rb +1 -1
- data/lib/daily-ruby/models/streaming_error.rb +4 -4
- data/lib/daily-ruby/models/streaming_error_payload.rb +1 -1
- data/lib/daily-ruby/models/streaming_started.rb +4 -4
- data/lib/daily-ruby/models/streaming_started_payload.rb +1 -1
- data/lib/daily-ruby/models/streaming_updated.rb +4 -4
- data/lib/daily-ruby/models/streaming_updated_payload.rb +1 -1
- data/lib/daily-ruby/models/transcription_bucket.rb +1 -1
- data/lib/daily-ruby/models/transcription_properties.rb +16 -6
- data/lib/daily-ruby/models/transcription_properties_endpointing.rb +1 -1
- data/lib/daily-ruby/models/transcription_properties_redact.rb +1 -1
- data/lib/daily-ruby/models/update_permissions_request.rb +1 -1
- data/lib/daily-ruby/models/update_permissions_request_data_value.rb +1 -1
- data/lib/daily-ruby/models/update_permissions_request_data_value_can_send.rb +1 -1
- data/lib/daily-ruby/models/update_webhook.rb +37 -5
- data/lib/daily-ruby/models/validate_meeting_token200_response.rb +1 -1
- data/lib/daily-ruby/models/waiting_participant_joined.rb +278 -0
- data/lib/daily-ruby/models/waiting_participant_joined_payload.rb +285 -0
- data/lib/daily-ruby/models/waiting_participant_left.rb +278 -0
- data/lib/daily-ruby/models/waiting_participant_left_payload.rb +295 -0
- data/lib/daily-ruby/models/webhook.rb +32 -10
- data/lib/daily-ruby/version.rb +2 -2
- data/lib/daily-ruby.rb +39 -2
- data/pkg/daily-ruby-1.0.2.gem +0 -0
- data/run.sh +3 -3
- data/spec/api/dialin_api_spec.rb +47 -0
- data/spec/api/phone_numbers_api_spec.rb +87 -0
- data/spec/models/batch_processor_error_payload_input_spec.rb +58 -0
- data/spec/models/batch_processor_error_payload_spec.rb +64 -0
- data/spec/models/batch_processor_error_spec.rb +58 -0
- data/spec/models/batch_processor_job_finished_payload_input_spec.rb +58 -0
- data/spec/models/batch_processor_job_finished_payload_output_concept_spec.rb +46 -0
- data/spec/models/batch_processor_job_finished_payload_output_soap_s3_config_spec.rb +48 -0
- data/spec/models/batch_processor_job_finished_payload_output_soap_spec.rb +46 -0
- data/spec/models/batch_processor_job_finished_payload_output_spec.rb +54 -0
- data/spec/models/batch_processor_job_finished_payload_output_summary_spec.rb +46 -0
- data/spec/models/batch_processor_job_finished_payload_output_transcription_inner_spec.rb +46 -0
- data/spec/models/batch_processor_job_finished_payload_spec.rb +64 -0
- data/spec/models/batch_processor_job_finished_spec.rb +58 -0
- data/spec/models/buy_phone_number_request_spec.rb +36 -0
- data/spec/models/{daily_streaming_custom_layout_config_composition_params_spec.rb → daily_streaming_custom_layout_config_composition_params_value_spec.rb} +3 -3
- data/spec/models/dialout_properties_codecs_spec.rb +42 -0
- data/spec/models/dialout_properties_spec.rb +60 -0
- data/spec/models/meeting_ended_payload_spec.rb +54 -0
- data/spec/models/meeting_ended_spec.rb +58 -0
- data/spec/models/meeting_started_payload_spec.rb +48 -0
- data/spec/models/meeting_started_spec.rb +58 -0
- data/spec/models/participant_joined_payload_permissions_spec.rb +48 -0
- data/spec/models/participant_joined_payload_spec.rb +78 -0
- data/spec/models/participant_joined_spec.rb +58 -0
- data/spec/models/participant_left_payload_spec.rb +84 -0
- data/spec/models/participant_left_spec.rb +58 -0
- data/spec/models/pin_dialin_inner_ivr_greeting_spec.rb +36 -0
- data/spec/models/pin_dialin_inner_spec.rb +48 -0
- data/spec/models/pinless_call_update_request_spec.rb +48 -0
- data/spec/models/pinless_dialin_inner_spec.rb +54 -0
- data/spec/models/room_dial_out_send_dtmf_request_spec.rb +42 -0
- data/spec/models/room_dial_out_stop_request_spec.rb +36 -0
- data/spec/models/room_sip_call_transfer_request_spec.rb +42 -0
- data/spec/models/waiting_participant_joined_payload_spec.rb +78 -0
- data/spec/models/waiting_participant_joined_spec.rb +58 -0
- data/spec/models/waiting_participant_left_payload_spec.rb +84 -0
- data/spec/models/waiting_participant_left_spec.rb +58 -0
- data/spec/spec_helper.rb +1 -1
- metadata +171 -6
@@ -0,0 +1,228 @@
|
|
1
|
+
=begin
|
2
|
+
#Daily API
|
3
|
+
|
4
|
+
#The Daily REST API offers the ability to manage the following: - Overall Domain Configuration - Individual Room creation and config management - Meeting token creation and validation - Recording and compositing management - Meeting analytics - Logs and metrics - Real-time presence Please reach out to help@daily.co if we can help with anything
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.1.1
|
7
|
+
Contact: help@daily.co
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.8.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module Daily
|
17
|
+
# Specify specify the codecs to use for dial-out.
|
18
|
+
class DialoutPropertiesCodecs
|
19
|
+
attr_accessor :audio
|
20
|
+
|
21
|
+
attr_accessor :video
|
22
|
+
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
24
|
+
def self.attribute_map
|
25
|
+
{
|
26
|
+
:'audio' => :'audio',
|
27
|
+
:'video' => :'video'
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
# Returns all the JSON keys this model knows about
|
32
|
+
def self.acceptable_attributes
|
33
|
+
attribute_map.values
|
34
|
+
end
|
35
|
+
|
36
|
+
# Attribute type mapping.
|
37
|
+
def self.openapi_types
|
38
|
+
{
|
39
|
+
:'audio' => :'Array<String>',
|
40
|
+
:'video' => :'Array<String>'
|
41
|
+
}
|
42
|
+
end
|
43
|
+
|
44
|
+
# List of attributes with nullable: true
|
45
|
+
def self.openapi_nullable
|
46
|
+
Set.new([
|
47
|
+
])
|
48
|
+
end
|
49
|
+
|
50
|
+
# Initializes the object
|
51
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
52
|
+
def initialize(attributes = {})
|
53
|
+
if (!attributes.is_a?(Hash))
|
54
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Daily::DialoutPropertiesCodecs` initialize method"
|
55
|
+
end
|
56
|
+
|
57
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
58
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
59
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
60
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Daily::DialoutPropertiesCodecs`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
61
|
+
end
|
62
|
+
h[k.to_sym] = v
|
63
|
+
}
|
64
|
+
|
65
|
+
if attributes.key?(:'audio')
|
66
|
+
if (value = attributes[:'audio']).is_a?(Array)
|
67
|
+
self.audio = value
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
if attributes.key?(:'video')
|
72
|
+
if (value = attributes[:'video']).is_a?(Array)
|
73
|
+
self.video = value
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
79
|
+
# @return Array for valid properties with the reasons
|
80
|
+
def list_invalid_properties
|
81
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
82
|
+
invalid_properties = Array.new
|
83
|
+
invalid_properties
|
84
|
+
end
|
85
|
+
|
86
|
+
# Check to see if the all the properties in the model are valid
|
87
|
+
# @return true if the model is valid
|
88
|
+
def valid?
|
89
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
90
|
+
true
|
91
|
+
end
|
92
|
+
|
93
|
+
# Checks equality by comparing each attribute.
|
94
|
+
# @param [Object] Object to be compared
|
95
|
+
def ==(o)
|
96
|
+
return true if self.equal?(o)
|
97
|
+
self.class == o.class &&
|
98
|
+
audio == o.audio &&
|
99
|
+
video == o.video
|
100
|
+
end
|
101
|
+
|
102
|
+
# @see the `==` method
|
103
|
+
# @param [Object] Object to be compared
|
104
|
+
def eql?(o)
|
105
|
+
self == o
|
106
|
+
end
|
107
|
+
|
108
|
+
# Calculates hash code according to all attributes.
|
109
|
+
# @return [Integer] Hash code
|
110
|
+
def hash
|
111
|
+
[audio, video].hash
|
112
|
+
end
|
113
|
+
|
114
|
+
# Builds the object from hash
|
115
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
116
|
+
# @return [Object] Returns the model itself
|
117
|
+
def self.build_from_hash(attributes)
|
118
|
+
return nil unless attributes.is_a?(Hash)
|
119
|
+
attributes = attributes.transform_keys(&:to_sym)
|
120
|
+
transformed_hash = {}
|
121
|
+
openapi_types.each_pair do |key, type|
|
122
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
123
|
+
transformed_hash["#{key}"] = nil
|
124
|
+
elsif type =~ /\AArray<(.*)>/i
|
125
|
+
# check to ensure the input is an array given that the attribute
|
126
|
+
# is documented as an array but the input is not
|
127
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
128
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
129
|
+
end
|
130
|
+
elsif !attributes[attribute_map[key]].nil?
|
131
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
132
|
+
end
|
133
|
+
end
|
134
|
+
new(transformed_hash)
|
135
|
+
end
|
136
|
+
|
137
|
+
# Deserializes the data based on type
|
138
|
+
# @param string type Data type
|
139
|
+
# @param string value Value to be deserialized
|
140
|
+
# @return [Object] Deserialized data
|
141
|
+
def self._deserialize(type, value)
|
142
|
+
case type.to_sym
|
143
|
+
when :Time
|
144
|
+
Time.parse(value)
|
145
|
+
when :Date
|
146
|
+
Date.parse(value)
|
147
|
+
when :String
|
148
|
+
value.to_s
|
149
|
+
when :Integer
|
150
|
+
value.to_i
|
151
|
+
when :Float
|
152
|
+
value.to_f
|
153
|
+
when :Boolean
|
154
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
155
|
+
true
|
156
|
+
else
|
157
|
+
false
|
158
|
+
end
|
159
|
+
when :Object
|
160
|
+
# generic object (usually a Hash), return directly
|
161
|
+
value
|
162
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
163
|
+
inner_type = Regexp.last_match[:inner_type]
|
164
|
+
value.map { |v| _deserialize(inner_type, v) }
|
165
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
166
|
+
k_type = Regexp.last_match[:k_type]
|
167
|
+
v_type = Regexp.last_match[:v_type]
|
168
|
+
{}.tap do |hash|
|
169
|
+
value.each do |k, v|
|
170
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
171
|
+
end
|
172
|
+
end
|
173
|
+
else # model
|
174
|
+
# models (e.g. Pet) or oneOf
|
175
|
+
klass = Daily.const_get(type)
|
176
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
# Returns the string representation of the object
|
181
|
+
# @return [String] String presentation of the object
|
182
|
+
def to_s
|
183
|
+
to_hash.to_s
|
184
|
+
end
|
185
|
+
|
186
|
+
# to_body is an alias to to_hash (backward compatibility)
|
187
|
+
# @return [Hash] Returns the object in the form of hash
|
188
|
+
def to_body
|
189
|
+
to_hash
|
190
|
+
end
|
191
|
+
|
192
|
+
# Returns the object in the form of hash
|
193
|
+
# @return [Hash] Returns the object in the form of hash
|
194
|
+
def to_hash
|
195
|
+
hash = {}
|
196
|
+
self.class.attribute_map.each_pair do |attr, param|
|
197
|
+
value = self.send(attr)
|
198
|
+
if value.nil?
|
199
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
200
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
201
|
+
end
|
202
|
+
|
203
|
+
hash[param] = _to_hash(value)
|
204
|
+
end
|
205
|
+
hash
|
206
|
+
end
|
207
|
+
|
208
|
+
# Outputs non-array value in the form of hash
|
209
|
+
# For object, use to_hash. Otherwise, just return the value
|
210
|
+
# @param [Object] value Any valid value
|
211
|
+
# @return [Hash] Returns the value in the form of hash
|
212
|
+
def _to_hash(value)
|
213
|
+
if value.is_a?(Array)
|
214
|
+
value.compact.map { |v| _to_hash(v) }
|
215
|
+
elsif value.is_a?(Hash)
|
216
|
+
{}.tap do |hash|
|
217
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
218
|
+
end
|
219
|
+
elsif value.respond_to? :to_hash
|
220
|
+
value.to_hash
|
221
|
+
else
|
222
|
+
value
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
end
|
227
|
+
|
228
|
+
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.1.1
|
7
7
|
Contact: help@daily.co
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.8.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -36,6 +36,9 @@ module Daily
|
|
36
36
|
# Sets whether rooms for this domain have [Daily Prebuilt](https://www.daily.co/prebuilt)’s breakout rooms feature enabled. When set to `true`, an owner in a Prebuilt call can create breakout rooms to divide participants into smaller, private groups. ⚠️ You must be using [Daily Prebuilt](https://daily.co/blog/daily-prebuilt-video-chat) to use `enable_breakout_rooms`. ⚠️ This property is in beta.
|
37
37
|
attr_accessor :enable_breakout_rooms
|
38
38
|
|
39
|
+
# Sets whether participants in a room see a closed captions button in their Daily Prebuilt call tray. When the closed caption button is clicked, closed captions are displayed locally. When set to `true`, a closed captions button appears in the call tray. When set to `false`, the closed captions button is hidden from the call tray. Note: Transcription must be enabled for the room or users must have permission to start transcription for this feature to be enabled. View the [transcription guide](/guides/products/transcription) for more details. ⚠️ You must be using [Daily Prebuilt](https://daily.co/blog/daily-prebuilt-video-chat) to use `enable_live_captions_ui`.
|
40
|
+
attr_accessor :enable_live_captions_ui
|
41
|
+
|
39
42
|
# Determines whether the network button, and the network panel it reveals on click, appears across all rooms belonging to this domain. ⚠️ You must be using [Daily Prebuilt](https://daily.co/blog/daily-prebuilt-video-chat) to use `enable_network_ui`.
|
40
43
|
attr_accessor :enable_network_ui
|
41
44
|
|
@@ -60,7 +63,7 @@ module Daily
|
|
60
63
|
# The default language for the video call UI, for all calls. If you set the language at this domain level, you can still override the setting for specific rooms in [a room's configuration properties](/reference/rest-api/rooms/config), or for a specific participant in a [meeting token](/reference/rest-api/meeting-tokens/config). You can also set the language dynamically using the front-end library [setDailyLang() method](/reference/daily-js/instance-methods/set-daily-lang). `*` Norwegian `\"no\"` and Russian `\"ru\"` are only available in the new Daily Prebuilt.
|
61
64
|
attr_accessor :lang
|
62
65
|
|
63
|
-
# Sets a URL that will receive a webhook when a user joins a room.
|
66
|
+
# Sets a URL that will receive a webhook when a user joins a room. ⚠️ In place of the `meeting_join_hook`, we recommend setting up a [webhook](/reference/rest-api/webhooks) and listening for the [`participant.joined`](/reference/rest-api/webhooks/events/participant-joined) event.
|
64
67
|
attr_accessor :meeting_join_hook
|
65
68
|
|
66
69
|
# Daily uses signaling servers to manage all of the participants in a given call session. In an SFU/server mode call, the server will send and receive all audio and video from each participant. In a peer-to-peer call, each participant sends media directly to and from each other peer, but a signaling server still manages call state. Daily runs servers in several different AWS regions to minimize latency for users around the world. The job of 'picking' a call server is handled when the first participant joins a room. The first participant's browser connects to a call server using Amazon's Route 53 DNS resolution, which chooses a server in the region closest to them. This isn't always optimal. For example, if one person joins in London, and then ten more people join from Cape Town, the call will still be hosted out of `eu-west-2` . The majority of the participants will have higher latency to the server than if one of them had joined first and the call was being hosted in `af-south-1`. In cases like this, you may want to configure your domain (or a specific room) to always choose a call server in a specific AWS region. Available regions: - `\"af-south-1\"` (Cape Town) - `\"ap-northeast-2\"` (Seoul) - `\"ap-southeast-1\"` (Singapore) - `\"ap-southeast-2\"` (Sydney) - `\"ap-south-1\"` (Mumbai) - `\"eu-central-1\"` (Frankfurt) - `\"eu-west-2\"` (London) - `\"sa-east-1\"` (São Paulo) - `\"us-east-1\"` (N. Virginia) - `\"us-west-2\"` (Oregon)
|
@@ -86,9 +89,15 @@ module Daily
|
|
86
89
|
# Configures a room to use multiple SFUs for a call's media. This feature enables calls to scale to large sizes and to reduce latency between participants. It is recommended specifically for interactive live streaming. See our [guide for interactive live streaming](/guides/scaling-calls/interactive-live-streaming-rtmp-output#daily-prebuilt-configurations-to-support-100-000-participants) for additional instruction.
|
87
90
|
attr_accessor :enable_mesh_sfu
|
88
91
|
|
89
|
-
# Dictates the participant count after which room topology automatically switches from Peer-to-Peer (P2P) to Selective Forwarding Unit (SFU) mode, or vice versa. For example, if `sfu_switchover` is set to `
|
92
|
+
# Dictates the participant count after which room topology automatically switches from Peer-to-Peer (P2P) to Selective Forwarding Unit (SFU) mode, or vice versa. For example, if `sfu_switchover` is set to `2` and the current network topology is P2P, the topology will switch to SFU mode when the _third_ participant joins the call. If the current topology is SFU, it will switch to P2P mode when the participant count decreases from `2` to `1`. We recommend specifying an integer value for this property except for cases where you would like the room to switch to SFU mode as soon as the first participant joins. In this case, set `sfu_switchover` to `0.5`. See our [guide about video call architecture](/guides/architecture-and-monitoring/intro-to-video-arch#the-architecture-of-a-room-p2p-vs-sfu-calls) for additional information.
|
90
93
|
attr_accessor :sfu_switchover
|
91
94
|
|
95
|
+
# Configures a domain or room to use [Daily Adaptive Bitrate](/guides/building-additional-features/daily-adaptive-bitrate). When enabled, along with configuring the client to [`allowAdaptiveLayers`](/reference/daily-js/instance-methods/update-send-settings#sendsettings), the Daily client will continually adapt send settings to the current network conditions. `allowAdaptiveLayers` is `true` by default; if you haven't modified that setting, then setting `enable_adaptive_simulcast` to `true` will enable Daily Adaptive Bitrate for 1:1 calls.
|
96
|
+
attr_accessor :enable_adaptive_simulcast
|
97
|
+
|
98
|
+
# Configures a domain or room to disallow multiple participants from having the same `user_id`. This feature can be enabled to prevent users from \"sharing\" meeting tokens. When enabled, a participant joining or reconnecting to a meeting will cause existing participants with the same user_id to be ejected.
|
99
|
+
attr_accessor :enforce_unique_user_ids
|
100
|
+
|
92
101
|
attr_accessor :recordings_bucket
|
93
102
|
|
94
103
|
attr_accessor :permissions
|
@@ -96,8 +105,14 @@ module Daily
|
|
96
105
|
# Defines a custom S3 bucket where the batch processor will write its output
|
97
106
|
attr_accessor :batch_processor_bucket
|
98
107
|
|
99
|
-
# Enables
|
100
|
-
attr_accessor :
|
108
|
+
# Enables the use of Opus in-band FEC (Forward Error Correction) when encoding audio to send, where possible. This can make audio quality more resilient to packet loss.
|
109
|
+
attr_accessor :enable_opus_fec
|
110
|
+
|
111
|
+
# [SIP Interconnect and Pinless Dialin](/guides/products/dial-in-dial-out/dialin-pinless#provisioning-sip-interconnect-and-pinless-dialin-workflow),i.e., without entering a PIN code when dialling a phone number or directly calling a Daily SIP Interconnect address. In this case you dont need a SIP address associated to a particular Daily Room. When a call comes in to this phone number or to the sip interconnect address, it will trigger a webhook, where you'll need to create the Daily room and forward the call to the `sipUri` assocaited to the newly created room. The Pinless Dialin only works with purchased phone numbers, because the call is not intended for a particular Daily room. Read more details on our [dosc-site](/guides/products/dial-in-dial-out/dialin-pinless).
|
112
|
+
attr_accessor :pinless_dialin
|
113
|
+
|
114
|
+
# Dialin with a [PIN code](/guides/products/dial-in-dial-out/dialin-pin). This works with both the Global phone numbers and any number that you purchased. When a call comes into one of the phone numbers, the dialer must enter the PIN code. If the code is correct, the user will be connected to the Daily Room. Otherwise the incoming call will be disconnected if an incorrect PIN code is entered.
|
115
|
+
attr_accessor :pin_dialin
|
101
116
|
|
102
117
|
class EnumAttributeValidator
|
103
118
|
attr_reader :datatype
|
@@ -131,6 +146,7 @@ module Daily
|
|
131
146
|
:'enable_hand_raising' => :'enable_hand_raising',
|
132
147
|
:'enable_prejoin_ui' => :'enable_prejoin_ui',
|
133
148
|
:'enable_breakout_rooms' => :'enable_breakout_rooms',
|
149
|
+
:'enable_live_captions_ui' => :'enable_live_captions_ui',
|
134
150
|
:'enable_network_ui' => :'enable_network_ui',
|
135
151
|
:'enable_noise_cancellation_ui' => :'enable_noise_cancellation_ui',
|
136
152
|
:'enable_video_processing_ui' => :'enable_video_processing_ui',
|
@@ -149,10 +165,14 @@ module Daily
|
|
149
165
|
:'recordings_template' => :'recordings_template',
|
150
166
|
:'enable_mesh_sfu' => :'enable_mesh_sfu',
|
151
167
|
:'sfu_switchover' => :'sfu_switchover',
|
168
|
+
:'enable_adaptive_simulcast' => :'enable_adaptive_simulcast',
|
169
|
+
:'enforce_unique_user_ids' => :'enforce_unique_user_ids',
|
152
170
|
:'recordings_bucket' => :'recordings_bucket',
|
153
171
|
:'permissions' => :'permissions',
|
154
172
|
:'batch_processor_bucket' => :'batch_processor_bucket',
|
155
|
-
:'
|
173
|
+
:'enable_opus_fec' => :'enable_opus_fec',
|
174
|
+
:'pinless_dialin' => :'pinless_dialin',
|
175
|
+
:'pin_dialin' => :'pin_dialin'
|
156
176
|
}
|
157
177
|
end
|
158
178
|
|
@@ -171,6 +191,7 @@ module Daily
|
|
171
191
|
:'enable_hand_raising' => :'Boolean',
|
172
192
|
:'enable_prejoin_ui' => :'Boolean',
|
173
193
|
:'enable_breakout_rooms' => :'Boolean',
|
194
|
+
:'enable_live_captions_ui' => :'Boolean',
|
174
195
|
:'enable_network_ui' => :'Boolean',
|
175
196
|
:'enable_noise_cancellation_ui' => :'Boolean',
|
176
197
|
:'enable_video_processing_ui' => :'Boolean',
|
@@ -189,10 +210,14 @@ module Daily
|
|
189
210
|
:'recordings_template' => :'String',
|
190
211
|
:'enable_mesh_sfu' => :'Boolean',
|
191
212
|
:'sfu_switchover' => :'Float',
|
213
|
+
:'enable_adaptive_simulcast' => :'Boolean',
|
214
|
+
:'enforce_unique_user_ids' => :'Boolean',
|
192
215
|
:'recordings_bucket' => :'RecordingsBucket',
|
193
216
|
:'permissions' => :'Permissions',
|
194
217
|
:'batch_processor_bucket' => :'Object',
|
195
|
-
:'
|
218
|
+
:'enable_opus_fec' => :'Boolean',
|
219
|
+
:'pinless_dialin' => :'Array<PinlessDialinInner>',
|
220
|
+
:'pin_dialin' => :'Array<PinDialinInner>'
|
196
221
|
}
|
197
222
|
end
|
198
223
|
|
@@ -259,6 +284,12 @@ module Daily
|
|
259
284
|
self.enable_breakout_rooms = false
|
260
285
|
end
|
261
286
|
|
287
|
+
if attributes.key?(:'enable_live_captions_ui')
|
288
|
+
self.enable_live_captions_ui = attributes[:'enable_live_captions_ui']
|
289
|
+
else
|
290
|
+
self.enable_live_captions_ui = false
|
291
|
+
end
|
292
|
+
|
262
293
|
if attributes.key?(:'enable_network_ui')
|
263
294
|
self.enable_network_ui = attributes[:'enable_network_ui']
|
264
295
|
else
|
@@ -356,7 +387,19 @@ module Daily
|
|
356
387
|
if attributes.key?(:'sfu_switchover')
|
357
388
|
self.sfu_switchover = attributes[:'sfu_switchover']
|
358
389
|
else
|
359
|
-
self.sfu_switchover =
|
390
|
+
self.sfu_switchover = 0.5
|
391
|
+
end
|
392
|
+
|
393
|
+
if attributes.key?(:'enable_adaptive_simulcast')
|
394
|
+
self.enable_adaptive_simulcast = attributes[:'enable_adaptive_simulcast']
|
395
|
+
else
|
396
|
+
self.enable_adaptive_simulcast = true
|
397
|
+
end
|
398
|
+
|
399
|
+
if attributes.key?(:'enforce_unique_user_ids')
|
400
|
+
self.enforce_unique_user_ids = attributes[:'enforce_unique_user_ids']
|
401
|
+
else
|
402
|
+
self.enforce_unique_user_ids = false
|
360
403
|
end
|
361
404
|
|
362
405
|
if attributes.key?(:'recordings_bucket')
|
@@ -371,10 +414,20 @@ module Daily
|
|
371
414
|
self.batch_processor_bucket = attributes[:'batch_processor_bucket']
|
372
415
|
end
|
373
416
|
|
374
|
-
if attributes.key?(:'
|
375
|
-
self.
|
376
|
-
|
377
|
-
|
417
|
+
if attributes.key?(:'enable_opus_fec')
|
418
|
+
self.enable_opus_fec = attributes[:'enable_opus_fec']
|
419
|
+
end
|
420
|
+
|
421
|
+
if attributes.key?(:'pinless_dialin')
|
422
|
+
if (value = attributes[:'pinless_dialin']).is_a?(Array)
|
423
|
+
self.pinless_dialin = value
|
424
|
+
end
|
425
|
+
end
|
426
|
+
|
427
|
+
if attributes.key?(:'pin_dialin')
|
428
|
+
if (value = attributes[:'pin_dialin']).is_a?(Array)
|
429
|
+
self.pin_dialin = value
|
430
|
+
end
|
378
431
|
end
|
379
432
|
end
|
380
433
|
|
@@ -390,7 +443,7 @@ module Daily
|
|
390
443
|
# @return true if the model is valid
|
391
444
|
def valid?
|
392
445
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
393
|
-
lang_validator = EnumAttributeValidator.new('String', ["de", "en", "es", "fi", "fr", "it", "jp", "ka", "nl", "no", "pt", "pt-BR", "pl", "ru", "sv", "tr", "user"])
|
446
|
+
lang_validator = EnumAttributeValidator.new('String', ["da", "de", "en", "es", "fi", "fr", "it", "jp", "ka", "nl", "no", "pt", "pt-BR", "pl", "ru", "sv", "tr", "user", "unknown_default_open_api"])
|
394
447
|
return false unless lang_validator.valid?(@lang)
|
395
448
|
true
|
396
449
|
end
|
@@ -398,7 +451,7 @@ module Daily
|
|
398
451
|
# Custom attribute writer method checking allowed values (enum).
|
399
452
|
# @param [Object] lang Object to be assigned
|
400
453
|
def lang=(lang)
|
401
|
-
validator = EnumAttributeValidator.new('String', ["de", "en", "es", "fi", "fr", "it", "jp", "ka", "nl", "no", "pt", "pt-BR", "pl", "ru", "sv", "tr", "user"])
|
454
|
+
validator = EnumAttributeValidator.new('String', ["da", "de", "en", "es", "fi", "fr", "it", "jp", "ka", "nl", "no", "pt", "pt-BR", "pl", "ru", "sv", "tr", "user", "unknown_default_open_api"])
|
402
455
|
unless validator.valid?(lang)
|
403
456
|
fail ArgumentError, "invalid value for \"lang\", must be one of #{validator.allowable_values}."
|
404
457
|
end
|
@@ -417,6 +470,7 @@ module Daily
|
|
417
470
|
enable_hand_raising == o.enable_hand_raising &&
|
418
471
|
enable_prejoin_ui == o.enable_prejoin_ui &&
|
419
472
|
enable_breakout_rooms == o.enable_breakout_rooms &&
|
473
|
+
enable_live_captions_ui == o.enable_live_captions_ui &&
|
420
474
|
enable_network_ui == o.enable_network_ui &&
|
421
475
|
enable_noise_cancellation_ui == o.enable_noise_cancellation_ui &&
|
422
476
|
enable_video_processing_ui == o.enable_video_processing_ui &&
|
@@ -435,10 +489,14 @@ module Daily
|
|
435
489
|
recordings_template == o.recordings_template &&
|
436
490
|
enable_mesh_sfu == o.enable_mesh_sfu &&
|
437
491
|
sfu_switchover == o.sfu_switchover &&
|
492
|
+
enable_adaptive_simulcast == o.enable_adaptive_simulcast &&
|
493
|
+
enforce_unique_user_ids == o.enforce_unique_user_ids &&
|
438
494
|
recordings_bucket == o.recordings_bucket &&
|
439
495
|
permissions == o.permissions &&
|
440
496
|
batch_processor_bucket == o.batch_processor_bucket &&
|
441
|
-
|
497
|
+
enable_opus_fec == o.enable_opus_fec &&
|
498
|
+
pinless_dialin == o.pinless_dialin &&
|
499
|
+
pin_dialin == o.pin_dialin
|
442
500
|
end
|
443
501
|
|
444
502
|
# @see the `==` method
|
@@ -450,7 +508,7 @@ module Daily
|
|
450
508
|
# Calculates hash code according to all attributes.
|
451
509
|
# @return [Integer] Hash code
|
452
510
|
def hash
|
453
|
-
[enable_advanced_chat, enable_people_ui, enable_pip_ui, enable_emoji_reactions, enable_hand_raising, enable_prejoin_ui, enable_breakout_rooms, enable_network_ui, enable_noise_cancellation_ui, enable_video_processing_ui, hide_daily_branding, redirect_on_meeting_exit, hipaa, intercom_auto_record, lang, meeting_join_hook, geo, rtmp_geo, disable_rtmp_geo_fallback, enable_terse_logging, enable_transcription_storage, transcription_bucket, recordings_template, enable_mesh_sfu, sfu_switchover, recordings_bucket, permissions, batch_processor_bucket,
|
511
|
+
[enable_advanced_chat, enable_people_ui, enable_pip_ui, enable_emoji_reactions, enable_hand_raising, enable_prejoin_ui, enable_breakout_rooms, enable_live_captions_ui, enable_network_ui, enable_noise_cancellation_ui, enable_video_processing_ui, hide_daily_branding, redirect_on_meeting_exit, hipaa, intercom_auto_record, lang, meeting_join_hook, geo, rtmp_geo, disable_rtmp_geo_fallback, enable_terse_logging, enable_transcription_storage, transcription_bucket, recordings_template, enable_mesh_sfu, sfu_switchover, enable_adaptive_simulcast, enforce_unique_user_ids, recordings_bucket, permissions, batch_processor_bucket, enable_opus_fec, pinless_dialin, pin_dialin].hash
|
454
512
|
end
|
455
513
|
|
456
514
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.1.1
|
7
7
|
Contact: help@daily.co
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.8.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -15,13 +15,21 @@ require 'time'
|
|
15
15
|
|
16
16
|
module Daily
|
17
17
|
class EjectRequest
|
18
|
-
#
|
18
|
+
# List of participant ids (max 100) to eject from the existing meeting session.
|
19
19
|
attr_accessor :ids
|
20
20
|
|
21
|
+
# List of user_ids (max 100) to eject from the existing meeting session.
|
22
|
+
attr_accessor :user_ids
|
23
|
+
|
24
|
+
# If true, participants are prevented from (re)joining with the given user_ids.
|
25
|
+
attr_accessor :ban
|
26
|
+
|
21
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
22
28
|
def self.attribute_map
|
23
29
|
{
|
24
|
-
:'ids' => :'ids'
|
30
|
+
:'ids' => :'ids',
|
31
|
+
:'user_ids' => :'user_ids',
|
32
|
+
:'ban' => :'ban'
|
25
33
|
}
|
26
34
|
end
|
27
35
|
|
@@ -33,7 +41,9 @@ module Daily
|
|
33
41
|
# Attribute type mapping.
|
34
42
|
def self.openapi_types
|
35
43
|
{
|
36
|
-
:'ids' => :'Array<String>'
|
44
|
+
:'ids' => :'Array<String>',
|
45
|
+
:'user_ids' => :'Array<String>',
|
46
|
+
:'ban' => :'Boolean'
|
37
47
|
}
|
38
48
|
end
|
39
49
|
|
@@ -63,6 +73,18 @@ module Daily
|
|
63
73
|
self.ids = value
|
64
74
|
end
|
65
75
|
end
|
76
|
+
|
77
|
+
if attributes.key?(:'user_ids')
|
78
|
+
if (value = attributes[:'user_ids']).is_a?(Array)
|
79
|
+
self.user_ids = value
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
if attributes.key?(:'ban')
|
84
|
+
self.ban = attributes[:'ban']
|
85
|
+
else
|
86
|
+
self.ban = false
|
87
|
+
end
|
66
88
|
end
|
67
89
|
|
68
90
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -85,7 +107,9 @@ module Daily
|
|
85
107
|
def ==(o)
|
86
108
|
return true if self.equal?(o)
|
87
109
|
self.class == o.class &&
|
88
|
-
ids == o.ids
|
110
|
+
ids == o.ids &&
|
111
|
+
user_ids == o.user_ids &&
|
112
|
+
ban == o.ban
|
89
113
|
end
|
90
114
|
|
91
115
|
# @see the `==` method
|
@@ -97,7 +121,7 @@ module Daily
|
|
97
121
|
# Calculates hash code according to all attributes.
|
98
122
|
# @return [Integer] Hash code
|
99
123
|
def hash
|
100
|
-
[ids].hash
|
124
|
+
[ids, user_ids, ban].hash
|
101
125
|
end
|
102
126
|
|
103
127
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: 1.1.1
|
7
7
|
Contact: help@daily.co
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.8.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -47,6 +47,8 @@ module Daily
|
|
47
47
|
|
48
48
|
attr_accessor :enable_prejoin_ui
|
49
49
|
|
50
|
+
attr_accessor :enable_live_captions_ui
|
51
|
+
|
50
52
|
attr_accessor :enable_network_ui
|
51
53
|
|
52
54
|
attr_accessor :disable_rate_limiting
|
@@ -72,6 +74,7 @@ module Daily
|
|
72
74
|
:'max_streaming_instances_per_room' => :'max_streaming_instances_per_room',
|
73
75
|
:'enable_daily_logger' => :'enable_daily_logger',
|
74
76
|
:'enable_prejoin_ui' => :'enable_prejoin_ui',
|
77
|
+
:'enable_live_captions_ui' => :'enable_live_captions_ui',
|
75
78
|
:'enable_network_ui' => :'enable_network_ui',
|
76
79
|
:'disable_rate_limiting' => :'disable_rate_limiting',
|
77
80
|
:'attach_callobject_to_window' => :'attach_callobject_to_window'
|
@@ -102,6 +105,7 @@ module Daily
|
|
102
105
|
:'max_streaming_instances_per_room' => :'Float',
|
103
106
|
:'enable_daily_logger' => :'Boolean',
|
104
107
|
:'enable_prejoin_ui' => :'Boolean',
|
108
|
+
:'enable_live_captions_ui' => :'Boolean',
|
105
109
|
:'enable_network_ui' => :'Boolean',
|
106
110
|
:'disable_rate_limiting' => :'Boolean',
|
107
111
|
:'attach_callobject_to_window' => :'Boolean'
|
@@ -193,6 +197,10 @@ module Daily
|
|
193
197
|
self.enable_prejoin_ui = attributes[:'enable_prejoin_ui']
|
194
198
|
end
|
195
199
|
|
200
|
+
if attributes.key?(:'enable_live_captions_ui')
|
201
|
+
self.enable_live_captions_ui = attributes[:'enable_live_captions_ui']
|
202
|
+
end
|
203
|
+
|
196
204
|
if attributes.key?(:'enable_network_ui')
|
197
205
|
self.enable_network_ui = attributes[:'enable_network_ui']
|
198
206
|
end
|
@@ -261,6 +269,7 @@ module Daily
|
|
261
269
|
max_streaming_instances_per_room == o.max_streaming_instances_per_room &&
|
262
270
|
enable_daily_logger == o.enable_daily_logger &&
|
263
271
|
enable_prejoin_ui == o.enable_prejoin_ui &&
|
272
|
+
enable_live_captions_ui == o.enable_live_captions_ui &&
|
264
273
|
enable_network_ui == o.enable_network_ui &&
|
265
274
|
disable_rate_limiting == o.disable_rate_limiting &&
|
266
275
|
attach_callobject_to_window == o.attach_callobject_to_window
|
@@ -275,7 +284,7 @@ module Daily
|
|
275
284
|
# Calculates hash code according to all attributes.
|
276
285
|
# @return [Integer] Hash code
|
277
286
|
def hash
|
278
|
-
[hide_daily_branding, redirect_on_meeting_exit, meeting_join_hook, hipaa, intercom_auto_record, intercom_manual_record, sfu_impl, sfu_switchover, switchover_impl, lang, webhook_meeting_end, recordings_bucket, max_live_streams, max_streaming_instances_per_room, enable_daily_logger, enable_prejoin_ui, enable_network_ui, disable_rate_limiting, attach_callobject_to_window].hash
|
287
|
+
[hide_daily_branding, redirect_on_meeting_exit, meeting_join_hook, hipaa, intercom_auto_record, intercom_manual_record, sfu_impl, sfu_switchover, switchover_impl, lang, webhook_meeting_end, recordings_bucket, max_live_streams, max_streaming_instances_per_room, enable_daily_logger, enable_prejoin_ui, enable_live_captions_ui, enable_network_ui, disable_rate_limiting, attach_callobject_to_window].hash
|
279
288
|
end
|
280
289
|
|
281
290
|
# Builds the object from hash
|