use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ReadChangesResponse {
#[serde(rename = "changes")]
pub changes: Vec<models::TupleChange>,
#[serde(rename = "continuation_token", skip_serializing_if = "Option::is_none")]
pub continuation_token: Option<String>,
}
impl ReadChangesResponse {
pub fn new(changes: Vec<models::TupleChange>) -> ReadChangesResponse {
ReadChangesResponse {
changes,
continuation_token: None,
}
}
}