public final class Experiment extends ExperimentModelObject
Modifier and Type | Class and Description |
---|---|
static class |
Experiment.Builder
Experiment Builder
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Selector |
getAudience()
Get the audience for the experiment.
|
java.util.Optional<Campaigns> |
getCampaigns()
Get the campaigns object for the experiment.
|
java.util.Optional<java.math.BigDecimal> |
getControl()
Get the control group for the experiment.
|
java.util.Optional<java.lang.String> |
getDescription()
Get the description for the experiment.
|
DeviceTypeData |
getDeviceTypes()
Get the device types for the experiment.
|
java.util.Optional<MessageType> |
getMessageType()
Get the message type for the experiment.
|
java.util.Optional<java.lang.String> |
getName()
Get the name of the experiment.
|
java.util.Optional<Orchestration> |
getOrchestration()
Get the orchestration for the experiment.
|
java.util.List<Variant> |
getVariants()
Get the variants for the experiment.
|
int |
hashCode() |
boolean |
isBroadcast()
Boolean indicating whether audience is SelectorType.ALL
|
static Experiment.Builder |
newBuilder()
Experiment builder
|
java.lang.String |
toString() |
toJSON
toJSON
public static Experiment.Builder newBuilder()
public java.util.Optional<java.lang.String> getName()
public java.util.Optional<java.lang.String> getDescription()
public java.util.Optional<java.math.BigDecimal> getControl()
public Selector getAudience()
public boolean isBroadcast()
public DeviceTypeData getDeviceTypes()
public java.util.List<Variant> getVariants()
public java.util.Optional<Orchestration> getOrchestration()
public java.util.Optional<MessageType> getMessageType()
public java.util.Optional<Campaigns> getCampaigns()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object