Class: TencentCloud::Wedata::V20210820::SetTaskAlarmNewRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::SetTaskAlarmNewRequest
- Defined in:
- lib/v20210820/models.rb
Overview
SetTaskAlarmNew请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(alarminfolist = nil, projectid = nil) ⇒ SetTaskAlarmNewRequest
constructor
A new instance of SetTaskAlarmNewRequest.
Constructor Details
#initialize(alarminfolist = nil, projectid = nil) ⇒ SetTaskAlarmNewRequest
Returns a new instance of SetTaskAlarmNewRequest.
30248 30249 30250 30251 |
# File 'lib/v20210820/models.rb', line 30248 def initialize(alarminfolist=nil, projectid=nil) @AlarmInfoList = alarminfolist @ProjectId = projectid end |
Instance Attribute Details
#AlarmInfoList ⇒ Object
30246 30247 30248 |
# File 'lib/v20210820/models.rb', line 30246 def AlarmInfoList @AlarmInfoList end |
#ProjectId ⇒ Object
30246 30247 30248 |
# File 'lib/v20210820/models.rb', line 30246 def ProjectId @ProjectId end |
Instance Method Details
#deserialize(params) ⇒ Object
30253 30254 30255 30256 30257 30258 30259 30260 30261 30262 30263 |
# File 'lib/v20210820/models.rb', line 30253 def deserialize(params) unless params['AlarmInfoList'].nil? @AlarmInfoList = [] params['AlarmInfoList'].each do |i| alarminfo_tmp = AlarmInfo.new alarminfo_tmp.deserialize(i) @AlarmInfoList << alarminfo_tmp end end @ProjectId = params['ProjectId'] end |