openapi_github/models/
nullable_community_health_file.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct NullableCommunityHealthFile {
16 #[serde(rename = "url")]
17 pub url: String,
18 #[serde(rename = "html_url")]
19 pub html_url: String,
20}
21
22impl NullableCommunityHealthFile {
23 pub fn new(url: String, html_url: String) -> NullableCommunityHealthFile {
24 NullableCommunityHealthFile {
25 url,
26 html_url,
27 }
28 }
29}
30