Class: ZoomUs::Models::AccountSettingsInMeeting

Inherits:
Object
  • Object
show all
Defined in:
lib/zoom_us/models/account_settings_in_meeting.rb

Overview

Account Settings: In Meeting.

Defined Under Namespace

Classes: EnumAttributeValidator

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ AccountSettingsInMeeting

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



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
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
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
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 270

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?(:'e2e_encryption')
    self.e2e_encryption = attributes[:'e2e_encryption']
  end

  if attributes.has_key?(:'chat')
    self.chat = attributes[:'chat']
  end

  if attributes.has_key?(:'private_chat')
    self.private_chat = attributes[:'private_chat']
  end

  if attributes.has_key?(:'auto_saving_chat')
    self.auto_saving_chat = attributes[:'auto_saving_chat']
  end

  if attributes.has_key?(:'entry_exit_chime')
    self.entry_exit_chime = attributes[:'entry_exit_chime']
  end

  if attributes.has_key?(:'record_play_own_voice')
    self.record_play_own_voice = attributes[:'record_play_own_voice']
  end

  if attributes.has_key?(:'file_transfer')
    self.file_transfer = attributes[:'file_transfer']
  end

  if attributes.has_key?(:'feedback')
    self.feedback = attributes[:'feedback']
  end

  if attributes.has_key?(:'post_meeting_feedback')
    self.post_meeting_feedback = attributes[:'post_meeting_feedback']
  end

  if attributes.has_key?(:'co_host')
    self.co_host = attributes[:'co_host']
  end

  if attributes.has_key?(:'polling')
    self.polling = attributes[:'polling']
  end

  if attributes.has_key?(:'attendee_on_hold')
    self.attendee_on_hold = attributes[:'attendee_on_hold']
  end

  if attributes.has_key?(:'show_meeting_control_toolbar')
    self.show_meeting_control_toolbar = attributes[:'show_meeting_control_toolbar']
  end

  if attributes.has_key?(:'allow_show_zoom_windows')
    self.allow_show_zoom_windows = attributes[:'allow_show_zoom_windows']
  end

  if attributes.has_key?(:'annotation')
    self.annotation = attributes[:'annotation']
  end

  if attributes.has_key?(:'whiteboard')
    self.whiteboard = attributes[:'whiteboard']
  end

  if attributes.has_key?(:'webinar_question_answer')
    self.webinar_question_answer = attributes[:'webinar_question_answer']
  end

  if attributes.has_key?(:'anonymous_question_answer')
    self.anonymous_question_answer = attributes[:'anonymous_question_answer']
  end

  if attributes.has_key?(:'breakout_room')
    self.breakout_room = attributes[:'breakout_room']
  end

  if attributes.has_key?(:'closed_caption')
    self.closed_caption = attributes[:'closed_caption']
  end

  if attributes.has_key?(:'far_end_camera_control')
    self.far_end_camera_control = attributes[:'far_end_camera_control']
  end

  if attributes.has_key?(:'group_hd')
    self.group_hd = attributes[:'group_hd']
  end

  if attributes.has_key?(:'virtual_background')
    self.virtual_background = attributes[:'virtual_background']
  end

  if attributes.has_key?(:'watermark')
    self.watermark = attributes[:'watermark']
  end

  if attributes.has_key?(:'alert_guest_join')
    self.alert_guest_join = attributes[:'alert_guest_join']
  end

  if attributes.has_key?(:'auto_answer')
    self.auto_answer = attributes[:'auto_answer']
  end

  if attributes.has_key?(:'p2p_connetion')
    self.p2p_connetion = attributes[:'p2p_connetion']
  end

  if attributes.has_key?(:'p2p_ports')
    self.p2p_ports = attributes[:'p2p_ports']
  end

  if attributes.has_key?(:'ports_range')
    self.ports_range = attributes[:'ports_range']
  else
    self.ports_range = ''
  end

  if attributes.has_key?(:'sending_default_email_invites')
    self.sending_default_email_invites = attributes[:'sending_default_email_invites']
  end

  if attributes.has_key?(:'use_html_format_email')
    self.use_html_format_email = attributes[:'use_html_format_email']
  end

  if attributes.has_key?(:'dscp_marking')
    self.dscp_marking = attributes[:'dscp_marking']
  end

  if attributes.has_key?(:'dscp_audio')
    self.dscp_audio = attributes[:'dscp_audio']
  end

  if attributes.has_key?(:'dscp_video')
    self.dscp_video = attributes[:'dscp_video']
  end

  if attributes.has_key?(:'stereo_audio')
    self.stereo_audio = attributes[:'stereo_audio']
  end

  if attributes.has_key?(:'original_audio')
    self.original_audio = attributes[:'original_audio']
  end

  if attributes.has_key?(:'screen_sharing')
    self.screen_sharing = attributes[:'screen_sharing']
  end

  if attributes.has_key?(:'remote_control')
    self.remote_control = attributes[:'remote_control']
  end

  if attributes.has_key?(:'attention_tracking')
    self.attention_tracking = attributes[:'attention_tracking']
  end

  if attributes.has_key?(:'allow_live_streaming')
    self.allow_live_streaming = attributes[:'allow_live_streaming']
  end

  if attributes.has_key?(:'workplace_by_facebook')
    self.workplace_by_facebook = attributes[:'workplace_by_facebook']
  end

  if attributes.has_key?(:'custom_live_streaming')
    self.custom_live_streaming = attributes[:'custom_live_streaming']
  end

  if attributes.has_key?(:'custom_service_instructions')
    self.custom_service_instructions = attributes[:'custom_service_instructions']
  end
