public class WriteTreatmentResource extends Object implements Serializable
Constructor and Description |
---|
WriteTreatmentResource() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
MessageConfiguration |
getMessageConfiguration()
The message configuration settings.
|
Schedule |
getSchedule()
The campaign schedule.
|
Integer |
getSizePercent()
The allocated percentage of users for this treatment.
|
String |
getTreatmentDescription()
A custom description for the treatment.
|
String |
getTreatmentName()
The custom name of a variation of the campaign used for A/B testing.
|
int |
hashCode() |
void |
setMessageConfiguration(MessageConfiguration messageConfiguration)
The message configuration settings.
|
void |
setSchedule(Schedule schedule)
The campaign schedule.
|
void |
setSizePercent(Integer sizePercent)
The allocated percentage of users for this treatment.
|
void |
setTreatmentDescription(String treatmentDescription)
A custom description for the treatment.
|
void |
setTreatmentName(String treatmentName)
The custom name of a variation of the campaign used for A/B testing.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WriteTreatmentResource |
withMessageConfiguration(MessageConfiguration messageConfiguration)
The message configuration settings.
|
WriteTreatmentResource |
withSchedule(Schedule schedule)
The campaign schedule.
|
WriteTreatmentResource |
withSizePercent(Integer sizePercent)
The allocated percentage of users for this treatment.
|
WriteTreatmentResource |
withTreatmentDescription(String treatmentDescription)
A custom description for the treatment.
|
WriteTreatmentResource |
withTreatmentName(String treatmentName)
The custom name of a variation of the campaign used for A/B testing.
|
public MessageConfiguration getMessageConfiguration()
public void setMessageConfiguration(MessageConfiguration messageConfiguration)
messageConfiguration
- The message configuration settings.public WriteTreatmentResource withMessageConfiguration(MessageConfiguration messageConfiguration)
Returns a reference to this object so that method calls can be chained together.
messageConfiguration
- The message configuration settings.public Schedule getSchedule()
public void setSchedule(Schedule schedule)
schedule
- The campaign schedule.public WriteTreatmentResource withSchedule(Schedule schedule)
Returns a reference to this object so that method calls can be chained together.
schedule
- The campaign schedule.public Integer getSizePercent()
public void setSizePercent(Integer sizePercent)
sizePercent
- The allocated percentage of users for this treatment.public WriteTreatmentResource withSizePercent(Integer sizePercent)
Returns a reference to this object so that method calls can be chained together.
sizePercent
- The allocated percentage of users for this treatment.public String getTreatmentDescription()
public void setTreatmentDescription(String treatmentDescription)
treatmentDescription
- A custom description for the treatment.public WriteTreatmentResource withTreatmentDescription(String treatmentDescription)
Returns a reference to this object so that method calls can be chained together.
treatmentDescription
- A custom description for the treatment.public String getTreatmentName()
public void setTreatmentName(String treatmentName)
treatmentName
- The custom name of a variation of the campaign used
for A/B testing.public WriteTreatmentResource withTreatmentName(String treatmentName)
Returns a reference to this object so that method calls can be chained together.
treatmentName
- The custom name of a variation of the campaign used
for A/B testing.public String toString()
toString
in class Object
Object.toString()
Copyright © 2019. All rights reserved.