Skip to main content

nautobot_openapi/models/
graph_ql_query_input_request.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 GraphQlQueryInputRequest {
13    #[serde(
14        rename = "variables",
15        default,
16        with = "::serde_with::rust::double_option",
17        skip_serializing_if = "Option::is_none"
18    )]
19    pub variables: Option<Option<::std::collections::HashMap<String, serde_json::Value>>>,
20}
21
22impl GraphQlQueryInputRequest {
23    pub fn new() -> GraphQlQueryInputRequest {
24        GraphQlQueryInputRequest { variables: None }
25    }
26}