Class: TencentCloud::Iotvideoindustry::V20201201::DeleteWarningRequest

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

Overview

DeleteWarning请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DeleteWarningRequest.



1493
1494
1495
1496
# File 'lib/v20201201/models.rb', line 1493

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

Instance Attribute Details

#IdObject

Parameters:

  • Id:

    告警ID

  • Index:

    告警索引



1491
1492
1493
# File 'lib/v20201201/models.rb', line 1491

def Id
  @Id
end

#IndexObject

Parameters:

  • Id:

    告警ID

  • Index:

    告警索引



1491
1492
1493
# File 'lib/v20201201/models.rb', line 1491

def Index
  @Index
end

Instance Method Details

#deserialize(params) ⇒ Object



1498
1499
1500
1501
# File 'lib/v20201201/models.rb', line 1498

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