mattermost_client/openapi/models/
webhook_on_creation_payload_all_of.rs

1/*
2 * Mattermost API Reference
3 *
4 * There is also a work-in-progress [Postman API reference](https://documenter.getpostman.com/view/4508214/RW8FERUn).
5 *
6 * The version of the OpenAPI document: 4.0.0
7 * Contact: feedback@mattermost.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11#[derive(Clone, Debug, PartialEq, Default, serde::Serialize, serde::Deserialize)]
12pub struct WebhookOnCreationPayloadAllOf {
13    /// Absolute URL to the playbook run's channel.
14    #[serde(rename = "channel_url", skip_serializing_if = "Option::is_none")]
15    pub channel_url: Option<String>,
16    /// Absolute URL to the playbook run's details.
17    #[serde(rename = "details_url", skip_serializing_if = "Option::is_none")]
18    pub details_url: Option<String>,
19}
20
21impl WebhookOnCreationPayloadAllOf {
22    pub fn new() -> WebhookOnCreationPayloadAllOf {
23        WebhookOnCreationPayloadAllOf {
24            channel_url: None,
25            details_url: None,
26        }
27    }
28}