Class: TencentCloud::Iotvideoindustry::V20201201::DescribeAbnormalEventsResponse

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

Overview

DescribeAbnormalEvents返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data = nil, requestid = nil) ⇒ DescribeAbnormalEventsResponse

Returns a new instance of DescribeAbnormalEventsResponse.



1550
1551
1552
1553
# File 'lib/v20201201/models.rb', line 1550

def initialize(data=nil, requestid=nil)
  @Data = data
  @RequestId = requestid
end

Instance Attribute Details

#DataObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Data:

    异动事件走势列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1548
1549
1550
# File 'lib/v20201201/models.rb', line 1548

def Data
  @Data
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Data:

    异动事件走势列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



1548
1549
1550
# File 'lib/v20201201/models.rb', line 1548

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
# File 'lib/v20201201/models.rb', line 1555

def deserialize(params)
  unless params['Data'].nil?
    @Data = []
    params['Data'].each do |i|
      abnormalevents_tmp = AbnormalEvents.new
      abnormalevents_tmp.deserialize(i)
      @Data << abnormalevents_tmp
    end
  end
  @RequestId = params['RequestId']
end