jira_api_v2/models/container_for_webhook_ids.rs
1/*
2 * The Jira Cloud platform REST API
3 *
4 * Jira Cloud platform REST API documentation
5 *
6 * The version of the OpenAPI document: 1001.0.0-SNAPSHOT
7 * Contact: ecosystem@atlassian.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// ContainerForWebhookIds : Container for a list of webhook IDs.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct ContainerForWebhookIds {
17 /// A list of webhook IDs.
18 #[serde(rename = "webhookIds")]
19 pub webhook_ids: Vec<i64>,
20}
21
22impl ContainerForWebhookIds {
23 /// Container for a list of webhook IDs.
24 pub fn new(webhook_ids: Vec<i64>) -> ContainerForWebhookIds {
25 ContainerForWebhookIds {
26 webhook_ids,
27 }
28 }
29}
30