/*
* LangSmith Deployment
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.1.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// StoreDeleteRequest : Request to delete an item.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct StoreDeleteRequest {
/// A list of strings representing the namespace path.
#[serde(rename = "namespace", skip_serializing_if = "Option::is_none")]
pub namespace: Option<Vec<String>>,
/// The unique identifier for the item.
#[serde(rename = "key")]
pub key: String,
}
impl StoreDeleteRequest {
/// Request to delete an item.
pub fn new(key: String) -> StoreDeleteRequest {
StoreDeleteRequest {
namespace: None,
key,
}
}
}