Class: Daily::RoomRequestProperties
- Inherits:
-
Object
- Object
- Daily::RoomRequestProperties
- Defined in:
- lib/daily-ruby/models/room_request_properties.rb
Defined Under Namespace
Classes: EnumAttributeValidator
Instance Attribute Summary collapse
-
#eject_after_elapsed ⇒ Object
Returns the value of attribute eject_after_elapsed.
-
#eject_at_room_exp ⇒ Object
Returns the value of attribute eject_at_room_exp.
-
#enable_advanced_chat ⇒ Object
Returns the value of attribute enable_advanced_chat.
-
#enable_breakout_rooms ⇒ Object
Returns the value of attribute enable_breakout_rooms.
-
#enable_chat ⇒ Object
Returns the value of attribute enable_chat.
-
#enable_emoji_reactions ⇒ Object
Returns the value of attribute enable_emoji_reactions.
-
#enable_hand_raising ⇒ Object
Returns the value of attribute enable_hand_raising.
-
#enable_hidden_participants ⇒ Object
Returns the value of attribute enable_hidden_participants.
-
#enable_knocking ⇒ Object
Returns the value of attribute enable_knocking.
-
#enable_live_captions_ui ⇒ Object
Returns the value of attribute enable_live_captions_ui.
-
#enable_mesh_sfu ⇒ Object
Returns the value of attribute enable_mesh_sfu.
-
#enable_network_ui ⇒ Object
Returns the value of attribute enable_network_ui.
-
#enable_noise_cancellation_ui ⇒ Object
Returns the value of attribute enable_noise_cancellation_ui.
-
#enable_people_ui ⇒ Object
Returns the value of attribute enable_people_ui.
-
#enable_pip_ui ⇒ Object
Returns the value of attribute enable_pip_ui.
-
#enable_prejoin_ui ⇒ Object
Returns the value of attribute enable_prejoin_ui.
-
#enable_recording ⇒ Object
Returns the value of attribute enable_recording.
-
#enable_screenshare ⇒ Object
Returns the value of attribute enable_screenshare.
-
#enable_video_processing_ui ⇒ Object
Returns the value of attribute enable_video_processing_ui.
-
#exp ⇒ Object
Returns the value of attribute exp.
-
#experimental_optimize_large_calls ⇒ Object
Returns the value of attribute experimental_optimize_large_calls.
-
#geo ⇒ Object
Returns the value of attribute geo.
-
#lang ⇒ Object
Returns the value of attribute lang.
-
#max_participants ⇒ Object
Returns the value of attribute max_participants.
-
#meeting_join_hook ⇒ Object
Returns the value of attribute meeting_join_hook.
-
#nbf ⇒ Object
Returns the value of attribute nbf.
-
#owner_only_broadcast ⇒ Object
Returns the value of attribute owner_only_broadcast.
-
#sfu_switchover ⇒ Object
Returns the value of attribute sfu_switchover.
-
#start_audio_off ⇒ Object
Returns the value of attribute start_audio_off.
-
#start_video_off ⇒ Object
Returns the value of attribute start_video_off.
Class Method Summary collapse
-
._deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about.
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.build_from_hash(attributes) ⇒ Object
Builds the object from hash.
-
.openapi_nullable ⇒ Object
List of attributes with nullable: true.
-
.openapi_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Integer
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ RoomRequestProperties
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ RoomRequestProperties
Initializes the object
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 185 def initialize(attributes = {}) if (!attributes.is_a?(Hash)) fail ArgumentError, "The input argument (attributes) must be a hash in `Daily::RoomRequestProperties` initialize method" end # check to see if the attribute exists and convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| if (!self.class.attribute_map.key?(k.to_sym)) fail ArgumentError, "`#{k}` is not a valid attribute in `Daily::RoomRequestProperties`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect end h[k.to_sym] = v } if attributes.key?(:'nbf') self.nbf = attributes[:'nbf'] end if attributes.key?(:'exp') self.exp = attributes[:'exp'] end if attributes.key?(:'max_participants') self.max_participants = attributes[:'max_participants'] end if attributes.key?(:'enable_people_ui') self.enable_people_ui = attributes[:'enable_people_ui'] end if attributes.key?(:'enable_pip_ui') self.enable_pip_ui = attributes[:'enable_pip_ui'] end if attributes.key?(:'enable_emoji_reactions') self.enable_emoji_reactions = attributes[:'enable_emoji_reactions'] end if attributes.key?(:'enable_hand_raising') self.enable_hand_raising = attributes[:'enable_hand_raising'] end if attributes.key?(:'enable_prejoin_ui') self.enable_prejoin_ui = attributes[:'enable_prejoin_ui'] end if attributes.key?(:'enable_live_captions_ui') self.enable_live_captions_ui = attributes[:'enable_live_captions_ui'] end if attributes.key?(:'enable_network_ui') self.enable_network_ui = attributes[:'enable_network_ui'] end if attributes.key?(:'enable_noise_cancellation_ui') self.enable_noise_cancellation_ui = attributes[:'enable_noise_cancellation_ui'] end if attributes.key?(:'enable_breakout_rooms') self.enable_breakout_rooms = attributes[:'enable_breakout_rooms'] end if attributes.key?(:'enable_knocking') self.enable_knocking = attributes[:'enable_knocking'] end if attributes.key?(:'enable_screenshare') self.enable_screenshare = attributes[:'enable_screenshare'] end if attributes.key?(:'enable_video_processing_ui') self.enable_video_processing_ui = attributes[:'enable_video_processing_ui'] end if attributes.key?(:'enable_chat') self.enable_chat = attributes[:'enable_chat'] end if attributes.key?(:'start_video_off') self.start_video_off = attributes[:'start_video_off'] end if attributes.key?(:'start_audio_off') self.start_audio_off = attributes[:'start_audio_off'] end if attributes.key?(:'owner_only_broadcast') self.owner_only_broadcast = attributes[:'owner_only_broadcast'] end if attributes.key?(:'enable_recording') self.enable_recording = attributes[:'enable_recording'] end if attributes.key?(:'eject_at_room_exp') self.eject_at_room_exp = attributes[:'eject_at_room_exp'] end if attributes.key?(:'eject_after_elapsed') self.eject_after_elapsed = attributes[:'eject_after_elapsed'] end if attributes.key?(:'enable_advanced_chat') self.enable_advanced_chat = attributes[:'enable_advanced_chat'] end if attributes.key?(:'enable_hidden_participants') self.enable_hidden_participants = attributes[:'enable_hidden_participants'] end if attributes.key?(:'enable_mesh_sfu') self.enable_mesh_sfu = attributes[:'enable_mesh_sfu'] end if attributes.key?(:'sfu_switchover') self.sfu_switchover = attributes[:'sfu_switchover'] end if attributes.key?(:'experimental_optimize_large_calls') self.experimental_optimize_large_calls = attributes[:'experimental_optimize_large_calls'] end if attributes.key?(:'lang') self.lang = attributes[:'lang'] end if attributes.key?(:'meeting_join_hook') self.meeting_join_hook = attributes[:'meeting_join_hook'] end if attributes.key?(:'geo') self.geo = attributes[:'geo'] end end |
Instance Attribute Details
#eject_after_elapsed ⇒ Object
Returns the value of attribute eject_after_elapsed.
60 61 62 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 60 def eject_after_elapsed @eject_after_elapsed end |
#eject_at_room_exp ⇒ Object
Returns the value of attribute eject_at_room_exp.
58 59 60 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 58 def eject_at_room_exp @eject_at_room_exp end |
#enable_advanced_chat ⇒ Object
Returns the value of attribute enable_advanced_chat.
62 63 64 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 62 def enable_advanced_chat @enable_advanced_chat end |
#enable_breakout_rooms ⇒ Object
Returns the value of attribute enable_breakout_rooms.
40 41 42 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 40 def enable_breakout_rooms @enable_breakout_rooms end |
#enable_chat ⇒ Object
Returns the value of attribute enable_chat.
48 49 50 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 48 def enable_chat @enable_chat end |
#enable_emoji_reactions ⇒ Object
Returns the value of attribute enable_emoji_reactions.
28 29 30 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 28 def enable_emoji_reactions @enable_emoji_reactions end |
#enable_hand_raising ⇒ Object
Returns the value of attribute enable_hand_raising.
30 31 32 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 30 def enable_hand_raising @enable_hand_raising end |
#enable_hidden_participants ⇒ Object
Returns the value of attribute enable_hidden_participants.
64 65 66 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 64 def enable_hidden_participants @enable_hidden_participants end |
#enable_knocking ⇒ Object
Returns the value of attribute enable_knocking.
42 43 44 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 42 def enable_knocking @enable_knocking end |
#enable_live_captions_ui ⇒ Object
Returns the value of attribute enable_live_captions_ui.
34 35 36 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 34 def enable_live_captions_ui @enable_live_captions_ui end |
#enable_mesh_sfu ⇒ Object
Returns the value of attribute enable_mesh_sfu.
66 67 68 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 66 def enable_mesh_sfu @enable_mesh_sfu end |
#enable_network_ui ⇒ Object
Returns the value of attribute enable_network_ui.
36 37 38 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 36 def enable_network_ui @enable_network_ui end |
#enable_noise_cancellation_ui ⇒ Object
Returns the value of attribute enable_noise_cancellation_ui.
38 39 40 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 38 def enable_noise_cancellation_ui @enable_noise_cancellation_ui end |
#enable_people_ui ⇒ Object
Returns the value of attribute enable_people_ui.
24 25 26 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 24 def enable_people_ui @enable_people_ui end |
#enable_pip_ui ⇒ Object
Returns the value of attribute enable_pip_ui.
26 27 28 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 26 def enable_pip_ui @enable_pip_ui end |
#enable_prejoin_ui ⇒ Object
Returns the value of attribute enable_prejoin_ui.
32 33 34 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 32 def enable_prejoin_ui @enable_prejoin_ui end |
#enable_recording ⇒ Object
Returns the value of attribute enable_recording.
56 57 58 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 56 def enable_recording @enable_recording end |
#enable_screenshare ⇒ Object
Returns the value of attribute enable_screenshare.
44 45 46 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 44 def enable_screenshare @enable_screenshare end |
#enable_video_processing_ui ⇒ Object
Returns the value of attribute enable_video_processing_ui.
46 47 48 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 46 def enable_video_processing_ui @enable_video_processing_ui end |
#exp ⇒ Object
Returns the value of attribute exp.
20 21 22 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 20 def exp @exp end |
#experimental_optimize_large_calls ⇒ Object
Returns the value of attribute experimental_optimize_large_calls.
70 71 72 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 70 def experimental_optimize_large_calls @experimental_optimize_large_calls end |
#geo ⇒ Object
Returns the value of attribute geo.
76 77 78 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 76 def geo @geo end |
#lang ⇒ Object
Returns the value of attribute lang.
72 73 74 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 72 def lang @lang end |
#max_participants ⇒ Object
Returns the value of attribute max_participants.
22 23 24 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 22 def max_participants @max_participants end |
#meeting_join_hook ⇒ Object
Returns the value of attribute meeting_join_hook.
74 75 76 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 74 def meeting_join_hook @meeting_join_hook end |
#nbf ⇒ Object
Returns the value of attribute nbf.
18 19 20 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 18 def nbf @nbf end |
#owner_only_broadcast ⇒ Object
Returns the value of attribute owner_only_broadcast.
54 55 56 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 54 def owner_only_broadcast @owner_only_broadcast end |
#sfu_switchover ⇒ Object
Returns the value of attribute sfu_switchover.
68 69 70 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 68 def sfu_switchover @sfu_switchover end |
#start_audio_off ⇒ Object
Returns the value of attribute start_audio_off.
52 53 54 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 52 def start_audio_off @start_audio_off end |
#start_video_off ⇒ Object
Returns the value of attribute start_video_off.
50 51 52 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 50 def start_video_off @start_video_off end |
Class Method Details
._deserialize(type, value) ⇒ Object
Deserializes the data based on type
434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 434 def self._deserialize(type, value) case type.to_sym when :Time Time.parse(value) when :Date Date.parse(value) when :String value.to_s when :Integer value.to_i when :Float value.to_f when :Boolean if value.to_s =~ /\A(true|t|yes|y|1)\z/i true else false end when :Object # generic object (usually a Hash), return directly value when /\AArray<(?<inner_type>.+)>\z/ inner_type = Regexp.last_match[:inner_type] value.map { |v| _deserialize(inner_type, v) } when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/ k_type = Regexp.last_match[:k_type] v_type = Regexp.last_match[:v_type] {}.tap do |hash| value.each do |k, v| hash[_deserialize(k_type, k)] = _deserialize(v_type, v) end end else # model # models (e.g. Pet) or oneOf klass = Daily.const_get(type) klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value) end end |
.acceptable_attributes ⇒ Object
Returns all the JSON keys this model knows about
137 138 139 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 137 def self.acceptable_attributes attribute_map.values end |
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 101 def self.attribute_map { :'nbf' => :'nbf', :'exp' => :'exp', :'max_participants' => :'max_participants', :'enable_people_ui' => :'enable_people_ui', :'enable_pip_ui' => :'enable_pip_ui', :'enable_emoji_reactions' => :'enable_emoji_reactions', :'enable_hand_raising' => :'enable_hand_raising', :'enable_prejoin_ui' => :'enable_prejoin_ui', :'enable_live_captions_ui' => :'enable_live_captions_ui', :'enable_network_ui' => :'enable_network_ui', :'enable_noise_cancellation_ui' => :'enable_noise_cancellation_ui', :'enable_breakout_rooms' => :'enable_breakout_rooms', :'enable_knocking' => :'enable_knocking', :'enable_screenshare' => :'enable_screenshare', :'enable_video_processing_ui' => :'enable_video_processing_ui', :'enable_chat' => :'enable_chat', :'start_video_off' => :'start_video_off', :'start_audio_off' => :'start_audio_off', :'owner_only_broadcast' => :'owner_only_broadcast', :'enable_recording' => :'enable_recording', :'eject_at_room_exp' => :'eject_at_room_exp', :'eject_after_elapsed' => :'eject_after_elapsed', :'enable_advanced_chat' => :'enable_advanced_chat', :'enable_hidden_participants' => :'enable_hidden_participants', :'enable_mesh_sfu' => :'enable_mesh_sfu', :'sfu_switchover' => :'sfu_switchover', :'experimental_optimize_large_calls' => :'experimental_optimize_large_calls', :'lang' => :'lang', :'meeting_join_hook' => :'meeting_join_hook', :'geo' => :'geo' } end |
.build_from_hash(attributes) ⇒ Object
Builds the object from hash
410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 410 def self.build_from_hash(attributes) return nil unless attributes.is_a?(Hash) attributes = attributes.transform_keys(&:to_sym) transformed_hash = {} openapi_types.each_pair do |key, type| if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil? transformed_hash["#{key}"] = nil elsif type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the attribute # is documented as an array but the input is not if attributes[attribute_map[key]].is_a?(Array) transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) } end elsif !attributes[attribute_map[key]].nil? transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]]) end end new(transformed_hash) end |
.openapi_nullable ⇒ Object
List of attributes with nullable: true
178 179 180 181 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 178 def self.openapi_nullable Set.new([ ]) end |
.openapi_types ⇒ Object
Attribute type mapping.
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 142 def self.openapi_types { :'nbf' => :'Integer', :'exp' => :'Integer', :'max_participants' => :'Integer', :'enable_people_ui' => :'Boolean', :'enable_pip_ui' => :'Boolean', :'enable_emoji_reactions' => :'Boolean', :'enable_hand_raising' => :'Boolean', :'enable_prejoin_ui' => :'Boolean', :'enable_live_captions_ui' => :'Boolean', :'enable_network_ui' => :'Boolean', :'enable_noise_cancellation_ui' => :'Boolean', :'enable_breakout_rooms' => :'Boolean', :'enable_knocking' => :'Boolean', :'enable_screenshare' => :'Boolean', :'enable_video_processing_ui' => :'Boolean', :'enable_chat' => :'Boolean', :'start_video_off' => :'Boolean', :'start_audio_off' => :'Boolean', :'owner_only_broadcast' => :'Boolean', :'enable_recording' => :'String', :'eject_at_room_exp' => :'Boolean', :'eject_after_elapsed' => :'Boolean', :'enable_advanced_chat' => :'Boolean', :'enable_hidden_participants' => :'Boolean', :'enable_mesh_sfu' => :'Boolean', :'sfu_switchover' => :'Float', :'experimental_optimize_large_calls' => :'Boolean', :'lang' => :'String', :'meeting_join_hook' => :'String', :'geo' => :'String' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 360 def ==(o) return true if self.equal?(o) self.class == o.class && nbf == o.nbf && exp == o.exp && max_participants == o.max_participants && enable_people_ui == o.enable_people_ui && enable_pip_ui == o.enable_pip_ui && enable_emoji_reactions == o.enable_emoji_reactions && enable_hand_raising == o.enable_hand_raising && enable_prejoin_ui == o.enable_prejoin_ui && enable_live_captions_ui == o.enable_live_captions_ui && enable_network_ui == o.enable_network_ui && enable_noise_cancellation_ui == o.enable_noise_cancellation_ui && enable_breakout_rooms == o.enable_breakout_rooms && enable_knocking == o.enable_knocking && enable_screenshare == o.enable_screenshare && enable_video_processing_ui == o.enable_video_processing_ui && enable_chat == o.enable_chat && start_video_off == o.start_video_off && start_audio_off == o.start_audio_off && owner_only_broadcast == o.owner_only_broadcast && enable_recording == o.enable_recording && eject_at_room_exp == o.eject_at_room_exp && eject_after_elapsed == o.eject_after_elapsed && enable_advanced_chat == o.enable_advanced_chat && enable_hidden_participants == o.enable_hidden_participants && enable_mesh_sfu == o.enable_mesh_sfu && sfu_switchover == o.sfu_switchover && experimental_optimize_large_calls == o.experimental_optimize_large_calls && lang == o.lang && meeting_join_hook == o.meeting_join_hook && geo == o.geo end |
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value
505 506 507 508 509 510 511 512 513 514 515 516 517 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 505 def _to_hash(value) if value.is_a?(Array) value.compact.map { |v| _to_hash(v) } elsif value.is_a?(Hash) {}.tap do |hash| value.each { |k, v| hash[k] = _to_hash(v) } end elsif value.respond_to? :to_hash value.to_hash else value end end |
#eql?(o) ⇒ Boolean
397 398 399 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 397 def eql?(o) self == o end |
#hash ⇒ Integer
Calculates hash code according to all attributes.
403 404 405 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 403 def hash [nbf, exp, max_participants, enable_people_ui, enable_pip_ui, enable_emoji_reactions, enable_hand_raising, enable_prejoin_ui, enable_live_captions_ui, enable_network_ui, enable_noise_cancellation_ui, enable_breakout_rooms, enable_knocking, enable_screenshare, enable_video_processing_ui, enable_chat, start_video_off, start_audio_off, owner_only_broadcast, enable_recording, eject_at_room_exp, eject_after_elapsed, enable_advanced_chat, enable_hidden_participants, enable_mesh_sfu, sfu_switchover, experimental_optimize_large_calls, lang, meeting_join_hook, geo].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
321 322 323 324 325 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 321 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
481 482 483 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 481 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
487 488 489 490 491 492 493 494 495 496 497 498 499 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 487 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = self.send(attr) if value.nil? is_nullable = self.class.openapi_nullable.include?(attr) next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}")) end hash[param] = _to_hash(value) end hash end |
#to_s ⇒ String
Returns the string representation of the object
475 476 477 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 475 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
329 330 331 332 333 334 335 336 |
# File 'lib/daily-ruby/models/room_request_properties.rb', line 329 def valid? warn '[DEPRECATED] the `valid?` method is obsolete' enable_recording_validator = EnumAttributeValidator.new('String', ["local", "cloud", "raw-tracks", "unknown_default_open_api"]) return false unless enable_recording_validator.valid?(@enable_recording) lang_validator = EnumAttributeValidator.new('String', ["de", "en", "es", "fi", "fr", "it", "jp", "ka", "nl", "no", "pt", "pt-BR", "pl", "ru", "sv", "tr", "user", "unknown_default_open_api"]) return false unless lang_validator.valid?(@lang) true end |