Package com.anthropic.models.messages
Class ContainerParams
-
- All Implemented Interfaces:
public final class ContainerParamsContainer parameters with skills to be loaded.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classContainerParams.BuilderA builder for ContainerParams.
-
Method Summary
Modifier and Type Method Description final Optional<String>id()Container id final Optional<List<SkillParams>>skills()List of skills to load in the container final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<List<SkillParams>>_skills()Returns the raw JSON value of skills. final Map<String, JsonValue>_additionalProperties()final ContainerParams.BuildertoBuilder()final ContainerParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ContainerParams.Builderbuilder()Returns a mutable builder for constructing an instance of ContainerParams. -
-
Method Detail
-
skills
final Optional<List<SkillParams>> skills()
List of skills to load in the container
-
_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.
-
_skills
final JsonField<List<SkillParams>> _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 ContainerParams.Builder toBuilder()
-
validate
final ContainerParams 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 ContainerParams.Builder builder()
Returns a mutable builder for constructing an instance of ContainerParams.
-
-
-
-