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

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

package com.testdroid.api.model;

import com.testdroid.api.APIEntity;

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

    private String name;

    private String displayName;

    private String version;

    private APIDevice.OsType osType;

    private String architecture;

    private String installUrl;

    private Boolean install;

    public APIBrowser() {
    }

    public APIBrowser(
            Long id, String name, String displayName, String version, APIDevice.OsType osType, String architecture,
            String installUrl) {
        super(id);
        this.name = name;
        this.displayName = displayName;
        this.version = version;
        this.osType = osType;
        this.architecture = architecture;
        this.installUrl = installUrl;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public APIDevice.OsType getOsType() {
        return osType;
    }

    public void setOsType(APIDevice.OsType osType) {
        this.osType = osType;
    }

    public String getInstallUrl() {
        return installUrl;
    }

    public void setInstallUrl(String installUrl) {
        this.installUrl = installUrl;
    }

    public String getArchitecture() {
        return architecture;
    }

    public void setArchitecture(String architecture) {
        this.architecture = architecture;
    }

    public Boolean getInstall() {
        return install;
    }

    public void setInstall(Boolean install) {
        this.install = install;
    }

    @Override
    protected  void clone(T from) {
        APIBrowser original = (APIBrowser) from;
        cloneBase(from);
        this.name = original.name;
        this.displayName = original.displayName;
        this.version = original.version;
        this.osType = original.osType;
        this.architecture = original.architecture;
        this.installUrl = original.installUrl;
        this.install = original.install;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy