Class ExpConfigEntry

java.lang.Object
com.github.copilot.rpc.ExpConfigEntry

public class ExpConfigEntry extends Object
A single configuration entry within a CopilotExpAssignmentResponse.

Each entry carries an identifier and a bag of typed parameter values, where each value is a string, number, boolean, or null. Property names serialize as PascalCase to match the experimentation-service wire contract.

  • Constructor Details

    • ExpConfigEntry

      public ExpConfigEntry()
  • Method Details

    • getId

      public String getId()
      Gets the identifier of this configuration entry.
      Returns:
      the entry identifier (empty string when unset)
    • setId

      public ExpConfigEntry setId(String id)
      Sets the identifier of this configuration entry.
      Parameters:
      id - the entry identifier
      Returns:
      this instance for method chaining
    • getParameters

      public Map<String,Object> getParameters()
      Gets the parameter values keyed by parameter name. Each value is a string, number, boolean, or null.
      Returns:
      the parameter map
    • setParameters

      public ExpConfigEntry setParameters(Map<String,Object> parameters)
      Sets the parameter values keyed by parameter name. Each value is a string, number, boolean, or null.
      Parameters:
      parameters - the parameter map
      Returns:
      this instance for method chaining