messaging_api_line/models/
audience_recipient.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 AudienceRecipient {
16    /// Type of recipient
17    #[serde(rename = "type", skip_serializing_if = "Option::is_none")]
18    pub r#type: Option<String>,
19    #[serde(rename = "audienceGroupId", skip_serializing_if = "Option::is_none")]
20    pub audience_group_id: Option<i64>,
21}
22
23impl AudienceRecipient {
24    pub fn new() -> AudienceRecipient {
25        AudienceRecipient {
26            r#type: None,
27            audience_group_id: None,
28        }
29    }
30}
31