Class BetaDreamModelConfig
-
- All Implemented Interfaces:
public final class BetaDreamModelConfigThe model that runs a dream, from the request that created it.
The dream uses this model for all of its work. The response always gives the model as an object, even if the request gave only a model ID.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaDreamModelConfig.BuilderA builder for BetaDreamModelConfig.
public final classBetaDreamModelConfig.SpeedHow fast the model generates output for the dream. Always
standard.
-
Method Summary
Modifier and Type Method Description final Stringid()The ID of the model that runs the dream, as given in the request that created it. final Optional<BetaDreamModelConfig.Speed>speed()How fast the model generates output for the dream. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<BetaDreamModelConfig.Speed>_speed()Returns the raw JSON value of speed. final Map<String, JsonValue>_additionalProperties()final BetaDreamModelConfig.BuildertoBuilder()final BetaDreamModelConfigvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaDreamModelConfig.Builderbuilder()Returns a mutable builder for constructing an instance of BetaDreamModelConfig. final static BetaDreamModelConfigof(String id)Returns an immutable instance of BetaDreamModelConfig with the required id set to the given value. -
-
Method Detail
-
id
final String id()
The ID of the model that runs the dream, as given in the request that created it.
-
speed
final Optional<BetaDreamModelConfig.Speed> speed()
How fast the model generates output for the dream. Always
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<BetaDreamModelConfig.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 BetaDreamModelConfig.Builder toBuilder()
-
validate
final BetaDreamModelConfig 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 BetaDreamModelConfig.Builder builder()
Returns a mutable builder for constructing an instance of BetaDreamModelConfig.
The following fields are required:
.id()
-
of
final static BetaDreamModelConfig of(String id)
Returns an immutable instance of BetaDreamModelConfig with the required id set to the given value.
-
-
-
-