Class: TencentCloud::Cwp::V20180228::DescribeAssetWebLocationPathListResponse

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

Overview

DescribeAssetWebLocationPathList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, paths = nil, requestid = nil) ⇒ DescribeAssetWebLocationPathListResponse

Returns a new instance of DescribeAssetWebLocationPathListResponse.



10877
10878
10879
10880
10881
# File 'lib/v20180228/models.rb', line 10877

def initialize(total=nil, paths=nil, requestid=nil)
  @Total = total
  @Paths = paths
  @RequestId = requestid
end

Instance Attribute Details

#PathsObject

Parameters:

  • Total:

    总数

  • Paths:

    列表

  • RequestId:

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



10875
10876
10877
# File 'lib/v20180228/models.rb', line 10875

def Paths
  @Paths
end

#RequestIdObject

Parameters:

  • Total:

    总数

  • Paths:

    列表

  • RequestId:

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



10875
10876
10877
# File 'lib/v20180228/models.rb', line 10875

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • Total:

    总数

  • Paths:

    列表

  • RequestId:

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



10875
10876
10877
# File 'lib/v20180228/models.rb', line 10875

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
# File 'lib/v20180228/models.rb', line 10883

def deserialize(params)
  @Total = params['Total']
  unless params['Paths'].nil?
    @Paths = []
    params['Paths'].each do |i|
      assetweblocationpath_tmp = AssetWebLocationPath.new
      assetweblocationpath_tmp.deserialize(i)
      @Paths << assetweblocationpath_tmp
    end
  end
  @RequestId = params['RequestId']
end