Class AgentOptimizationPatch


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2026-06-30T13:33:45.929090Z[Etc/UTC]",
               comments="Generator version: 7.18.0")
    public class AgentOptimizationPatch
    extends java.lang.Object
    AgentOptimizationPatch
    • Field Detail

      • SERIALIZED_NAME_MAX_ATTEMPTS

        public static final java.lang.String SERIALIZED_NAME_MAX_ATTEMPTS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_MODEL_CHOICES

        public static final java.lang.String SERIALIZED_NAME_MODEL_CHOICES
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_JUDGE_MODEL

        public static final java.lang.String SERIALIZED_NAME_JUDGE_MODEL
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_VARIABLE_CHOICES

        public static final java.lang.String SERIALIZED_NAME_VARIABLE_CHOICES
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_ACCEPTANCE_STATEMENTS

        public static final java.lang.String SERIALIZED_NAME_ACCEPTANCE_STATEMENTS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_JUDGES

        public static final java.lang.String SERIALIZED_NAME_JUDGES
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_USER_INPUT_OPTIONS

        public static final java.lang.String SERIALIZED_NAME_USER_INPUT_OPTIONS
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_GROUND_TRUTH_RESPONSES

        public static final java.lang.String SERIALIZED_NAME_GROUND_TRUTH_RESPONSES
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_METRIC_KEY

        public static final java.lang.String SERIALIZED_NAME_METRIC_KEY
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_TOKEN_LIMIT

        public static final java.lang.String SERIALIZED_NAME_TOKEN_LIMIT
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_VARIATION_KEY

        public static final java.lang.String SERIALIZED_NAME_VARIATION_KEY
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_LABEL

        public static final java.lang.String SERIALIZED_NAME_LABEL
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_LATENCY_OPTIMIZATION

        public static final java.lang.String SERIALIZED_NAME_LATENCY_OPTIMIZATION
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_TOKEN_OPTIMIZATION

        public static final java.lang.String SERIALIZED_NAME_TOKEN_OPTIMIZATION
        See Also:
        Constant Field Values
      • SERIALIZED_NAME_AUTO_COMMIT

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

      • AgentOptimizationPatch

        public AgentOptimizationPatch()
    • Method Detail

      • getMaxAttempts

        @Nullable
        public java.lang.Integer getMaxAttempts()
        Get maxAttempts
        Returns:
        maxAttempts
      • setMaxAttempts

        public void setMaxAttempts​(@Nullable
                                   java.lang.Integer maxAttempts)
      • modelChoices

        public AgentOptimizationPatch modelChoices​(@Nullable
                                                   java.util.List<java.lang.String> modelChoices)
      • addModelChoicesItem

        public AgentOptimizationPatch addModelChoicesItem​(java.lang.String modelChoicesItem)
      • getModelChoices

        @Nullable
        public java.util.List<java.lang.String> getModelChoices()
        Get modelChoices
        Returns:
        modelChoices
      • setModelChoices

        public void setModelChoices​(@Nullable
                                    java.util.List<java.lang.String> modelChoices)
      • getJudgeModel

        @Nullable
        public java.lang.String getJudgeModel()
        Get judgeModel
        Returns:
        judgeModel
      • setJudgeModel

        public void setJudgeModel​(@Nullable
                                  java.lang.String judgeModel)
      • variableChoices

        public AgentOptimizationPatch variableChoices​(@Nullable
                                                      java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> variableChoices)
      • addVariableChoicesItem

        public AgentOptimizationPatch addVariableChoicesItem​(java.util.Map<java.lang.String,​java.lang.Object> variableChoicesItem)
      • getVariableChoices

        @Nullable
        public java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> getVariableChoices()
        Get variableChoices
        Returns:
        variableChoices
      • setVariableChoices

        public void setVariableChoices​(@Nullable
                                       java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> variableChoices)
      • userInputOptions

        public AgentOptimizationPatch userInputOptions​(@Nullable
                                                       java.util.List<java.lang.String> userInputOptions)
      • addUserInputOptionsItem

        public AgentOptimizationPatch addUserInputOptionsItem​(java.lang.String userInputOptionsItem)
      • getUserInputOptions

        @Nullable
        public java.util.List<java.lang.String> getUserInputOptions()
        Get userInputOptions
        Returns:
        userInputOptions
      • setUserInputOptions

        public void setUserInputOptions​(@Nullable
                                        java.util.List<java.lang.String> userInputOptions)
      • groundTruthResponses

        public AgentOptimizationPatch groundTruthResponses​(@Nullable
                                                           java.util.List<java.lang.String> groundTruthResponses)
      • addGroundTruthResponsesItem

        public AgentOptimizationPatch addGroundTruthResponsesItem​(java.lang.String groundTruthResponsesItem)
      • getGroundTruthResponses

        @Nullable
        public java.util.List<java.lang.String> getGroundTruthResponses()
        Get groundTruthResponses
        Returns:
        groundTruthResponses
      • setGroundTruthResponses

        public void setGroundTruthResponses​(@Nullable
                                            java.util.List<java.lang.String> groundTruthResponses)
      • getMetricKey

        @Nullable
        public java.lang.String getMetricKey()
        Get metricKey
        Returns:
        metricKey
      • setMetricKey

        public void setMetricKey​(@Nullable
                                 java.lang.String metricKey)
      • getTokenLimit

        @Nullable
        public java.lang.Integer getTokenLimit()
        Get tokenLimit
        Returns:
        tokenLimit
      • setTokenLimit

        public void setTokenLimit​(@Nullable
                                  java.lang.Integer tokenLimit)
      • getVariationKey

        @Nullable
        public java.lang.String getVariationKey()
        Get variationKey
        Returns:
        variationKey
      • setVariationKey

        public void setVariationKey​(@Nullable
                                    java.lang.String variationKey)
      • getLabel

        @Nullable
        public java.lang.String getLabel()
        Get label
        Returns:
        label
      • setLabel

        public void setLabel​(@Nullable
                             java.lang.String label)
      • latencyOptimization

        public AgentOptimizationPatch latencyOptimization​(@Nullable
                                                          java.lang.Boolean latencyOptimization)
      • getLatencyOptimization

        @Nullable
        public java.lang.Boolean getLatencyOptimization()
        Get latencyOptimization
        Returns:
        latencyOptimization
      • setLatencyOptimization

        public void setLatencyOptimization​(@Nullable
                                           java.lang.Boolean latencyOptimization)
      • tokenOptimization

        public AgentOptimizationPatch tokenOptimization​(@Nullable
                                                        java.lang.Boolean tokenOptimization)
      • getTokenOptimization

        @Nullable
        public java.lang.Boolean getTokenOptimization()
        Get tokenOptimization
        Returns:
        tokenOptimization
      • setTokenOptimization

        public void setTokenOptimization​(@Nullable
                                         java.lang.Boolean tokenOptimization)
      • getAutoCommit

        @Nullable
        public java.lang.Boolean getAutoCommit()
        Get autoCommit
        Returns:
        autoCommit
      • setAutoCommit

        public void setAutoCommit​(@Nullable
                                  java.lang.Boolean autoCommit)
      • putAdditionalProperty

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

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

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