use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetIndexerStatus200ResponseJobIndexer {
#[serde(rename = "is_alive", skip_serializing_if = "Option::is_none")]
pub is_alive: Option<bool>,
#[serde(rename = "last_locked_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub last_locked_at: Option<Option<String>>,
#[serde(rename = "owner", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub owner: Option<Option<String>>,
#[serde(rename = "storage", skip_serializing_if = "Option::is_none")]
pub storage: Option<Box<models::GetIndexStorageSizes200ResponseJobIndex>>,
}
impl GetIndexerStatus200ResponseJobIndexer {
pub fn new() -> GetIndexerStatus200ResponseJobIndexer {
GetIndexerStatus200ResponseJobIndexer {
is_alive: None,
last_locked_at: None,
owner: None,
storage: None,
}
}
}