Class BetaDreamModelConfigParam
-
- All Implemented Interfaces:
public final class BetaDreamModelConfigParamThe object form of
modelin a request to create a dream.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaDreamModelConfigParam.BuilderA builder for BetaDreamModelConfigParam.
public final classBetaDreamModelConfigParam.SpeedHow fast the model generates output for the dream. Defaults to
standard.Dreams accept only
standard.
-
Method Summary
Modifier and Type Method Description final Stringid()The ID of the model to run the dream with. final Optional<BetaDreamModelConfigParam.Speed>speed()How fast the model generates output for the dream. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<BetaDreamModelConfigParam.Speed>_speed()Returns the raw JSON value of speed. final Map<String, JsonValue>_additionalProperties()final BetaDreamModelConfigParam.BuildertoBuilder()final BetaDreamModelConfigParamvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaDreamModelConfigParam.Builderbuilder()Returns a mutable builder for constructing an instance of BetaDreamModelConfigParam. final static BetaDreamModelConfigParamof(String id)Returns an immutable instance of BetaDreamModelConfigParam with the required id set to the given value. -
-
Method Detail
-
id
final String id()
The ID of the model to run the dream with.
The ID can be 1 to 256 characters long.
The Availability section of the Dreams guide lists the supported models.
-
speed
final Optional<BetaDreamModelConfigParam.Speed> speed()
How fast the model generates output for the dream. Defaults to
standard.Dreams accept only
standard.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_speed
final JsonField<BetaDreamModelConfigParam.Speed> _speed()
Returns the raw JSON value of speed.
Unlike speed, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaDreamModelConfigParam.Builder toBuilder()
-
validate
final BetaDreamModelConfigParam 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 BetaDreamModelConfigParam.Builder builder()
Returns a mutable builder for constructing an instance of BetaDreamModelConfigParam.
The following fields are required:
.id()
-
of
final static BetaDreamModelConfigParam of(String id)
Returns an immutable instance of BetaDreamModelConfigParam with the required id set to the given value.
-
-
-
-