OpenAI::ExpiresAfterParam
Inherits JSON::Serializable < Reference < Object
Controls when the session expires relative to an anchor timestamp.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
anchor=(anchor : ExpiresAfterParamAnchor)
Base timestamp used to calculate expiration. Currently fixed to created_at.
validate!
Source