Class MetricDenominatorRep


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2026-06-30T13:33:45.929090Z[Etc/UTC]",
               comments="Generator version: 7.18.0")
    public class MetricDenominatorRep
    extends java.lang.Object
    MetricDenominatorRep
    • 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_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_DATA_SOURCE

        public static final java.lang.String SERIALIZED_NAME_DATA_SOURCE
        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

      • MetricDenominatorRep

        public MetricDenominatorRep()
    • Method Detail

      • getEventName

        @Nullable
        public java.lang.String getEventName()
        The warehouse event column for the denominator
        Returns:
        eventName
      • setEventName

        public void setEventName​(@Nullable
                                 java.lang.String eventName)
      • 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 MetricDenominatorRep unitAggregationType​(@Nullable
                                                        java.lang.String unitAggregationType)
      • getUnitAggregationType

        @Nullable
        public java.lang.String getUnitAggregationType()
        How individual unit values are aggregated for the denominator
        Returns:
        unitAggregationType
      • setUnitAggregationType

        public void setUnitAggregationType​(@Nullable
                                           java.lang.String unitAggregationType)
      • unitAggregationField

        public MetricDenominatorRep unitAggregationField​(@Nullable
                                                         java.lang.String unitAggregationField)
      • getUnitAggregationField

        @Nullable
        public java.lang.String getUnitAggregationField()
        The column to count distinct values of; required when unitAggregationType is count_distinct
        Returns:
        unitAggregationField
      • setUnitAggregationField

        public void setUnitAggregationField​(@Nullable
                                            java.lang.String unitAggregationField)
      • getFilters

        @Nullable
        public Filter getFilters()
        Get filters
        Returns:
        filters
      • setFilters

        public void setFilters​(@Nullable
                               Filter filters)
      • windowStartOffset

        public MetricDenominatorRep 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 MetricDenominatorRep 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 MetricDenominatorRep 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 MetricDenominatorRep 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 MetricDenominatorRep 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 MetricDenominatorRep winsorIncludeImputed​(@Nullable
                                                         java.lang.Boolean winsorIncludeImputed)
      • getWinsorIncludeImputed

        @Nullable
        public java.lang.Boolean getWinsorIncludeImputed()
        When true, the percentile bound calculation includes imputed zeros
        Returns:
        winsorIncludeImputed
      • setWinsorIncludeImputed

        public void setWinsorIncludeImputed​(@Nullable
                                            java.lang.Boolean winsorIncludeImputed)
      • putAdditionalProperty

        public MetricDenominatorRep 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 MetricDenominatorRep 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 MetricDenominatorRep
      • fromJson

        public static MetricDenominatorRep fromJson​(java.lang.String jsonString)
                                             throws java.io.IOException
        Create an instance of MetricDenominatorRep given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of MetricDenominatorRep
        Throws:
        java.io.IOException - if the JSON string is invalid with respect to MetricDenominatorRep
      • toJson

        public java.lang.String toJson()
        Convert an instance of MetricDenominatorRep to an JSON string
        Returns:
        JSON string