Class: TencentCloud::Wedata::V20210820::ModifyTaskAlarmRegularRequest

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

Overview

ModifyTaskAlarmRegular请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, taskalarminfo = nil, projectid = nil) ⇒ ModifyTaskAlarmRegularRequest

Returns a new instance of ModifyTaskAlarmRegularRequest.



26377
26378
26379
26380
26381
# File 'lib/v20210820/models.rb', line 26377

def initialize(id=nil, taskalarminfo=nil, projectid=nil)
  @Id = id
  @TaskAlarmInfo = taskalarminfo
  @ProjectId = projectid
end

Instance Attribute Details

#IdObject

Parameters:

  • Id:

    规则ID

  • TaskAlarmInfo:

    规则信息

  • ProjectId:

    项目ID



26375
26376
26377
# File 'lib/v20210820/models.rb', line 26375

def Id
  @Id
end

#ProjectIdObject

Parameters:

  • Id:

    规则ID

  • TaskAlarmInfo:

    规则信息

  • ProjectId:

    项目ID



26375
26376
26377
# File 'lib/v20210820/models.rb', line 26375

def ProjectId
  @ProjectId
end

#TaskAlarmInfoObject

Parameters:

  • Id:

    规则ID

  • TaskAlarmInfo:

    规则信息

  • ProjectId:

    项目ID



26375
26376
26377
# File 'lib/v20210820/models.rb', line 26375

def TaskAlarmInfo
  @TaskAlarmInfo
end

Instance Method Details

#deserialize(params) ⇒ Object



26383
26384
26385
26386
26387
26388
26389
26390
# File 'lib/v20210820/models.rb', line 26383

def deserialize(params)
  @Id = params['Id']
  unless params['TaskAlarmInfo'].nil?
    @TaskAlarmInfo = TaskAlarmInfo.new
    @TaskAlarmInfo.deserialize(params['TaskAlarmInfo'])
  end
  @ProjectId = params['ProjectId']
end