Class: TencentCloud::Cwp::V20180228::DescribeAssetWebLocationListResponse

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

Overview

DescribeAssetWebLocationList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(total = nil, locations = nil, requestid = nil) ⇒ DescribeAssetWebLocationListResponse

Returns a new instance of DescribeAssetWebLocationListResponse.



10793
10794
10795
10796
10797
# File 'lib/v20180228/models.rb', line 10793

def initialize(total=nil, locations=nil, requestid=nil)
  @Total = total
  @Locations = locations
  @RequestId = requestid
end

Instance Attribute Details

#LocationsObject

Parameters:

  • Total:

    记录总数

  • Locations:

    站点列表

  • RequestId:

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



10791
10792
10793
# File 'lib/v20180228/models.rb', line 10791

def Locations
  @Locations
end

#RequestIdObject

Parameters:

  • Total:

    记录总数

  • Locations:

    站点列表

  • RequestId:

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



10791
10792
10793
# File 'lib/v20180228/models.rb', line 10791

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • Total:

    记录总数

  • Locations:

    站点列表

  • RequestId:

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



10791
10792
10793
# File 'lib/v20180228/models.rb', line 10791

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
# File 'lib/v20180228/models.rb', line 10799

def deserialize(params)
  @Total = params['Total']
  unless params['Locations'].nil?
    @Locations = []
    params['Locations'].each do |i|
      assetweblocationbaseinfo_tmp = AssetWebLocationBaseInfo.new
      assetweblocationbaseinfo_tmp.deserialize(i)
      @Locations << assetweblocationbaseinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end