
org.hawkular.cmdgw.api.UpdateCollectionIntervalsRequest Maven / Gradle / Ivy
The newest version!
package org.hawkular.cmdgw.api;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* A request to update one or more collection intervals. ResourcePath should be a resource managed by the target agent.
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
"metricTypes",
"availTypes"
})
public class UpdateCollectionIntervalsRequest
extends ResourcePathRequest
implements ResourcePathDestination
{
/**
* A map with key=metricTypeId, value=interval (seconds). metricType is inventory metric type id
* (Required)
*
*/
@JsonProperty("metricTypes")
private Map metricTypes;
/**
* A map with key=availType, value=interval (seconds). metricType is inventory metric type id
* (Required)
*
*/
@JsonProperty("availTypes")
private Map availTypes;
/**
* A map with key=metricTypeId, value=interval (seconds). metricType is inventory metric type id
* (Required)
*
* @return
* The metricTypes
*/
@JsonProperty("metricTypes")
public Map getMetricTypes() {
return metricTypes;
}
/**
* A map with key=metricTypeId, value=interval (seconds). metricType is inventory metric type id
* (Required)
*
* @param metricTypes
* The metricTypes
*/
@JsonProperty("metricTypes")
public void setMetricTypes(Map metricTypes) {
this.metricTypes = metricTypes;
}
/**
* A map with key=availType, value=interval (seconds). metricType is inventory metric type id
* (Required)
*
* @return
* The availTypes
*/
@JsonProperty("availTypes")
public Map getAvailTypes() {
return availTypes;
}
/**
* A map with key=availType, value=interval (seconds). metricType is inventory metric type id
* (Required)
*
* @param availTypes
* The availTypes
*/
@JsonProperty("availTypes")
public void setAvailTypes(Map availTypes) {
this.availTypes = availTypes;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy