public class CreateProductRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateProductRequest() |
CreateProductRequest(CreateProductRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getCategoryId()
Get 产品品类id,113:摄像头,567:儿童手表,595:可视对讲门锁
注意:通过云api调用此接口时,如果传了CategoryId字段,将忽略Features字段,但Features仍需传值(可传任意字符串数组)
|
String |
getChipId()
Get 芯片id,通用设备填default
|
String |
getChipManufactureId()
Get 芯片厂商id,通用设备填default
|
String |
getChipOs()
Get 设备操作系统,通用设备填default
|
Long |
getDeviceType()
Get 产品设备类型 1.普通设备 2.NVR设备
|
Long |
getEncryptionType()
Get 认证方式 只支持取值为2 psk认证
|
String[] |
getFeatures()
Get 设备功能码 ypsxth音频双向通话 spdxth视频单向通话 sxysp双向音视频
注意:此字段只支持创建'摄像头'和'儿童手表',摄像头传["ypsxth","spdxth"],儿童手表传["ypsxth","spdxth","sxysp"],创建其它品类的产品需要传递CategoryId字段,通过云api调用此接口时,如果传了CategoryId字段,将忽略Features字段,但Features仍需传值(可传任意字符串数组)
|
String |
getNetType()
Get 连接类型,wifi表示WIFI连接,cellular表示4G连接
|
String |
getProductDescription()
Get 产品描述信息
|
String |
getProductName()
Get 产品名称
|
Long |
getProductVaildYears()
Get 产品有效期
|
void |
setCategoryId(Long CategoryId)
Set 产品品类id,113:摄像头,567:儿童手表,595:可视对讲门锁
注意:通过云api调用此接口时,如果传了CategoryId字段,将忽略Features字段,但Features仍需传值(可传任意字符串数组)
|
void |
setChipId(String ChipId)
Set 芯片id,通用设备填default
|
void |
setChipManufactureId(String ChipManufactureId)
Set 芯片厂商id,通用设备填default
|
void |
setChipOs(String ChipOs)
Set 设备操作系统,通用设备填default
|
void |
setDeviceType(Long DeviceType)
Set 产品设备类型 1.普通设备 2.NVR设备
|
void |
setEncryptionType(Long EncryptionType)
Set 认证方式 只支持取值为2 psk认证
|
void |
setFeatures(String[] Features)
Set 设备功能码 ypsxth音频双向通话 spdxth视频单向通话 sxysp双向音视频
注意:此字段只支持创建'摄像头'和'儿童手表',摄像头传["ypsxth","spdxth"],儿童手表传["ypsxth","spdxth","sxysp"],创建其它品类的产品需要传递CategoryId字段,通过云api调用此接口时,如果传了CategoryId字段,将忽略Features字段,但Features仍需传值(可传任意字符串数组)
|
void |
setNetType(String NetType)
Set 连接类型,wifi表示WIFI连接,cellular表示4G连接
|
void |
setProductDescription(String ProductDescription)
Set 产品描述信息
|
void |
setProductName(String ProductName)
Set 产品名称
|
void |
setProductVaildYears(Long ProductVaildYears)
Set 产品有效期
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateProductRequest()
public CreateProductRequest(CreateProductRequest source)
public String getProductName()
public void setProductName(String ProductName)
ProductName
- 产品名称public Long getDeviceType()
public void setDeviceType(Long DeviceType)
DeviceType
- 产品设备类型 1.普通设备 2.NVR设备public Long getProductVaildYears()
public void setProductVaildYears(Long ProductVaildYears)
ProductVaildYears
- 产品有效期public String[] getFeatures()
public void setFeatures(String[] Features)
Features
- 设备功能码 ypsxth音频双向通话 spdxth视频单向通话 sxysp双向音视频
注意:此字段只支持创建'摄像头'和'儿童手表',摄像头传["ypsxth","spdxth"],儿童手表传["ypsxth","spdxth","sxysp"],创建其它品类的产品需要传递CategoryId字段,通过云api调用此接口时,如果传了CategoryId字段,将忽略Features字段,但Features仍需传值(可传任意字符串数组)public String getChipManufactureId()
public void setChipManufactureId(String ChipManufactureId)
ChipManufactureId
- 芯片厂商id,通用设备填defaultpublic String getChipId()
public void setChipId(String ChipId)
ChipId
- 芯片id,通用设备填defaultpublic String getProductDescription()
public void setProductDescription(String ProductDescription)
ProductDescription
- 产品描述信息public String getChipOs()
public void setChipOs(String ChipOs)
ChipOs
- 设备操作系统,通用设备填defaultpublic Long getEncryptionType()
public void setEncryptionType(Long EncryptionType)
EncryptionType
- 认证方式 只支持取值为2 psk认证public Long getCategoryId()
public void setCategoryId(Long CategoryId)
CategoryId
- 产品品类id,113:摄像头,567:儿童手表,595:可视对讲门锁
注意:通过云api调用此接口时,如果传了CategoryId字段,将忽略Features字段,但Features仍需传值(可传任意字符串数组)public String getNetType()
public void setNetType(String NetType)
NetType
- 连接类型,wifi表示WIFI连接,cellular表示4G连接Copyright © 2024. All rights reserved.