Class: TencentCloud::Cdb::V20170320::DescribeAuditLogFilesResponse

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

Overview

DescribeAuditLogFiles返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeAuditLogFilesResponse

Returns a new instance of DescribeAuditLogFilesResponse.



4654
4655
4656
4657
4658
# File 'lib/v20170320/models.rb', line 4654

def initialize(totalcount=nil, items=nil, requestid=nil)
  @TotalCount = totalcount
  @Items = items
  @RequestId = requestid
end

Instance Attribute Details

#ItemsObject

Parameters:

  • TotalCount:

    符合条件的审计日志文件个数。

  • Items:

    审计日志文件详情。

  • RequestId:

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



4652
4653
4654
# File 'lib/v20170320/models.rb', line 4652

def Items
  @Items
end

#RequestIdObject

Parameters:

  • TotalCount:

    符合条件的审计日志文件个数。

  • Items:

    审计日志文件详情。

  • RequestId:

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



4652
4653
4654
# File 'lib/v20170320/models.rb', line 4652

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    符合条件的审计日志文件个数。

  • Items:

    审计日志文件详情。

  • RequestId:

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



4652
4653
4654
# File 'lib/v20170320/models.rb', line 4652

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
# File 'lib/v20170320/models.rb', line 4660

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Items'].nil?
    @Items = []
    params['Items'].each do |i|
      auditlogfile_tmp = AuditLogFile.new
      auditlogfile_tmp.deserialize(i)
      @Items << auditlogfile_tmp
    end
  end
  @RequestId = params['RequestId']
end