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

com.microsoft.azure.management.monitor.TimeSeriesElement Maven / Gradle / Ivy

There is a newer version: 1.41.4
Show newest version
/**
 * 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