Class: GetStream::Generated::Models::APNConfig
- Inherits:
-
BaseModel
- Object
- BaseModel
- GetStream::Generated::Models::APNConfig
show all
- Defined in:
- lib/getstream_ruby/generated/models/apn_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 = {}) ⇒ APNConfig
Initialize with attributes
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# File 'lib/getstream_ruby/generated/models/apn_config.rb', line 44
def initialize(attributes = {})
super(attributes)
@Disabled = attributes[:Disabled] || attributes['Disabled'] || nil
@auth_key = attributes[:auth_key] || attributes['auth_key'] || nil
@auth_type = attributes[:auth_type] || attributes['auth_type'] || nil
@bundle_id = attributes[:bundle_id] || attributes['bundle_id'] || nil
@development = attributes[:development] || attributes['development'] || nil
@host = attributes[:host] || attributes['host'] || nil
@key_id = attributes[:key_id] || attributes['key_id'] || nil
@notification_template = attributes[:notification_template] || attributes['notification_template'] || nil
@p12_cert = attributes[:p12_cert] || attributes['p12_cert'] || nil
@team_id = attributes[:team_id] || attributes['team_id'] || nil
end
|
Instance Attribute Details
#auth_key ⇒ String
17
18
19
|
# File 'lib/getstream_ruby/generated/models/apn_config.rb', line 17
def auth_key
@auth_key
end
|
#auth_type ⇒ String
20
21
22
|
# File 'lib/getstream_ruby/generated/models/apn_config.rb', line 20
def auth_type
@auth_type
end
|
#bundle_id ⇒ String
23
24
25
|
# File 'lib/getstream_ruby/generated/models/apn_config.rb', line 23
def bundle_id
@bundle_id
end
|
#development ⇒ Boolean
26
27
28
|
# File 'lib/getstream_ruby/generated/models/apn_config.rb', line 26
def development
@development
end
|
#Disabled ⇒ Boolean
14
15
16
|
# File 'lib/getstream_ruby/generated/models/apn_config.rb', line 14
def Disabled
@Disabled
end
|
#host ⇒ String
29
30
31
|
# File 'lib/getstream_ruby/generated/models/apn_config.rb', line 29
def host
@host
end
|
#key_id ⇒ String
32
33
34
|
# File 'lib/getstream_ruby/generated/models/apn_config.rb', line 32
def key_id
@key_id
end
|
#notification_template ⇒ String
35
36
37
|
# File 'lib/getstream_ruby/generated/models/apn_config.rb', line 35
def notification_template
@notification_template
end
|
#p12_cert ⇒ String
38
39
40
|
# File 'lib/getstream_ruby/generated/models/apn_config.rb', line 38
def p12_cert
@p12_cert
end
|
#team_id ⇒ String
41
42
43
|
# File 'lib/getstream_ruby/generated/models/apn_config.rb', line 41
def team_id
@team_id
end
|
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# File 'lib/getstream_ruby/generated/models/apn_config.rb', line 59
def self.json_field_mappings
{
Disabled: 'Disabled',
auth_key: 'auth_key',
auth_type: 'auth_type',
bundle_id: 'bundle_id',
development: 'development',
host: 'host',
key_id: 'key_id',
notification_template: 'notification_template',
p12_cert: 'p12_cert',
team_id: 'team_id'
}
end
|