Record Class SessionGitHubAuthSetCredentialsResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionGitHubAuthSetCredentialsResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionGitHubAuthSetCredentialsResult(Boolean success, Boolean copilotUserResolved)
extends Record
Indicates whether the credential update succeeded.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionGitHubAuthSetCredentialsResult(Boolean success, Boolean copilotUserResolved) Creates an instance of aSessionGitHubAuthSetCredentialsResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecopilotUserResolvedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.success()Returns the value of thesuccessrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionGitHubAuthSetCredentialsResult
Creates an instance of aSessionGitHubAuthSetCredentialsResultrecord class.- Parameters:
success- the value for thesuccessrecord componentcopilotUserResolved- the value for thecopilotUserResolvedrecord 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). -
success
Returns the value of thesuccessrecord component.- Returns:
- the value of the
successrecord component
-
copilotUserResolved
Returns the value of thecopilotUserResolvedrecord component.- Returns:
- the value of the
copilotUserResolvedrecord component
-