com.testdroid.api.APISimpleList Maven / Gradle / Ivy
package com.testdroid.api;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.List;
@JsonIgnoreProperties(value = {"id", "selfURI"})
public class APISimpleList extends APIEntity {
private List data;
public APISimpleList() {
// need for serialization
}
public APISimpleList(List data) {
this.data = data;
}
@Override
@JsonIgnore
protected void clone(V from) {
APISimpleList source = (APISimpleList) from;
cloneBase(from);
this.data = source.data;
}
public List getData() {
return data;
}
public void setData(List data) {
this.data = data;
}
}