lib/v20190319/models.rb in tencentcloud-sdk-cloudaudit-1.0.202 vs lib/v20190319/models.rb in tencentcloud-sdk-cloudaudit-1.0.203

- old
+ new

@@ -371,19 +371,23 @@ # @param NextToken: 查看更多日志的凭证 # @type NextToken: Integer # @param Events: 日志集合 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Events: Array + # @param TotalCount: 总数 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String - attr_accessor :ListOver, :NextToken, :Events, :RequestId + attr_accessor :ListOver, :NextToken, :Events, :TotalCount, :RequestId - def initialize(listover=nil, nexttoken=nil, events=nil, requestid=nil) + def initialize(listover=nil, nexttoken=nil, events=nil, totalcount=nil, requestid=nil) @ListOver = listover @NextToken = nexttoken @Events = events + @TotalCount = totalcount @RequestId = requestid end def deserialize(params) @ListOver = params['ListOver'] @@ -394,9 +398,10 @@ event_tmp = Event.new event_tmp.deserialize(i) @Events << event_tmp end end + @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end end # 日志详情