messaging_api_line/models/
uri_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 UriAction {
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    #[serde(rename = "uri", skip_serializing_if = "Option::is_none")]
23    pub uri: Option<String>,
24    #[serde(rename = "altUri", skip_serializing_if = "Option::is_none")]
25    pub alt_uri: Option<Box<models::AltUri>>,
26}
27
28impl UriAction {
29    pub fn new() -> UriAction {
30        UriAction {
31            r#type: None,
32            label: None,
33            uri: None,
34            alt_uri: None,
35        }
36    }
37}
38