Class: TencentCloud::Youmall::V20180228::DescribeZoneFlowHourlyByZoneIdResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Youmall::V20180228::DescribeZoneFlowHourlyByZoneIdResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeZoneFlowHourlyByZoneId返回参数结构体
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) ⇒ DescribeZoneFlowHourlyByZoneIdResponse
constructor
A new instance of DescribeZoneFlowHourlyByZoneIdResponse.
Constructor Details
#initialize(companyid = nil, shopid = nil, zoneid = nil, zonename = nil, data = nil, requestid = nil) ⇒ DescribeZoneFlowHourlyByZoneIdResponse
Returns a new instance of DescribeZoneFlowHourlyByZoneIdResponse.
1864 1865 1866 1867 1868 1869 1870 1871 |
# File 'lib/v20180228/models.rb', line 1864 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
1862 1863 1864 |
# File 'lib/v20180228/models.rb', line 1862 def CompanyId @CompanyId end |
#Data ⇒ Object
1862 1863 1864 |
# File 'lib/v20180228/models.rb', line 1862 def Data @Data end |
#RequestId ⇒ Object
1862 1863 1864 |
# File 'lib/v20180228/models.rb', line 1862 def RequestId @RequestId end |
#ShopId ⇒ Object
1862 1863 1864 |
# File 'lib/v20180228/models.rb', line 1862 def ShopId @ShopId end |
#ZoneId ⇒ Object
1862 1863 1864 |
# File 'lib/v20180228/models.rb', line 1862 def ZoneId @ZoneId end |
#ZoneName ⇒ Object
1862 1863 1864 |
# File 'lib/v20180228/models.rb', line 1862 def ZoneName @ZoneName end |
Instance Method Details
#deserialize(params) ⇒ Object
1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 |
# File 'lib/v20180228/models.rb', line 1873 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| zonehourflow_tmp = ZoneHourFlow.new zonehourflow_tmp.deserialize(i) @Data << zonehourflow_tmp end end @RequestId = params['RequestId'] end |