Class: TencentCloud::Scf::V20180416::AsyncTriggerConfig
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Scf::V20180416::AsyncTriggerConfig
- Defined in:
- lib/v20180416/models.rb
Overview
函数的异步重试配置详情
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(retryconfig = nil, msgttl = nil) ⇒ AsyncTriggerConfig
constructor
A new instance of AsyncTriggerConfig.
Constructor Details
#initialize(retryconfig = nil, msgttl = nil) ⇒ AsyncTriggerConfig
Returns a new instance of AsyncTriggerConfig.
148 149 150 151 |
# File 'lib/v20180416/models.rb', line 148 def initialize(retryconfig=nil, msgttl=nil) @RetryConfig = retryconfig @MsgTTL = msgttl end |
Instance Attribute Details
#MsgTTL ⇒ Object
146 147 148 |
# File 'lib/v20180416/models.rb', line 146 def MsgTTL @MsgTTL end |
#RetryConfig ⇒ Object
146 147 148 |
# File 'lib/v20180416/models.rb', line 146 def RetryConfig @RetryConfig end |
Instance Method Details
#deserialize(params) ⇒ Object
153 154 155 156 157 158 159 160 161 162 163 |
# File 'lib/v20180416/models.rb', line 153 def deserialize(params) unless params['RetryConfig'].nil? @RetryConfig = [] params['RetryConfig'].each do |i| retryconfig_tmp = RetryConfig.new retryconfig_tmp.deserialize(i) @RetryConfig << retryconfig_tmp end end @MsgTTL = params['MsgTTL'] end |