-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsync_models.py
More file actions
42 lines (31 loc) · 1.12 KB
/
sync_models.py
File metadata and controls
42 lines (31 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
from __future__ import annotations
from typing import Any
from infrahub_sync.adapters.genericrestapi import GenericrestapiModel
# -------------------------------------------------------
# AUTO-GENERATED FILE, DO NOT MODIFY
# This file has been generated with the command `infrahub-sync generate`
# All modifications will be lost the next time you reexecute this command
# -------------------------------------------------------
class BuiltinTag(GenericrestapiModel):
_modelname = "BuiltinTag"
_identifiers = ("name",)
_attributes = ()
name: str
local_id: str | None = None
local_data: Any | None = None
class LocationSite(GenericrestapiModel):
_modelname = "LocationSite"
_identifiers = ("name",)
_attributes = ("tags",)
name: str
tags: list[str] | None = []
local_id: str | None = None
local_data: Any | None = None
class OrganizationTenant(GenericrestapiModel):
_modelname = "OrganizationTenant"
_identifiers = ("name",)
_attributes = ("description",)
description: str | None = None
name: str
local_id: str | None = None
local_data: Any | None = None