Class: TencentCloud::Cls::V20201016::ModifyAlarmShieldRequest

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

Overview

ModifyAlarmShield请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taskid = nil, alarmnoticeid = nil, starttime = nil, endtime = nil, type = nil, rule = nil, reason = nil, status = nil) ⇒ ModifyAlarmShieldRequest

Returns a new instance of ModifyAlarmShieldRequest.



10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
# File 'lib/v20201016/models.rb', line 10107

def initialize(taskid=nil, alarmnoticeid=nil, starttime=nil, endtime=nil, type=nil, rule=nil, reason=nil, status=nil)
  @TaskId = taskid
  @AlarmNoticeId = alarmnoticeid
  @StartTime = starttime
  @EndTime = endtime
  @Type = type
  @Rule = rule
  @Reason = reason
  @Status = status
end

Instance Attribute Details

#AlarmNoticeIdObject

枚举:0(未生效),1(生效中),2(已失效)

Parameters:



10105
10106
10107
# File 'lib/v20201016/models.rb', line 10105

def AlarmNoticeId
  @AlarmNoticeId
end

#EndTimeObject

枚举:0(未生效),1(生效中),2(已失效)

Parameters:



10105
10106
10107
# File 'lib/v20201016/models.rb', line 10105

def EndTime
  @EndTime
end

#ReasonObject

枚举:0(未生效),1(生效中),2(已失效)

Parameters:



10105
10106
10107
# File 'lib/v20201016/models.rb', line 10105

def Reason
  @Reason
end

#RuleObject

枚举:0(未生效),1(生效中),2(已失效)

Parameters:



10105
10106
10107
# File 'lib/v20201016/models.rb', line 10105

def Rule
  @Rule
end

#StartTimeObject

枚举:0(未生效),1(生效中),2(已失效)

Parameters:



10105
10106
10107
# File 'lib/v20201016/models.rb', line 10105

def StartTime
  @StartTime
end

#StatusObject

枚举:0(未生效),1(生效中),2(已失效)

Parameters:



10105
10106
10107
# File 'lib/v20201016/models.rb', line 10105

def Status
  @Status
end

#TaskIdObject

枚举:0(未生效),1(生效中),2(已失效)

Parameters:



10105
10106
10107
# File 'lib/v20201016/models.rb', line 10105

def TaskId
  @TaskId
end

#TypeObject

枚举:0(未生效),1(生效中),2(已失效)

Parameters:



10105
10106
10107
# File 'lib/v20201016/models.rb', line 10105

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
# File 'lib/v20201016/models.rb', line 10118

def deserialize(params)
  @TaskId = params['TaskId']
  @AlarmNoticeId = params['AlarmNoticeId']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @Type = params['Type']
  @Rule = params['Rule']
  @Reason = params['Reason']
  @Status = params['Status']
end