Class: TencentCloud::Cls::V20201016::DescribeAlertRecordHistoryResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::DescribeAlertRecordHistoryResponse
- Defined in:
- lib/v20201016/models.rb
Overview
DescribeAlertRecordHistory返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, records = nil, requestid = nil) ⇒ DescribeAlertRecordHistoryResponse
constructor
A new instance of DescribeAlertRecordHistoryResponse.
Constructor Details
#initialize(totalcount = nil, records = nil, requestid = nil) ⇒ DescribeAlertRecordHistoryResponse
Returns a new instance of DescribeAlertRecordHistoryResponse.
6988 6989 6990 6991 6992 |
# File 'lib/v20201016/models.rb', line 6988 def initialize(totalcount=nil, records=nil, requestid=nil) @TotalCount = totalcount @Records = records @RequestId = requestid end |
Instance Attribute Details
#Records ⇒ Object
6986 6987 6988 |
# File 'lib/v20201016/models.rb', line 6986 def Records @Records end |
#RequestId ⇒ Object
6986 6987 6988 |
# File 'lib/v20201016/models.rb', line 6986 def RequestId @RequestId end |
#TotalCount ⇒ Object
6986 6987 6988 |
# File 'lib/v20201016/models.rb', line 6986 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 |
# File 'lib/v20201016/models.rb', line 6994 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Records'].nil? @Records = [] params['Records'].each do |i| alerthistoryrecord_tmp = AlertHistoryRecord.new alerthistoryrecord_tmp.deserialize(i) @Records << alerthistoryrecord_tmp end end @RequestId = params['RequestId'] end |