/*
* Zernio API
*
* API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
*
* The version of the OpenAPI document: 1.0.4
* Contact: support@zernio.com
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// ReviewWebhookReviewReply : Present when hasReply is true.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ReviewWebhookReviewReply {
#[serde(rename = "text")]
pub text: String,
#[serde(rename = "createdAt")]
pub created_at: String,
}
impl ReviewWebhookReviewReply {
/// Present when hasReply is true.
pub fn new(text: String, created_at: String) -> ReviewWebhookReviewReply {
ReviewWebhookReviewReply { text, created_at }
}
}