trieve_client/models/remove_chunk_from_group_req_payload.rs
1/*
2 * Trieve API
3 *
4 * Trieve OpenAPI Specification. This document describes all of the operations available through the Trieve API.
5 *
6 * The version of the OpenAPI document: 0.11.7
7 * Contact: developers@trieve.ai
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12
13#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
14pub struct RemoveChunkFromGroupReqPayload {
15 /// Id of the chunk to remove from the group.
16 #[serde(rename = "chunk_id")]
17 pub chunk_id: uuid::Uuid,
18}
19
20impl RemoveChunkFromGroupReqPayload {
21 pub fn new(chunk_id: uuid::Uuid) -> RemoveChunkFromGroupReqPayload {
22 RemoveChunkFromGroupReqPayload {
23 chunk_id,
24 }
25 }
26}
27