trieve_client/models/
get_groups_for_chunks_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 GetGroupsForChunksReqPayload {
15    #[serde(rename = "chunk_ids")]
16    pub chunk_ids: Vec<uuid::Uuid>,
17}
18
19impl GetGroupsForChunksReqPayload {
20    pub fn new(chunk_ids: Vec<uuid::Uuid>) -> GetGroupsForChunksReqPayload {
21        GetGroupsForChunksReqPayload {
22            chunk_ids,
23        }
24    }
25}
26