use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CodespaceExportDetails {
#[serde(rename = "state", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub state: Option<Option<String>>,
#[serde(rename = "completed_at", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub completed_at: Option<Option<String>>,
#[serde(rename = "branch", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub branch: Option<Option<String>>,
#[serde(rename = "sha", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub sha: Option<Option<String>>,
#[serde(rename = "id", skip_serializing_if = "Option::is_none")]
pub id: Option<String>,
#[serde(rename = "export_url", skip_serializing_if = "Option::is_none")]
pub export_url: Option<String>,
#[serde(rename = "html_url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
pub html_url: Option<Option<String>>,
}
impl CodespaceExportDetails {
pub fn new() -> CodespaceExportDetails {
CodespaceExportDetails {
state: None,
completed_at: None,
branch: None,
sha: None,
id: None,
export_url: None,
html_url: None,
}
}
}