Class TreatmentResultRep


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2022-11-21T23:14:11.074962Z[Etc/UTC]")
    public class TreatmentResultRep
    extends java.lang.Object
    TreatmentResultRep
    • Field Detail

      • SERIALIZED_NAME_TREATMENT_ID

        public static final java.lang.String SERIALIZED_NAME_TREATMENT_ID
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_TREATMENT_NAME

        public static final java.lang.String SERIALIZED_NAME_TREATMENT_NAME
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_MEAN

        public static final java.lang.String SERIALIZED_NAME_MEAN
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_CREDIBLE_INTERVAL

        public static final java.lang.String SERIALIZED_NAME_CREDIBLE_INTERVAL
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_P_BEST

        public static final java.lang.String SERIALIZED_NAME_P_BEST
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_RELATIVE_DIFFERENCES

        public static final java.lang.String SERIALIZED_NAME_RELATIVE_DIFFERENCES
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_UNITS

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

      • TreatmentResultRep

        public TreatmentResultRep()
    • Method Detail

      • getTreatmentId

        @Nullable
        public java.lang.String getTreatmentId()
        The ID of the treatment
        Returns:
        treatmentId
      • setTreatmentId

        public void setTreatmentId​(java.lang.String treatmentId)
      • treatmentName

        public TreatmentResultRep treatmentName​(java.lang.String treatmentName)
      • getTreatmentName

        @Nullable
        public java.lang.String getTreatmentName()
        The name of the treatment
        Returns:
        treatmentName
      • setTreatmentName

        public void setTreatmentName​(java.lang.String treatmentName)
      • getMean

        @Nullable
        public java.math.BigDecimal getMean()
        The average value of the variation in this sample. It doesn’t capture the uncertainty in the measurement, so it should not be the only measurement you use to make decisions.
        Returns:
        mean
      • setMean

        public void setMean​(java.math.BigDecimal mean)
      • getCredibleInterval

        @Nullable
        public CredibleIntervalRep getCredibleInterval()
        Get credibleInterval
        Returns:
        credibleInterval
      • setCredibleInterval

        public void setCredibleInterval​(CredibleIntervalRep credibleInterval)
      • getpBest

        @Nullable
        public java.math.BigDecimal getpBest()
        The likelihood that this variation has the biggest effect on the primary metric. Of all the variations in the experiment, the one with highest probability is likely the best option to choose.
        Returns:
        pBest
      • setpBest

        public void setpBest​(java.math.BigDecimal pBest)
      • getRelativeDifferences

        @Nullable
        public java.util.List<RelativeDifferenceRep> getRelativeDifferences()
        A list of the ranges of the metric that you should have 90% confidence in, for each treatment ID. For example, if the range of the relative differences is [-1%, 4%], you can have 90% confidence that the population difference is a number between 1% lower and 4% higher than the control.
        Returns:
        relativeDifferences
      • setRelativeDifferences

        public void setRelativeDifferences​(java.util.List<RelativeDifferenceRep> relativeDifferences)
      • getUnits

        @Nullable
        public java.lang.Long getUnits()
        The number of experiment users for this variation
        Returns:
        units
      • setUnits

        public void setUnits​(java.lang.Long units)
      • putAdditionalProperty

        public TreatmentResultRep 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.
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
        Return the additional (undeclared) property.
      • getAdditionalProperty

        public java.lang.Object getAdditionalProperty​(java.lang.String key)
        Return the additional (undeclared) property with the specified name.
      • 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
      • validateJsonObject

        public static void validateJsonObject​(com.google.gson.JsonObject jsonObj)
                                       throws java.io.IOException
        Validates the JSON Object and throws an exception if issues found
        Parameters:
        jsonObj - JSON Object
        Throws:
        java.io.IOException - if the JSON Object is invalid with respect to TreatmentResultRep
      • fromJson

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

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