openai_struct/models/admin_api_key_owner.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#[allow(unused_imports)]
12use serde_json::Value;
13
14#[derive(Debug, Serialize, Deserialize)]
15pub struct AdminApiKeyOwner {
16 /// The Unix timestamp (in seconds) of when the user was created
17 #[serde(rename = "created_at")]
18 pub created_at: Option<i64>,
19 /// The identifier, which can be referenced in API endpoints
20 #[serde(rename = "id")]
21 pub id: Option<String>,
22 /// The name of the user
23 #[serde(rename = "name")]
24 pub name: Option<String>,
25 /// The object type, which is always organization.user
26 #[serde(rename = "object")]
27 pub object: Option<String>,
28 /// Always `owner`
29 #[serde(rename = "role")]
30 pub role: Option<String>,
31 /// Always `user`
32 #[serde(rename = "type")]
33 pub _type: Option<String>,
34}