Class Credentials
java.lang.Object
de.iip_ecosphere.platform.deviceMgt.Credentials
Credentials data class.
- Author:
- Dennis Pidun, University of Hildesheim
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor, is used for (de-)serialization.Credentials(String key, String secret) Constructor for the credentials. -
Method Summary
-
Field Details
-
key
-
secret
-
-
Constructor Details
-
Credentials
Constructor for the credentials.- Parameters:
key- the keysecret- the secret
-
Credentials
public Credentials()Default constructor, is used for (de-)serialization.
-
-
Method Details
-
getKey
Get the key.- Returns:
- the key
-
setKey
Sets the key. Method is used for deserialization.- Parameters:
key- the key
-
getSecret
Get the secret.- Returns:
- the secret
-
setSecret
Sets the secret. Method is used for deserialization.- Parameters:
secret- the secret
-
toString
To string method.
-