module-line 0.0.2

This document describes LINE Messaging API.
Documentation
/*
 * LINE Messaging API
 *
 * This document describes LINE Messaging API.
 *
 * The version of the OpenAPI document: 0.0.1
 * 
 * Generated by: https://openapi-generator.tech
 */

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

/// DetachModuleRequest : Unlink (detach) the module channel by the operation of the module channel administrator
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DetachModuleRequest {
    /// User ID of the LINE Official Account bot attached to the module channel.
    #[serde(rename = "botId", skip_serializing_if = "Option::is_none")]
    pub bot_id: Option<String>,
}

impl DetachModuleRequest {
    /// Unlink (detach) the module channel by the operation of the module channel administrator
    pub fn new() -> DetachModuleRequest {
        DetachModuleRequest {
            bot_id: None,
        }
    }
}