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 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 a SessionSettingsSnapshotResult record class.
      Parameters:
      version - the value for the version record component
      clientName - the value for the clientName record component
      timeoutMs - the value for the timeoutMs record component
      startTimeMs - the value for the startTimeMs record component
      repo - the value for the repo record component
      model - the value for the model record component
      validation - the value for the validation record component
      job - the value for the job record component
      onlineEvaluation - the value for the onlineEvaluation record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • version

      public String version()
      Returns the value of the version record component.
      Returns:
      the value of the version record component
    • clientName

      public String clientName()
      Returns the value of the clientName record component.
      Returns:
      the value of the clientName record component
    • timeoutMs

      public Double timeoutMs()
      Returns the value of the timeoutMs record component.
      Returns:
      the value of the timeoutMs record component
    • startTimeMs

      public Double startTimeMs()
      Returns the value of the startTimeMs record component.
      Returns:
      the value of the startTimeMs record component
    • repo

      Returns the value of the repo record component.
      Returns:
      the value of the repo record component
    • model

      Returns the value of the model record component.
      Returns:
      the value of the model record component
    • validation

      public SessionSettingsValidationSnapshot validation()
      Returns the value of the validation record component.
      Returns:
      the value of the validation record component
    • job

      Returns the value of the job record component.
      Returns:
      the value of the job record component
    • onlineEvaluation

      public SessionSettingsOnlineEvaluationSnapshot onlineEvaluation()
      Returns the value of the onlineEvaluation record component.
      Returns:
      the value of the onlineEvaluation record component