openai_struct/models/complete_upload_request.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/// # on openapi.yaml
15///
16/// ```yaml
17/// CompleteUploadRequest:
18/// type: object
19/// additionalProperties: false
20/// properties:
21/// part_ids:
22/// type: array
23/// description: |
24/// The ordered list of Part IDs.
25/// items:
26/// type: string
27/// md5:
28/// description: >
29/// The optional md5 checksum for the file contents to verify if the
30/// bytes uploaded matches what you expect.
31/// type: string
32/// required:
33/// - part_ids
34/// ```
35#[derive(Debug, Serialize, Deserialize)]
36pub struct CompleteUploadRequest {
37 /// The optional md5 checksum for the file contents to verify if the bytes uploaded matches what you expect.
38 #[serde(rename = "md5")]
39 pub md5: Option<String>,
40 /// The ordered list of Part IDs.
41 #[serde(rename = "part_ids")]
42 pub part_ids: Vec<String>,
43}