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.



17982
17983
17984
17985
17986
# File 'lib/v20210820/models.rb', line 17982

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



17980
17981
17982
# File 'lib/v20210820/models.rb', line 17980

def Id
  @Id
end

#ProjectIdObject

Parameters:

  • Id:

    规则ID

  • TaskAlarmInfo:

    规则信息

  • ProjectId:

    项目ID



17980
17981
17982
# File 'lib/v20210820/models.rb', line 17980

def ProjectId
  @ProjectId
end

#TaskAlarmInfoObject

Parameters:

  • Id:

    规则ID

  • TaskAlarmInfo:

    规则信息

  • ProjectId:

    项目ID



17980
17981
17982
# File 'lib/v20210820/models.rb', line 17980

def TaskAlarmInfo
  @TaskAlarmInfo
end

Instance Method Details

#deserialize(params) ⇒ Object



17988
17989
17990
17991
17992
17993
17994
17995
# File 'lib/v20210820/models.rb', line 17988

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