com.baidubce.services.iothisk.device.model
Class Device

java.lang.Object
  extended by com.baidubce.services.iothisk.device.model.Device

public class Device
extends Object

Represent the device basic information, which is part of the contact made with hisk cloud service.


Constructor Summary
Device()
           
 
Method Summary
 String getDeviceCompany()
          Get device company name
 DeviceSdkType getDeviceSdkType()
          Get device sdk type
 String getDeviceType()
          Get device type name
 String getMasterKey()
          Get device master key
 String getSerialNumber()
          Get device serial number
 SeType getType()
          Get device secure element type
 void setDeviceCompany(String deviceCompany)
          Set device company name
 void setDeviceSdkType(DeviceSdkType deviceSdkType)
          Set device sdk type
 void setDeviceType(String deviceType)
          Set device type name
 void setMasterKey(String masterKey)
          Set device master key
 void setSerialNumber(String serialNumber)
          Set device serial number
 void setType(SeType type)
          Set device secure element type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Device

public Device()
Method Detail

getType

public SeType getType()
Get device secure element type

Returns:
device secure element type

setType

public void setType(SeType type)
Set device secure element type

Parameters:
type -

getDeviceCompany

public String getDeviceCompany()
Get device company name

Returns:
device company name

setDeviceCompany

public void setDeviceCompany(String deviceCompany)
Set device company name

Parameters:
deviceCompany - device company name

getDeviceType

public String getDeviceType()
Get device type name

Returns:
device type name

setDeviceType

public void setDeviceType(String deviceType)
Set device type name

Parameters:
deviceType - device type name

getMasterKey

public String getMasterKey()
Get device master key

Returns:
device master key

setMasterKey

public void setMasterKey(String masterKey)
Set device master key

Parameters:
masterKey - device master key

getDeviceSdkType

public DeviceSdkType getDeviceSdkType()
Get device sdk type

Returns:
device sdk type

setDeviceSdkType

public void setDeviceSdkType(DeviceSdkType deviceSdkType)
Set device sdk type

Parameters:
deviceSdkType - device sdk type

getSerialNumber

public String getSerialNumber()
Get device serial number

Returns:
device serial number

setSerialNumber

public void setSerialNumber(String serialNumber)
Set device serial number

Parameters:
serialNumber - serial number


Copyright © 2020. All rights reserved.