Class: GetStream::Generated::Models::UpdateBlockListRequest
- Inherits:
-
BaseModel
- Object
- BaseModel
- GetStream::Generated::Models::UpdateBlockListRequest
show all
- Defined in:
- lib/getstream_ruby/generated/models/update_block_list_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
32
33
34
35
36
37
38
39
40
|
# File 'lib/getstream_ruby/generated/models/update_block_list_request.rb', line 32
def initialize(attributes = {})
super(attributes)
@is_confusable_folding_enabled = attributes[:is_confusable_folding_enabled] || attributes['is_confusable_folding_enabled'] || nil
@is_leet_check_enabled = attributes[:is_leet_check_enabled] || attributes['is_leet_check_enabled'] || nil
@is_plural_check_enabled = attributes[:is_plural_check_enabled] || attributes['is_plural_check_enabled'] || nil
@is_substring_matching_enabled = attributes[:is_substring_matching_enabled] || attributes['is_substring_matching_enabled'] || nil
@team = attributes[:team] || attributes['team'] || nil
@words = attributes[:words] || attributes['words'] || nil
end
|
Instance Attribute Details
#is_confusable_folding_enabled ⇒ Boolean
14
15
16
|
# File 'lib/getstream_ruby/generated/models/update_block_list_request.rb', line 14
def is_confusable_folding_enabled
@is_confusable_folding_enabled
end
|
#is_leet_check_enabled ⇒ Boolean
17
18
19
|
# File 'lib/getstream_ruby/generated/models/update_block_list_request.rb', line 17
def is_leet_check_enabled
@is_leet_check_enabled
end
|
#is_plural_check_enabled ⇒ Boolean
20
21
22
|
# File 'lib/getstream_ruby/generated/models/update_block_list_request.rb', line 20
def is_plural_check_enabled
@is_plural_check_enabled
end
|
#is_substring_matching_enabled ⇒ Boolean
23
24
25
|
# File 'lib/getstream_ruby/generated/models/update_block_list_request.rb', line 23
def is_substring_matching_enabled
@is_substring_matching_enabled
end
|
#team ⇒ String
26
27
28
|
# File 'lib/getstream_ruby/generated/models/update_block_list_request.rb', line 26
def team
@team
end
|
#words ⇒ Array<String>
Returns List of words to block.
29
30
31
|
# File 'lib/getstream_ruby/generated/models/update_block_list_request.rb', line 29
def words
@words
end
|
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
43
44
45
46
47
48
49
50
51
52
|
# File 'lib/getstream_ruby/generated/models/update_block_list_request.rb', line 43
def self.json_field_mappings
{
is_confusable_folding_enabled: 'is_confusable_folding_enabled',
is_leet_check_enabled: 'is_leet_check_enabled',
is_plural_check_enabled: 'is_plural_check_enabled',
is_substring_matching_enabled: 'is_substring_matching_enabled',
team: 'team',
words: 'words'
}
end
|