#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct SearchForAccounts200Response {
#[serde(rename = "accounts")]
pub accounts: Vec<crate::models::Account>,
#[serde(rename = "current-round")]
pub current_round: u64,
#[serde(rename = "next-token", skip_serializing_if = "Option::is_none")]
pub next_token: Option<String>,
}
impl SearchForAccounts200Response {
pub fn new(
accounts: Vec<crate::models::Account>,
current_round: u64,
) -> SearchForAccounts200Response {
SearchForAccounts200Response {
accounts,
current_round,
next_token: None,
}
}
}