Package com.launchdarkly.api.model
Class DenominatorPost
- java.lang.Object
-
- com.launchdarkly.api.model.DenominatorPost
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-06-30T13:33:45.929090Z[Etc/UTC]", comments="Generator version: 7.18.0") public class DenominatorPost extends java.lang.ObjectDenominatorPost
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDenominatorPost.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static java.util.HashSet<java.lang.String>openapiFieldsstatic java.util.HashSet<java.lang.String>openapiRequiredFieldsstatic java.lang.StringSERIALIZED_NAME_DATA_SOURCEstatic java.lang.StringSERIALIZED_NAME_EVENT_NAMEstatic java.lang.StringSERIALIZED_NAME_FILTERSstatic java.lang.StringSERIALIZED_NAME_IS_NUMERICstatic java.lang.StringSERIALIZED_NAME_UNIT_AGGREGATION_FIELDstatic java.lang.StringSERIALIZED_NAME_UNIT_AGGREGATION_TYPEstatic java.lang.StringSERIALIZED_NAME_WINDOW_END_OFFSETstatic java.lang.StringSERIALIZED_NAME_WINDOW_START_OFFSETstatic java.lang.StringSERIALIZED_NAME_WINSOR_EXCLUDE_IMPUTEDstatic java.lang.StringSERIALIZED_NAME_WINSOR_INCLUDE_IMPUTEDstatic java.lang.StringSERIALIZED_NAME_WINSOR_LOWER_PERCENTILEstatic java.lang.StringSERIALIZED_NAME_WINSOR_UPPER_PERCENTILE
-
Constructor Summary
Constructors Constructor Description DenominatorPost()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DenominatorPostdataSource(MetricDataSourceRefRep dataSource)booleanequals(java.lang.Object o)DenominatorPosteventName(java.lang.String eventName)DenominatorPostfilters(EventFilter filters)static DenominatorPostfromJson(java.lang.String jsonString)Create an instance of DenominatorPost given an JSON stringjava.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()Return the additional (undeclared) property.java.lang.ObjectgetAdditionalProperty(java.lang.String key)Return the additional (undeclared) property with the specified name.MetricDataSourceRefRepgetDataSource()Get dataSourcejava.lang.StringgetEventName()The warehouse event column for the denominator.EventFiltergetFilters()Get filtersjava.lang.BooleangetIsNumeric()Whether the denominator aggregates a numeric valuejava.lang.StringgetUnitAggregationField()The warehouse column to use for counting distinct values.java.lang.StringgetUnitAggregationType()How individual unit values are aggregated.java.lang.LonggetWindowEndOffset()End of the measurement window in millisecondsjava.lang.LonggetWindowStartOffset()Start of the measurement window in millisecondsjava.lang.BooleangetWinsorExcludeImputed()Deprecated and ignored.java.lang.BooleangetWinsorIncludeImputed()When true, includes imputed zeros in the percentile bound calculationjava.math.BigDecimalgetWinsorLowerPercentile()Lower winsorization percentile in the open interval (0, 100)java.math.BigDecimalgetWinsorUpperPercentile()Upper winsorization percentile in the open interval (0, 100)inthashCode()DenominatorPostisNumeric(java.lang.Boolean isNumeric)DenominatorPostputAdditionalProperty(java.lang.String key, java.lang.Object value)Set the additional (undeclared) property with the specified name and value.voidsetDataSource(MetricDataSourceRefRep dataSource)voidsetEventName(java.lang.String eventName)voidsetFilters(EventFilter filters)voidsetIsNumeric(java.lang.Boolean isNumeric)voidsetUnitAggregationField(java.lang.String unitAggregationField)voidsetUnitAggregationType(java.lang.String unitAggregationType)voidsetWindowEndOffset(java.lang.Long windowEndOffset)voidsetWindowStartOffset(java.lang.Long windowStartOffset)voidsetWinsorExcludeImputed(java.lang.Boolean winsorExcludeImputed)voidsetWinsorIncludeImputed(java.lang.Boolean winsorIncludeImputed)voidsetWinsorLowerPercentile(java.math.BigDecimal winsorLowerPercentile)voidsetWinsorUpperPercentile(java.math.BigDecimal winsorUpperPercentile)java.lang.StringtoJson()Convert an instance of DenominatorPost to an JSON stringjava.lang.StringtoString()DenominatorPostunitAggregationField(java.lang.String unitAggregationField)DenominatorPostunitAggregationType(java.lang.String unitAggregationType)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundDenominatorPostwindowEndOffset(java.lang.Long windowEndOffset)DenominatorPostwindowStartOffset(java.lang.Long windowStartOffset)DenominatorPostwinsorExcludeImputed(java.lang.Boolean winsorExcludeImputed)DenominatorPostwinsorIncludeImputed(java.lang.Boolean winsorIncludeImputed)DenominatorPostwinsorLowerPercentile(java.math.BigDecimal winsorLowerPercentile)DenominatorPostwinsorUpperPercentile(java.math.BigDecimal winsorUpperPercentile)
-
-
-
Field Detail
-
SERIALIZED_NAME_EVENT_NAME
public static final java.lang.String SERIALIZED_NAME_EVENT_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_IS_NUMERIC
public static final java.lang.String SERIALIZED_NAME_IS_NUMERIC
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATA_SOURCE
public static final java.lang.String SERIALIZED_NAME_DATA_SOURCE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UNIT_AGGREGATION_TYPE
public static final java.lang.String SERIALIZED_NAME_UNIT_AGGREGATION_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_UNIT_AGGREGATION_FIELD
public static final java.lang.String SERIALIZED_NAME_UNIT_AGGREGATION_FIELD
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FILTERS
public static final java.lang.String SERIALIZED_NAME_FILTERS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WINDOW_START_OFFSET
public static final java.lang.String SERIALIZED_NAME_WINDOW_START_OFFSET
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WINDOW_END_OFFSET
public static final java.lang.String SERIALIZED_NAME_WINDOW_END_OFFSET
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WINSOR_LOWER_PERCENTILE
public static final java.lang.String SERIALIZED_NAME_WINSOR_LOWER_PERCENTILE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WINSOR_UPPER_PERCENTILE
public static final java.lang.String SERIALIZED_NAME_WINSOR_UPPER_PERCENTILE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WINSOR_EXCLUDE_IMPUTED
public static final java.lang.String SERIALIZED_NAME_WINSOR_EXCLUDE_IMPUTED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WINSOR_INCLUDE_IMPUTED
public static final java.lang.String SERIALIZED_NAME_WINSOR_INCLUDE_IMPUTED
- See Also:
- Constant Field Values
-
openapiFields
public static java.util.HashSet<java.lang.String> openapiFields
-
openapiRequiredFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
-
-
Method Detail
-
eventName
public DenominatorPost eventName(@Nullable java.lang.String eventName)
-
getEventName
@Nullable public java.lang.String getEventName()
The warehouse event column for the denominator. Required.- Returns:
- eventName
-
setEventName
public void setEventName(@Nullable java.lang.String eventName)
-
isNumeric
public DenominatorPost isNumeric(@Nullable java.lang.Boolean isNumeric)
-
getIsNumeric
@Nullable public java.lang.Boolean getIsNumeric()
Whether the denominator aggregates a numeric value- Returns:
- isNumeric
-
setIsNumeric
public void setIsNumeric(@Nullable java.lang.Boolean isNumeric)
-
dataSource
public DenominatorPost dataSource(@Nullable MetricDataSourceRefRep dataSource)
-
getDataSource
@Nullable public MetricDataSourceRefRep getDataSource()
Get dataSource- Returns:
- dataSource
-
setDataSource
public void setDataSource(@Nullable MetricDataSourceRefRep dataSource)
-
unitAggregationType
public DenominatorPost unitAggregationType(@Nullable java.lang.String unitAggregationType)
-
getUnitAggregationType
@Nullable public java.lang.String getUnitAggregationType()
How individual unit values are aggregated. One of: average, sum, count_distinct- Returns:
- unitAggregationType
-
setUnitAggregationType
public void setUnitAggregationType(@Nullable java.lang.String unitAggregationType)
-
unitAggregationField
public DenominatorPost unitAggregationField(@Nullable java.lang.String unitAggregationField)
-
getUnitAggregationField
@Nullable public java.lang.String getUnitAggregationField()
The warehouse column to use for counting distinct values. Required when the unitAggregationType is count_distinct.- Returns:
- unitAggregationField
-
setUnitAggregationField
public void setUnitAggregationField(@Nullable java.lang.String unitAggregationField)
-
filters
public DenominatorPost filters(@Nullable EventFilter filters)
-
getFilters
@Nullable public EventFilter getFilters()
Get filters- Returns:
- filters
-
setFilters
public void setFilters(@Nullable EventFilter filters)
-
windowStartOffset
public DenominatorPost windowStartOffset(@Nullable java.lang.Long windowStartOffset)
-
getWindowStartOffset
@Nullable public java.lang.Long getWindowStartOffset()
Start of the measurement window in milliseconds- Returns:
- windowStartOffset
-
setWindowStartOffset
public void setWindowStartOffset(@Nullable java.lang.Long windowStartOffset)
-
windowEndOffset
public DenominatorPost windowEndOffset(@Nullable java.lang.Long windowEndOffset)
-
getWindowEndOffset
@Nullable public java.lang.Long getWindowEndOffset()
End of the measurement window in milliseconds- Returns:
- windowEndOffset
-
setWindowEndOffset
public void setWindowEndOffset(@Nullable java.lang.Long windowEndOffset)
-
winsorLowerPercentile
public DenominatorPost winsorLowerPercentile(@Nullable java.math.BigDecimal winsorLowerPercentile)
-
getWinsorLowerPercentile
@Nullable public java.math.BigDecimal getWinsorLowerPercentile()
Lower winsorization percentile in the open interval (0, 100)- Returns:
- winsorLowerPercentile
-
setWinsorLowerPercentile
public void setWinsorLowerPercentile(@Nullable java.math.BigDecimal winsorLowerPercentile)
-
winsorUpperPercentile
public DenominatorPost winsorUpperPercentile(@Nullable java.math.BigDecimal winsorUpperPercentile)
-
getWinsorUpperPercentile
@Nullable public java.math.BigDecimal getWinsorUpperPercentile()
Upper winsorization percentile in the open interval (0, 100)- Returns:
- winsorUpperPercentile
-
setWinsorUpperPercentile
public void setWinsorUpperPercentile(@Nullable java.math.BigDecimal winsorUpperPercentile)
-
winsorExcludeImputed
public DenominatorPost winsorExcludeImputed(@Nullable java.lang.Boolean winsorExcludeImputed)
-
getWinsorExcludeImputed
@Nullable public java.lang.Boolean getWinsorExcludeImputed()
Deprecated and ignored. Use winsorIncludeImputed instead.- Returns:
- winsorExcludeImputed
-
setWinsorExcludeImputed
public void setWinsorExcludeImputed(@Nullable java.lang.Boolean winsorExcludeImputed)
-
winsorIncludeImputed
public DenominatorPost winsorIncludeImputed(@Nullable java.lang.Boolean winsorIncludeImputed)
-
getWinsorIncludeImputed
@Nullable public java.lang.Boolean getWinsorIncludeImputed()
When true, includes imputed zeros in the percentile bound calculation- Returns:
- winsorIncludeImputed
-
setWinsorIncludeImputed
public void setWinsorIncludeImputed(@Nullable java.lang.Boolean winsorIncludeImputed)
-
putAdditionalProperty
public DenominatorPost putAdditionalProperty(java.lang.String key, java.lang.Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the DenominatorPost instance itself
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
public java.lang.Object getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws java.io.IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
java.io.IOException- if the JSON Element is invalid with respect to DenominatorPost
-
fromJson
public static DenominatorPost fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of DenominatorPost given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DenominatorPost
- Throws:
java.io.IOException- if the JSON string is invalid with respect to DenominatorPost
-
toJson
public java.lang.String toJson()
Convert an instance of DenominatorPost to an JSON string- Returns:
- JSON string
-
-