/*
* LINE Messaging API
*
* This document describes LINE Messaging API.
*
* The version of the OpenAPI document: 0.0.1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// Sender : Change icon and display name
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Sender {
/// Display name. Certain words such as `LINE` may not be used.
#[serde(rename = "name", skip_serializing_if = "Option::is_none")]
pub name: Option<String>,
/// URL of the image to display as an icon when sending a message
#[serde(rename = "iconUrl", skip_serializing_if = "Option::is_none")]
pub icon_url: Option<String>,
}
impl Sender {
/// Change icon and display name
pub fn new() -> Sender {
Sender {
name: None,
icon_url: None,
}
}
}