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