Class: TencentCloud::Ecdn::V20191012::DescribeEcdnDomainLogsResponse

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

Overview

DescribeEcdnDomainLogs返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domainlogs = nil, totalcount = nil, requestid = nil) ⇒ DescribeEcdnDomainLogsResponse

Returns a new instance of DescribeEcdnDomainLogsResponse.



349
350
351
352
353
# File 'lib/v20191012/models.rb', line 349

def initialize(domainlogs=nil, totalcount=nil, requestid=nil)
  @DomainLogs = domainlogs
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#DomainLogsObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • DomainLogs:

    日志链接列表。

  • TotalCount:

    日志链接总条数。

  • RequestId:

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



347
348
349
# File 'lib/v20191012/models.rb', line 347

def DomainLogs
  @DomainLogs
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • DomainLogs:

    日志链接列表。

  • TotalCount:

    日志链接总条数。

  • RequestId:

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



347
348
349
# File 'lib/v20191012/models.rb', line 347

def RequestId
  @RequestId
end

#TotalCountObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • DomainLogs:

    日志链接列表。

  • TotalCount:

    日志链接总条数。

  • RequestId:

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



347
348
349
# File 'lib/v20191012/models.rb', line 347

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



355
356
357
358
359
360
361
362
363
364
365
366
# File 'lib/v20191012/models.rb', line 355

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