Class: TencentCloud::Ckafka::V20190819::FailureParam
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::FailureParam
- Defined in:
- lib/v20190819/models.rb
Overview
数据处理规则失败处理
Instance Attribute Summary collapse
- #DlqType ⇒ Object
- #KafkaParam ⇒ Object
- #MaxRetryAttempts ⇒ Object
- #RetryInterval ⇒ Object
- #TopicParam ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, kafkaparam = nil, retryinterval = nil, maxretryattempts = nil, topicparam = nil, dlqtype = nil) ⇒ FailureParam
constructor
A new instance of FailureParam.
Constructor Details
#initialize(type = nil, kafkaparam = nil, retryinterval = nil, maxretryattempts = nil, topicparam = nil, dlqtype = nil) ⇒ FailureParam
Returns a new instance of FailureParam.
6850 6851 6852 6853 6854 6855 6856 6857 |
# File 'lib/v20190819/models.rb', line 6850 def initialize(type=nil, kafkaparam=nil, =nil, maxretryattempts=nil, topicparam=nil, dlqtype=nil) @Type = type @KafkaParam = kafkaparam @RetryInterval = @MaxRetryAttempts = maxretryattempts @TopicParam = topicparam @DlqType = dlqtype end |
Instance Attribute Details
#DlqType ⇒ Object
6848 6849 6850 |
# File 'lib/v20190819/models.rb', line 6848 def DlqType @DlqType end |
#KafkaParam ⇒ Object
6848 6849 6850 |
# File 'lib/v20190819/models.rb', line 6848 def KafkaParam @KafkaParam end |
#MaxRetryAttempts ⇒ Object
6848 6849 6850 |
# File 'lib/v20190819/models.rb', line 6848 def MaxRetryAttempts @MaxRetryAttempts end |
#RetryInterval ⇒ Object
6848 6849 6850 |
# File 'lib/v20190819/models.rb', line 6848 def RetryInterval @RetryInterval end |
#TopicParam ⇒ Object
6848 6849 6850 |
# File 'lib/v20190819/models.rb', line 6848 def TopicParam @TopicParam end |
#Type ⇒ Object
6848 6849 6850 |
# File 'lib/v20190819/models.rb', line 6848 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 |
# File 'lib/v20190819/models.rb', line 6859 def deserialize(params) @Type = params['Type'] unless params['KafkaParam'].nil? @KafkaParam = KafkaParam.new @KafkaParam.deserialize(params['KafkaParam']) end @RetryInterval = params['RetryInterval'] @MaxRetryAttempts = params['MaxRetryAttempts'] unless params['TopicParam'].nil? @TopicParam = TopicParam.new @TopicParam.deserialize(params['TopicParam']) end @DlqType = params['DlqType'] end |