All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy