Class: TencentCloud::Youmall::V20180228::DescribeCameraPersonResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180228/models.rb

Overview

DescribeCameraPerson返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CameraIdObject



333
334
335
# File 'lib/v20180228/models.rb', line 333

def CameraId
  @CameraId
end

#CompanyIdObject



333
334
335
# File 'lib/v20180228/models.rb', line 333

def CompanyId
  @CompanyId
end

#InfosObject



333
334
335
# File 'lib/v20180228/models.rb', line 333

def Infos
  @Infos
end

#PosIdObject



333
334
335
# File 'lib/v20180228/models.rb', line 333

def PosId
  @PosId
end

#RequestIdObject



333
334
335
# File 'lib/v20180228/models.rb', line 333

def RequestId
  @RequestId
end

#ShopIdObject



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