Class: GetStream::Generated::Models::FirebaseConfig
- Inherits:
-
BaseModel
- Object
- BaseModel
- GetStream::Generated::Models::FirebaseConfig
show all
- Defined in:
- lib/getstream_ruby/generated/models/firebase_config.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 = {}) ⇒ FirebaseConfig
Initialize with attributes
32
33
34
35
36
37
38
39
40
|
# File 'lib/getstream_ruby/generated/models/firebase_config.rb', line 32
def initialize(attributes = {})
super(attributes)
@Disabled = attributes[:Disabled] || attributes['Disabled'] || nil
@apn_template = attributes[:apn_template] || attributes['apn_template'] || nil
@credentials_json = attributes[:credentials_json] || attributes['credentials_json'] || nil
@data_template = attributes[:data_template] || attributes['data_template'] || nil
@notification_template = attributes[:notification_template] || attributes['notification_template'] || nil
@server_key = attributes[:server_key] || attributes['server_key'] || nil
end
|
Instance Attribute Details
#apn_template ⇒ String
17
18
19
|
# File 'lib/getstream_ruby/generated/models/firebase_config.rb', line 17
def apn_template
@apn_template
end
|
#credentials_json ⇒ String
20
21
22
|
# File 'lib/getstream_ruby/generated/models/firebase_config.rb', line 20
def credentials_json
@credentials_json
end
|
#data_template ⇒ String
23
24
25
|
# File 'lib/getstream_ruby/generated/models/firebase_config.rb', line 23
def data_template
@data_template
end
|
#Disabled ⇒ Boolean
14
15
16
|
# File 'lib/getstream_ruby/generated/models/firebase_config.rb', line 14
def Disabled
@Disabled
end
|
#notification_template ⇒ String
26
27
28
|
# File 'lib/getstream_ruby/generated/models/firebase_config.rb', line 26
def notification_template
@notification_template
end
|
#server_key ⇒ String
29
30
31
|
# File 'lib/getstream_ruby/generated/models/firebase_config.rb', line 29
def server_key
@server_key
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/firebase_config.rb', line 43
def self.json_field_mappings
{
Disabled: 'Disabled',
apn_template: 'apn_template',
credentials_json: 'credentials_json',
data_template: 'data_template',
notification_template: 'notification_template',
server_key: 'server_key'
}
end
|