use crate::ids::{FinancialConnectionsAccountOwnershipId};
use crate::params::{List, Object, Timestamp};
use crate::resources::{FinancialConnectionsAccountOwner};
use serde::{Deserialize, Serialize};
#[derive(Clone, Debug, Default, Deserialize, Serialize)]
pub struct FinancialConnectionsAccountOwnership {
pub id: FinancialConnectionsAccountOwnershipId,
pub created: Timestamp,
pub owners: List<FinancialConnectionsAccountOwner>,
}
impl Object for FinancialConnectionsAccountOwnership {
type Id = FinancialConnectionsAccountOwnershipId;
fn id(&self) -> Self::Id {
self.id.clone()
}
fn object(&self) -> &'static str {
"financial_connections.account_ownership"
}
}