openai_struct/models/computer_call_safety_check_param.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 ComputerCallSafetyCheckParam : A pending safety check for the computer call.
12
13#[allow(unused_imports)]
14use serde_json::Value;
15
16/// # on openapi.yaml
17///
18/// ```yaml
19/// ComputerCallSafetyCheckParam:
20/// properties:
21/// id:
22/// type: string
23/// description: The ID of the pending safety check.
24/// code:
25/// anyOf:
26/// - type: string
27/// description: The type of the pending safety check.
28/// - type: "null"
29/// message:
30/// anyOf:
31/// - type: string
32/// description: Details about the pending safety check.
33/// - type: "null"
34/// type: object
35/// required:
36/// - id
37/// description: A pending safety check for the computer call.
38/// ```
39#[derive(Debug, Serialize, Deserialize)]
40pub struct ComputerCallSafetyCheckParam {
41 #[serde(rename = "code")]
42 pub code: Option<String>,
43 /// The ID of the pending safety check.
44 #[serde(rename = "id")]
45 pub id: String,
46 #[serde(rename = "message")]
47 pub message: Option<String>,
48}