Class: GetStream::Generated::Models::LimitsSettingsResponse

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/getstream_ruby/generated/models/limits_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 = {}) ⇒ LimitsSettingsResponse

Initialize with attributes



26
27
28
29
30
31
32
# File 'lib/getstream_ruby/generated/models/limits_settings_response.rb', line 26

def initialize(attributes = {})
  super(attributes)
  @max_participants_exclude_roles = attributes[:max_participants_exclude_roles] || attributes['max_participants_exclude_roles']
  @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
end

Instance Attribute Details

#max_duration_secondsInteger

Returns:

  • (Integer)


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

def max_duration_seconds
  @max_duration_seconds
end

#max_participantsInteger

Returns:

  • (Integer)


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

def max_participants
  @max_participants
end

#max_participants_exclude_ownerBoolean

Returns:

  • (Boolean)


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

def max_participants_exclude_owner
  @max_participants_exclude_owner
end

#max_participants_exclude_rolesArray<String>

Returns:

  • (Array<String>)


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

def max_participants_exclude_roles
  @max_participants_exclude_roles
end

Class Method Details

.json_field_mappingsObject

Override field mappings for JSON serialization



35
36
37
38
39
40
41
42
# File 'lib/getstream_ruby/generated/models/limits_settings_response.rb', line 35

def self.json_field_mappings
  {
    max_participants_exclude_roles: 'max_participants_exclude_roles',
    max_duration_seconds: 'max_duration_seconds',
    max_participants: 'max_participants',
    max_participants_exclude_owner: 'max_participants_exclude_owner'
  }
end