com.testdroid.api.model.APIDevicePicker Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testdroid-api Show documentation
Show all versions of testdroid-api Show documentation
The Testdroid API library for Java
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);
}
}