Record Class SessionModelApplyStartupOverlayParams

java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionModelApplyStartupOverlayParams

@CopilotExperimental @Generated("copilot-sdk-codegen") public record SessionModelApplyStartupOverlayParams(String sessionId, String deviceManagedModel, String serverManagedModel, String policyHelperModel, AutoTier autoTier, String repoModel, String repoReasoningEffort, String repoContextTier, String repoAutoTier, String cliModel, Boolean deferredResume, String managedReasoningEffort, String managedContextTier) extends Record
Managed, repository, and CLI model overrides to overlay onto the session at startup.
Since:
1.0.0
  • Constructor Details

    • SessionModelApplyStartupOverlayParams

      public SessionModelApplyStartupOverlayParams(String sessionId, String deviceManagedModel, String serverManagedModel, String policyHelperModel, AutoTier autoTier, String repoModel, String repoReasoningEffort, String repoContextTier, String repoAutoTier, String cliModel, Boolean deferredResume, String managedReasoningEffort, String managedContextTier)
      Creates an instance of a SessionModelApplyStartupOverlayParams record class.
      Parameters:
      sessionId - the value for the sessionId record component
      deviceManagedModel - the value for the deviceManagedModel record component
      serverManagedModel - the value for the serverManagedModel record component
      policyHelperModel - the value for the policyHelperModel record component
      autoTier - the value for the autoTier record component
      repoModel - the value for the repoModel record component
      repoReasoningEffort - the value for the repoReasoningEffort record component
      repoContextTier - the value for the repoContextTier record component
      repoAutoTier - the value for the repoAutoTier record component
      cliModel - the value for the cliModel record component
      deferredResume - the value for the deferredResume record component
      managedReasoningEffort - the value for the managedReasoningEffort record component
      managedContextTier - the value for the managedContextTier 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.
    • sessionId

      public String sessionId()
      Returns the value of the sessionId record component.
      Returns:
      the value of the sessionId record component
    • deviceManagedModel

      public String deviceManagedModel()
      Returns the value of the deviceManagedModel record component.
      Returns:
      the value of the deviceManagedModel record component
    • serverManagedModel

      public String serverManagedModel()
      Returns the value of the serverManagedModel record component.
      Returns:
      the value of the serverManagedModel record component
    • policyHelperModel

      public String policyHelperModel()
      Returns the value of the policyHelperModel record component.
      Returns:
      the value of the policyHelperModel record component
    • autoTier

      public AutoTier autoTier()
      Returns the value of the autoTier record component.
      Returns:
      the value of the autoTier record component
    • repoModel

      public String repoModel()
      Returns the value of the repoModel record component.
      Returns:
      the value of the repoModel record component
    • repoReasoningEffort

      public String repoReasoningEffort()
      Returns the value of the repoReasoningEffort record component.
      Returns:
      the value of the repoReasoningEffort record component
    • repoContextTier

      public String repoContextTier()
      Returns the value of the repoContextTier record component.
      Returns:
      the value of the repoContextTier record component
    • repoAutoTier

      public String repoAutoTier()
      Returns the value of the repoAutoTier record component.
      Returns:
      the value of the repoAutoTier record component
    • cliModel

      public String cliModel()
      Returns the value of the cliModel record component.
      Returns:
      the value of the cliModel record component
    • deferredResume

      public Boolean deferredResume()
      Returns the value of the deferredResume record component.
      Returns:
      the value of the deferredResume record component
    • managedReasoningEffort

      public String managedReasoningEffort()
      Returns the value of the managedReasoningEffort record component.
      Returns:
      the value of the managedReasoningEffort record component
    • managedContextTier

      public String managedContextTier()
      Returns the value of the managedContextTier record component.
      Returns:
      the value of the managedContextTier record component