Class GetSnapshotRequest

java.lang.Object
com.google.genkit.ai.agent.GetSnapshotRequest

public class GetSnapshotRequest extends Object
GetSnapshotRequest is the request body for retrieving a session snapshot.
  • Constructor Details

    • GetSnapshotRequest

      public GetSnapshotRequest()
      Default constructor.
  • Method Details

    • builder

      public static GetSnapshotRequest.Builder builder()
      Creates a builder for GetSnapshotRequest.
      Returns:
      a new builder
    • getSnapshotId

      public String getSnapshotId()
      Returns the snapshot ID.
      Returns:
      the snapshot ID
    • setSnapshotId

      public void setSnapshotId(String snapshotId)
      Sets the snapshot ID.
      Parameters:
      snapshotId - the snapshot ID
    • getSessionId

      public String getSessionId()
      Returns the session ID.
      Returns:
      the session ID
    • setSessionId

      public void setSessionId(String sessionId)
      Sets the session ID.
      Parameters:
      sessionId - the session ID