Class: TencentCloud::Youmall::V20180228::DescribeZoneFlowAndStayTimeResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Youmall::V20180228::DescribeZoneFlowAndStayTimeResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeZoneFlowAndStayTime返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(companyid = nil, shopid = nil, data = nil, requestid = nil) ⇒ DescribeZoneFlowAndStayTimeResponse
constructor
A new instance of DescribeZoneFlowAndStayTimeResponse.
Constructor Details
#initialize(companyid = nil, shopid = nil, data = nil, requestid = nil) ⇒ DescribeZoneFlowAndStayTimeResponse
Returns a new instance of DescribeZoneFlowAndStayTimeResponse.
1571 1572 1573 1574 1575 1576 |
# File 'lib/v20180228/models.rb', line 1571 def initialize(companyid=nil, shopid=nil, data=nil, requestid=nil) @CompanyId = companyid @ShopId = shopid @Data = data @RequestId = requestid end |
Instance Attribute Details
#CompanyId ⇒ Object
1569 1570 1571 |
# File 'lib/v20180228/models.rb', line 1569 def CompanyId @CompanyId end |
#Data ⇒ Object
1569 1570 1571 |
# File 'lib/v20180228/models.rb', line 1569 def Data @Data end |
#RequestId ⇒ Object
1569 1570 1571 |
# File 'lib/v20180228/models.rb', line 1569 def RequestId @RequestId end |
#ShopId ⇒ Object
1569 1570 1571 |
# File 'lib/v20180228/models.rb', line 1569 def ShopId @ShopId end |
Instance Method Details
#deserialize(params) ⇒ Object
1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 |
# File 'lib/v20180228/models.rb', line 1578 def deserialize(params) @CompanyId = params['CompanyId'] @ShopId = params['ShopId'] unless params['Data'].nil? @Data = [] params['Data'].each do |i| zoneflowandavrstaytime_tmp = ZoneFlowAndAvrStayTime.new zoneflowandavrstaytime_tmp.deserialize(i) @Data << zoneflowandavrstaytime_tmp end end @RequestId = params['RequestId'] end |