Record Class SkillInstallationOperationStatusPreparing
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SkillInstallationOperationStatusPreparing
- All Implemented Interfaces:
SkillInstallationOperationStatus
@Generated("copilot-sdk-codegen")
public record SkillInstallationOperationStatusPreparing(String operationId, Boolean cancellationRequested, String phase)
extends Record
implements SkillInstallationOperationStatus
Original operation progress discriminator.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSkillInstallationOperationStatusPreparing(String operationId, Boolean cancellationRequested) SkillInstallationOperationStatusPreparing(String operationId, Boolean cancellationRequested, String phase) Creates an instance of aSkillInstallationOperationStatusPreparingrecord 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.phase()Returns the value of thephaserecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SkillInstallationOperationStatusPreparing
public SkillInstallationOperationStatusPreparing(String operationId, Boolean cancellationRequested, String phase) Creates an instance of aSkillInstallationOperationStatusPreparingrecord class.- Parameters:
operationId- the value for theoperationIdrecord componentcancellationRequested- the value for thecancellationRequestedrecord componentphase- the value for thephaserecord component
-
SkillInstallationOperationStatusPreparing
-
-
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
-
phase
Returns the value of thephaserecord component.- Specified by:
phasein interfaceSkillInstallationOperationStatus- Returns:
- the value of the
phaserecord component
-