Skip to main content

nautobot_openapi/models/
graphql_create_400_response.rs

1/*
2 * API Documentation
3 *
4 * Source of truth and network automation platform
5 *
6 * The version of the OpenAPI document: 3.1.0 (3.1)
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
12pub struct GraphqlCreate400Response {
13    #[serde(rename = "errors", skip_serializing_if = "Option::is_none")]
14    pub errors: Option<Vec<serde_json::Value>>,
15}
16
17impl GraphqlCreate400Response {
18    pub fn new() -> GraphqlCreate400Response {
19        GraphqlCreate400Response { errors: None }
20    }
21}