messaging_api_line/models/
emoji.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 Emoji {
16    #[serde(rename = "index", skip_serializing_if = "Option::is_none")]
17    pub index: Option<i32>,
18    #[serde(rename = "productId", skip_serializing_if = "Option::is_none")]
19    pub product_id: Option<String>,
20    #[serde(rename = "emojiId", skip_serializing_if = "Option::is_none")]
21    pub emoji_id: Option<String>,
22}
23
24impl Emoji {
25    pub fn new() -> Emoji {
26        Emoji {
27            index: None,
28            product_id: None,
29            emoji_id: None,
30        }
31    }
32}
33