Record Class SessionSettingsValidationSnapshot
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionSettingsValidationSnapshot
@Generated("copilot-sdk-codegen")
public record SessionSettingsValidationSnapshot(Double timeout, Double dependabotTimeout, Boolean codeqlEnabled, Boolean codeReviewEnabled, String codeReviewModel, Boolean advisoryEnabled, Boolean secretScanningEnabled, Boolean memoryStoreEnabled, Boolean memoryVoteEnabled)
extends Record
Redacted validation and memory-tool settings for a session.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionSettingsValidationSnapshot(Double timeout, Double dependabotTimeout, Boolean codeqlEnabled, Boolean codeReviewEnabled, String codeReviewModel, Boolean advisoryEnabled, Boolean secretScanningEnabled, Boolean memoryStoreEnabled, Boolean memoryVoteEnabled) Creates an instance of aSessionSettingsValidationSnapshotrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadvisoryEnabledrecord component.Returns the value of thecodeqlEnabledrecord component.Returns the value of thecodeReviewEnabledrecord component.Returns the value of thecodeReviewModelrecord component.Returns the value of thedependabotTimeoutrecord 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 thememoryStoreEnabledrecord component.Returns the value of thememoryVoteEnabledrecord component.Returns the value of thesecretScanningEnabledrecord component.timeout()Returns the value of thetimeoutrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionSettingsValidationSnapshot
public SessionSettingsValidationSnapshot(Double timeout, Double dependabotTimeout, Boolean codeqlEnabled, Boolean codeReviewEnabled, String codeReviewModel, Boolean advisoryEnabled, Boolean secretScanningEnabled, Boolean memoryStoreEnabled, Boolean memoryVoteEnabled) Creates an instance of aSessionSettingsValidationSnapshotrecord class.- Parameters:
timeout- the value for thetimeoutrecord componentdependabotTimeout- the value for thedependabotTimeoutrecord componentcodeqlEnabled- the value for thecodeqlEnabledrecord componentcodeReviewEnabled- the value for thecodeReviewEnabledrecord componentcodeReviewModel- the value for thecodeReviewModelrecord componentadvisoryEnabled- the value for theadvisoryEnabledrecord componentsecretScanningEnabled- the value for thesecretScanningEnabledrecord componentmemoryStoreEnabled- the value for thememoryStoreEnabledrecord componentmemoryVoteEnabled- the value for thememoryVoteEnabledrecord 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). -
timeout
Returns the value of thetimeoutrecord component.- Returns:
- the value of the
timeoutrecord component
-
dependabotTimeout
Returns the value of thedependabotTimeoutrecord component.- Returns:
- the value of the
dependabotTimeoutrecord component
-
codeqlEnabled
Returns the value of thecodeqlEnabledrecord component.- Returns:
- the value of the
codeqlEnabledrecord component
-
codeReviewEnabled
Returns the value of thecodeReviewEnabledrecord component.- Returns:
- the value of the
codeReviewEnabledrecord component
-
codeReviewModel
Returns the value of thecodeReviewModelrecord component.- Returns:
- the value of the
codeReviewModelrecord component
-
advisoryEnabled
Returns the value of theadvisoryEnabledrecord component.- Returns:
- the value of the
advisoryEnabledrecord component
-
secretScanningEnabled
Returns the value of thesecretScanningEnabledrecord component.- Returns:
- the value of the
secretScanningEnabledrecord component
-
memoryStoreEnabled
Returns the value of thememoryStoreEnabledrecord component.- Returns:
- the value of the
memoryStoreEnabledrecord component
-
memoryVoteEnabled
Returns the value of thememoryVoteEnabledrecord component.- Returns:
- the value of the
memoryVoteEnabledrecord component
-