use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ProtectedBranchRequiredStatusCheckChecksInner {
#[serde(rename = "context")]
pub context: String,
#[serde(rename = "app_id", deserialize_with = "Option::deserialize")]
pub app_id: Option<i32>,
}
impl ProtectedBranchRequiredStatusCheckChecksInner {
pub fn new(context: String, app_id: Option<i32>) -> ProtectedBranchRequiredStatusCheckChecksInner {
ProtectedBranchRequiredStatusCheckChecksInner {
context,
app_id,
}
}
}