openai_struct/models/
invite_list_response.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 InviteListResponse {
16    #[serde(rename = "data")]
17    pub data: Vec<crate::models::Invite>,
18    /// The first `invite_id` in the retrieved `list`
19    #[serde(rename = "first_id")]
20    pub first_id: Option<String>,
21    /// The `has_more` property is used for pagination to indicate there are additional results.
22    #[serde(rename = "has_more")]
23    pub has_more: Option<bool>,
24    /// The last `invite_id` in the retrieved `list`
25    #[serde(rename = "last_id")]
26    pub last_id: Option<String>,
27    /// The object type, which is always `list`
28    #[serde(rename = "object")]
29    pub object: String,
30}