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

com.testdroid.api.model.APIDevicePicker Maven / Gradle / Ivy

There is a newer version: 3.34.0
Show newest version
package com.testdroid.api.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.testdroid.api.APIEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Michał Szpruta 
 */
public class APIDevicePicker extends APIEntity {

    private List deviceFilterGroups = new ArrayList<>();

    public APIDevicePicker() {
    }

    public APIDevicePicker(Long id, List deviceFilterGroups) {
        super(id);
        this.deviceFilterGroups = deviceFilterGroups;
    }

    public List getDeviceFilterGroups() {
        return deviceFilterGroups;
    }

    public void setDeviceFilterGroups(List deviceFilterGroups) {
        this.deviceFilterGroups = deviceFilterGroups;
    }

    @Override
    @JsonIgnore
    protected  void clone(T from) {
        APIDevicePicker apiDevicePicker = (APIDevicePicker) from;
        this.deviceFilterGroups = apiDevicePicker.deviceFilterGroups;
        cloneBase(from);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy