Class: GetStream::Generated::Models::LimitsSettingsRequest
- Inherits:
-
BaseModel
- Object
- BaseModel
- GetStream::Generated::Models::LimitsSettingsRequest
show all
- Defined in:
- lib/getstream_ruby/generated/models/limits_settings_request.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 with attributes
26
27
28
29
30
31
32
|
# File 'lib/getstream_ruby/generated/models/limits_settings_request.rb', line 26
def initialize(attributes = {})
super(attributes)
@max_duration_seconds = attributes[:max_duration_seconds] || attributes['max_duration_seconds'] || nil
@max_participants = attributes[:max_participants] || attributes['max_participants'] || nil
@max_participants_exclude_owner = attributes[:max_participants_exclude_owner] || attributes['max_participants_exclude_owner'] || nil
@max_participants_exclude_roles = attributes[:max_participants_exclude_roles] || attributes['max_participants_exclude_roles'] || nil
end
|
Instance Attribute Details
#max_duration_seconds ⇒ Integer
14
15
16
|
# File 'lib/getstream_ruby/generated/models/limits_settings_request.rb', line 14
def max_duration_seconds
@max_duration_seconds
end
|
#max_participants ⇒ Integer
17
18
19
|
# File 'lib/getstream_ruby/generated/models/limits_settings_request.rb', line 17
def max_participants
@max_participants
end
|
#max_participants_exclude_owner ⇒ Boolean
20
21
22
|
# File 'lib/getstream_ruby/generated/models/limits_settings_request.rb', line 20
def max_participants_exclude_owner
@max_participants_exclude_owner
end
|
#max_participants_exclude_roles ⇒ Array<String>
23
24
25
|
# File 'lib/getstream_ruby/generated/models/limits_settings_request.rb', line 23
def max_participants_exclude_roles
@max_participants_exclude_roles
end
|
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
35
36
37
38
39
40
41
42
|
# File 'lib/getstream_ruby/generated/models/limits_settings_request.rb', line 35
def self.json_field_mappings
{
max_duration_seconds: 'max_duration_seconds',
max_participants: 'max_participants',
max_participants_exclude_owner: 'max_participants_exclude_owner',
max_participants_exclude_roles: 'max_participants_exclude_roles'
}
end
|