lib/v20190423/models.rb in tencentcloud-sdk-iotexplorer-3.0.434 vs lib/v20190423/models.rb in tencentcloud-sdk-iotexplorer-3.0.435
- old
+ new
@@ -187,22 +187,26 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type NetType: String
# @param DevStatus: 状态
# 注意:此字段可能返回 null,表示取不到有效值。
# @type DevStatus: String
+ # @param ProductOwnerName: 产品拥有者名称
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type ProductOwnerName: String
- attr_accessor :ProductId, :ProductName, :ProjectId, :DataProtocol, :CategoryId, :ProductType, :NetType, :DevStatus
+ attr_accessor :ProductId, :ProductName, :ProjectId, :DataProtocol, :CategoryId, :ProductType, :NetType, :DevStatus, :ProductOwnerName
- def initialize(productid=nil, productname=nil, projectid=nil, dataprotocol=nil, categoryid=nil, producttype=nil, nettype=nil, devstatus=nil)
+ def initialize(productid=nil, productname=nil, projectid=nil, dataprotocol=nil, categoryid=nil, producttype=nil, nettype=nil, devstatus=nil, productownername=nil)
@ProductId = productid
@ProductName = productname
@ProjectId = projectid
@DataProtocol = dataprotocol
@CategoryId = categoryid
@ProductType = producttype
@NetType = nettype
@DevStatus = devstatus
+ @ProductOwnerName = productownername
end
def deserialize(params)
@ProductId = params['ProductId']
@ProductName = params['ProductName']
@@ -210,10 +214,11 @@
@DataProtocol = params['DataProtocol']
@CategoryId = params['CategoryId']
@ProductType = params['ProductType']
@NetType = params['NetType']
@DevStatus = params['DevStatus']
+ @ProductOwnerName = params['ProductOwnerName']
end
end
# BindProducts请求参数结构体
class BindProductsRequest < TencentCloud::Common::AbstractModel
@@ -1504,23 +1509,27 @@
# @type GatewayProductId: String
# @param Offset: 分页偏移量
# @type Offset: Integer
# @param Limit: 分页大小
# @type Limit: Integer
+ # @param ProductSource: 是否跨账号绑定产品
+ # @type ProductSource: Integer
- attr_accessor :GatewayProductId, :Offset, :Limit
+ attr_accessor :GatewayProductId, :Offset, :Limit, :ProductSource
- def initialize(gatewayproductid=nil, offset=nil, limit=nil)
+ def initialize(gatewayproductid=nil, offset=nil, limit=nil, productsource=nil)
@GatewayProductId = gatewayproductid
@Offset = offset
@Limit = limit
+ @ProductSource = productsource
end
def deserialize(params)
@GatewayProductId = params['GatewayProductId']
@Offset = params['Offset']
@Limit = params['Limit']
+ @ProductSource = params['ProductSource']
end
end
# DescribeBindedProducts返回参数结构体
class DescribeBindedProductsResponse < TencentCloud::Common::AbstractModel
@@ -1582,26 +1591,36 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type GatewayDeviceName: String
# @param GatewayName: 网关产品名称
# 注意:此字段可能返回 null,表示取不到有效值。
# @type GatewayName: String
+ # @param GatewayProductOwnerName: 设备对应产品所属的主账号名称
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type GatewayProductOwnerName: String
+ # @param GatewayProductOwnerUin: 设备对应产品所属的主账号 UIN
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type GatewayProductOwnerUin: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
- attr_accessor :GatewayProductId, :GatewayDeviceName, :GatewayName, :RequestId
+ attr_accessor :GatewayProductId, :GatewayDeviceName, :GatewayName, :GatewayProductOwnerName, :GatewayProductOwnerUin, :RequestId
- def initialize(gatewayproductid=nil, gatewaydevicename=nil, gatewayname=nil, requestid=nil)
+ def initialize(gatewayproductid=nil, gatewaydevicename=nil, gatewayname=nil, gatewayproductownername=nil, gatewayproductowneruin=nil, requestid=nil)
@GatewayProductId = gatewayproductid
@GatewayDeviceName = gatewaydevicename
@GatewayName = gatewayname
+ @GatewayProductOwnerName = gatewayproductownername
+ @GatewayProductOwnerUin = gatewayproductowneruin
@RequestId = requestid
end
def deserialize(params)
@GatewayProductId = params['GatewayProductId']
@GatewayDeviceName = params['GatewayDeviceName']
@GatewayName = params['GatewayName']
+ @GatewayProductOwnerName = params['GatewayProductOwnerName']
+ @GatewayProductOwnerUin = params['GatewayProductOwnerUin']
@RequestId = params['RequestId']
end
end
# DescribeDeviceDataHistory请求参数结构体
@@ -2179,24 +2198,28 @@
# @type Offset: Integer
# @param Limit: 分页的大小
# @type Limit: Integer
# @param ProjectId: 项目Id
# @type ProjectId: String
+ # @param ProductSource: 是否跨账号产品
+ # @type ProductSource: Integer
- attr_accessor :GatewayProductId, :Offset, :Limit, :ProjectId
+ attr_accessor :GatewayProductId, :Offset, :Limit, :ProjectId, :ProductSource
- def initialize(gatewayproductid=nil, offset=nil, limit=nil, projectid=nil)
+ def initialize(gatewayproductid=nil, offset=nil, limit=nil, projectid=nil, productsource=nil)
@GatewayProductId = gatewayproductid
@Offset = offset
@Limit = limit
@ProjectId = projectid
+ @ProductSource = productsource
end
def deserialize(params)
@GatewayProductId = params['GatewayProductId']
@Offset = params['Offset']
@Limit = params['Limit']
@ProjectId = params['ProjectId']
+ @ProductSource = params['ProductSource']
end
end
# DescribeGatewaySubProducts返回参数结构体
class DescribeGatewaySubProductsResponse < TencentCloud::Common::AbstractModel