Record Class SessionSettingsBuiltInToolAvailabilitySnapshot
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionSettingsBuiltInToolAvailabilitySnapshot
@Generated("copilot-sdk-codegen")
public record SessionSettingsBuiltInToolAvailabilitySnapshot(Boolean reportProgress, Boolean createPullRequest)
extends Record
Availability of built-in job tools surfaced to boundary consumers.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionSettingsBuiltInToolAvailabilitySnapshot(Boolean reportProgress, Boolean createPullRequest) Creates an instance of aSessionSettingsBuiltInToolAvailabilitySnapshotrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecreatePullRequestrecord 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 thereportProgressrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionSettingsBuiltInToolAvailabilitySnapshot
public SessionSettingsBuiltInToolAvailabilitySnapshot(Boolean reportProgress, Boolean createPullRequest) Creates an instance of aSessionSettingsBuiltInToolAvailabilitySnapshotrecord class.- Parameters:
reportProgress- the value for thereportProgressrecord componentcreatePullRequest- the value for thecreatePullRequestrecord 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). -
reportProgress
Returns the value of thereportProgressrecord component.- Returns:
- the value of the
reportProgressrecord component
-
createPullRequest
Returns the value of thecreatePullRequestrecord component.- Returns:
- the value of the
createPullRequestrecord component
-