
com.vmware.avi.sdk.model.MetricsData Maven / Gradle / Ivy
/*
* Copyright 2021 VMware, Inc.
* SPDX-License-Identifier: Apache License 2.0
*/
package com.vmware.avi.sdk.model;
import java.util.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
/**
* The MetricsData is a POJO class extends AviRestResource that used for creating
* MetricsData.
*
* @version 1.0
* @since
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MetricsData {
@JsonProperty("application_response_time")
private Float applicationResponseTime;
@JsonProperty("blocking_time")
private Float blockingTime;
@JsonProperty("browser_rendering_time")
private Float browserRenderingTime;
@JsonProperty("client_rtt")
private Float clientRtt;
@JsonProperty("connection_time")
private Float connectionTime;
@JsonProperty("dns_lookup_time")
private Float dnsLookupTime;
@JsonProperty("dom_content_load_time")
private Float domContentLoadTime;
@JsonProperty("is_null")
private Boolean isNull;
@JsonProperty("num_samples")
private Integer numSamples;
@JsonProperty("page_download_time")
private Float pageDownloadTime;
@JsonProperty("page_load_time")
private Float pageLoadTime;
@JsonProperty("prediction_interval_high")
private Float predictionIntervalHigh;
@JsonProperty("prediction_interval_low")
private Float predictionIntervalLow;
@JsonProperty("redirection_time")
private Float redirectionTime;
@JsonProperty("rum_client_data_transfer_time")
private Float rumClientDataTransferTime;
@JsonProperty("server_rtt")
private Float serverRtt;
@JsonProperty("service_time")
private Float serviceTime;
@JsonProperty("timestamp")
private String timestamp;
@JsonProperty("value")
private Float value;
@JsonProperty("value_str")
private String valueStr;
@JsonProperty("value_str_desc")
private String valueStrDesc;
@JsonProperty("waiting_time")
private Float waitingTime;
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return applicationResponseTime
*/
public Float getApplicationResponseTime() {
return applicationResponseTime;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param applicationResponseTime set the applicationResponseTime.
*/
public void setApplicationResponseTime(Float applicationResponseTime) {
this.applicationResponseTime = applicationResponseTime;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return blockingTime
*/
public Float getBlockingTime() {
return blockingTime;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param blockingTime set the blockingTime.
*/
public void setBlockingTime(Float blockingTime) {
this.blockingTime = blockingTime;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return browserRenderingTime
*/
public Float getBrowserRenderingTime() {
return browserRenderingTime;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param browserRenderingTime set the browserRenderingTime.
*/
public void setBrowserRenderingTime(Float browserRenderingTime) {
this.browserRenderingTime = browserRenderingTime;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return clientRtt
*/
public Float getClientRtt() {
return clientRtt;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param clientRtt set the clientRtt.
*/
public void setClientRtt(Float clientRtt) {
this.clientRtt = clientRtt;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return connectionTime
*/
public Float getConnectionTime() {
return connectionTime;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param connectionTime set the connectionTime.
*/
public void setConnectionTime(Float connectionTime) {
this.connectionTime = connectionTime;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return dnsLookupTime
*/
public Float getDnsLookupTime() {
return dnsLookupTime;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param dnsLookupTime set the dnsLookupTime.
*/
public void setDnsLookupTime(Float dnsLookupTime) {
this.dnsLookupTime = dnsLookupTime;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return domContentLoadTime
*/
public Float getDomContentLoadTime() {
return domContentLoadTime;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param domContentLoadTime set the domContentLoadTime.
*/
public void setDomContentLoadTime(Float domContentLoadTime) {
this.domContentLoadTime = domContentLoadTime;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return isNull
*/
public Boolean getIsNull() {
return isNull;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param isNull set the isNull.
*/
public void setIsNull(Boolean isNull) {
this.isNull = isNull;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return numSamples
*/
public Integer getNumSamples() {
return numSamples;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param numSamples set the numSamples.
*/
public void setNumSamples(Integer numSamples) {
this.numSamples = numSamples;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return pageDownloadTime
*/
public Float getPageDownloadTime() {
return pageDownloadTime;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param pageDownloadTime set the pageDownloadTime.
*/
public void setPageDownloadTime(Float pageDownloadTime) {
this.pageDownloadTime = pageDownloadTime;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return pageLoadTime
*/
public Float getPageLoadTime() {
return pageLoadTime;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param pageLoadTime set the pageLoadTime.
*/
public void setPageLoadTime(Float pageLoadTime) {
this.pageLoadTime = pageLoadTime;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return predictionIntervalHigh
*/
public Float getPredictionIntervalHigh() {
return predictionIntervalHigh;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param predictionIntervalHigh set the predictionIntervalHigh.
*/
public void setPredictionIntervalHigh(Float predictionIntervalHigh) {
this.predictionIntervalHigh = predictionIntervalHigh;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return predictionIntervalLow
*/
public Float getPredictionIntervalLow() {
return predictionIntervalLow;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param predictionIntervalLow set the predictionIntervalLow.
*/
public void setPredictionIntervalLow(Float predictionIntervalLow) {
this.predictionIntervalLow = predictionIntervalLow;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return redirectionTime
*/
public Float getRedirectionTime() {
return redirectionTime;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param redirectionTime set the redirectionTime.
*/
public void setRedirectionTime(Float redirectionTime) {
this.redirectionTime = redirectionTime;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return rumClientDataTransferTime
*/
public Float getRumClientDataTransferTime() {
return rumClientDataTransferTime;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param rumClientDataTransferTime set the rumClientDataTransferTime.
*/
public void setRumClientDataTransferTime(Float rumClientDataTransferTime) {
this.rumClientDataTransferTime = rumClientDataTransferTime;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return serverRtt
*/
public Float getServerRtt() {
return serverRtt;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param serverRtt set the serverRtt.
*/
public void setServerRtt(Float serverRtt) {
this.serverRtt = serverRtt;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return serviceTime
*/
public Float getServiceTime() {
return serviceTime;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param serviceTime set the serviceTime.
*/
public void setServiceTime(Float serviceTime) {
this.serviceTime = serviceTime;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return timestamp
*/
public String getTimestamp() {
return timestamp;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param timestamp set the timestamp.
*/
public void setTimestamp(String timestamp) {
this.timestamp = timestamp;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return value
*/
public Float getValue() {
return value;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param value set the value.
*/
public void setValue(Float value) {
this.value = value;
}
/**
* This is the getter method this will return the attribute value.
* Field introduced in 17.2.2.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return valueStr
*/
public String getValueStr() {
return valueStr;
}
/**
* This is the setter method to the attribute.
* Field introduced in 17.2.2.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param valueStr set the valueStr.
*/
public void setValueStr(String valueStr) {
this.valueStr = valueStr;
}
/**
* This is the getter method this will return the attribute value.
* Field introduced in 17.2.2.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return valueStrDesc
*/
public String getValueStrDesc() {
return valueStrDesc;
}
/**
* This is the setter method to the attribute.
* Field introduced in 17.2.2.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param valueStrDesc set the valueStrDesc.
*/
public void setValueStrDesc(String valueStrDesc) {
this.valueStrDesc = valueStrDesc;
}
/**
* This is the getter method this will return the attribute value.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @return waitingTime
*/
public Float getWaitingTime() {
return waitingTime;
}
/**
* This is the setter method to the attribute.
* Allowed in enterprise edition with any value, essentials, basic, enterprise with cloud services edition.
* Default value when not specified in API or module is interpreted by Avi Controller as null.
* @param waitingTime set the waitingTime.
*/
public void setWaitingTime(Float waitingTime) {
this.waitingTime = waitingTime;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
MetricsData objMetricsData = (MetricsData) o;
return Objects.equals(this.timestamp, objMetricsData.timestamp)&&
Objects.equals(this.value, objMetricsData.value)&&
Objects.equals(this.numSamples, objMetricsData.numSamples)&&
Objects.equals(this.blockingTime, objMetricsData.blockingTime)&&
Objects.equals(this.dnsLookupTime, objMetricsData.dnsLookupTime)&&
Objects.equals(this.connectionTime, objMetricsData.connectionTime)&&
Objects.equals(this.redirectionTime, objMetricsData.redirectionTime)&&
Objects.equals(this.applicationResponseTime, objMetricsData.applicationResponseTime)&&
Objects.equals(this.serverRtt, objMetricsData.serverRtt)&&
Objects.equals(this.clientRtt, objMetricsData.clientRtt)&&
Objects.equals(this.serviceTime, objMetricsData.serviceTime)&&
Objects.equals(this.pageDownloadTime, objMetricsData.pageDownloadTime)&&
Objects.equals(this.browserRenderingTime, objMetricsData.browserRenderingTime)&&
Objects.equals(this.pageLoadTime, objMetricsData.pageLoadTime)&&
Objects.equals(this.domContentLoadTime, objMetricsData.domContentLoadTime)&&
Objects.equals(this.waitingTime, objMetricsData.waitingTime)&&
Objects.equals(this.rumClientDataTransferTime, objMetricsData.rumClientDataTransferTime)&&
Objects.equals(this.isNull, objMetricsData.isNull)&&
Objects.equals(this.predictionIntervalHigh, objMetricsData.predictionIntervalHigh)&&
Objects.equals(this.predictionIntervalLow, objMetricsData.predictionIntervalLow)&&
Objects.equals(this.valueStr, objMetricsData.valueStr)&&
Objects.equals(this.valueStrDesc, objMetricsData.valueStrDesc);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class MetricsData {\n");
sb.append(" applicationResponseTime: ").append(toIndentedString(applicationResponseTime)).append("\n");
sb.append(" blockingTime: ").append(toIndentedString(blockingTime)).append("\n");
sb.append(" browserRenderingTime: ").append(toIndentedString(browserRenderingTime)).append("\n");
sb.append(" clientRtt: ").append(toIndentedString(clientRtt)).append("\n");
sb.append(" connectionTime: ").append(toIndentedString(connectionTime)).append("\n");
sb.append(" dnsLookupTime: ").append(toIndentedString(dnsLookupTime)).append("\n");
sb.append(" domContentLoadTime: ").append(toIndentedString(domContentLoadTime)).append("\n");
sb.append(" isNull: ").append(toIndentedString(isNull)).append("\n");
sb.append(" numSamples: ").append(toIndentedString(numSamples)).append("\n");
sb.append(" pageDownloadTime: ").append(toIndentedString(pageDownloadTime)).append("\n");
sb.append(" pageLoadTime: ").append(toIndentedString(pageLoadTime)).append("\n");
sb.append(" predictionIntervalHigh: ").append(toIndentedString(predictionIntervalHigh)).append("\n");
sb.append(" predictionIntervalLow: ").append(toIndentedString(predictionIntervalLow)).append("\n");
sb.append(" redirectionTime: ").append(toIndentedString(redirectionTime)).append("\n");
sb.append(" rumClientDataTransferTime: ").append(toIndentedString(rumClientDataTransferTime)).append("\n");
sb.append(" serverRtt: ").append(toIndentedString(serverRtt)).append("\n");
sb.append(" serviceTime: ").append(toIndentedString(serviceTime)).append("\n");
sb.append(" timestamp: ").append(toIndentedString(timestamp)).append("\n");
sb.append(" value: ").append(toIndentedString(value)).append("\n");
sb.append(" valueStr: ").append(toIndentedString(valueStr)).append("\n");
sb.append(" valueStrDesc: ").append(toIndentedString(valueStrDesc)).append("\n");
sb.append(" waitingTime: ").append(toIndentedString(waitingTime)).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 ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy