use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SyncPartnerV1 {
#[serde(rename = "inTimeline")]
pub in_timeline: bool,
#[serde(rename = "sharedById")]
pub shared_by_id: String,
#[serde(rename = "sharedWithId")]
pub shared_with_id: String,
}
impl SyncPartnerV1 {
pub fn new(in_timeline: bool, shared_by_id: String, shared_with_id: String) -> SyncPartnerV1 {
SyncPartnerV1 {
in_timeline,
shared_by_id,
shared_with_id,
}
}
}