com.tinypass.client.publisher.model.Action Maven / Gradle / Ivy
package com.tinypass.client.publisher.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.publisher.model.ChangeSubscriptionTermStep;
import com.tinypass.client.publisher.model.SendEmailStep;
import com.tinypass.client.publisher.model.UpgradeSubscriptionStep;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
public class Action {
/* The action id */
private String actionId = null;
/* Action type */
private String type = null;
/* Number of handled/handling items */
private Integer numberOfItems = null;
/* Action status */
private String status = null;
/* Schedule time */
private Integer scheduleTime = null;
/* Change subscription term step */
private ChangeSubscriptionTermStep changeSubscriptionTermStep = null;
/* Action readonly */
private Boolean readonly = null;
/* Send email step */
private SendEmailStep sendEmailStep = null;
/* Upgrade subscription step */
private UpgradeSubscriptionStep upgradeSubscriptionStep = null;
public String getActionId() {
return actionId;
}
public void setActionId(String actionId) {
this.actionId = actionId;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public Integer getNumberOfItems() {
return numberOfItems;
}
public void setNumberOfItems(Integer numberOfItems) {
this.numberOfItems = numberOfItems;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public Integer getScheduleTime() {
return scheduleTime;
}
public void setScheduleTime(Integer scheduleTime) {
this.scheduleTime = scheduleTime;
}
public ChangeSubscriptionTermStep getChangeSubscriptionTermStep() {
return changeSubscriptionTermStep;
}
public void setChangeSubscriptionTermStep(ChangeSubscriptionTermStep changeSubscriptionTermStep) {
this.changeSubscriptionTermStep = changeSubscriptionTermStep;
}
public Boolean getReadonly() {
return readonly;
}
public void setReadonly(Boolean readonly) {
this.readonly = readonly;
}
public SendEmailStep getSendEmailStep() {
return sendEmailStep;
}
public void setSendEmailStep(SendEmailStep sendEmailStep) {
this.sendEmailStep = sendEmailStep;
}
public UpgradeSubscriptionStep getUpgradeSubscriptionStep() {
return upgradeSubscriptionStep;
}
public void setUpgradeSubscriptionStep(UpgradeSubscriptionStep upgradeSubscriptionStep) {
this.upgradeSubscriptionStep = upgradeSubscriptionStep;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Action {\n");
sb.append(" actionId: ").append(actionId).append("\n");
sb.append(" type: ").append(type).append("\n");
sb.append(" numberOfItems: ").append(numberOfItems).append("\n");
sb.append(" status: ").append(status).append("\n");
sb.append(" scheduleTime: ").append(scheduleTime).append("\n");
sb.append(" changeSubscriptionTermStep: ").append(changeSubscriptionTermStep).append("\n");
sb.append(" readonly: ").append(readonly).append("\n");
sb.append(" sendEmailStep: ").append(sendEmailStep).append("\n");
sb.append(" upgradeSubscriptionStep: ").append(upgradeSubscriptionStep).append("\n");
sb.append("}\n");
return sb.toString();
}
}