Skip to main content

nautobot_openapi/models/
graph_ql_query_owner.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, Serialize, Deserialize)]
12#[serde(tag = "object_type")]
13pub enum GraphQlQueryOwner {
14    #[serde(rename = "extras.gitrepository")]
15    NestedGitRepository {
16        #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
17        id: Option<uuid::Uuid>,
18        #[serde(rename = "url", skip_serializing_if = "Option::is_none")]
19        url: Option<String>,
20    },
21}