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

com.testdroid.api.model.APIAdminDeviceProblem 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.List;

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

    private Long clusterId;

    private String clusterName;

    private Long deviceId;

    private Long deviceModelId;

    private String deviceModelName;

    private String deviceName;

    private List problems;

    public APIAdminDeviceProblem() {
    }

    public APIAdminDeviceProblem(
            Long clusterId, String clusterName, Long deviceId, String deviceName, Long deviceModelId,
            String deviceModelName, List problems) {
        this.clusterId = clusterId;
        this.clusterName = clusterName;
        this.deviceId = deviceId;
        this.deviceName = deviceName;
        this.deviceModelId = deviceModelId;
        this.deviceModelName = deviceModelName;
        this.problems = problems;
    }

    public Long getClusterId() {
        return clusterId;
    }

    public void setClusterId(Long clusterId) {
        this.clusterId = clusterId;
    }

    public String getClusterName() {
        return clusterName;
    }

    public void setClusterName(String clusterName) {
        this.clusterName = clusterName;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public Long getDeviceModelId() {
        return deviceModelId;
    }

    public void setDeviceModelId(Long deviceModelId) {
        this.deviceModelId = deviceModelId;
    }

    public String getDeviceModelName() {
        return deviceModelName;
    }

    public void setDeviceModelName(String deviceModelName) {
        this.deviceModelName = deviceModelName;
    }

    public List getProblems() {
        return problems;
    }

    public void setProblems(List problems) {
        this.problems = problems;
    }

    @Override
    @JsonIgnore
    protected  void clone(T from) {
        APIAdminDeviceProblem apiAdminDeviceProblem = (APIAdminDeviceProblem) from;
        cloneBase(from);
        this.clusterId = apiAdminDeviceProblem.clusterId;
        this.clusterName = apiAdminDeviceProblem.clusterName;
        this.deviceId = apiAdminDeviceProblem.deviceId;
        this.deviceName = apiAdminDeviceProblem.deviceName;
        this.deviceModelId = apiAdminDeviceProblem.deviceModelId;
        this.deviceModelName = apiAdminDeviceProblem.deviceModelName;
        this.problems = apiAdminDeviceProblem.problems;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy