Class: TencentCloud::Iotvideoindustry::V20201201::ResetWarningRequest

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

Overview

ResetWarning请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, index = nil) ⇒ ResetWarningRequest

Returns a new instance of ResetWarningRequest.



5805
5806
5807
5808
# File 'lib/v20201201/models.rb', line 5805

def initialize(id=nil, index=nil)
  @Id = id
  @Index = index
end

Instance Attribute Details

#IdObject

Parameters:

  • Id:

    告警ID

  • Index:

    Es中告警ID



5803
5804
5805
# File 'lib/v20201201/models.rb', line 5803

def Id
  @Id
end

#IndexObject

Parameters:

  • Id:

    告警ID

  • Index:

    Es中告警ID



5803
5804
5805
# File 'lib/v20201201/models.rb', line 5803

def Index
  @Index
end

Instance Method Details

#deserialize(params) ⇒ Object



5810
5811
5812
5813
# File 'lib/v20201201/models.rb', line 5810

def deserialize(params)
  @Id = params['Id']
  @Index = params['Index']
end