/*
 * Orvanta API
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.6
 * Contact: contact@orvanta.cloud
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TeamsChannel {
    /// Microsoft Teams team ID
    #[serde(rename = "team_id")]
    pub team_id: String,
    /// Microsoft Teams team name
    #[serde(rename = "team_name")]
    pub team_name: String,
    /// Microsoft Teams channel ID
    #[serde(rename = "channel_id")]
    pub channel_id: String,
    /// Microsoft Teams channel name
    #[serde(rename = "channel_name")]
    pub channel_name: String,
}

impl TeamsChannel {
    pub fn new(team_id: String, team_name: String, channel_id: String, channel_name: String) -> TeamsChannel {
        TeamsChannel {
            team_id,
            team_name,
            channel_id,
            channel_name,
        }
    }
}

