Class: GetStream::Generated::Models::WebhookFailoverConfig
- Inherits:
-
BaseModel
- Object
- BaseModel
- GetStream::Generated::Models::WebhookFailoverConfig
show all
- Defined in:
- lib/getstream_ruby/generated/models/webhook_failover_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 with attributes
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# File 'lib/getstream_ruby/generated/models/webhook_failover_config.rb', line 44
def initialize(attributes = {})
super(attributes)
@gcs_bucket = attributes[:gcs_bucket] || attributes['gcs_bucket'] || nil
@gcs_credentials = attributes[:gcs_credentials] || attributes['gcs_credentials'] || nil
@gcs_path = attributes[:gcs_path] || attributes['gcs_path'] || nil
@s3_api_key = attributes[:s3_api_key] || attributes['s3_api_key'] || nil
@s3_bucket = attributes[:s3_bucket] || attributes['s3_bucket'] || nil
@s3_path = attributes[:s3_path] || attributes['s3_path'] || nil
@s3_region = attributes[:s3_region] || attributes['s3_region'] || nil
@s3_role_arn = attributes[:s3_role_arn] || attributes['s3_role_arn'] || nil
@s3_secret = attributes[:s3_secret] || attributes['s3_secret'] || nil
@type = attributes[:type] || attributes['type'] || nil
end
|
Instance Attribute Details
#gcs_bucket ⇒ String
14
15
16
|
# File 'lib/getstream_ruby/generated/models/webhook_failover_config.rb', line 14
def gcs_bucket
@gcs_bucket
end
|
#gcs_credentials ⇒ String
17
18
19
|
# File 'lib/getstream_ruby/generated/models/webhook_failover_config.rb', line 17
def gcs_credentials
@gcs_credentials
end
|
#gcs_path ⇒ String
20
21
22
|
# File 'lib/getstream_ruby/generated/models/webhook_failover_config.rb', line 20
def gcs_path
@gcs_path
end
|
#s3_api_key ⇒ String
23
24
25
|
# File 'lib/getstream_ruby/generated/models/webhook_failover_config.rb', line 23
def s3_api_key
@s3_api_key
end
|
#s3_bucket ⇒ String
26
27
28
|
# File 'lib/getstream_ruby/generated/models/webhook_failover_config.rb', line 26
def s3_bucket
@s3_bucket
end
|
#s3_path ⇒ String
29
30
31
|
# File 'lib/getstream_ruby/generated/models/webhook_failover_config.rb', line 29
def s3_path
@s3_path
end
|
#s3_region ⇒ String
32
33
34
|
# File 'lib/getstream_ruby/generated/models/webhook_failover_config.rb', line 32
def s3_region
@s3_region
end
|
#s3_role_arn ⇒ String
35
36
37
|
# File 'lib/getstream_ruby/generated/models/webhook_failover_config.rb', line 35
def s3_role_arn
@s3_role_arn
end
|
#s3_secret ⇒ String
38
39
40
|
# File 'lib/getstream_ruby/generated/models/webhook_failover_config.rb', line 38
def s3_secret
@s3_secret
end
|
#type ⇒ String
41
42
43
|
# File 'lib/getstream_ruby/generated/models/webhook_failover_config.rb', line 41
def type
@type
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/webhook_failover_config.rb', line 59
def self.json_field_mappings
{
gcs_bucket: 'gcs_bucket',
gcs_credentials: 'gcs_credentials',
gcs_path: 'gcs_path',
s3_api_key: 's3_api_key',
s3_bucket: 's3_bucket',
s3_path: 's3_path',
s3_region: 's3_region',
s3_role_arn: 's3_role_arn',
s3_secret: 's3_secret',
type: 'type'
}
end
|