public class ActivityResponse extends Object implements Serializable
| Constructor and Description |
|---|
ActivityResponse() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getApplicationId()
The ID of the application to which the campaign applies.
|
String |
getCampaignId()
The ID of the campaign to which the activity applies.
|
String |
getEnd()
The actual time the activity was marked CANCELLED or COMPLETED.
|
String |
getId()
The unique activity ID.
|
String |
getResult()
Indicates whether the activity succeeded.
|
String |
getScheduledStart()
The scheduled start time for the activity in ISO 8601 format.
|
String |
getStart()
The actual start time of the activity in ISO 8601 format.
|
String |
getState()
The state of the activity.
|
Integer |
getSuccessfulEndpointCount()
The total number of endpoints to which the campaign successfully
delivered messages.
|
Integer |
getTimezonesCompletedCount()
The total number of timezones completed.
|
Integer |
getTimezonesTotalCount()
The total number of unique timezones present in the segment.
|
Integer |
getTotalEndpointCount()
The total number of endpoints to which the campaign attempts to deliver
messages.
|
String |
getTreatmentId()
The ID of a variation of the campaign used for A/B testing.
|
int |
hashCode() |
void |
setApplicationId(String applicationId)
The ID of the application to which the campaign applies.
|
void |
setCampaignId(String campaignId)
The ID of the campaign to which the activity applies.
|
void |
setEnd(String end)
The actual time the activity was marked CANCELLED or COMPLETED.
|
void |
setId(String id)
The unique activity ID.
|
void |
setResult(String result)
Indicates whether the activity succeeded.
|
void |
setScheduledStart(String scheduledStart)
The scheduled start time for the activity in ISO 8601 format.
|
void |
setStart(String start)
The actual start time of the activity in ISO 8601 format.
|
void |
setState(String state)
The state of the activity.
|
void |
setSuccessfulEndpointCount(Integer successfulEndpointCount)
The total number of endpoints to which the campaign successfully
delivered messages.
|
void |
setTimezonesCompletedCount(Integer timezonesCompletedCount)
The total number of timezones completed.
|
void |
setTimezonesTotalCount(Integer timezonesTotalCount)
The total number of unique timezones present in the segment.
|
void |
setTotalEndpointCount(Integer totalEndpointCount)
The total number of endpoints to which the campaign attempts to deliver
messages.
|
void |
setTreatmentId(String treatmentId)
The ID 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.
|
ActivityResponse |
withApplicationId(String applicationId)
The ID of the application to which the campaign applies.
|
ActivityResponse |
withCampaignId(String campaignId)
The ID of the campaign to which the activity applies.
|
ActivityResponse |
withEnd(String end)
The actual time the activity was marked CANCELLED or COMPLETED.
|
ActivityResponse |
withId(String id)
The unique activity ID.
|
ActivityResponse |
withResult(String result)
Indicates whether the activity succeeded.
|
ActivityResponse |
withScheduledStart(String scheduledStart)
The scheduled start time for the activity in ISO 8601 format.
|
ActivityResponse |
withStart(String start)
The actual start time of the activity in ISO 8601 format.
|
ActivityResponse |
withState(String state)
The state of the activity.
|
ActivityResponse |
withSuccessfulEndpointCount(Integer successfulEndpointCount)
The total number of endpoints to which the campaign successfully
delivered messages.
|
ActivityResponse |
withTimezonesCompletedCount(Integer timezonesCompletedCount)
The total number of timezones completed.
|
ActivityResponse |
withTimezonesTotalCount(Integer timezonesTotalCount)
The total number of unique timezones present in the segment.
|
ActivityResponse |
withTotalEndpointCount(Integer totalEndpointCount)
The total number of endpoints to which the campaign attempts to deliver
messages.
|
ActivityResponse |
withTreatmentId(String treatmentId)
The ID of a variation of the campaign used for A/B testing.
|
public String getApplicationId()
public void setApplicationId(String applicationId)
applicationId - The ID of the application to which the campaign
applies.public ActivityResponse withApplicationId(String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId - The ID of the application to which the campaign
applies.public String getCampaignId()
public void setCampaignId(String campaignId)
campaignId - The ID of the campaign to which the activity applies.public ActivityResponse withCampaignId(String campaignId)
Returns a reference to this object so that method calls can be chained together.
campaignId - The ID of the campaign to which the activity applies.public String getEnd()
public void setEnd(String end)
end - The actual time the activity was marked CANCELLED or
COMPLETED. Provided in ISO 8601 format.public ActivityResponse withEnd(String end)
Returns a reference to this object so that method calls can be chained together.
end - The actual time the activity was marked CANCELLED or
COMPLETED. Provided in ISO 8601 format.public String getId()
public void setId(String id)
id - The unique activity ID.public ActivityResponse withId(String id)
Returns a reference to this object so that method calls can be chained together.
id - The unique activity ID.public String getResult()
public void setResult(String result)
result - Indicates whether the activity succeeded. Valid values:
SUCCESS, FAILpublic ActivityResponse withResult(String result)
Returns a reference to this object so that method calls can be chained together.
result - Indicates whether the activity succeeded. Valid values:
SUCCESS, FAILpublic String getScheduledStart()
public void setScheduledStart(String scheduledStart)
scheduledStart - The scheduled start time for the activity in ISO
8601 format.public ActivityResponse withScheduledStart(String scheduledStart)
Returns a reference to this object so that method calls can be chained together.
scheduledStart - The scheduled start time for the activity in ISO
8601 format.public String getStart()
public void setStart(String start)
start - The actual start time of the activity in ISO 8601 format.public ActivityResponse withStart(String start)
Returns a reference to this object so that method calls can be chained together.
start - The actual start time of the activity in ISO 8601 format.public String getState()
public void setState(String state)
state - The state of the activity. Valid values: PENDING,
INITIALIZING, RUNNING, PAUSED, CANCELLED, COMPLETEDpublic ActivityResponse withState(String state)
Returns a reference to this object so that method calls can be chained together.
state - The state of the activity. Valid values: PENDING,
INITIALIZING, RUNNING, PAUSED, CANCELLED, COMPLETEDpublic Integer getSuccessfulEndpointCount()
public void setSuccessfulEndpointCount(Integer successfulEndpointCount)
successfulEndpointCount - The total number of endpoints to which the
campaign successfully delivered messages.public ActivityResponse withSuccessfulEndpointCount(Integer successfulEndpointCount)
Returns a reference to this object so that method calls can be chained together.
successfulEndpointCount - The total number of endpoints to which the
campaign successfully delivered messages.public Integer getTimezonesCompletedCount()
public void setTimezonesCompletedCount(Integer timezonesCompletedCount)
timezonesCompletedCount - The total number of timezones completed.public ActivityResponse withTimezonesCompletedCount(Integer timezonesCompletedCount)
Returns a reference to this object so that method calls can be chained together.
timezonesCompletedCount - The total number of timezones completed.public Integer getTimezonesTotalCount()
public void setTimezonesTotalCount(Integer timezonesTotalCount)
timezonesTotalCount - The total number of unique timezones present
in the segment.public ActivityResponse withTimezonesTotalCount(Integer timezonesTotalCount)
Returns a reference to this object so that method calls can be chained together.
timezonesTotalCount - The total number of unique timezones present
in the segment.public Integer getTotalEndpointCount()
public void setTotalEndpointCount(Integer totalEndpointCount)
totalEndpointCount - The total number of endpoints to which the
campaign attempts to deliver messages.public ActivityResponse withTotalEndpointCount(Integer totalEndpointCount)
Returns a reference to this object so that method calls can be chained together.
totalEndpointCount - The total number of endpoints to which the
campaign attempts to deliver messages.public String getTreatmentId()
public void setTreatmentId(String treatmentId)
treatmentId - The ID of a variation of the campaign used for A/B
testing.public ActivityResponse withTreatmentId(String treatmentId)
Returns a reference to this object so that method calls can be chained together.
treatmentId - The ID of a variation of the campaign used for A/B
testing.public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.