Class VariationSummary


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2022-07-11T22:46:03.646077Z[Etc/UTC]")
    public class VariationSummary
    extends java.lang.Object
    VariationSummary
    • Field Detail

      • SERIALIZED_NAME_RULES

        public static final java.lang.String SERIALIZED_NAME_RULES
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_NULL_RULES

        public static final java.lang.String SERIALIZED_NAME_NULL_RULES
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_TARGETS

        public static final java.lang.String SERIALIZED_NAME_TARGETS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_IS_FALLTHROUGH

        public static final java.lang.String SERIALIZED_NAME_IS_FALLTHROUGH
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_IS_OFF

        public static final java.lang.String SERIALIZED_NAME_IS_OFF
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_ROLLOUT

        public static final java.lang.String SERIALIZED_NAME_ROLLOUT
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_BUCKET_BY

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

      • VariationSummary

        public VariationSummary()
    • Method Detail

      • getRules

        @Nonnull
        public java.lang.Integer getRules()
        Get rules
        Returns:
        rules
      • setRules

        public void setRules​(java.lang.Integer rules)
      • nullRules

        public VariationSummary nullRules​(java.lang.Integer nullRules)
      • getNullRules

        @Nonnull
        public java.lang.Integer getNullRules()
        Get nullRules
        Returns:
        nullRules
      • setNullRules

        public void setNullRules​(java.lang.Integer nullRules)
      • getTargets

        @Nonnull
        public java.lang.Integer getTargets()
        Get targets
        Returns:
        targets
      • setTargets

        public void setTargets​(java.lang.Integer targets)
      • isFallthrough

        public VariationSummary isFallthrough​(java.lang.Boolean isFallthrough)
      • getIsFallthrough

        @Nullable
        public java.lang.Boolean getIsFallthrough()
        Get isFallthrough
        Returns:
        isFallthrough
      • setIsFallthrough

        public void setIsFallthrough​(java.lang.Boolean isFallthrough)
      • getIsOff

        @Nullable
        public java.lang.Boolean getIsOff()
        Get isOff
        Returns:
        isOff
      • setIsOff

        public void setIsOff​(java.lang.Boolean isOff)
      • getRollout

        @Nullable
        public java.lang.Integer getRollout()
        Get rollout
        Returns:
        rollout
      • setRollout

        public void setRollout​(java.lang.Integer rollout)
      • getBucketBy

        @Nullable
        public java.lang.String getBucketBy()
        Get bucketBy
        Returns:
        bucketBy
      • setBucketBy

        public void setBucketBy​(java.lang.String bucketBy)
      • putAdditionalProperty

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

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

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