#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct Ogp {
#[serde(rename = "type")]
pub r#type: String,
#[serde(rename = "title")]
pub title: String,
#[serde(rename = "url")]
pub url: String,
#[serde(rename = "images")]
pub images: Vec<crate::models::OgpMedia>,
#[serde(rename = "description")]
pub description: String,
#[serde(rename = "videos")]
pub videos: Vec<crate::models::OgpMedia>,
}
impl Ogp {
pub fn new(
r#type: String,
title: String,
url: String,
images: Vec<crate::models::OgpMedia>,
description: String,
videos: Vec<crate::models::OgpMedia>,
) -> Ogp {
Ogp {
r#type,
title,
url,
images,
description,
videos,
}
}
}