Record Class McpApplyUninstallParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpApplyUninstallParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record McpApplyUninstallParams(CatalogClientContract contract, String planHandle, String policySessionId)
extends Record
One-use application of the exact retained removal plan.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpApplyUninstallParams(CatalogClientContract contract, String planHandle, String policySessionId) Creates an instance of aMcpApplyUninstallParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncontract()Returns the value of thecontractrecord 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 theplanHandlerecord component.Returns the value of thepolicySessionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpApplyUninstallParams
public McpApplyUninstallParams(CatalogClientContract contract, String planHandle, String policySessionId) Creates an instance of aMcpApplyUninstallParamsrecord class.- Parameters:
contract- the value for thecontractrecord componentplanHandle- the value for theplanHandlerecord 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
-
planHandle
Returns the value of theplanHandlerecord component.- Returns:
- the value of the
planHandlerecord component
-
policySessionId
Returns the value of thepolicySessionIdrecord component.- Returns:
- the value of the
policySessionIdrecord component
-