-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rust: Regenerate model files (#1697)
Follow-up to #1695, last prep PR for including the new openapi-codegen in CI.
- Loading branch information
Showing
12 changed files
with
46 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,27 @@ | ||
// this file is @generated | ||
use serde::{Deserialize, Serialize}; | ||
|
||
use super::{event_type_in::EventTypeIn, template_in::TemplateIn}; | ||
use super::{connector_in::ConnectorIn, event_type_in::EventTypeIn}; | ||
|
||
#[derive(Clone, Debug, Default, PartialEq, Deserialize, Serialize)] | ||
pub struct EnvironmentIn { | ||
#[serde(skip_serializing_if = "Option::is_none")] | ||
pub connectors: Option<Vec<ConnectorIn>>, | ||
|
||
#[serde(rename = "eventTypes")] | ||
#[serde(skip_serializing_if = "Option::is_none")] | ||
pub event_types: Option<Vec<EventTypeIn>>, | ||
|
||
#[serde(skip_serializing_if = "Option::is_none")] | ||
pub settings: Option<serde_json::Value>, | ||
|
||
#[serde(rename = "transformationTemplates")] | ||
#[serde(skip_serializing_if = "Option::is_none")] | ||
pub transformation_templates: Option<Vec<TemplateIn>>, | ||
} | ||
|
||
impl EnvironmentIn { | ||
pub fn new() -> Self { | ||
Self { | ||
connectors: None, | ||
event_types: None, | ||
settings: None, | ||
transformation_templates: None, | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters