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

org.apache.airavata.Benchmark Maven / Gradle / Ivy

The newest version!

package org.apache.airavata;

import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
    "Type",
    "Value",
    "ComputingManagerID"
})
public class Benchmark {

    /**
     * The type of the benchmark - Benchmark_t (open enumeration)
     * 
     */
    @JsonProperty("Type")
    private String type;
    /**
     * The value of the benchmark
     * 
     */
    @JsonProperty("Value")
    private Double value;
    /**
     * The ID of the ComputingManager this benchmark is for
     * 
     */
    @JsonProperty("ComputingManagerID")
    private String computingManagerID;
    private Map additionalProperties = new HashMap();

    /**
     * The type of the benchmark - Benchmark_t (open enumeration)
     * 
     */
    @JsonProperty("Type")
    public String getType() {
        return type;
    }

    /**
     * The type of the benchmark - Benchmark_t (open enumeration)
     * 
     */
    @JsonProperty("Type")
    public void setType(String type) {
        this.type = type;
    }

    /**
     * The value of the benchmark
     * 
     */
    @JsonProperty("Value")
    public Double getValue() {
        return value;
    }

    /**
     * The value of the benchmark
     * 
     */
    @JsonProperty("Value")
    public void setValue(Double value) {
        this.value = value;
    }

    /**
     * The ID of the ComputingManager this benchmark is for
     * 
     */
    @JsonProperty("ComputingManagerID")
    public String getComputingManagerID() {
        return computingManagerID;
    }

    /**
     * The ID of the ComputingManager this benchmark is for
     * 
     */
    @JsonProperty("ComputingManagerID")
    public void setComputingManagerID(String computingManagerID) {
        this.computingManagerID = computingManagerID;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }

    @Override
    public int hashCode() {
        return HashCodeBuilder.reflectionHashCode(this);
    }

    @Override
    public boolean equals(Object other) {
        return EqualsBuilder.reflectionEquals(this, other);
    }

    @JsonAnyGetter
    public Map getAdditionalProperties() {
        return this.additionalProperties;
    }

    @JsonAnySetter
    public void setAdditionalProperty(String name, Object value) {
        this.additionalProperties.put(name, value);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy