Record Class SkillsInstallationsSetEnabledParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SkillsInstallationsSetEnabledParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SkillsInstallationsSetEnabledParams(CatalogClientContract contract, String installationId, Boolean enabled, String policySessionId)
extends Record
Persisted enablement update for one owned Skill installation.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSkillsInstallationsSetEnabledParams(CatalogClientContract contract, String installationId, Boolean enabled, String policySessionId) Creates an instance of aSkillsInstallationsSetEnabledParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncontract()Returns the value of thecontractrecord component.enabled()Returns the value of theenabledrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinstallationIdrecord component.Returns the value of thepolicySessionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SkillsInstallationsSetEnabledParams
public SkillsInstallationsSetEnabledParams(CatalogClientContract contract, String installationId, Boolean enabled, String policySessionId) Creates an instance of aSkillsInstallationsSetEnabledParamsrecord class.- Parameters:
contract- the value for thecontractrecord componentinstallationId- the value for theinstallationIdrecord componentenabled- the value for theenabledrecord componentpolicySessionId- the value for thepolicySessionIdrecord 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). -
contract
Returns the value of thecontractrecord component.- Returns:
- the value of the
contractrecord component
-
installationId
Returns the value of theinstallationIdrecord component.- Returns:
- the value of the
installationIdrecord component
-
enabled
Returns the value of theenabledrecord component.- Returns:
- the value of the
enabledrecord component
-
policySessionId
Returns the value of thepolicySessionIdrecord component.- Returns:
- the value of the
policySessionIdrecord component
-