Record Class SessionSettingsSnapshotResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionSettingsSnapshotResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionSettingsSnapshotResult(String version, String clientName, Double timeoutMs, Double startTimeMs, SessionSettingsRepoSnapshot repo, SessionSettingsModelSnapshot model, SessionSettingsValidationSnapshot validation, SessionSettingsJobSnapshot job, SessionSettingsOnlineEvaluationSnapshot onlineEvaluation)
extends Record
Redacted, serializable view of session runtime settings for SDK boundary consumers. Secrets and raw feature flags are intentionally excluded.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionSettingsSnapshotResult(String version, String clientName, Double timeoutMs, Double startTimeMs, SessionSettingsRepoSnapshot repo, SessionSettingsModelSnapshot model, SessionSettingsValidationSnapshot validation, SessionSettingsJobSnapshot job, SessionSettingsOnlineEvaluationSnapshot onlineEvaluation) Creates an instance of aSessionSettingsSnapshotResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclientNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.job()Returns the value of thejobrecord component.model()Returns the value of themodelrecord component.Returns the value of theonlineEvaluationrecord component.repo()Returns the value of thereporecord component.Returns the value of thestartTimeMsrecord component.Returns the value of thetimeoutMsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevalidationrecord component.version()Returns the value of theversionrecord component.
-
Constructor Details
-
SessionSettingsSnapshotResult
public SessionSettingsSnapshotResult(String version, String clientName, Double timeoutMs, Double startTimeMs, SessionSettingsRepoSnapshot repo, SessionSettingsModelSnapshot model, SessionSettingsValidationSnapshot validation, SessionSettingsJobSnapshot job, SessionSettingsOnlineEvaluationSnapshot onlineEvaluation) Creates an instance of aSessionSettingsSnapshotResultrecord class.- Parameters:
version- the value for theversionrecord componentclientName- the value for theclientNamerecord componenttimeoutMs- the value for thetimeoutMsrecord componentstartTimeMs- the value for thestartTimeMsrecord componentrepo- the value for thereporecord componentmodel- the value for themodelrecord componentvalidation- the value for thevalidationrecord componentjob- the value for thejobrecord componentonlineEvaluation- the value for theonlineEvaluationrecord 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). -
version
Returns the value of theversionrecord component.- Returns:
- the value of the
versionrecord component
-
clientName
Returns the value of theclientNamerecord component.- Returns:
- the value of the
clientNamerecord component
-
timeoutMs
Returns the value of thetimeoutMsrecord component.- Returns:
- the value of the
timeoutMsrecord component
-
startTimeMs
Returns the value of thestartTimeMsrecord component.- Returns:
- the value of the
startTimeMsrecord component
-
repo
Returns the value of thereporecord component.- Returns:
- the value of the
reporecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
validation
Returns the value of thevalidationrecord component.- Returns:
- the value of the
validationrecord component
-
job
Returns the value of thejobrecord component.- Returns:
- the value of the
jobrecord component
-
onlineEvaluation
Returns the value of theonlineEvaluationrecord component.- Returns:
- the value of the
onlineEvaluationrecord component
-