Record Class McpApplyInstallParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpApplyInstallParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record McpApplyInstallParams(CatalogClientContract contract, String operationId, String policySessionId)
extends Record
Applies exactly one previously prepared operation on its original connection.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpApplyInstallParams(CatalogClientContract contract, String operationId, String policySessionId) Creates an instance of aMcpApplyInstallParamsrecord 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 theoperationIdrecord component.Returns the value of thepolicySessionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpApplyInstallParams
public McpApplyInstallParams(CatalogClientContract contract, String operationId, String policySessionId) Creates an instance of aMcpApplyInstallParamsrecord class.- Parameters:
contract- the value for thecontractrecord componentoperationId- the value for theoperationIdrecord 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
-
operationId
Returns the value of theoperationIdrecord component.- Returns:
- the value of the
operationIdrecord component
-
policySessionId
Returns the value of thepolicySessionIdrecord component.- Returns:
- the value of the
policySessionIdrecord component
-