Class: TencentCloud::Dcdb::V20180411::DescribeDBLogFilesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dcdb::V20180411::DescribeDBLogFilesResponse
- Defined in:
- lib/v20180411/models.rb
Overview
DescribeDBLogFiles返回参数结构体
Instance Attribute Summary collapse
- #Files ⇒ Object
- #InstanceId ⇒ Object
- #NormalPrefix ⇒ Object
- #RequestId ⇒ Object
- #ShardId ⇒ Object
- #Total ⇒ Object
- #Type ⇒ Object
- #VpcPrefix ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, type = nil, total = nil, files = nil, vpcprefix = nil, normalprefix = nil, shardid = nil, requestid = nil) ⇒ DescribeDBLogFilesResponse
constructor
A new instance of DescribeDBLogFilesResponse.
Constructor Details
#initialize(instanceid = nil, type = nil, total = nil, files = nil, vpcprefix = nil, normalprefix = nil, shardid = nil, requestid = nil) ⇒ DescribeDBLogFilesResponse
Returns a new instance of DescribeDBLogFilesResponse.
2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 |
# File 'lib/v20180411/models.rb', line 2300 def initialize(instanceid=nil, type=nil, total=nil, files=nil, vpcprefix=nil, normalprefix=nil, shardid=nil, requestid=nil) @InstanceId = instanceid @Type = type @Total = total @Files = files @VpcPrefix = vpcprefix @NormalPrefix = normalprefix @ShardId = shardid @RequestId = requestid end |
Instance Attribute Details
#Files ⇒ Object
2298 2299 2300 |
# File 'lib/v20180411/models.rb', line 2298 def Files @Files end |
#InstanceId ⇒ Object
2298 2299 2300 |
# File 'lib/v20180411/models.rb', line 2298 def InstanceId @InstanceId end |
#NormalPrefix ⇒ Object
2298 2299 2300 |
# File 'lib/v20180411/models.rb', line 2298 def NormalPrefix @NormalPrefix end |
#RequestId ⇒ Object
2298 2299 2300 |
# File 'lib/v20180411/models.rb', line 2298 def RequestId @RequestId end |
#ShardId ⇒ Object
2298 2299 2300 |
# File 'lib/v20180411/models.rb', line 2298 def ShardId @ShardId end |
#Total ⇒ Object
2298 2299 2300 |
# File 'lib/v20180411/models.rb', line 2298 def Total @Total end |
#Type ⇒ Object
2298 2299 2300 |
# File 'lib/v20180411/models.rb', line 2298 def Type @Type end |
#VpcPrefix ⇒ Object
2298 2299 2300 |
# File 'lib/v20180411/models.rb', line 2298 def VpcPrefix @VpcPrefix end |
Instance Method Details
#deserialize(params) ⇒ Object
2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 |
# File 'lib/v20180411/models.rb', line 2311 def deserialize(params) @InstanceId = params['InstanceId'] @Type = params['Type'] @Total = params['Total'] unless params['Files'].nil? @Files = [] params['Files'].each do |i| logfileinfo_tmp = LogFileInfo.new logfileinfo_tmp.deserialize(i) @Files << logfileinfo_tmp end end @VpcPrefix = params['VpcPrefix'] @NormalPrefix = params['NormalPrefix'] @ShardId = params['ShardId'] @RequestId = params['RequestId'] end |