end

Instance Attribute Details

#alert_guest_joinObject

Identify guest participants in a meeting or webinar.



92
93
94
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 92

def alert_guest_join
  @alert_guest_join
end

#allow_live_streamingObject

Allow live streaming.



137
138
139
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 137

def allow_live_streaming
  @allow_live_streaming
end

#allow_show_zoom_windowsObject

Show the Zoom desktop application when sharing screens.



59
60
61
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 59

def allow_show_zoom_windows
  @allow_show_zoom_windows
end

#annotationObject

Allow participants to use annotation tools to add information to shared screens.



62
63
64
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 62

def annotation
  @annotation
end

#anonymous_question_answerObject

Allow an anonymous Q&A in a webinar.



71
72
73
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 71

def anonymous_question_answer
  @anonymous_question_answer
end

#attendee_on_holdObject

Allow hosts to temporarily remove an attendee from a meeting.



53
54
55
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 53

def attendee_on_hold
  @attendee_on_hold
end

#attention_trackingObject

Allows the host to see an indicator in the participant panel if a meeting or webinar attendee does not have Zoom in focus while screen sharing.



134
135
136
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 134

def attention_tracking
  @attention_tracking
end

#auto_answerObject

Enable users to see and add contacts to the "auto-answer group" in the chat contact list. Any call from members of this group will automatically be answered.



95
96
97
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 95

def auto_answer
  @auto_answer
end

#auto_saving_chatObject

Automatically save all in-meeting chats so that the host does not need to manually save the chat transcript after the meeting starts.



29
30
31
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 29

def auto_saving_chat
  @auto_saving_chat
end

#breakout_roomObject

Allow host to split meeting participants into separate, smaller rooms.



74
75
76
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 74

def breakout_room
  @breakout_room
end

#chatObject

Allow meeting participants to send a message that is visible to all participants.



23
24
25
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 23

def chat
  @chat
end

#closed_captionObject

Allow a host to type closed captions. Enable a host to assign a participant or third party device to add closed captions.



77
78
79
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 77

def closed_caption
  @closed_caption
end

#co_hostObject

Allow the host to add co-hosts.



47
48
49
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 47

def co_host
  @co_host
end

#custom_live_streamingObject

Custom live streaming.



143
144
145
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 143

def custom_live_streaming
  @custom_live_streaming
end

#custom_service_instructionsObject

Custom service instructions.



146
147
148
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 146

def custom_service_instructions
  @custom_service_instructions
end

#dscp_audioObject

DSCP audio.



116
117
118
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 116

def dscp_audio
  @dscp_audio
end

#dscp_markingObject

DSCP marking.



113
114
115
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 113

def dscp_marking
  @dscp_marking
end

#dscp_videoObject

DSCP video.



119
120
121
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 119

def dscp_video
  @dscp_video
end

#e2e_encryptionObject

Require that all meetings are encrypted using AES.



20
21
22
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 20

def e2e_encryption
  @e2e_encryption
end

#entry_exit_chimeObject

