Record Class CustomizationsReloadResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.CustomizationsReloadResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record CustomizationsReloadResult(List<String> warnings, List<String> errors, List<CustomizationReloadOutcome> outcomes)
extends Record
Results of reloading discovered session customizations. Inspect outcomes for reloaded, skipped, or failed subsystems; a rejection may follow partial mutation. Changes to the model-facing prompt and tools apply on the next turn.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCustomizationsReloadResult(List<String> warnings, List<String> errors, List<CustomizationReloadOutcome> outcomes) Creates an instance of aCustomizationsReloadResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.errors()Returns the value of theerrorsrecord component.final inthashCode()Returns a hash code value for this object.outcomes()Returns the value of theoutcomesrecord component.final StringtoString()Returns a string representation of this record class.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
CustomizationsReloadResult
public CustomizationsReloadResult(List<String> warnings, List<String> errors, List<CustomizationReloadOutcome> outcomes) Creates an instance of aCustomizationsReloadResultrecord class.- Parameters:
warnings- the value for thewarningsrecord componenterrors- the value for theerrorsrecord componentoutcomes- the value for theoutcomesrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
warnings
-
errors
-
outcomes
Returns the value of theoutcomesrecord component.- Returns:
- the value of the
outcomesrecord component
-