
com.mailosaur.models.DeviceCreateOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mailosaur-java Show documentation
Show all versions of mailosaur-java Show documentation
Mailosaur Java Bindings for Email Test Automation
package com.mailosaur.models;
import com.google.api.client.util.Key;
/**
* Options used to create a new Mailosaur device.
*/
public class DeviceCreateOptions {
/**
* A name used to identify the device.
*/
@Key
private String name;
/**
* Sets a name used to identify the device.
*
* @param name A name used to identify the device.
* @return the DeviceCreateOptions object itself.
*/
public DeviceCreateOptions withName(String name) {
this.name = name;
return this;
}
/**
* The base32-encoded shared secret for this device.
*/
@Key
private String sharedSecret;
/**
* Sets the base32-encoded shared secret for this device.
*
* @param sharedSecret The base32-encoded shared secret for this device.
* @return the DeviceCreateOptions object itself.
*/
public DeviceCreateOptions withSharedSecret(String sharedSecret) {
this.sharedSecret = sharedSecret;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy