Class BetaDreamSessionsInput
-
- All Implemented Interfaces:
public final class BetaDreamSessionsInputThe sessions that a dream reads, given as an entry in
inputs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaDreamSessionsInput.BuilderA builder for BetaDreamSessionsInput.
-
Method Summary
Modifier and Type Method Description final List<String>sessionIds()The IDs of the sessions whose transcripts the dream reads ( sesn_...).final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("sessions")final JsonField<List<String>>_sessionIds()Returns the raw JSON value of sessionIds. final Map<String, JsonValue>_additionalProperties()final BetaDreamSessionsInput.BuildertoBuilder()final BetaDreamSessionsInputvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaDreamSessionsInput.Builderbuilder()Returns a mutable builder for constructing an instance of BetaDreamSessionsInput. final static BetaDreamSessionsInputof(List<String> sessionIds)Returns an immutable instance of BetaDreamSessionsInput with the required sessionIds set to the given value. -
-
Method Detail
-
sessionIds
final List<String> sessionIds()
The IDs of the sessions whose transcripts the dream reads (
sesn_...).Give 1 to 100 IDs, with no duplicates. Each session must be in the same workspace as the dream. Responses list the IDs in sorted order.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("sessions")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_sessionIds
final JsonField<List<String>> _sessionIds()
Returns the raw JSON value of sessionIds.
Unlike sessionIds, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaDreamSessionsInput.Builder toBuilder()
-
validate
final BetaDreamSessionsInput validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaDreamSessionsInput.Builder builder()
Returns a mutable builder for constructing an instance of BetaDreamSessionsInput.
The following fields are required:
.sessionIds()
-
of
final static BetaDreamSessionsInput of(List<String> sessionIds)
Returns an immutable instance of BetaDreamSessionsInput with the required sessionIds set to the given value.
-
-
-
-