openai_struct/models/project.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 Project : Represents an individual project.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16#[derive(Debug, Serialize, Deserialize)]
17pub struct Project {
18 /// The Unix timestamp (in seconds) of when the project was archived or `null`.
19 #[serde(rename = "archived_at")]
20 pub archived_at: Option<i32>,
21 /// The Unix timestamp (in seconds) of when the project was created.
22 #[serde(rename = "created_at")]
23 pub created_at: i32,
24 /// The identifier, which can be referenced in API endpoints
25 #[serde(rename = "id")]
26 pub id: String,
27 /// The name of the project. This appears in reporting.
28 #[serde(rename = "name")]
29 pub name: String,
30 /// The object type, which is always `organization.project`
31 #[serde(rename = "object")]
32 pub object: String,
33 /// `active` or `archived`
34 #[serde(rename = "status")]
35 pub status: String,
36}