Class: TencentCloud::Ess::V20201111::DescribeFileUrlsResponse

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

Overview

DescribeFileUrls返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fileurls = nil, totalcount = nil, requestid = nil) ⇒ DescribeFileUrlsResponse

Returns a new instance of DescribeFileUrlsResponse.



10245
10246
10247
10248
10249
# File 'lib/v20201111/models.rb', line 10245

def initialize(fileurls=nil, totalcount=nil, requestid=nil)
  @FileUrls = fileurls
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#FileUrlsObject

链接不是永久链接, 过期时间受UrlTtl入参的影响, 默认有效期5分钟后, 到期后链接失效。

Parameters:

  • FileUrls:

    文件URL信息;

  • TotalCount:

    URL数量

  • RequestId:

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



10243
10244
10245
# File 'lib/v20201111/models.rb', line 10243

def FileUrls
  @FileUrls
end

#RequestIdObject

链接不是永久链接, 过期时间受UrlTtl入参的影响, 默认有效期5分钟后, 到期后链接失效。

Parameters:

  • FileUrls:

    文件URL信息;

  • TotalCount:

    URL数量

  • RequestId:

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



10243
10244
10245
# File 'lib/v20201111/models.rb', line 10243

def RequestId
  @RequestId
end

#TotalCountObject

链接不是永久链接, 过期时间受UrlTtl入参的影响, 默认有效期5分钟后, 到期后链接失效。

Parameters:

  • FileUrls:

    文件URL信息;

  • TotalCount:

    URL数量

  • RequestId:

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



10243
10244
10245
# File 'lib/v20201111/models.rb', line 10243

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
# File 'lib/v20201111/models.rb', line 10251

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