module_line/models/
detach_module_request.rs

1/*
2 * LINE Messaging API
3 *
4 * This document describes LINE Messaging API.
5 *
6 * The version of the OpenAPI document: 0.0.1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// DetachModuleRequest : Unlink (detach) the module channel by the operation of the module channel administrator
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct DetachModuleRequest {
17    /// User ID of the LINE Official Account bot attached to the module channel.
18    #[serde(rename = "botId", skip_serializing_if = "Option::is_none")]
19    pub bot_id: Option<String>,
20}
21
22impl DetachModuleRequest {
23    /// Unlink (detach) the module channel by the operation of the module channel administrator
24    pub fn new() -> DetachModuleRequest {
25        DetachModuleRequest {
26            bot_id: None,
27        }
28    }
29}
30