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