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.
22675 22676 22677 22678 |
# File 'lib/v20210820/models.rb', line 22675 def initialize(alarminfolist=nil, projectid=nil) @AlarmInfoList = alarminfolist @ProjectId = projectid end |
Instance Attribute Details
#AlarmInfoList ⇒ Object
22673 22674 22675 |
# File 'lib/v20210820/models.rb', line 22673 def AlarmInfoList @AlarmInfoList end |
#ProjectId ⇒ Object
22673 22674 22675 |
# File 'lib/v20210820/models.rb', line 22673 def ProjectId @ProjectId end |
Instance Method Details
#deserialize(params) ⇒ Object
22680 22681 22682 22683 22684 22685 22686 22687 22688 22689 22690 |
# File 'lib/v20210820/models.rb', line 22680 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 |