All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.seeq.model.MonitorValues Maven / Gradle / Ivy
/*
* Seeq REST API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 60.1.3-v202304250417
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.seeq.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* MonitorValues
*/
public class MonitorValues {
@JsonProperty("count")
private Long count = null;
@JsonProperty("fifteenMinuteRate")
private Double fifteenMinuteRate = null;
@JsonProperty("fiveMinuteRate")
private Double fiveMinuteRate = null;
@JsonProperty("max")
private Double max = null;
@JsonProperty("mean")
private Double mean = null;
@JsonProperty("min")
private Double min = null;
@JsonProperty("oneMinuteRate")
private Double oneMinuteRate = null;
@JsonProperty("p50")
private Double p50 = null;
@JsonProperty("p75")
private Double p75 = null;
@JsonProperty("p95")
private Double p95 = null;
@JsonProperty("p98")
private Double p98 = null;
@JsonProperty("p99")
private Double p99 = null;
@JsonProperty("p999")
private Double p999 = null;
@JsonProperty("stddev")
private Double stddev = null;
@JsonProperty("value")
private Double value = null;
public MonitorValues count(Long count) {
this.count = count;
return this;
}
/**
* If a timer, the number of timed events
* @return count
**/
@Schema(description = "If a timer, the number of timed events")
public Long getCount() {
return count;
}
public void setCount(Long count) {
this.count = count;
}
public MonitorValues fifteenMinuteRate(Double fifteenMinuteRate) {
this.fifteenMinuteRate = fifteenMinuteRate;
return this;
}
/**
* Rate observed over the last 15 minutes
* @return fifteenMinuteRate
**/
@Schema(description = "Rate observed over the last 15 minutes")
public Double getFifteenMinuteRate() {
return fifteenMinuteRate;
}
public void setFifteenMinuteRate(Double fifteenMinuteRate) {
this.fifteenMinuteRate = fifteenMinuteRate;
}
public MonitorValues fiveMinuteRate(Double fiveMinuteRate) {
this.fiveMinuteRate = fiveMinuteRate;
return this;
}
/**
* Rate observed over the last 5 minutes
* @return fiveMinuteRate
**/
@Schema(description = "Rate observed over the last 5 minutes")
public Double getFiveMinuteRate() {
return fiveMinuteRate;
}
public void setFiveMinuteRate(Double fiveMinuteRate) {
this.fiveMinuteRate = fiveMinuteRate;
}
public MonitorValues max(Double max) {
this.max = max;
return this;
}
/**
* Get max
* @return max
**/
@Schema(description = "")
public Double getMax() {
return max;
}
public void setMax(Double max) {
this.max = max;
}
public MonitorValues mean(Double mean) {
this.mean = mean;
return this;
}
/**
* Get mean
* @return mean
**/
@Schema(description = "")
public Double getMean() {
return mean;
}
public void setMean(Double mean) {
this.mean = mean;
}
public MonitorValues min(Double min) {
this.min = min;
return this;
}
/**
* Get min
* @return min
**/
@Schema(description = "")
public Double getMin() {
return min;
}
public void setMin(Double min) {
this.min = min;
}
public MonitorValues oneMinuteRate(Double oneMinuteRate) {
this.oneMinuteRate = oneMinuteRate;
return this;
}
/**
* Rate observed over the last 1 minute
* @return oneMinuteRate
**/
@Schema(description = "Rate observed over the last 1 minute")
public Double getOneMinuteRate() {
return oneMinuteRate;
}
public void setOneMinuteRate(Double oneMinuteRate) {
this.oneMinuteRate = oneMinuteRate;
}
public MonitorValues p50(Double p50) {
this.p50 = p50;
return this;
}
/**
* 50th percentile (also known as median)
* @return p50
**/
@Schema(description = "50th percentile (also known as median)")
public Double getP50() {
return p50;
}
public void setP50(Double p50) {
this.p50 = p50;
}
public MonitorValues p75(Double p75) {
this.p75 = p75;
return this;
}
/**
* 75th percentile
* @return p75
**/
@Schema(description = "75th percentile")
public Double getP75() {
return p75;
}
public void setP75(Double p75) {
this.p75 = p75;
}
public MonitorValues p95(Double p95) {
this.p95 = p95;
return this;
}
/**
* 95th percentile
* @return p95
**/
@Schema(description = "95th percentile")
public Double getP95() {
return p95;
}
public void setP95(Double p95) {
this.p95 = p95;
}
public MonitorValues p98(Double p98) {
this.p98 = p98;
return this;
}
/**
* 98th percentile
* @return p98
**/
@Schema(description = "98th percentile")
public Double getP98() {
return p98;
}
public void setP98(Double p98) {
this.p98 = p98;
}
public MonitorValues p99(Double p99) {
this.p99 = p99;
return this;
}
/**
* 99th percentile
* @return p99
**/
@Schema(description = "99th percentile")
public Double getP99() {
return p99;
}
public void setP99(Double p99) {
this.p99 = p99;
}
public MonitorValues p999(Double p999) {
this.p999 = p999;
return this;
}
/**
* 99.9th percentile
* @return p999
**/
@Schema(description = "99.9th percentile")
public Double getP999() {
return p999;
}
public void setP999(Double p999) {
this.p999 = p999;
}
public MonitorValues stddev(Double stddev) {
this.stddev = stddev;
return this;
}
/**
* Standard deviation
* @return stddev
**/
@Schema(description = "Standard deviation")
public Double getStddev() {
return stddev;
}
public void setStddev(Double stddev) {
this.stddev = stddev;
}
public MonitorValues value(Double value) {
this.value = value;
return this;
}
/**
* Gauge's current value
* @return value
**/
@Schema(description = "Gauge's current value")
public Double getValue() {
return value;
}
public void setValue(Double value) {
this.value = value;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
MonitorValues monitorValues = (MonitorValues) o;
return Objects.equals(this.count, monitorValues.count) &&
Objects.equals(this.fifteenMinuteRate, monitorValues.fifteenMinuteRate) &&
Objects.equals(this.fiveMinuteRate, monitorValues.fiveMinuteRate) &&
Objects.equals(this.max, monitorValues.max) &&
Objects.equals(this.mean, monitorValues.mean) &&
Objects.equals(this.min, monitorValues.min) &&
Objects.equals(this.oneMinuteRate, monitorValues.oneMinuteRate) &&
Objects.equals(this.p50, monitorValues.p50) &&
Objects.equals(this.p75, monitorValues.p75) &&
Objects.equals(this.p95, monitorValues.p95) &&
Objects.equals(this.p98, monitorValues.p98) &&
Objects.equals(this.p99, monitorValues.p99) &&
Objects.equals(this.p999, monitorValues.p999) &&
Objects.equals(this.stddev, monitorValues.stddev) &&
Objects.equals(this.value, monitorValues.value);
}
@Override
public int hashCode() {
return Objects.hash(count, fifteenMinuteRate, fiveMinuteRate, max, mean, min, oneMinuteRate, p50, p75, p95, p98, p99, p999, stddev, value);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MonitorValues {\n");
sb.append(" count: ").append(toIndentedString(count)).append("\n");
sb.append(" fifteenMinuteRate: ").append(toIndentedString(fifteenMinuteRate)).append("\n");
sb.append(" fiveMinuteRate: ").append(toIndentedString(fiveMinuteRate)).append("\n");
sb.append(" max: ").append(toIndentedString(max)).append("\n");
sb.append(" mean: ").append(toIndentedString(mean)).append("\n");
sb.append(" min: ").append(toIndentedString(min)).append("\n");
sb.append(" oneMinuteRate: ").append(toIndentedString(oneMinuteRate)).append("\n");
sb.append(" p50: ").append(toIndentedString(p50)).append("\n");
sb.append(" p75: ").append(toIndentedString(p75)).append("\n");
sb.append(" p95: ").append(toIndentedString(p95)).append("\n");
sb.append(" p98: ").append(toIndentedString(p98)).append("\n");
sb.append(" p99: ").append(toIndentedString(p99)).append("\n");
sb.append(" p999: ").append(toIndentedString(p999)).append("\n");
sb.append(" stddev: ").append(toIndentedString(stddev)).append("\n");
sb.append(" value: ").append(toIndentedString(value)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}