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

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

The newest version!
package com.testdroid.api.model;

import com.testdroid.api.APIEntity;

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

    private Long deviceRunId;

    private boolean logs;

    private boolean performance;

    private boolean screenshots;

    private boolean buildLogs;

    private boolean resultsDataZip;

    public APIDeviceSessionDataAvailability() {
    }

    public APIDeviceSessionDataAvailability(Long deviceRunId) {
        this.deviceRunId = deviceRunId;
    }

    public APIDeviceSessionDataAvailability(
            Long deviceRunId, boolean logs, boolean performance, boolean screenshots,
            boolean buildLogs, boolean resultsDataZip) {
        this.deviceRunId = deviceRunId;
        this.logs = logs;
        this.performance = performance;
        this.screenshots = screenshots;
        this.buildLogs = buildLogs;
        this.resultsDataZip = resultsDataZip;
    }

    public boolean isLogs() {
        return logs;
    }

    public void setLogs(boolean logs) {
        this.logs = logs;
    }

    public boolean isPerformance() {
        return performance;
    }

    public void setPerformance(boolean performance) {
        this.performance = performance;
    }

    public boolean isScreenshots() {
        return screenshots;
    }

    public void setScreenshots(boolean screenshots) {
        this.screenshots = screenshots;
    }

    public Long getDeviceRunId() {
        return deviceRunId;
    }

    public void setDeviceRunId(Long deviceRunId) {
        this.deviceRunId = deviceRunId;
    }

    public boolean isBuildLogs() {
        return buildLogs;
    }

    public void setBuildLogs(boolean buildLogs) {
        this.buildLogs = buildLogs;
    }

    public boolean isResultsDataZip() {
        return resultsDataZip;
    }

    public void setResultsDataZip(boolean resultsDataZip) {
        this.resultsDataZip = resultsDataZip;
    }

    @Override
    protected  void clone(T from) {
        APIDeviceSessionDataAvailability apiDeviceSessionDataAvailability = (APIDeviceSessionDataAvailability) from;
        cloneBase(from);
        this.deviceRunId = apiDeviceSessionDataAvailability.deviceRunId;
        this.logs = apiDeviceSessionDataAvailability.logs;
        this.performance = apiDeviceSessionDataAvailability.performance;
        this.screenshots = apiDeviceSessionDataAvailability.screenshots;
        this.buildLogs = apiDeviceSessionDataAvailability.buildLogs;
        this.resultsDataZip = apiDeviceSessionDataAvailability.resultsDataZip;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy