jira_api_v2/models/webhooks_expiration_date.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/// WebhooksExpirationDate : The date the newly refreshed webhooks expire.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct WebhooksExpirationDate {
17 #[serde(rename = "expirationDate")]
18 pub expiration_date: i64,
19}
20
21impl WebhooksExpirationDate {
22 /// The date the newly refreshed webhooks expire.
23 pub fn new(expiration_date: i64) -> WebhooksExpirationDate {
24 WebhooksExpirationDate {
25 expiration_date,
26 }
27 }
28}
29