OpenAI::ThreadItemListResource
Inherits JSON::Serializable < Reference < Object
A paginated list of thread items rendered for the ChatKit API.
Constructors
new(pull : JSON::PullParser)
Sourcenew(object : Hash(String, JSON::Any) = Hash(String, JSON::Any).new, data : Array(ThreadItem) = [] of ThreadItem, first_id : ThreadItemListResourceFirstId = nil, last_id : ThreadItemListResourceLastId = nil, has_more : Bool = false)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
first_id
Sourcefirst_id=(first_id : ThreadItemListResourceFirstId)
Sourcelast_id
Sourcelast_id=(last_id : ThreadItemListResourceLastId)
Source