Record Class McpInstallationOperationStatusCompleted
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.McpInstallationOperationStatusCompleted
- All Implemented Interfaces:
McpInstallationOperationStatus
@Generated("copilot-sdk-codegen")
public record McpInstallationOperationStatusCompleted(String operationId, Boolean cancellationRequested, Object outcome, String phase)
extends Record
implements McpInstallationOperationStatus
Variant
completed of McpInstallationOperationStatus.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionMcpInstallationOperationStatusCompleted(String operationId, Boolean cancellationRequested, Object outcome) McpInstallationOperationStatusCompleted(String operationId, Boolean cancellationRequested, Object outcome, String phase) Creates an instance of aMcpInstallationOperationStatusCompletedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecancellationRequestedrecord 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.outcome()Returns the value of theoutcomerecord component.phase()Returns the value of thephaserecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
McpInstallationOperationStatusCompleted
public McpInstallationOperationStatusCompleted(String operationId, Boolean cancellationRequested, Object outcome, String phase) Creates an instance of aMcpInstallationOperationStatusCompletedrecord class.- Parameters:
operationId- the value for theoperationIdrecord componentcancellationRequested- the value for thecancellationRequestedrecord componentoutcome- the value for theoutcomerecord componentphase- the value for thephaserecord component
-
McpInstallationOperationStatusCompleted
-
-
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). -
operationId
Returns the value of theoperationIdrecord component.- Returns:
- the value of the
operationIdrecord component
-
cancellationRequested
Returns the value of thecancellationRequestedrecord component.- Returns:
- the value of the
cancellationRequestedrecord component
-
outcome
Returns the value of theoutcomerecord component.- Returns:
- the value of the
outcomerecord component
-
phase
Returns the value of thephaserecord component.- Specified by:
phasein interfaceMcpInstallationOperationStatus- Returns:
- the value of the
phaserecord component
-