openai_struct/models/
usage_code_interpreter_sessions_result.rs

1/*
2 * OpenAI API
3 *
4 * The OpenAI REST API. Please see pub https://platform.openai.com/docs/api-reference for more details.
5 *
6 * OpenAPI spec pub version: 2.3.0
7 *
8 * Generated pub by: https://github.com/swagger-api/swagger-codegen.git
9 */
10
11/// pub UsageCodeInterpreterSessionsResult : The aggregated code interpreter sessions usage details of the specific time bucket.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct UsageCodeInterpreterSessionsResult {
18    /// The number of code interpreter sessions.
19    #[serde(rename = "num_sessions")]
20    pub num_sessions: Option<i32>,
21    #[serde(rename = "object")]
22    pub object: String,
23    /// When `group_by=project_id`, this field provides the project ID of the grouped usage result.
24    #[serde(rename = "project_id")]
25    pub project_id: Option<String>,
26}