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.
22391 22392 22393 22394 |
# File 'lib/v20210820/models.rb', line 22391 def initialize(alarminfolist=nil, projectid=nil) @AlarmInfoList = alarminfolist @ProjectId = projectid end |
Instance Attribute Details
#AlarmInfoList ⇒ Object
22389 22390 22391 |
# File 'lib/v20210820/models.rb', line 22389 def AlarmInfoList @AlarmInfoList end |
#ProjectId ⇒ Object
22389 22390 22391 |
# File 'lib/v20210820/models.rb', line 22389 def ProjectId @ProjectId end |
Instance Method Details
#deserialize(params) ⇒ Object
22396 22397 22398 22399 22400 22401 22402 22403 22404 22405 22406 |
# File 'lib/v20210820/models.rb', line 22396 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 |