svix/models/integration_in.rs
1// this file is @generated
2use serde::{Deserialize, Serialize};
3
4#[derive(Clone, Debug, Default, PartialEq, Deserialize, Serialize)]
5pub struct IntegrationIn {
6 /// The set of feature flags the integration will have access to.
7 #[serde(rename = "featureFlags")]
8 #[serde(skip_serializing_if = "Option::is_none")]
9 pub feature_flags: Option<Vec<String>>,
10
11 pub name: String,
12}
13
14impl IntegrationIn {
15 pub fn new(name: String) -> Self {
16 Self {
17 feature_flags: None,
18 name,
19 }
20 }
21}