Record Class SkillInstallationManagementOutcomeRolledBack
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SkillInstallationManagementOutcomeRolledBack
- All Implemented Interfaces:
SkillInstallationManagementOutcome
@Generated("copilot-sdk-codegen")
public record SkillInstallationManagementOutcomeRolledBack(SkillInstallationFailureReason reason, String operationId, String kind)
extends Record
implements SkillInstallationManagementOutcome
Interrupted work was safely compensated and the pending marker was cleared.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSkillInstallationManagementOutcomeRolledBack(SkillInstallationFailureReason reason, String operationId) SkillInstallationManagementOutcomeRolledBack(SkillInstallationFailureReason reason, String operationId, String kind) Creates an instance of aSkillInstallationManagementOutcomeRolledBackrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.kind()Returns the value of thekindrecord component.Returns the value of theoperationIdrecord component.reason()Returns the value of thereasonrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SkillInstallationManagementOutcomeRolledBack
public SkillInstallationManagementOutcomeRolledBack(SkillInstallationFailureReason reason, String operationId, String kind) Creates an instance of aSkillInstallationManagementOutcomeRolledBackrecord class.- Parameters:
reason- the value for thereasonrecord componentoperationId- the value for theoperationIdrecord componentkind- the value for thekindrecord component
-
SkillInstallationManagementOutcomeRolledBack
public SkillInstallationManagementOutcomeRolledBack(SkillInstallationFailureReason reason, String operationId)
-
-
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). -
reason
Returns the value of thereasonrecord component.- Returns:
- the value of the
reasonrecord component
-
operationId
Returns the value of theoperationIdrecord component.- Returns:
- the value of the
operationIdrecord component
-
kind
Returns the value of thekindrecord component.- Specified by:
kindin interfaceSkillInstallationManagementOutcome- Returns:
- the value of the
kindrecord component
-