Package com.mailosaur.models
Class DeviceCreateOptions
java.lang.Object
com.mailosaur.models.DeviceCreateOptions
Options used to create a new Mailosaur device.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets a name used to identify the device.withSharedSecret(String sharedSecret) Sets the base32-encoded shared secret for this device.
-
Constructor Details
-
DeviceCreateOptions
public DeviceCreateOptions()
-
-
Method Details
-
withName
Sets a name used to identify the device.- Parameters:
name- A name used to identify the device.- Returns:
- the DeviceCreateOptions object itself.
-