openapi_github/models/
branch_protection_required_linear_history.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct BranchProtectionRequiredLinearHistory {
16 #[serde(rename = "enabled", skip_serializing_if = "Option::is_none")]
17 pub enabled: Option<bool>,
18}
19
20impl BranchProtectionRequiredLinearHistory {
21 pub fn new() -> BranchProtectionRequiredLinearHistory {
22 BranchProtectionRequiredLinearHistory {
23 enabled: None,
24 }
25 }
26}
27