Class ExpConfigEntry
java.lang.Object
com.github.copilot.rpc.ExpConfigEntry
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets the identifier of this configuration entry.Gets the parameter values keyed by parameter name.Sets the identifier of this configuration entry.setParameters(Map<String, Object> parameters) Sets the parameter values keyed by parameter name.
-
Constructor Details
-
ExpConfigEntry
public ExpConfigEntry()
-
-
Method Details
-
getId
Gets the identifier of this configuration entry.- Returns:
- the entry identifier (empty string when unset)
-
setId
Sets the identifier of this configuration entry.- Parameters:
id- the entry identifier- Returns:
- this instance for method chaining
-
getParameters
-
setParameters
Sets the parameter values keyed by parameter name. Each value is a string, number, boolean, ornull.- Parameters:
parameters- the parameter map- Returns:
- this instance for method chaining
-