Play sound when participants join or leave.
‘host` - Heard by host only.
`all` - Heard by host and all attendees.
`none` - Disable.



32
33
34
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 32

def entry_exit_chime
  @entry_exit_chime
end

#far_end_camera_controlObject

Allow another user to take control of your camera during a meeting.



80
81
82
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 80

def far_end_camera_control
  @far_end_camera_control
end

#feedbackObject

Add a "Feedback" tab to the Windows Settings or Mac Preferences dialog. Enable users to provide feedback to Zoom at the end of the meeting.



41
42
43
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 41

def feedback
  @feedback
end

#file_transferObject

Hosts and participants can send files through the in-meeting chat.



38
39
40
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 38

def file_transfer
  @file_transfer
end

#group_hdObject

Activate higher quality video for host and participants. Please note: This will use more bandwidth.



83
84
85
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 83

def group_hd
  @group_hd
end

#original_audioObject

Allow users to select original sound in their client settings.



125
126
127
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 125

def original_audio
  @original_audio
end

#p2p_connetionObject

Peer to peer connection while only two people are in a meeting.



98
99
100
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 98

def p2p_connetion
  @p2p_connetion
end

#p2p_portsObject

Peer to peer listening ports range.



101
102
103
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 101

def p2p_ports
  @p2p_ports
end

#pollingObject

Add "Polls" to the meeting controls.



50
51
52
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 50

def polling
  @polling
end

#ports_rangeObject

The listening ports range, separated by a comma (ex 55,56). The ports range must be between 1 to 65535.



104
105
106
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 104

def ports_range
  @ports_range
end

#post_meeting_feedbackObject

Display a thumbs up or down survey at the end of each meeting.



44
45
46
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 44

def post_meeting_feedback
  @post_meeting_feedback
end

#private_chatObject

Allow a meeting participant to send a private message to another participant.



26
27
28
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 26

def private_chat
  @private_chat
end

#record_play_own_voiceObject

Record and play their own voice.



35
36
37
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 35

def record_play_own_voice
  @record_play_own_voice
end

#remote_controlObject

Allow users to request remote control.



131
132
133
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 131

def remote_control
  @remote_control
end

#screen_sharingObject

Allow screen sharing.



128
129
130
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 128

def screen_sharing
  @screen_sharing
end

#sending_default_email_invitesObject

Only show the default email when sending email invites.



107
108
109
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 107

def sending_default_email_invites
  @sending_default_email_invites
end

#show_meeting_control_toolbarObject

Always show the meeting control toolbar.



56
57
58
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 56

def show_meeting_control_toolbar
  @show_meeting_control_toolbar
end

#stereo_audioObject

Allow users to select stereo audio in their client settings.



122
123
124
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 122

def stereo_audio
  @stereo_audio
end

#use_html_format_emailObject

Use HTML formatted email for the Outlook plugin.



110
111
112
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 110

def use_html_format_email
  @use_html_format_email
end

#virtual_backgroundObject

Allow users to replace their background with any selected image. Choose or upload an image in the Zoom desktop application settings.



86
87
88
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 86

def virtual_background
  @virtual_background
end

#watermarkObject

Add a watermark when viewing a shared screen.



89
90
91
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 89

def watermark
  @watermark
end

#webinar_question_answerObject

Allow a Q&A in a webinar.



68
69
70
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 68

def webinar_question_answer
  @webinar_question_answer
end

#whiteboardObject

Allow participants to share a whiteboard that includes annotation tools.



65
66
67
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 65

def whiteboard
  @whiteboard
end

#workplace_by_facebookObject

Workplace by facebook.



140
141
142
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 140

def workplace_by_facebook
  @workplace_by_facebook
end

Class Method Details

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



171
172
173
174
175
176
177
178
179
180
181
182
183
184
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
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 171

def self.attribute_map
  {
    :'e2e_encryption' => :'e2e_encryption',
    :'chat' => :'chat',
    :'private_chat' => :'private_chat',
    :'auto_saving_chat' => :'auto_saving_chat',
    :'entry_exit_chime' => :'entry_exit_chime',
    :'record_play_own_voice' => :'record_play_own_voice',
    :'file_transfer' => :'file_transfer',
    :'feedback' => :'feedback',
    :'post_meeting_feedback' => :'post_meeting_feedback',
    :'co_host' => :'co_host',
    :'polling' => :'polling',
    :'attendee_on_hold' => :'attendee_on_hold',
    :'show_meeting_control_toolbar' => :'show_meeting_control_toolbar',
    :'allow_show_zoom_windows' => :'allow_show_zoom_windows',
    :'annotation' => :'annotation',
    :'whiteboard' => :'whiteboard',
    :'webinar_question_answer' => :'webinar_question_answer',
    :'anonymous_question_answer' => :'anonymous_question_answer',
    :'breakout_room' => :'breakout_room',
    :'closed_caption' => :'closed_caption',
    :'far_end_camera_control' => :'far_end_camera_control',
    :'group_hd' => :'group_hd',
    :'virtual_background' => :'virtual_background',
    :'watermark' => :'watermark',
    :'alert_guest_join' => :'alert_guest_join',
    :'auto_answer' => :'auto_answer',
    :'p2p_connetion' => :'p2p_connetion',
    :'p2p_ports' => :'p2p_ports',
    :'ports_range' => :'ports_range',
    :'sending_default_email_invites' => :'sending_default_email_invites',
    :'use_html_format_email' => :'use_html_format_email',
    :'dscp_marking' => :'dscp_marking',
    :'dscp_audio' => :'dscp_audio',
    :'dscp_video' => :'dscp_video',
    :'stereo_audio' => :'stereo_audio',
    :'original_audio' => :'original_audio',
    :'screen_sharing' => :'screen_sharing',
    :'remote_control' => :'remote_control',
    :'attention_tracking' => :'attention_tracking',
    :'allow_live_streaming' => :'allow_live_streaming',
    :'workplace_by_facebook' => :'workplace_by_facebook',
    :'custom_live_streaming' => :'custom_live_streaming',
    :'custom_service_instructions' => :'custom_service_instructions'
  }
end

.swagger_typesObject

Attribute type mapping.



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
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 220

def self.swagger_types
  {
    :'e2e_encryption' => :'BOOLEAN',
    :'chat' => :'BOOLEAN',
    :'private_chat' => :'BOOLEAN',
    :'auto_saving_chat' => :'BOOLEAN',
    :'entry_exit_chime' => :'String',
    :'record_play_own_voice' => :'BOOLEAN',
    :'file_transfer' => :'BOOLEAN',
    :'feedback' => :'BOOLEAN',
    :'post_meeting_feedback' => :'BOOLEAN',
    :'co_host' => :'BOOLEAN',
    :'polling' => :'BOOLEAN',
    :'attendee_on_hold' => :'BOOLEAN',
    :'show_meeting_control_toolbar' => :'BOOLEAN',
    :'allow_show_zoom_windows' => :'BOOLEAN',
    :'annotation' => :'BOOLEAN',
    :'whiteboard' => :'BOOLEAN',
    :'webinar_question_answer' => :'BOOLEAN',
    :'anonymous_question_answer' => :'BOOLEAN',
    :'breakout_room' => :'BOOLEAN',
    :'closed_caption' => :'BOOLEAN',
    :'far_end_camera_control' => :'BOOLEAN',
    :'group_hd' => :'BOOLEAN',
    :'virtual_background' => :'BOOLEAN',
    :'watermark' => :'BOOLEAN',
    :'alert_guest_join' => :'BOOLEAN',
    :'auto_answer' => :'BOOLEAN',
    :'p2p_connetion' => :'BOOLEAN',
    :'p2p_ports' => :'BOOLEAN',
    :'ports_range' => :'String',
    :'sending_default_email_invites' => :'BOOLEAN',
    :'use_html_format_email' => :'BOOLEAN',
    :'dscp_marking' => :'BOOLEAN',
    :'dscp_audio' => :'Integer',
    :'dscp_video' => :'Integer',
    :'stereo_audio' => :'BOOLEAN',
    :'original_audio' => :'BOOLEAN',
    :'screen_sharing' => :'BOOLEAN',
    :'remote_control' => :'BOOLEAN',
    :'attention_tracking' => :'BOOLEAN',
    :'allow_live_streaming' => :'BOOLEAN',
    :'workplace_by_facebook' => :'BOOLEAN',
    :'custom_live_streaming' => :'BOOLEAN',
    :'custom_service_instructions' => :'String'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 526

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
    e2e_encryption == o.e2e_encryption &&
    chat == o.chat &&
    private_chat == o.private_chat &&
    auto_saving_chat == o.auto_saving_chat &&
    entry_exit_chime == o.entry_exit_chime &&
    record_play_own_voice == o.record_play_own_voice &&
    file_transfer == o.file_transfer &&
    feedback == o.feedback &&
    post_meeting_feedback == o.post_meeting_feedback &&
    co_host == o.co_host &&
    polling == o.polling &&
    attendee_on_hold == o.attendee_on_hold &&
    show_meeting_control_toolbar == o.show_meeting_control_toolbar &&
    allow_show_zoom_windows == o.allow_show_zoom_windows &&
    annotation == o.annotation &&
    whiteboard == o.whiteboard &&
    webinar_question_answer == o.webinar_question_answer &&
    anonymous_question_answer == o.anonymous_question_answer &&
    breakout_room == o.breakout_room &&
    closed_caption == o.closed_caption &&
    far_end_camera_control == o.far_end_camera_control &&
    group_hd == o.group_hd &&
    virtual_background == o.virtual_background &&
    watermark == o.watermark &&
    alert_guest_join == o.alert_guest_join &&
    auto_answer == o.auto_answer &&
    p2p_connetion == o.p2p_connetion &&
    p2p_ports == o.p2p_ports &&
    ports_range == o.ports_range &&
    sending_default_email_invites == o.sending_default_email_invites &&
    use_html_format_email == o.use_html_format_email &&
    dscp_marking == o.dscp_marking &&
    dscp_audio == o.dscp_audio &&
    dscp_video == o.dscp_video &&
    stereo_audio == o.stereo_audio &&
    original_audio == o.original_audio &&
    screen_sharing == o.screen_sharing &&
    remote_control == o.remote_control &&
    attention_tracking == o.attention_tracking &&
    allow_live_streaming == o.allow_live_streaming &&
    workplace_by_facebook == o.workplace_by_facebook &&
    custom_live_streaming == o.custom_live_streaming &&
    custom_service_instructions == o.custom_service_instructions
end

#_deserialize(type, value) ⇒ Object

Deserializes the data based on type

Parameters:

  • string

    type Data type

  • string

    value Value to be deserialized

Returns:

  • (Object)

    Deserialized data



610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 610

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

Parameters:

  • value (Object)

    Any valid value

Returns:

  • (Hash)

    Returns the value in the form of hash



676
677
678
679
680
681
682
683
684
685
686
687
688
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 676

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

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 589

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

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


576
577
578
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 576

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



582
583
584
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 582

def hash
  [e2e_encryption, chat, private_chat, auto_saving_chat, entry_exit_chime, record_play_own_voice, file_transfer, feedback, post_meeting_feedback, co_host, polling, attendee_on_hold, show_meeting_control_toolbar, allow_show_zoom_windows, annotation, whiteboard, webinar_question_answer, anonymous_question_answer, breakout_room, closed_caption, far_end_camera_control, group_hd, virtual_background, watermark, alert_guest_join, auto_answer, p2p_connetion, p2p_ports, ports_range, sending_default_email_invites, use_html_format_email, dscp_marking, dscp_audio, dscp_video, stereo_audio, original_audio, screen_sharing, remote_control, attention_tracking, allow_live_streaming, workplace_by_facebook, custom_live_streaming, custom_service_instructions].hash
end

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 453

def list_invalid_properties
  invalid_properties = Array.new
  if !@dscp_audio.nil? && @dscp_audio > 63
    invalid_properties.push('invalid value for "dscp_audio", must be smaller than or equal to 63.')
  end

  if !@dscp_audio.nil? && @dscp_audio < 1
    invalid_properties.push('invalid value for "dscp_audio", must be greater than or equal to 1.')
  end

  if !@dscp_video.nil? && @dscp_video > 63
    invalid_properties.push('invalid value for "dscp_video", must be smaller than or equal to 63.')
  end

  if !@dscp_video.nil? && @dscp_video < 1
    invalid_properties.push('invalid value for "dscp_video", must be greater than or equal to 1.')
  end

  invalid_properties
end

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



656
657
658
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 656

def to_body
  to_hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



662
663
664
665
666
667
668
669
670
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 662

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_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



650
651
652
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 650

def to_s
  to_hash.to_s
end

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



476
477
478
479
480
481
482
483
484
# File 'lib/zoom_us/models/account_settings_in_meeting.rb', line 476

def valid?
  entry_exit_chime_validator = EnumAttributeValidator.new('String', ['host', 'all', 'none'])
  return false unless entry_exit_chime_validator.valid?(@entry_exit_chime)
  return false if !@dscp_audio.nil? && @dscp_audio > 63
  return false if !@dscp_audio.nil? && @dscp_audio < 1
  return false if !@dscp_video.nil? && @dscp_video > 63
  return false if !@dscp_video.nil? && @dscp_video < 1
  true
end