OpenAI::CostsResult
Inherits JSON::Serializable < Reference < Object
The aggregated costs details of the specific time bucket.
Constructors
new(pull : JSON::PullParser)
Sourcenew(object : CostsResultObject = CostsResultObject::OrganizationCostsResult, amount : CostsResultAmount | Nil = nil, line_item : CostsResultLineItem | Nil = nil, project_id : CostsResultProjectId | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
line_item
Sourceline_item=(line_item : CostsResultLineItem | Nil)
Sourceobject
Sourceobject=(object : CostsResultObject)
Sourceproject_id
Sourceproject_id=(project_id : CostsResultProjectId | Nil)
Source