# Class SessionRequest

java.lang.Object
com.google.adk.web.dto.SessionRequest

public final class SessionRequest extends Object
Data Transfer Object (DTO) for POST /apps/{appName}/users/{userId}/sessions and POST /apps/{appName}/users/{userId}/sessions/{sessionId} equests. Contains information for a session.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SessionRequest(Map<String,Object> state)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `com.google.common.collect.ImmutableMap<String,Object>`
  `getState()`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SessionRequest

    public SessionRequest(Map<String,Object> state)

- ## Method Details

  - ### getState

    public com.google.common.collect.ImmutableMap<String,Object> getState()