Class BetaContainer
-
- All Implemented Interfaces:
public final class BetaContainerInformation about the container used in the request (for the code execution tool)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaContainer.BuilderA builder for BetaContainer.
-
Method Summary
Modifier and Type Method Description final Stringid()Identifier for the container used in this request final OffsetDateTimeexpiresAt()The time at which the container will expire. final Optional<List<BetaSkill>>skills()Skills loaded in the container final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<OffsetDateTime>_expiresAt()Returns the raw JSON value of expiresAt. final JsonField<List<BetaSkill>>_skills()Returns the raw JSON value of skills. final Map<String, JsonValue>_additionalProperties()final BetaContainer.BuildertoBuilder()final BetaContainervalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaContainer.Builderbuilder()Returns a mutable builder for constructing an instance of BetaContainer. -
-
Method Detail
-
expiresAt
final OffsetDateTime expiresAt()
The time at which the container will expire.
-
_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.
-
_expiresAt
final JsonField<OffsetDateTime> _expiresAt()
Returns the raw JSON value of expiresAt.
Unlike expiresAt, this method doesn't throw if the JSON field has an unexpected type.
-
_skills
final JsonField<List<BetaSkill>> _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 BetaContainer.Builder toBuilder()
-
validate
final BetaContainer 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 BetaContainer.Builder builder()
Returns a mutable builder for constructing an instance of BetaContainer.
The following fields are required:
.id() .expiresAt() .skills()
-
-
-
-