Record Class SkillInstallationOperationStatusCompleted
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SkillInstallationOperationStatusCompleted
- All Implemented Interfaces:
SkillInstallationOperationStatus
@Generated("copilot-sdk-codegen")
public record SkillInstallationOperationStatusCompleted(String operationId, Boolean cancellationRequested, Object outcome, String phase)
extends Record
implements SkillInstallationOperationStatus
Original operation progress discriminator.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSkillInstallationOperationStatusCompleted(String operationId, Boolean cancellationRequested, Object outcome) SkillInstallationOperationStatusCompleted(String operationId, Boolean cancellationRequested, Object outcome, String phase) Creates an instance of aSkillInstallationOperationStatusCompletedrecord 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
-
SkillInstallationOperationStatusCompleted
public SkillInstallationOperationStatusCompleted(String operationId, Boolean cancellationRequested, Object outcome, String phase) Creates an instance of aSkillInstallationOperationStatusCompletedrecord class.- Parameters:
operationId- the value for theoperationIdrecord componentcancellationRequested- the value for thecancellationRequestedrecord componentoutcome- the value for theoutcomerecord componentphase- the value for thephaserecord component
-
SkillInstallationOperationStatusCompleted
-
-
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 interfaceSkillInstallationOperationStatus- Returns:
- the value of the
phaserecord component
-