Class: TencentCloud::Youmall::V20180228::DescribeShopInfoResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Youmall::V20180228::DescribeShopInfoResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeShopInfo返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, shopinfoset = nil, requestid = nil) ⇒ DescribeShopInfoResponse
constructor
A new instance of DescribeShopInfoResponse.
Constructor Details
#initialize(totalcount = nil, shopinfoset = nil, requestid = nil) ⇒ DescribeShopInfoResponse
Returns a new instance of DescribeShopInfoResponse.
1280 1281 1282 1283 1284 |
# File 'lib/v20180228/models.rb', line 1280 def initialize(totalcount=nil, shopinfoset=nil, requestid=nil) @TotalCount = totalcount @ShopInfoSet = shopinfoset @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
1278 1279 1280 |
# File 'lib/v20180228/models.rb', line 1278 def RequestId @RequestId end |
#ShopInfoSet ⇒ Object
1278 1279 1280 |
# File 'lib/v20180228/models.rb', line 1278 def ShopInfoSet @ShopInfoSet end |
#TotalCount ⇒ Object
1278 1279 1280 |
# File 'lib/v20180228/models.rb', line 1278 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 |
# File 'lib/v20180228/models.rb', line 1286 def deserialize(params) @TotalCount = params['TotalCount'] unless params['ShopInfoSet'].nil? @ShopInfoSet = [] params['ShopInfoSet'].each do |i| shopinfo_tmp = ShopInfo.new shopinfo_tmp.deserialize(i) @ShopInfoSet << shopinfo_tmp end end @RequestId = params['RequestId'] end |