Class: TencentCloud::Youmall::V20180228::DescribeZoneTrafficInfoResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Youmall::V20180228::DescribeZoneTrafficInfoResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeZoneTrafficInfo返回参数结构体
Instance Attribute Summary collapse
- #CompanyId ⇒ Object
- #RequestId ⇒ Object
- #ShopId ⇒ Object
- #TotalCount ⇒ Object
- #ZoneTrafficInfoSet ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(companyid = nil, shopid = nil, totalcount = nil, zonetrafficinfoset = nil, requestid = nil) ⇒ DescribeZoneTrafficInfoResponse
constructor
A new instance of DescribeZoneTrafficInfoResponse.
Constructor Details
#initialize(companyid = nil, shopid = nil, totalcount = nil, zonetrafficinfoset = nil, requestid = nil) ⇒ DescribeZoneTrafficInfoResponse
Returns a new instance of DescribeZoneTrafficInfoResponse.
1941 1942 1943 1944 1945 1946 1947 |
# File 'lib/v20180228/models.rb', line 1941 def initialize(companyid=nil, shopid=nil, totalcount=nil, zonetrafficinfoset=nil, requestid=nil) @CompanyId = companyid @ShopId = shopid @TotalCount = totalcount @ZoneTrafficInfoSet = zonetrafficinfoset @RequestId = requestid end |
Instance Attribute Details
#CompanyId ⇒ Object
1939 1940 1941 |
# File 'lib/v20180228/models.rb', line 1939 def CompanyId @CompanyId end |
#RequestId ⇒ Object
1939 1940 1941 |
# File 'lib/v20180228/models.rb', line 1939 def RequestId @RequestId end |
#ShopId ⇒ Object
1939 1940 1941 |
# File 'lib/v20180228/models.rb', line 1939 def ShopId @ShopId end |
#TotalCount ⇒ Object
1939 1940 1941 |
# File 'lib/v20180228/models.rb', line 1939 def TotalCount @TotalCount end |
#ZoneTrafficInfoSet ⇒ Object
1939 1940 1941 |
# File 'lib/v20180228/models.rb', line 1939 def ZoneTrafficInfoSet @ZoneTrafficInfoSet end |
Instance Method Details
#deserialize(params) ⇒ Object
1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 |
# File 'lib/v20180228/models.rb', line 1949 def deserialize(params) @CompanyId = params['CompanyId'] @ShopId = params['ShopId'] @TotalCount = params['TotalCount'] unless params['ZoneTrafficInfoSet'].nil? @ZoneTrafficInfoSet = [] params['ZoneTrafficInfoSet'].each do |i| zonetrafficinfo_tmp = ZoneTrafficInfo.new zonetrafficinfo_tmp.deserialize(i) @ZoneTrafficInfoSet << zonetrafficinfo_tmp end end @RequestId = params['RequestId'] end |