Class: TencentCloud::Youmall::V20180228::DescribeShopInfoResponse

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

Overview

DescribeShopInfo返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#RequestIdObject

Parameters:

  • TotalCount:

    门店总数

  • ShopInfoSet:

    门店列表信息

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



1278
1279
1280
# File 'lib/v20180228/models.rb', line 1278

def RequestId
  @RequestId
end

#ShopInfoSetObject

Parameters:

  • TotalCount:

    门店总数

  • ShopInfoSet:

    门店列表信息

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



1278
1279
1280
# File 'lib/v20180228/models.rb', line 1278

def ShopInfoSet
  @ShopInfoSet
end

#TotalCountObject

Parameters:

  • TotalCount:

    门店总数

  • ShopInfoSet:

    门店列表信息

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



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