Class 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.Object
    DenominatorPost
    • 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
    • Constructor Detail

      • DenominatorPost

        public DenominatorPost()
    • 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)
      • 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)
      • 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 property
        value - 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:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws java.io.IOException
        Validates 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