Class DeviceCreateOptions

java.lang.Object
com.mailosaur.models.DeviceCreateOptions

public class DeviceCreateOptions extends Object
Options used to create a new Mailosaur device.
  • Constructor Details

    • DeviceCreateOptions

      public DeviceCreateOptions()
  • Method Details

    • withName

      public DeviceCreateOptions withName(String name)
      Sets a name used to identify the device.
      Parameters:
      name - A name used to identify the device.
      Returns:
      the DeviceCreateOptions object itself.
    • withSharedSecret

      public DeviceCreateOptions withSharedSecret(String sharedSecret)
      Sets the base32-encoded shared secret for this device.
      Parameters:
      sharedSecret - The base32-encoded shared secret for this device.
      Returns:
      the DeviceCreateOptions object itself.