com.tinypass.client.publisher.model.Source 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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
public class Source {
/* Message context */
private String type = null;
private List sourceNames = new ArrayList();
/* Key has no active source */
private Boolean abandoned = null;
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public List getSourceNames() {
return sourceNames;
}
public void setSourceNames(List sourceNames) {
this.sourceNames = sourceNames;
}
public Boolean getAbandoned() {
return abandoned;
}
public void setAbandoned(Boolean abandoned) {
this.abandoned = abandoned;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Source {\n");
sb.append(" type: ").append(type).append("\n");
sb.append(" sourceNames: ").append(sourceNames).append("\n");
sb.append(" abandoned: ").append(abandoned).append("\n");
sb.append("}\n");
return sb.toString();
}
}