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

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

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

import com.testdroid.api.APIEntity;

public class APIDeviceAvailability extends APIEntity {

    public enum PoolSize {
        XL,
        L,
        M,
        S,
    }

    public enum Code {
        HIGH,
        MODERATE,
        LOW,
        NONE,
    }

    private PoolSize poolSize;

    private Code code;

    public APIDeviceAvailability() {
    }

    public APIDeviceAvailability(PoolSize poolSize, Code code) {
        this.poolSize = poolSize;
        this.code = code;
    }

    public PoolSize getPoolSize() {
        return poolSize;
    }

    public APIDeviceAvailability.Code getCode() {
        return code;
    }

    @Override
    protected  void clone(T from) {
        APIDeviceAvailability other = (APIDeviceAvailability) from;
        cloneBase(from);
        this.poolSize = other.poolSize;
        this.code = other.code;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy