CreateSessionRequest

public final class CreateSessionRequest

Class representation of a request to create a session.

Constructors

Link copied to clipboard
public CreateSessionRequest CreateSessionRequest(@Json(name = "configuration_id") String configurationId, @Json(name = "time_to_live") Integer timeToLive, @Json(name = "slug") String slug)

Types

Link copied to clipboard
public final class Builder

A builder for creating a CreateSessionRequest.

Properties

Link copied to clipboard
private final String configurationId

The identifier of the Configuration to act upon. If you're using slug, configuration_id is not required.

Link copied to clipboard
private final String slug

The slug of the Scheduler Configuration object for the session. You can use slug instead of configuration_id

Link copied to clipboard
private final Integer timeToLive

The time to live for the session.

Functions

Link copied to clipboard
public final String getConfigurationId()

The identifier of the Configuration to act upon. If you're using slug, configuration_id is not required.

Link copied to clipboard
public final String getSlug()

The slug of the Scheduler Configuration object for the session. You can use slug instead of configuration_id

Link copied to clipboard
public final Integer getTimeToLive()

The time to live for the session.