/*
* Pipedrive API v1
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://openapi-generator.tech
*/
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct PutRolePipelinesBody {
/// The pipeline IDs to make the pipelines visible (add) and/or hidden (remove) for the specified role. It requires the following JSON structure: `{ \"add\": \"[1]\", \"remove\": \"[3, 4]\" }`.
#[serde(rename = "visible_pipeline_ids")]
pub visible_pipeline_ids: serde_json::Value,
}
impl PutRolePipelinesBody {
pub fn new(visible_pipeline_ids: serde_json::Value) -> PutRolePipelinesBody {
PutRolePipelinesBody {
visible_pipeline_ids,
}
}
}