Class: TencentCloud::Youmall::V20180228::DescribeZoneFlowDailyByZoneIdResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Youmall::V20180228::DescribeZoneFlowDailyByZoneIdResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeZoneFlowDailyByZoneId返回参数结构体
Instance Attribute Summary collapse
- #CompanyId ⇒ Object
- #Data ⇒ Object
- #RequestId ⇒ Object
- #ShopId ⇒ Object
- #ZoneId ⇒ Object
- #ZoneName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(companyid = nil, shopid = nil, zoneid = nil, zonename = nil, data = nil, requestid = nil) ⇒ DescribeZoneFlowDailyByZoneIdResponse
constructor
A new instance of DescribeZoneFlowDailyByZoneIdResponse.
Constructor Details
#initialize(companyid = nil, shopid = nil, zoneid = nil, zonename = nil, data = nil, requestid = nil) ⇒ DescribeZoneFlowDailyByZoneIdResponse
Returns a new instance of DescribeZoneFlowDailyByZoneIdResponse.
1642 1643 1644 1645 1646 1647 1648 1649 |
# File 'lib/v20180228/models.rb', line 1642 def initialize(companyid=nil, shopid=nil, zoneid=nil, zonename=nil, data=nil, requestid=nil) @CompanyId = companyid @ShopId = shopid @ZoneId = zoneid @ZoneName = zonename @Data = data @RequestId = requestid end |
Instance Attribute Details
#CompanyId ⇒ Object
1640 1641 1642 |
# File 'lib/v20180228/models.rb', line 1640 def CompanyId @CompanyId end |
#Data ⇒ Object
1640 1641 1642 |
# File 'lib/v20180228/models.rb', line 1640 def Data @Data end |
#RequestId ⇒ Object
1640 1641 1642 |
# File 'lib/v20180228/models.rb', line 1640 def RequestId @RequestId end |
#ShopId ⇒ Object
1640 1641 1642 |
# File 'lib/v20180228/models.rb', line 1640 def ShopId @ShopId end |
#ZoneId ⇒ Object
1640 1641 1642 |
# File 'lib/v20180228/models.rb', line 1640 def ZoneId @ZoneId end |
#ZoneName ⇒ Object
1640 1641 1642 |
# File 'lib/v20180228/models.rb', line 1640 def ZoneName @ZoneName end |
Instance Method Details
#deserialize(params) ⇒ Object
1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 |
# File 'lib/v20180228/models.rb', line 1651 def deserialize(params) @CompanyId = params['CompanyId'] @ShopId = params['ShopId'] @ZoneId = params['ZoneId'] @ZoneName = params['ZoneName'] unless params['Data'].nil? @Data = [] params['Data'].each do |i| zonedayflow_tmp = ZoneDayFlow.new zonedayflow_tmp.deserialize(i) @Data << zonedayflow_tmp end end @RequestId = params['RequestId'] end |