Class: TencentCloud::Iotexplorer::V20190423::ModifyStudioProductRequest

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

Overview

ModifyStudioProduct请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productid = nil, productname = nil, productdesc = nil, moduleid = nil, enableproductscript = nil, bindstrategy = nil) ⇒ ModifyStudioProductRequest

Returns a new instance of ModifyStudioProductRequest.



11350
11351
11352
11353
11354
11355
11356
11357
# File 'lib/v20190423/models.rb', line 11350

def initialize(productid=nil, productname=nil, productdesc=nil, moduleid=nil, enableproductscript=nil, bindstrategy=nil)
  @ProductId = productid
  @ProductName = productname
  @ProductDesc = productdesc
  @ModuleId = moduleid
  @EnableProductScript = enableproductscript
  @BindStrategy = bindstrategy
end

Instance Attribute Details

#BindStrategyObject

Parameters:

  • ProductId:

    产品ID

  • ProductName:

    产品名称

  • ProductDesc:

    产品描述

  • ModuleId:

    模型ID

  • EnableProductScript:

    是否打开二进制转Json功能, 取值为字符串 true/false

  • BindStrategy:

    传1或者2;1代表强踢,2代表非强踢。传其它值不做任何处理



11348
11349
11350
# File 'lib/v20190423/models.rb', line 11348

def BindStrategy
  @BindStrategy
end

#EnableProductScriptObject

Parameters:

  • ProductId:

    产品ID

  • ProductName:

    产品名称

  • ProductDesc:

    产品描述

  • ModuleId:

    模型ID

  • EnableProductScript:

    是否打开二进制转Json功能, 取值为字符串 true/false

  • BindStrategy:

    传1或者2;1代表强踢,2代表非强踢。传其它值不做任何处理



11348
11349
11350
# File 'lib/v20190423/models.rb', line 11348

def EnableProductScript
  @EnableProductScript
end

#ModuleIdObject

Parameters:

  • ProductId:

    产品ID

  • ProductName:

    产品名称

  • ProductDesc:

    产品描述

  • ModuleId:

    模型ID

  • EnableProductScript:

    是否打开二进制转Json功能, 取值为字符串 true/false

  • BindStrategy:

    传1或者2;1代表强踢,2代表非强踢。传其它值不做任何处理



11348
11349
11350
# File 'lib/v20190423/models.rb', line 11348

def ModuleId
  @ModuleId
end

#ProductDescObject

Parameters:

  • ProductId:

    产品ID

  • ProductName:

    产品名称

  • ProductDesc:

    产品描述

  • ModuleId:

    模型ID

  • EnableProductScript:

    是否打开二进制转Json功能, 取值为字符串 true/false

  • BindStrategy:

    传1或者2;1代表强踢,2代表非强踢。传其它值不做任何处理



11348
11349
11350
# File 'lib/v20190423/models.rb', line 11348

def ProductDesc
  @ProductDesc
end

#ProductIdObject

Parameters:

  • ProductId:

    产品ID

  • ProductName:

    产品名称

  • ProductDesc:

    产品描述

  • ModuleId:

    模型ID

  • EnableProductScript:

    是否打开二进制转Json功能, 取值为字符串 true/false

  • BindStrategy:

    传1或者2;1代表强踢,2代表非强踢。传其它值不做任何处理



11348
11349
11350
# File 'lib/v20190423/models.rb', line 11348

def ProductId
  @ProductId
end

#ProductNameObject

Parameters:

  • ProductId:

    产品ID

  • ProductName:

    产品名称

  • ProductDesc:

    产品描述

  • ModuleId:

    模型ID

  • EnableProductScript:

    是否打开二进制转Json功能, 取值为字符串 true/false

  • BindStrategy:

    传1或者2;1代表强踢,2代表非强踢。传其它值不做任何处理



11348
11349
11350
# File 'lib/v20190423/models.rb', line 11348

def ProductName
  @ProductName
end

Instance Method Details

#deserialize(params) ⇒ Object



11359
11360
11361
11362
11363
11364
11365
11366
# File 'lib/v20190423/models.rb', line 11359

def deserialize(params)
  @ProductId = params['ProductId']
  @ProductName = params['ProductName']
  @ProductDesc = params['ProductDesc']
  @ModuleId = params['ModuleId']
  @EnableProductScript = params['EnableProductScript']
  @BindStrategy = params['BindStrategy']
end