Class: TencentCloud::Youmall::V20180228::DescribeCameraPersonResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Youmall::V20180228::DescribeCameraPersonResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeCameraPerson返回参数结构体
Instance Attribute Summary collapse
- #CameraId ⇒ Object
- #CompanyId ⇒ Object
- #Infos ⇒ Object
- #PosId ⇒ Object
- #RequestId ⇒ Object
- #ShopId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(companyid = nil, shopid = nil, cameraid = nil, posid = nil, infos = nil, requestid = nil) ⇒ DescribeCameraPersonResponse
constructor
A new instance of DescribeCameraPersonResponse.
Constructor Details
#initialize(companyid = nil, shopid = nil, cameraid = nil, posid = nil, infos = nil, requestid = nil) ⇒ DescribeCameraPersonResponse
335 336 337 338 339 340 341 342 |
# File 'lib/v20180228/models.rb', line 335 def initialize(companyid=nil, shopid=nil, cameraid=nil, posid=nil, infos=nil, requestid=nil) @CompanyId = companyid @ShopId = shopid @CameraId = cameraid @PosId = posid @Infos = infos @RequestId = requestid end |
Instance Attribute Details
#CameraId ⇒ Object
333 334 335 |
# File 'lib/v20180228/models.rb', line 333 def CameraId @CameraId end |
#CompanyId ⇒ Object
333 334 335 |
# File 'lib/v20180228/models.rb', line 333 def CompanyId @CompanyId end |
#Infos ⇒ Object
333 334 335 |
# File 'lib/v20180228/models.rb', line 333 def Infos @Infos end |
#PosId ⇒ Object
333 334 335 |
# File 'lib/v20180228/models.rb', line 333 def PosId @PosId end |
#RequestId ⇒ Object
333 334 335 |
# File 'lib/v20180228/models.rb', line 333 def RequestId @RequestId end |
#ShopId ⇒ Object
333 334 335 |
# File 'lib/v20180228/models.rb', line 333 def ShopId @ShopId end |
Instance Method Details
#deserialize(params) ⇒ Object
344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 |
# File 'lib/v20180228/models.rb', line 344 def deserialize(params) @CompanyId = params['CompanyId'] @ShopId = params['ShopId'] @CameraId = params['CameraId'] @PosId = params['PosId'] unless params['Infos'].nil? @Infos = [] params['Infos'].each do |i| camerapersoninfo_tmp = CameraPersonInfo.new camerapersoninfo_tmp.deserialize(i) @Infos << camerapersoninfo_tmp end end @RequestId = params['RequestId'] end |