Class: TencentCloud::Iotexplorer::V20190423::ActivateTWeCallLicenseRequest

Inherits:
Common::AbstractModel
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/v20190423/models.rb

Overview

ActivateTWeCallLicense请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pkgtype = nil, miniprogramappid = nil, devicelist = nil) ⇒ ActivateTWeCallLicenseRequest

Returns a new instance of ActivateTWeCallLicenseRequest.



106
107
108
109
110
# File 'lib/v20190423/models.rb', line 106

def initialize(pkgtype=nil, miniprogramappid=nil, devicelist=nil)
  @PkgType = pkgtype
  @MiniProgramAppId = miniprogramappid
  @DeviceList = devicelist
end

Instance Attribute Details

#DeviceListObject

Parameters:

  • PkgType:

    TWecall类型:0-体验套餐;1-基础版;3-高级版;

  • MiniProgramAppId:

    参数已弃用,不用传参

  • DeviceList:

    设备列表



101
102
103
# File 'lib/v20190423/models.rb', line 101

def DeviceList
  @DeviceList
end

#MiniProgramAppIdObject

Parameters:

  • PkgType:

    TWecall类型:0-体验套餐;1-基础版;3-高级版;

  • MiniProgramAppId:

    参数已弃用,不用传参

  • DeviceList:

    设备列表



101
102
103
# File 'lib/v20190423/models.rb', line 101

def MiniProgramAppId
  @MiniProgramAppId
end

#PkgTypeObject

Parameters:

  • PkgType:

    TWecall类型:0-体验套餐;1-基础版;3-高级版;

  • MiniProgramAppId:

    参数已弃用,不用传参

  • DeviceList:

    设备列表



101
102
103
# File 'lib/v20190423/models.rb', line 101

def PkgType
  @PkgType
end

Instance Method Details

#deserialize(params) ⇒ Object



112
113
114
115
116
117
118
119
120
121
122
123
# File 'lib/v20190423/models.rb', line 112

def deserialize(params)
  @PkgType = params['PkgType']
  @MiniProgramAppId = params['MiniProgramAppId']
  unless params['DeviceList'].nil?
    @DeviceList = []
    params['DeviceList'].each do |i|
      twecallinfo_tmp = TWeCallInfo.new
      twecallinfo_tmp.deserialize(i)
      @DeviceList << twecallinfo_tmp
    end
  end
end