Class: TencentCloud::Cdb::V20170320::DescribeAuditLogsRequest

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

Overview

DescribeAuditLogs请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, starttime = nil, endtime = nil, limit = nil, offset = nil, order = nil, orderby = nil, logfilter = nil) ⇒ DescribeAuditLogsRequest



4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
# File 'lib/v20170320/models.rb', line 4677

def initialize(instanceid=nil, starttime=nil, endtime=nil, limit=nil, offset=nil, order=nil, orderby=nil, logfilter=nil)
  @InstanceId = instanceid
  @StartTime = starttime
  @EndTime = endtime
  @Limit = limit
  @Offset = offset
  @Order = order
  @OrderBy = orderby
  @LogFilter = logfilter
end

Instance Attribute Details

#EndTimeObject

“timestamp” - 时间戳;“affectRows” - 影响行数;“execTime” - 执行时间。



4675
4676
4677
# File 'lib/v20170320/models.rb', line 4675

def EndTime
  @EndTime
end

#InstanceIdObject

“timestamp” - 时间戳;“affectRows” - 影响行数;“execTime” - 执行时间。



4675
4676
4677
# File 'lib/v20170320/models.rb', line 4675

def InstanceId
  @InstanceId
end

#LimitObject

“timestamp” - 时间戳;“affectRows” - 影响行数;“execTime” - 执行时间。



4675
4676
4677
# File 'lib/v20170320/models.rb', line 4675

def Limit
  @Limit
end

#LogFilterObject

“timestamp” - 时间戳;“affectRows” - 影响行数;“execTime” - 执行时间。



4675
4676
4677
# File 'lib/v20170320/models.rb', line 4675

def LogFilter
  @LogFilter
end

#OffsetObject

“timestamp” - 时间戳;“affectRows” - 影响行数;“execTime” - 执行时间。



4675
4676
4677
# File 'lib/v20170320/models.rb', line 4675

def Offset
  @Offset
end

#OrderObject

“timestamp” - 时间戳;“affectRows” - 影响行数;“execTime” - 执行时间。



4675
4676
4677
# File 'lib/v20170320/models.rb', line 4675

def Order
  @Order
end

#OrderByObject

“timestamp” - 时间戳;“affectRows” - 影响行数;“execTime” - 执行时间。



4675
4676
4677
# File 'lib/v20170320/models.rb', line 4675

def OrderBy
  @OrderBy
end

#StartTimeObject

“timestamp” - 时间戳;“affectRows” - 影响行数;“execTime” - 执行时间。



4675
4676
4677
# File 'lib/v20170320/models.rb', line 4675

def StartTime
  @StartTime
end

Instance Method Details

#deserialize(params) ⇒ Object



4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
# File 'lib/v20170320/models.rb', line 4688

def deserialize(params)
  @InstanceId = params['InstanceId']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @Limit = params['Limit']
  @Offset = params['Offset']
  @Order = params['Order']
  @OrderBy = params['OrderBy']
  unless params['LogFilter'].nil?
    @LogFilter = []
    params['LogFilter'].each do |i|
      instanceauditlogfilters_tmp = InstanceAuditLogFilters.new
      instanceauditlogfilters_tmp.deserialize(i)
      @LogFilter << instanceauditlogfilters_tmp
    end
  end
end