Package org.openapitools.client.model
Class MetricsIntervalResultDto
- java.lang.Object
-
- org.openapitools.client.model.MetricsIntervalResultDto
-
public class MetricsIntervalResultDto extends Object
MetricsIntervalResultDto
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_REPORTERstatic StringSERIALIZED_NAME_TIMESTAMPstatic StringSERIALIZED_NAME_VALUE
-
Constructor Summary
Constructors Constructor Description MetricsIntervalResultDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetName()The name of the metric.StringgetReporter()The reporter of the metric.DategetTimestamp()The interval timestamp.LonggetValue()The value of the metric aggregated by the interval.inthashCode()MetricsIntervalResultDtoname(String name)MetricsIntervalResultDtoreporter(String reporter)voidsetName(String name)voidsetReporter(String reporter)voidsetTimestamp(Date timestamp)voidsetValue(Long value)MetricsIntervalResultDtotimestamp(Date timestamp)StringtoString()MetricsIntervalResultDtovalue(Long value)
-
-
-
Field Detail
-
SERIALIZED_NAME_TIMESTAMP
public static final String SERIALIZED_NAME_TIMESTAMP
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REPORTER
public static final String SERIALIZED_NAME_REPORTER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VALUE
public static final String SERIALIZED_NAME_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
timestamp
public MetricsIntervalResultDto timestamp(Date timestamp)
-
getTimestamp
public Date getTimestamp()
The interval timestamp.- Returns:
- timestamp
-
setTimestamp
public void setTimestamp(Date timestamp)
-
name
public MetricsIntervalResultDto name(String name)
-
getName
public String getName()
The name of the metric.- Returns:
- name
-
setName
public void setName(String name)
-
reporter
public MetricsIntervalResultDto reporter(String reporter)
-
getReporter
public String getReporter()
The reporter of the metric. `null` if the metrics are aggregated by reporter.- Returns:
- reporter
-
setReporter
public void setReporter(String reporter)
-
value
public MetricsIntervalResultDto value(Long value)
-
getValue
public Long getValue()
The value of the metric aggregated by the interval.- Returns:
- value
-
setValue
public void setValue(Long value)
-
-