-
public class ThingGwSubDevActivatorBuilder
Gateway sub-device activation builder.
-
-
Field Summary
Fields Modifier and Type Field Description private long
timeOut
private String
devId
private String
subDevMac
private String
installCode
private int
type
private String
reqType
private List<SubDevInstallBean>
subInstallCodes
private Map<String, Object>
extensions
-
Method Summary
Modifier and Type Method Description long
getTimeOut()
Get the timeout of Activation. ThingGwSubDevActivatorBuilder
setTimeOut(long timeOut)
String
getDevId()
Get id of gateway device. ThingGwSubDevActivatorBuilder
setDevId(String devId)
String
getSubDevMac()
ThingGwSubDevActivatorBuilder
setSubDevMac(String subDevMac)
String
getInstallCode()
ThingGwSubDevActivatorBuilder
setInstallCode(String installCode)
int
getType()
ThingGwSubDevActivatorBuilder
setType(int type)
String
getReqType()
void
setReqType(String reqType)
List<SubDevInstallBean>
getSubInstallCodes()
void
setSubInstallCodes(List<SubDevInstallBean> subInstallCodes)
Map<String, Object>
getExtensions()
ThingGwSubDevActivatorBuilder
setExtensions(Map<String, Object> extensions)
IThingSmartActivatorListener
getListener()
Get listener of activation. ThingGwSubDevActivatorBuilder
setListener(IThingSmartActivatorListener listener)
-
-
Method Detail
-
getTimeOut
long getTimeOut()
Get the timeout of Activation.
-
setTimeOut
ThingGwSubDevActivatorBuilder setTimeOut(long timeOut)
- Parameters:
timeOut
- unit: s
-
getDevId
String getDevId()
Get id of gateway device.
-
setDevId
ThingGwSubDevActivatorBuilder setDevId(String devId)
-
getSubDevMac
String getSubDevMac()
-
setSubDevMac
ThingGwSubDevActivatorBuilder setSubDevMac(String subDevMac)
-
getInstallCode
String getInstallCode()
-
setInstallCode
ThingGwSubDevActivatorBuilder setInstallCode(String installCode)
-
getType
int getType()
-
setType
ThingGwSubDevActivatorBuilder setType(int type)
-
getReqType
String getReqType()
-
setReqType
void setReqType(String reqType)
-
getSubInstallCodes
List<SubDevInstallBean> getSubInstallCodes()
-
setSubInstallCodes
void setSubInstallCodes(List<SubDevInstallBean> subInstallCodes)
-
getExtensions
Map<String, Object> getExtensions()
-
setExtensions
ThingGwSubDevActivatorBuilder setExtensions(Map<String, Object> extensions)
-
getListener
IThingSmartActivatorListener getListener()
Get listener of activation.com.thingclips.smart.sdk.api.IThingSmartActivatorListener
-
setListener
ThingGwSubDevActivatorBuilder setListener(IThingSmartActivatorListener listener)
-
-
-
-