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