Package com.openai.models.responses
Class LocalEnvironment
-
- All Implemented Interfaces:
public final class LocalEnvironment
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classLocalEnvironment.BuilderA builder for LocalEnvironment.
-
Method Summary
Modifier and Type Method Description final JsonValue_type()Use a local computer environment. final Optional<List<LocalSkill>>skills()An optional list of skills. final JsonField<List<LocalSkill>>_skills()Returns the raw JSON value of skills. final Map<String, JsonValue>_additionalProperties()final LocalEnvironment.BuildertoBuilder()final LocalEnvironmentvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static LocalEnvironment.Builderbuilder()Returns a mutable builder for constructing an instance of LocalEnvironment. -
-
Method Detail
-
_type
final JsonValue _type()
Use a local computer environment.
Expected to always return the following:
JsonValue.from("local")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
skills
final Optional<List<LocalSkill>> skills()
An optional list of skills.
-
_skills
final JsonField<List<LocalSkill>> _skills()
Returns the raw JSON value of skills.
Unlike skills, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final LocalEnvironment.Builder toBuilder()
-
validate
final LocalEnvironment 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 LocalEnvironment.Builder builder()
Returns a mutable builder for constructing an instance of LocalEnvironment.
-
-
-
-