com.ringcentral.definitions.AggregationResponseOptionsTimersCallsSegmentsDuration Maven / Gradle / Ivy
package com.ringcentral.definitions;
public class AggregationResponseOptionsTimersCallsSegmentsDuration {
/**
* Counter aggregation type. Can be `Sum`, `Average`, `Min`, `Max` or `Percent`
* Enum: Sum, Average, Max, Min, Percent
*/
public String aggregationType;
/**
* Time interval which will be used for aggregation. Can be `Hour`, `Day`, `Week` or `Month`
* Enum: Hour, Day, Week, Month
*/
public String aggregationInterval;
public AggregationResponseOptionsTimersCallsSegmentsDuration aggregationType(String aggregationType) {
this.aggregationType = aggregationType;
return this;
}
public AggregationResponseOptionsTimersCallsSegmentsDuration aggregationInterval(String aggregationInterval) {
this.aggregationInterval = aggregationInterval;
return this;
}
}