Class: TencentCloud::Iecp::V20210914::GetMarketComponentListResponse

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

Overview

GetMarketComponentList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(componentlist = nil, totalcount = nil, requestid = nil) ⇒ GetMarketComponentListResponse

Returns a new instance of GetMarketComponentListResponse.



4544
4545
4546
4547
4548
# File 'lib/v20210914/models.rb', line 4544

def initialize(componentlist=nil, totalcount=nil, requestid=nil)
  @ComponentList = componentlist
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#ComponentListObject

Parameters:

  • ComponentList:

    组件列表

  • TotalCount:

    组件总数

  • RequestId:

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



4542
4543
4544
# File 'lib/v20210914/models.rb', line 4542

def ComponentList
  @ComponentList
end

#RequestIdObject

Parameters:

  • ComponentList:

    组件列表

  • TotalCount:

    组件总数

  • RequestId:

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



4542
4543
4544
# File 'lib/v20210914/models.rb', line 4542

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • ComponentList:

    组件列表

  • TotalCount:

    组件总数

  • RequestId:

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



4542
4543
4544
# File 'lib/v20210914/models.rb', line 4542

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
# File 'lib/v20210914/models.rb', line 4550

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