linkbreakers 1.77.1

Official Rust SDK for the Linkbreakers API
Documentation
/*
 * Linkbreakers API
 *
 * This is a documentation of all the APIs of Linkbreakers
 *
 * The version of the OpenAPI document: 1.77.1
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct UpdateSlackIntegrationRequest {
    #[serde(rename = "linkId", skip_serializing_if = "Option::is_none")]
    pub link_id: Option<String>,
    #[serde(rename = "slackChannelId", skip_serializing_if = "Option::is_none")]
    pub slack_channel_id: Option<String>,
    #[serde(rename = "slackChannelName", skip_serializing_if = "Option::is_none")]
    pub slack_channel_name: Option<String>,
    #[serde(rename = "status", skip_serializing_if = "Option::is_none")]
    pub status: Option<models::SlackIntegrationStatus>,
    #[serde(rename = "triggers", skip_serializing_if = "Option::is_none")]
    pub triggers: Option<Vec<models::WorkflowStepKind>>,
}

impl UpdateSlackIntegrationRequest {
    pub fn new() -> UpdateSlackIntegrationRequest {
        UpdateSlackIntegrationRequest {
            link_id: None,
            slack_channel_id: None,
            slack_channel_name: None,
            status: None,
            triggers: None,
        }
    }
}