Package ai.shipeasy.admin.model
Class QueryIrAggOneOf9Numerator
java.lang.Object
ai.shipeasy.admin.model.QueryIrAggOneOf9Numerator
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class QueryIrAggOneOf9Numerator
extends Object
Numerator or denominator arm of a `ratio` aggregation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumCounting mode for this ratio arm.static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFiltersItem(QueryIrAggOneOf9NumeratorFiltersInner filtersItem) booleanfilters(List<QueryIrAggOneOf9NumeratorFiltersInner> filters) static QueryIrAggOneOf9NumeratorCreate an instance of QueryIrAggOneOf9Numerator given an JSON stringgetAgg()Counting mode for this ratio arm.Optional label filters.Source event name for this ratio arm.inthashCode()voidvoidvoidtoJson()Convert an instance of QueryIrAggOneOf9Numerator to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_AGG
- See Also:
-
SERIALIZED_NAME_METRIC
- See Also:
-
SERIALIZED_NAME_FILTERS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
QueryIrAggOneOf9Numerator
public QueryIrAggOneOf9Numerator()
-
-
Method Details
-
agg
-
getAgg
Counting mode for this ratio arm.- Returns:
- agg
-
setAgg
-
metric
-
getMetric
Source event name for this ratio arm.- Returns:
- metric
-
setMetric
-
filters
public QueryIrAggOneOf9Numerator filters(@Nullable List<QueryIrAggOneOf9NumeratorFiltersInner> filters) -
addFiltersItem
-
getFilters
Optional label filters.- Returns:
- filters
-
setFilters
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to QueryIrAggOneOf9Numerator
-
fromJson
Create an instance of QueryIrAggOneOf9Numerator given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of QueryIrAggOneOf9Numerator
- Throws:
IOException- if the JSON string is invalid with respect to QueryIrAggOneOf9Numerator
-
toJson
Convert an instance of QueryIrAggOneOf9Numerator to an JSON string- Returns:
- JSON string
-