public class Variant
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Variant.Builder
Variant Builder
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Optional<java.lang.String> |
getDescription()
Get the description of the experiment.
|
java.util.Optional<java.lang.String> |
getName()
Get the name of the variant.
|
java.util.Optional<Schedule> |
getSchedule()
Get the scheduled delivery time for the variant push.
|
VariantPushPayload |
getVariantPushPayload()
Get the partial push notification associated with the variant.
|
java.util.Optional<java.lang.Integer> |
getWeight()
Get the weight of the variant.
|
int |
hashCode() |
static Variant.Builder |
newBuilder()
Experiment builder
|
java.lang.String |
toString() |
public static Variant.Builder newBuilder()
public java.util.Optional<java.lang.String> getName()
public java.util.Optional<java.lang.String> getDescription()
public java.util.Optional<Schedule> getSchedule()
public VariantPushPayload getVariantPushPayload()
public java.util.Optional<java.lang.Integer> getWeight()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object