![JAR search and dependency download from the Maven repository](/logo.png)
com.microsoft.azure.management.monitor.TimeSeriesElement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-monitor Show documentation
Show all versions of azure-mgmt-monitor Show documentation
This package contains Microsoft Azure Monitor SDK.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.monitor;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* A time series result type. The discriminator value is always TimeSeries in
* this case.
*/
public class TimeSeriesElement {
/**
* the metadata values returned if $filter was specified in the call.
*/
@JsonProperty(value = "metadatavalues")
private List metadatavalues;
/**
* An array of data points representing the metric values. This is only
* returned if a result type of data is specified.
*/
@JsonProperty(value = "data")
private List data;
/**
* Get the metadata values returned if $filter was specified in the call.
*
* @return the metadatavalues value
*/
public List metadatavalues() {
return this.metadatavalues;
}
/**
* Set the metadata values returned if $filter was specified in the call.
*
* @param metadatavalues the metadatavalues value to set
* @return the TimeSeriesElement object itself.
*/
public TimeSeriesElement withMetadatavalues(List metadatavalues) {
this.metadatavalues = metadatavalues;
return this;
}
/**
* Get an array of data points representing the metric values. This is only returned if a result type of data is specified.
*
* @return the data value
*/
public List data() {
return this.data;
}
/**
* Set an array of data points representing the metric values. This is only returned if a result type of data is specified.
*
* @param data the data value to set
* @return the TimeSeriesElement object itself.
*/
public TimeSeriesElement withData(List data) {
this.data = data;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy