Class: ZoomUs::Models::InlineResponse20110Settings
- Inherits:
-
Object
- Object
- ZoomUs::Models::InlineResponse20110Settings
- Defined in:
- lib/zoom_us/models/inline_response_201_10_settings.rb
Overview
Meeting settings.
Defined Under Namespace
Classes: EnumAttributeValidator
Instance Attribute Summary collapse
-
#alternative_hosts ⇒ Object
Alternative host’s emails or IDs: multiple values separated by a comma.
-
#approval_type ⇒ Object
‘0` - Automatically approve.
`1` - Manually approve.
`2` - No registration required. -
#audio ⇒ Object
Determine how participants can join the audio portion of the meeting.
‘both` - Both Telephony and VoIP.
`telephony` - Telephony only.
`voip` - VoIP only. -
#authentication_domains ⇒ Object
Meeting authentication_domains.
-
#authentication_option ⇒ Object
Meeting authentication option id.
-
#auto_recording ⇒ Object
Automatic recording:
‘local` - Record on local.
`cloud` - Record on cloud.
`none` - Disabled. -
#close_registration ⇒ Object
Close registration after event date.
-
#cn_meeting ⇒ Object
Host meeting in China.
-
#contact_email ⇒ Object
Contact email for registration.
-
#contact_name ⇒ Object
Contact name for registration.
-
#enforce_login ⇒ Object
Only signed in users can join this meeting.
-
#enforce_login_domains ⇒ Object
Only signed in users with specified domains can join meetings.
-
#global_dial_in_countries ⇒ Object
List of global dial-in countries.
-
#global_dial_in_numbers ⇒ Object
Global Dial-in Countries/Regions.
-
#host_video ⇒ Object
Start video when the host joins the meeting.
-
#in_meeting ⇒ Object
Host meeting in India.
-
#join_before_host ⇒ Object
Allow participants to join the meeting before the host starts the meeting.
-
#meeting_authentication ⇒ Object
Only authenticated users can join meetings.
-
#mute_upon_entry ⇒ Object
Mute participants upon entry.
-
#participant_video ⇒ Object
Start video when participants join the meeting.
-
#registrants_confirmation_email ⇒ Object
Send confirmation email to registrants.
-
#registrants_email_notification ⇒ Object
registrants email notification.
-
#registration_type ⇒ Object
Registration type.
-
#use_pmi ⇒ Object
Use a personal meeting ID.
-
#waiting_room ⇒ Object
Enable waiting room.
-
#watermark ⇒ Object
Add watermark when viewing a shared screen.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ InlineResponse20110Settings
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 = {}) ⇒ InlineResponse20110Settings
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 318 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 185 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } if attributes.has_key?(:'host_video') self.host_video = attributes[:'host_video'] end if attributes.has_key?(:'participant_video') self.participant_video = attributes[:'participant_video'] end if attributes.has_key?(:'cn_meeting') self.cn_meeting = attributes[:'cn_meeting'] else self.cn_meeting = false end if attributes.has_key?(:'in_meeting') self.in_meeting = attributes[:'in_meeting'] else self.in_meeting = false end if attributes.has_key?(:'join_before_host') self.join_before_host = attributes[:'join_before_host'] else self.join_before_host = false end if attributes.has_key?(:'mute_upon_entry') self.mute_upon_entry = attributes[:'mute_upon_entry'] else self.mute_upon_entry = false end if attributes.has_key?(:'watermark') self.watermark = attributes[:'watermark'] else self.watermark = false end if attributes.has_key?(:'use_pmi') self.use_pmi = attributes[:'use_pmi'] else self.use_pmi = false end if attributes.has_key?(:'approval_type') self.approval_type = attributes[:'approval_type'] end if attributes.has_key?(:'registration_type') self.registration_type = attributes[:'registration_type'] end if attributes.has_key?(:'audio') self.audio = attributes[:'audio'] else self.audio = 'both' end if attributes.has_key?(:'auto_recording') self.auto_recording = attributes[:'auto_recording'] else self.auto_recording = 'none' end if attributes.has_key?(:'enforce_login') self.enforce_login = attributes[:'enforce_login'] end if attributes.has_key?(:'enforce_login_domains') self.enforce_login_domains = attributes[:'enforce_login_domains'] end if attributes.has_key?(:'alternative_hosts') self.alternative_hosts = attributes[:'alternative_hosts'] end if attributes.has_key?(:'close_registration') self.close_registration = attributes[:'close_registration'] else self.close_registration = false end if attributes.has_key?(:'waiting_room') self.waiting_room = attributes[:'waiting_room'] else self.waiting_room = false end if attributes.has_key?(:'global_dial_in_countries') if (value = attributes[:'global_dial_in_countries']).is_a?(Array) self.global_dial_in_countries = value end end if attributes.has_key?(:'global_dial_in_numbers') if (value = attributes[:'global_dial_in_numbers']).is_a?(Array) self.global_dial_in_numbers = value end end if attributes.has_key?(:'contact_name') self.contact_name = attributes[:'contact_name'] end if attributes.has_key?(:'contact_email') self.contact_email = attributes[:'contact_email'] end if attributes.has_key?(:'registrants_confirmation_email') self.registrants_confirmation_email = attributes[:'registrants_confirmation_email'] end if attributes.has_key?(:'registrants_email_notification') self.registrants_email_notification = attributes[:'registrants_email_notification'] end if attributes.has_key?(:'meeting_authentication') self.meeting_authentication = attributes[:'meeting_authentication'] end if attributes.has_key?(:'authentication_option') self.authentication_option = attributes[:'authentication_option'] end if attributes.has_key?(:'authentication_domains') self.authentication_domains = attributes[:'authentication_domains'] end end |
Instance Attribute Details
#alternative_hosts ⇒ Object
Alternative host’s emails or IDs: multiple values separated by a comma.
62 63 64 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 62 def alternative_hosts @alternative_hosts end |
#approval_type ⇒ Object
‘0` - Automatically approve.
`1` - Manually approve.
`2` - No registration required.
44 45 46 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 44 def approval_type @approval_type end |
#audio ⇒ Object
Determine how participants can join the audio portion of the meeting.
‘both` - Both Telephony and VoIP.
`telephony` - Telephony only.
`voip` - VoIP only.
50 51 52 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 50 def audio @audio end |
#authentication_domains ⇒ Object
Meeting authentication_domains
95 96 97 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 95 def authentication_domains @authentication_domains end |
#authentication_option ⇒ Object
Meeting authentication option id
92 93 94 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 92 def authentication_option @authentication_option end |
#auto_recording ⇒ Object
Automatic recording:
‘local` - Record on local.
`cloud` - Record on cloud.
`none` - Disabled.
53 54 55 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 53 def auto_recording @auto_recording end |
#close_registration ⇒ Object
Close registration after event date
65 66 67 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 65 def close_registration @close_registration end |
#cn_meeting ⇒ Object
Host meeting in China.
26 27 28 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 26 def cn_meeting @cn_meeting end |
#contact_email ⇒ Object
Contact email for registration
80 81 82 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 80 def contact_email @contact_email end |
#contact_name ⇒ Object
Contact name for registration
77 78 79 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 77 def contact_name @contact_name end |
#enforce_login ⇒ Object
Only signed in users can join this meeting.
56 57 58 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 56 def enforce_login @enforce_login end |
#enforce_login_domains ⇒ Object
Only signed in users with specified domains can join meetings.
59 60 61 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 59 def enforce_login_domains @enforce_login_domains end |
#global_dial_in_countries ⇒ Object
List of global dial-in countries
71 72 73 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 71 def global_dial_in_countries @global_dial_in_countries end |
#global_dial_in_numbers ⇒ Object
Global Dial-in Countries/Regions
74 75 76 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 74 def global_dial_in_numbers @global_dial_in_numbers end |
#host_video ⇒ Object
Start video when the host joins the meeting.
20 21 22 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 20 def host_video @host_video end |
#in_meeting ⇒ Object
Host meeting in India.
29 30 31 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 29 def in_meeting @in_meeting end |
#join_before_host ⇒ Object
Allow participants to join the meeting before the host starts the meeting. Only used for scheduled or recurring meetings.
32 33 34 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 32 def join_before_host @join_before_host end |
#meeting_authentication ⇒ Object
Only authenticated users can join meetings
89 90 91 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 89 def meeting_authentication @meeting_authentication end |
#mute_upon_entry ⇒ Object
Mute participants upon entry.
35 36 37 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 35 def mute_upon_entry @mute_upon_entry end |
#participant_video ⇒ Object
Start video when participants join the meeting.
23 24 25 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 23 def participant_video @participant_video end |
#registrants_confirmation_email ⇒ Object
Send confirmation email to registrants
83 84 85 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 83 def registrants_confirmation_email @registrants_confirmation_email end |
#registrants_email_notification ⇒ Object
registrants email notification
86 87 88 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 86 def registrants_email_notification @registrants_email_notification end |
#registration_type ⇒ Object
Registration type. Used for recurring meeting with fixed time only.
‘1` Attendees register once and can attend any of the occurrences.
`2` Attendees need to register for each occurrence to attend.
`3` Attendees register once and can choose one or more occurrences to attend.
47 48 49 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 47 def registration_type @registration_type end |
#use_pmi ⇒ Object
Use a personal meeting ID. Only used for scheduled meetings and recurring meetings with no fixed time.
41 42 43 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 41 def use_pmi @use_pmi end |
#waiting_room ⇒ Object
Enable waiting room
68 69 70 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 68 def waiting_room @waiting_room end |
#watermark ⇒ Object
Add watermark when viewing a shared screen.
38 39 40 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 38 def watermark @watermark end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 120 def self.attribute_map { :'host_video' => :'host_video', :'participant_video' => :'participant_video', :'cn_meeting' => :'cn_meeting', :'in_meeting' => :'in_meeting', :'join_before_host' => :'join_before_host', :'mute_upon_entry' => :'mute_upon_entry', :'watermark' => :'watermark', :'use_pmi' => :'use_pmi', :'approval_type' => :'approval_type', :'registration_type' => :'registration_type', :'audio' => :'audio', :'auto_recording' => :'auto_recording', :'enforce_login' => :'enforce_login', :'enforce_login_domains' => :'enforce_login_domains', :'alternative_hosts' => :'alternative_hosts', :'close_registration' => :'close_registration', :'waiting_room' => :'waiting_room', :'global_dial_in_countries' => :'global_dial_in_countries', :'global_dial_in_numbers' => :'global_dial_in_numbers', :'contact_name' => :'contact_name', :'contact_email' => :'contact_email', :'registrants_confirmation_email' => :'registrants_confirmation_email', :'registrants_email_notification' => :'registrants_email_notification', :'meeting_authentication' => :'meeting_authentication', :'authentication_option' => :'authentication_option', :'authentication_domains' => :'authentication_domains' } end |
.swagger_types ⇒ Object
Attribute type mapping.
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 152 def self.swagger_types { :'host_video' => :'BOOLEAN', :'participant_video' => :'BOOLEAN', :'cn_meeting' => :'BOOLEAN', :'in_meeting' => :'BOOLEAN', :'join_before_host' => :'BOOLEAN', :'mute_upon_entry' => :'BOOLEAN', :'watermark' => :'BOOLEAN', :'use_pmi' => :'BOOLEAN', :'approval_type' => :'Integer', :'registration_type' => :'Integer', :'audio' => :'String', :'auto_recording' => :'String', :'enforce_login' => :'BOOLEAN', :'enforce_login_domains' => :'String', :'alternative_hosts' => :'String', :'close_registration' => :'BOOLEAN', :'waiting_room' => :'BOOLEAN', :'global_dial_in_countries' => :'Array<String>', :'global_dial_in_numbers' => :'Array<InlineResponse20110SettingsGlobalDialInNumbers>', :'contact_name' => :'String', :'contact_email' => :'String', :'registrants_confirmation_email' => :'BOOLEAN', :'registrants_email_notification' => :'String', :'meeting_authentication' => :'BOOLEAN', :'authentication_option' => :'String', :'authentication_domains' => :'String' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
359 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 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 359 def ==(o) return true if self.equal?(o) self.class == o.class && host_video == o.host_video && participant_video == o.participant_video && cn_meeting == o.cn_meeting && in_meeting == o.in_meeting && join_before_host == o.join_before_host && mute_upon_entry == o.mute_upon_entry && watermark == o.watermark && use_pmi == o.use_pmi && approval_type == o.approval_type && registration_type == o.registration_type && audio == o.audio && auto_recording == o.auto_recording && enforce_login == o.enforce_login && enforce_login_domains == o.enforce_login_domains && alternative_hosts == o.alternative_hosts && close_registration == o.close_registration && waiting_room == o.waiting_room && global_dial_in_countries == o.global_dial_in_countries && global_dial_in_numbers == o.global_dial_in_numbers && contact_name == o.contact_name && contact_email == o.contact_email && registrants_confirmation_email == o.registrants_confirmation_email && registrants_email_notification == o.registrants_email_notification && meeting_authentication == o.meeting_authentication && authentication_option == o.authentication_option && authentication_domains == o.authentication_domains end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
426 427 428 429 430 431 432 433 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 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 426 def _deserialize(type, value) case type.to_sym when :DateTime ::DateTime.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 temp_model = Models.const_get(type).new temp_model.build_from_hash(value) end end |
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value
492 493 494 495 496 497 498 499 500 501 502 503 504 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 492 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 |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 405 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) self.class.swagger_types.each_pair do |key, type| if type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the the attribute # is documented as an array but the input is not if attributes[self.class.attribute_map[key]].is_a?(Array) self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) }) end elsif !attributes[self.class.attribute_map[key]].nil? self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) end # or else data not found in attributes(hash), not an issue as the data can be optional end self end |
#eql?(o) ⇒ Boolean
392 393 394 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 392 def eql?(o) self == o end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
398 399 400 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 398 def hash [host_video, participant_video, cn_meeting, in_meeting, join_before_host, mute_upon_entry, watermark, use_pmi, approval_type, registration_type, audio, auto_recording, enforce_login, enforce_login_domains, alternative_hosts, close_registration, waiting_room, global_dial_in_countries, global_dial_in_numbers, contact_name, contact_email, registrants_confirmation_email, registrants_email_notification, meeting_authentication, authentication_option, authentication_domains].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
322 323 324 325 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 322 def list_invalid_properties invalid_properties = Array.new invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
472 473 474 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 472 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
478 479 480 481 482 483 484 485 486 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 478 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = self.send(attr) next if value.nil? hash[param] = _to_hash(value) end hash end |
#to_s ⇒ String
Returns the string representation of the object
466 467 468 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 466 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 |
# File 'lib/zoom_us/models/inline_response_201_10_settings.rb', line 329 def valid? audio_validator = EnumAttributeValidator.new('String', ['both', 'telephony', 'voip']) return false unless audio_validator.valid?(@audio) auto_recording_validator = EnumAttributeValidator.new('String', ['local', 'cloud', 'none']) return false unless auto_recording_validator.valid?(@auto_recording) true end |