public class DeviceCredentials
extends java.lang.Object
DeviceCredentialsEntity
entity.Constructor and Description |
---|
DeviceCredentials(java.lang.String deviceName,
java.lang.String type,
java.lang.String value,
java.lang.String deviceId,
java.lang.String clientId) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeviceId()
Getter for the unique device identifier.
|
java.lang.String |
getDeviceName()
Getter for the device name.
|
java.lang.String |
getId()
Getter for the unique identifier of the device credentials.
|
java.lang.String |
getType()
Getter for the type of credential.
|
java.lang.String |
getUserId()
Getter for the user id of the device
|
void |
setClientId(java.lang.String clientId)
Setter for the client id of the client for which the credential will be created.
|
void |
setDeviceId(java.lang.String deviceId)
Setter for the unique device identifier.
|
void |
setDeviceName(java.lang.String deviceName)
Setter for the device name.
|
void |
setType(java.lang.String type)
Setter for the type of credential.
|
void |
setUserId(java.lang.String userId)
Setter for the user id of the devices to retrieve
|
void |
setValue(java.lang.String value)
Setter for the base64 encoded string with the value of the credential.
|
public DeviceCredentials(java.lang.String deviceName, java.lang.String type, java.lang.String value, java.lang.String deviceId, java.lang.String clientId)
public java.lang.String getId()
public java.lang.String getDeviceName()
public void setDeviceName(java.lang.String deviceName)
deviceName
- the device name to set.public java.lang.String getType()
public void setType(java.lang.String type)
type
- the type of credential to set.public void setValue(java.lang.String value)
value
- the value of the credential to set.public java.lang.String getDeviceId()
public void setDeviceId(java.lang.String deviceId)
deviceId
- the unique device identifier to set.public void setClientId(java.lang.String clientId)
clientId
- the client id to set.public java.lang.String getUserId()
public void setUserId(java.lang.String userId)
userId
- the user id to set.