Class: TencentCloud::Eb::V20210416::ListPlatformProductsResponse

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

Overview

ListPlatformProducts返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(platformproducts = nil, requestid = nil) ⇒ ListPlatformProductsResponse



1613
1614
1615
1616
# File 'lib/v20210416/models.rb', line 1613

def initialize(platformproducts=nil, requestid=nil)
  @PlatformProducts = platformproducts
  @RequestId = requestid
end

Instance Attribute Details

#PlatformProductsObject



1611
1612
1613
# File 'lib/v20210416/models.rb', line 1611

def PlatformProducts
  @PlatformProducts
end

#RequestIdObject



1611
1612
1613
# File 'lib/v20210416/models.rb', line 1611

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
# File 'lib/v20210416/models.rb', line 1618

def deserialize(params)
  unless params['PlatformProducts'].nil?
    @PlatformProducts = []
    params['PlatformProducts'].each do |i|
      platformproduct_tmp = PlatformProduct.new
      platformproduct_tmp.deserialize(i)
      @PlatformProducts << platformproduct_tmp
    end
  end
  @RequestId = params['RequestId']
end