Class: TencentCloud::Cdb::V20170320::CreateAuditLogFileRequest

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

Overview

CreateAuditLogFile请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, starttime = nil, endtime = nil, order = nil, orderby = nil, filter = nil, logfilter = nil, columnfilter = nil) ⇒ CreateAuditLogFileRequest



2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
# File 'lib/v20170320/models.rb', line 2347

def initialize(instanceid=nil, starttime=nil, endtime=nil, order=nil, orderby=nil, filter=nil, logfilter=nil, columnfilter=nil)
  @InstanceId = instanceid
  @StartTime = starttime
  @EndTime = endtime
  @Order = order
  @OrderBy = orderby
  @Filter = filter
  @LogFilter = logfilter
  @ColumnFilter = columnfilter
end

Instance Attribute Details

#ColumnFilterObject



2342
2343
2344
# File 'lib/v20170320/models.rb', line 2342

def ColumnFilter
  @ColumnFilter
end

#EndTimeObject



2342
2343
2344
# File 'lib/v20170320/models.rb', line 2342

def EndTime
  @EndTime
end

#FilterObject



2342
2343
2344
# File 'lib/v20170320/models.rb', line 2342

def Filter
  @Filter
end

#InstanceIdObject



2342
2343
2344
# File 'lib/v20170320/models.rb', line 2342

def InstanceId
  @InstanceId
end

#LogFilterObject



2342
2343
2344
# File 'lib/v20170320/models.rb', line 2342

def LogFilter
  @LogFilter
end

#OrderObject



2342
2343
2344
# File 'lib/v20170320/models.rb', line 2342

def Order
  @Order
end

#OrderByObject



2342
2343
2344
# File 'lib/v20170320/models.rb', line 2342

def OrderBy
  @OrderBy
end

#StartTimeObject



2342
2343
2344
# File 'lib/v20170320/models.rb', line 2342

def StartTime
  @StartTime
end

Instance Method Details

#deserialize(params) ⇒ Object



2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
# File 'lib/v20170320/models.rb', line 2358

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