Class: TencentCloud::Scf::V20180416::AsyncTriggerConfig

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180416/models.rb

Overview

函数的异步重试配置详情

Instance Attribute Summary collapse

Instance Method Summary collapse

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

Parameters:

  • RetryConfig: —

    用户错误的异步重试重试配置

  • MsgTTL: —

    消息保留时间



146
147
148
# File 'lib/v20180416/models.rb', line 146

def MsgTTL
  @MsgTTL
end

#RetryConfig ⇒ Object

Parameters:

  • RetryConfig: —

    用户错误的异步重试重试配置

  • MsgTTL: —

    消息保留时间



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