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.



10856
10857
10858
10859
10860
# File 'lib/v20180228/models.rb', line 10856

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。



10854
10855
10856
# File 'lib/v20180228/models.rb', line 10854

def Paths
  @Paths
end

#RequestIdObject

Parameters:

  • Total:

    总数

  • Paths:

    列表

  • RequestId:

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



10854
10855
10856
# File 'lib/v20180228/models.rb', line 10854

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • Total:

    总数

  • Paths:

    列表

  • RequestId:

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



10854
10855
10856
# File 'lib/v20180228/models.rb', line 10854

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
# File 'lib/v20180228/models.rb', line 10862

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