/*
* 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};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ImagemapArea {
#[serde(rename = "x")]
pub x: i32,
#[serde(rename = "y")]
pub y: i32,
#[serde(rename = "width")]
pub width: i32,
#[serde(rename = "height")]
pub height: i32,
}
impl ImagemapArea {
pub fn new(x: i32, y: i32, width: i32, height: i32) -> ImagemapArea {
ImagemapArea {
x,
y,
width,
height,
}
}
}