public class ModifyDeviceInfoRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
bizType
The updated business type.
|
String |
deviceId
A unique ID generated by the real-person authentication server for the connected device, which is only generated after the device is successfully activated.
|
String |
duration
The extended duration of the device expiration.
|
String |
expiredDay
The current expiration time of the device.
|
String |
userDeviceId
The updated user device ID.
|
| 构造器和说明 |
|---|
ModifyDeviceInfoRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ModifyDeviceInfoRequest |
build(Map<String,?> map) |
String |
getBizType() |
String |
getDeviceId() |
String |
getDuration() |
String |
getExpiredDay() |
String |
getUserDeviceId() |
ModifyDeviceInfoRequest |
setBizType(String bizType) |
ModifyDeviceInfoRequest |
setDeviceId(String deviceId) |
ModifyDeviceInfoRequest |
setDuration(String duration) |
ModifyDeviceInfoRequest |
setExpiredDay(String expiredDay) |
ModifyDeviceInfoRequest |
setUserDeviceId(String userDeviceId) |
@NameInMap(value="BizType") public String bizType
The updated business type. It should not exceed 64 characters and is defined by the connected party. It can be used to annotate specific businesses, for example, different face usage scenarios or the customer identifiers to be delivered.
example:FACE_TEST
@NameInMap(value="DeviceId") public String deviceId
A unique ID generated by the real-person authentication server for the connected device, which is only generated after the device is successfully activated. This ID can be obtained through the getLicenseExtraInfo function in the offline facial recognition SDK.
This parameter is required.
example:wd.6ziUffspAeW5FVYbaqmexR-1qwNjM
@NameInMap(value="Duration") public String duration
The extended duration of the device expiration. Unit: years, with a range of [1,100]. A value of 100 indicates permanent use. One year is calculated as 365 days.
example:1
@NameInMap(value="ExpiredDay") public String expiredDay
The current expiration time of the device. If the expiration date is incorrect (differing from the real-person authentication server\"s recorded expiration time by more than one week), an error will be reported.
example:The expiration time can be queried through the DescribeDeviceInfo interface. An incorrect expiration date will result in an error. This check ensures that the business party does not accidentally re-activate a device due to some misoperation, thus consuming the authorization unnecessarily.
20190401
@NameInMap(value="UserDeviceId") public String userDeviceId
The updated user device ID. It should not exceed 64 characters and is defined by the connected party. It can be used to identify specific devices, and it is recommended to use the physical number of the device.
example:3iJ1AY$oHcu7mC69
public static ModifyDeviceInfoRequest build(Map<String,?> map) throws Exception
Exceptionpublic ModifyDeviceInfoRequest setBizType(String bizType)
public String getBizType()
public ModifyDeviceInfoRequest setDeviceId(String deviceId)
public String getDeviceId()
public ModifyDeviceInfoRequest setDuration(String duration)
public String getDuration()
public ModifyDeviceInfoRequest setExpiredDay(String expiredDay)
public String getExpiredDay()
public ModifyDeviceInfoRequest setUserDeviceId(String userDeviceId)
public String getUserDeviceId()
Copyright © 2025. All rights reserved.