Class: GetStream::Generated::Models::CallSettingsResponse

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/getstream_ruby/generated/models/call_settings_response.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseModel

#==, #inspect, omit_empty_fields, #to_h, #to_json

Constructor Details

#initialize(attributes = {}) ⇒ CallSettingsResponse

Initialize with attributes



71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 71

def initialize(attributes = {})
  super(attributes)
  @audio = attributes.fetch(:audio) { attributes.fetch('audio', nil) }
  @backstage = attributes.fetch(:backstage) { attributes.fetch('backstage', nil) }
  @broadcasting = attributes.fetch(:broadcasting) { attributes.fetch('broadcasting', nil) }
  @encryption = attributes.fetch(:encryption) { attributes.fetch('encryption', nil) }
  @frame_recording = attributes.fetch(:frame_recording) { attributes.fetch('frame_recording', nil) }
  @geofencing = attributes.fetch(:geofencing) { attributes.fetch('geofencing', nil) }
  @individual_recording = attributes.fetch(:individual_recording) { attributes.fetch('individual_recording', nil) }
  @lifecycle = attributes.fetch(:lifecycle) { attributes.fetch('lifecycle', nil) }
  @limits = attributes.fetch(:limits) { attributes.fetch('limits', nil) }
  @raw_recording = attributes.fetch(:raw_recording) { attributes.fetch('raw_recording', nil) }
  @recording = attributes.fetch(:recording) { attributes.fetch('recording', nil) }
  @ring = attributes.fetch(:ring) { attributes.fetch('ring', nil) }
  @screensharing = attributes.fetch(:screensharing) { attributes.fetch('screensharing', nil) }
  @session = attributes.fetch(:session) { attributes.fetch('session', nil) }
  @thumbnails = attributes.fetch(:thumbnails) { attributes.fetch('thumbnails', nil) }
  @transcription = attributes.fetch(:transcription) { attributes.fetch('transcription', nil) }
  @video = attributes.fetch(:video) { attributes.fetch('video', nil) }
  @extra_opts = attributes.fetch(:extra_opts) { attributes.fetch('extra_opts', nil) }
  @ingress = attributes.fetch(:ingress) { attributes.fetch('ingress', nil) }
end

Instance Attribute Details

#audio ⇒ AudioSettingsResponse



14
15
16
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 14

def audio
  @audio
end

#backstage ⇒ BackstageSettingsResponse



17
18
19
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 17

def backstage
  @backstage
end

#broadcasting ⇒ BroadcastSettingsResponse

Returns BroadcastSettingsResponse is the payload for broadcasting settings.

Returns:



20
21
22
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 20

def broadcasting
  @broadcasting
end

#encryption ⇒ EncryptionSettingsResponse

Returns EncryptionSettings is the payload for end-to-end encryption settings.

Returns:



23
24
25
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 23

def encryption
  @encryption
end

#extra_opts ⇒ Object

Returns:

  • (Object)


65
66
67
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 65

def extra_opts
  @extra_opts
end

#frame_recording ⇒ FrameRecordingSettingsResponse



26
27
28
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 26

def frame_recording
  @frame_recording
end

#geofencing ⇒ GeofenceSettingsResponse



29
30
31
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 29

def geofencing
  @geofencing
end

#individual_recording ⇒ IndividualRecordingSettingsResponse



32
33
34
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 32

def individual_recording
  @individual_recording
end

#ingress ⇒ IngressSettingsResponse



68
69
70
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 68

def ingress
  @ingress
end

#lifecycle ⇒ LifecycleSettingsResponse

Returns LifecycleSettings is the payload for call lifecycle settings.

Returns:



35
36
37
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 35

def lifecycle
  @lifecycle
end

#limits ⇒ LimitsSettingsResponse



38
39
40
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 38

def limits
  @limits
end

#raw_recording ⇒ RawRecordingSettingsResponse



41
42
43
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 41

def raw_recording
  @raw_recording
end

#recording ⇒ RecordSettingsResponse

Returns RecordSettings is the payload for recording settings.

Returns:



44
45
46
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 44

def recording
  @recording
end

#ring ⇒ RingSettingsResponse



47
48
49
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 47

def ring
  @ring
end

#screensharing ⇒ ScreensharingSettingsResponse



50
51
52
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 50

def screensharing
  @screensharing
end

#session ⇒ SessionSettingsResponse



53
54
55
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 53

def session
  @session
end

#thumbnails ⇒ ThumbnailsSettingsResponse



56
57
58
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 56

def thumbnails
  @thumbnails
end

#transcription ⇒ TranscriptionSettingsResponse



59
60
61
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 59

def transcription
  @transcription
end

#video ⇒ VideoSettingsResponse



62
63
64
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 62

def video
  @video
end

Class Method Details

.json_field_mappings ⇒ Object

Override field mappings for JSON serialization



95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# File 'lib/getstream_ruby/generated/models/call_settings_response.rb', line 95

def self.json_field_mappings
  {
    audio: 'audio',
    backstage: 'backstage',
    broadcasting: 'broadcasting',
    encryption: 'encryption',
    frame_recording: 'frame_recording',
    geofencing: 'geofencing',
    individual_recording: 'individual_recording',
    lifecycle: 'lifecycle',
    limits: 'limits',
    raw_recording: 'raw_recording',
    recording: 'recording',
    ring: 'ring',
    screensharing: 'screensharing',
    session: 'session',
    thumbnails: 'thumbnails',
    transcription: 'transcription',
    video: 'video',
    extra_opts: 'extra_opts',
    ingress: 'ingress'
  }
end