messaging_api_line/models/
camera_action.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#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct CameraAction {
16    /// Type of action
17    #[serde(rename = "type", skip_serializing_if = "Option::is_none")]
18    pub r#type: Option<String>,
19    /// Label for the action.
20    #[serde(rename = "label", skip_serializing_if = "Option::is_none")]
21    pub label: Option<String>,
22}
23
24impl CameraAction {
25    pub fn new() -> CameraAction {
26        CameraAction {
27            r#type: None,
28            label: None,
29        }
30    }
31}
32