From 334b296374f090ace10955aa73e9dc99d79bc8d3 Mon Sep 17 00:00:00 2001 From: Pierrick Thomas Date: Fri, 3 May 2024 12:22:43 +0200 Subject: [PATCH 1/4] Allow objects where no type or nested schema is defined --- gen.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gen.py b/gen.py index 13931ee..0ae7bac 100644 --- a/gen.py +++ b/gen.py @@ -341,14 +341,16 @@ def from_definition( elif "items" in defi and "$ref" in defi["items"]: assert "$ref" in defi["items"], f"{defi=}" ref = defi["items"]["$ref"] - elif "type" in defi: - ref = "" else: - assert False, f"{name=} {defi=}" + ref = "" return cls( name, required, - PythonType.from_json(defi["type"]) if "type" in defi else None, + ( + PythonType.from_json(defi["type"]) + if "type" in defi + else PythonType.any + ), ref, ) From 2c0341a026be86c76b6c247918fe91e09250b52f Mon Sep 17 00:00:00 2001 From: Pierrick Thomas Date: Fri, 3 May 2024 12:25:13 +0200 Subject: [PATCH 2/4] Updated requirements --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index e105b51..298818e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ setuptools +StrEnum pynetbox black isort From 8d4d059cd717059e104aca18724a65e49b2a6502 Mon Sep 17 00:00:00 2001 From: Pierrick Thomas Date: Fri, 3 May 2024 12:25:42 +0200 Subject: [PATCH 3/4] Updated stubs for Netbox 3.7 --- pynetbox-stubs/_gen/circuits.pyi | 73 + pynetbox-stubs/_gen/core.pyi | 36 +- pynetbox-stubs/_gen/dcim.pyi | 1015 +++++++++- pynetbox-stubs/_gen/definitions.pyi | 2018 ++++++++++++++----- pynetbox-stubs/_gen/extras.pyi | 989 ++++++++-- pynetbox-stubs/_gen/ipam.pyi | 848 ++------ pynetbox-stubs/_gen/plugins.pyi | 1138 ++++++++++- pynetbox-stubs/_gen/tenancy.pyi | 53 + pynetbox-stubs/_gen/users.pyi | 25 +- pynetbox-stubs/_gen/virtualization.pyi | 312 +++ pynetbox-stubs/_gen/vpn.pyi | 2522 ++++++++++++++++++++++++ pynetbox-stubs/core/api.pyi | 1 + pynetbox-stubs/core/app.pyi | 1 + pynetbox-stubs/core/endpoint.pyi | 1 + pynetbox-stubs/core/query.pyi | 1 + pynetbox-stubs/core/response.pyi | 2 + 16 files changed, 7551 insertions(+), 1484 deletions(-) create mode 100644 pynetbox-stubs/_gen/vpn.pyi diff --git a/pynetbox-stubs/_gen/circuits.pyi b/pynetbox-stubs/_gen/circuits.pyi index 6874cf0..8ba0ee3 100644 --- a/pynetbox-stubs/_gen/circuits.pyi +++ b/pynetbox-stubs/_gen/circuits.pyi @@ -300,6 +300,17 @@ class Circuit_typesEndpoint(Endpoint): def get( self, id: Optional[int] = None, + color: Optional[str] = None, + color__empty: Optional[bool] = None, + color__ic: Optional[str] = None, + color__ie: Optional[str] = None, + color__iew: Optional[str] = None, + color__isw: Optional[str] = None, + color__n: Optional[str] = None, + color__nic: Optional[str] = None, + color__nie: Optional[str] = None, + color__niew: Optional[str] = None, + color__nisw: Optional[str] = None, created: Optional[str] = None, created__empty: Optional[str] = None, created__gt: Optional[str] = None, @@ -367,6 +378,17 @@ class Circuit_typesEndpoint(Endpoint): def filter( self, id: Optional[int] = None, + color: Optional[str] = None, + color__empty: Optional[bool] = None, + color__ic: Optional[str] = None, + color__ie: Optional[str] = None, + color__iew: Optional[str] = None, + color__isw: Optional[str] = None, + color__n: Optional[str] = None, + color__nic: Optional[str] = None, + color__nie: Optional[str] = None, + color__niew: Optional[str] = None, + color__nisw: Optional[str] = None, created: Optional[str] = None, created__empty: Optional[str] = None, created__gt: Optional[str] = None, @@ -438,6 +460,7 @@ class Circuit_typesEndpoint(Endpoint): self, name: str, slug: str, + color: Optional[str] = None, description: Optional[str] = None, tags: Optional[List[Any]] = None, custom_fields: Optional[Any] = None, @@ -453,6 +476,17 @@ class Circuit_typesEndpoint(Endpoint): def count( self, id: Optional[int] = None, + color: Optional[str] = None, + color__empty: Optional[bool] = None, + color__ic: Optional[str] = None, + color__ie: Optional[str] = None, + color__iew: Optional[str] = None, + color__isw: Optional[str] = None, + color__n: Optional[str] = None, + color__nic: Optional[str] = None, + color__nie: Optional[str] = None, + color__niew: Optional[str] = None, + color__nisw: Optional[str] = None, created: Optional[str] = None, created__empty: Optional[str] = None, created__gt: Optional[str] = None, @@ -1386,6 +1420,8 @@ class ProvidersEndpoint(Endpoint): def get( self, id: Optional[int] = None, + asn: Optional[int] = None, + asn__n: Optional[int] = None, asn_id: Optional[int] = None, asn_id__n: Optional[int] = None, contact: Optional[int] = None, @@ -1402,6 +1438,17 @@ class ProvidersEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -1462,6 +1509,8 @@ class ProvidersEndpoint(Endpoint): def filter( self, id: Optional[int] = None, + asn: Optional[int] = None, + asn__n: Optional[int] = None, asn_id: Optional[int] = None, asn_id__n: Optional[int] = None, contact: Optional[int] = None, @@ -1478,6 +1527,17 @@ class ProvidersEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -1560,6 +1620,8 @@ class ProvidersEndpoint(Endpoint): def count( self, id: Optional[int] = None, + asn: Optional[int] = None, + asn__n: Optional[int] = None, asn_id: Optional[int] = None, asn_id__n: Optional[int] = None, contact: Optional[int] = None, @@ -1576,6 +1638,17 @@ class ProvidersEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, diff --git a/pynetbox-stubs/_gen/core.pyi b/pynetbox-stubs/_gen/core.pyi index 8bb63b0..867c304 100644 --- a/pynetbox-stubs/_gen/core.pyi +++ b/pynetbox-stubs/_gen/core.pyi @@ -233,6 +233,17 @@ class Data_sourcesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, enabled: Optional[bool] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, @@ -283,6 +294,17 @@ class Data_sourcesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, enabled: Optional[bool] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, @@ -328,13 +350,14 @@ class Data_sourcesEndpoint(Endpoint): def create( self, name: str, + type: str, source_url: str, - type: Optional[str] = None, enabled: Optional[bool] = None, description: Optional[str] = None, comments: Optional[str] = None, parameters: Optional[Any] = None, ignore_rules: Optional[str] = None, + custom_fields: Optional[Any] = None, ) -> definitions.DataSource: ... def create( self, *args: Dict[str, Any], **kwargs: Any @@ -355,6 +378,17 @@ class Data_sourcesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, enabled: Optional[bool] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, diff --git a/pynetbox-stubs/_gen/dcim.pyi b/pynetbox-stubs/_gen/dcim.pyi index 81fe992..5c70ed8 100644 --- a/pynetbox-stubs/_gen/dcim.pyi +++ b/pynetbox-stubs/_gen/dcim.pyi @@ -119,8 +119,11 @@ class CablesEndpoint(Endpoint): def get( self, id: Optional[int] = None, + circuittermination_id: Optional[int] = None, color: Optional[str] = None, color__n: Optional[str] = None, + consoleport_id: Optional[int] = None, + consoleserverport_id: Optional[int] = None, created: Optional[str] = None, created__empty: Optional[str] = None, created__gt: Optional[str] = None, @@ -129,14 +132,27 @@ class CablesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device: Optional[str] = None, device_id: Optional[int] = None, + frontport_id: Optional[int] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, id__lt: Optional[int] = None, id__lte: Optional[int] = None, id__n: Optional[int] = None, + interface_id: Optional[int] = None, label: Optional[str] = None, label__empty: Optional[bool] = None, label__ic: Optional[str] = None, @@ -170,9 +186,13 @@ class CablesEndpoint(Endpoint): modified_by_request: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, + powerfeed_id: Optional[int] = None, + poweroutlet_id: Optional[int] = None, + powerport_id: Optional[int] = None, q: Optional[str] = None, rack: Optional[str] = None, rack_id: Optional[int] = None, + rearport_id: Optional[int] = None, site: Optional[str] = None, site_id: Optional[int] = None, status: Optional[str] = None, @@ -195,14 +215,18 @@ class CablesEndpoint(Endpoint): termination_b_type__n: Optional[str] = None, type: Optional[str] = None, type__n: Optional[str] = None, + unterminated: Optional[bool] = None, updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> Optional[definitions.Cable]: ... def filter( self, id: Optional[int] = None, + circuittermination_id: Optional[int] = None, color: Optional[str] = None, color__n: Optional[str] = None, + consoleport_id: Optional[int] = None, + consoleserverport_id: Optional[int] = None, created: Optional[str] = None, created__empty: Optional[str] = None, created__gt: Optional[str] = None, @@ -211,14 +235,27 @@ class CablesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device: Optional[str] = None, device_id: Optional[int] = None, + frontport_id: Optional[int] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, id__lt: Optional[int] = None, id__lte: Optional[int] = None, id__n: Optional[int] = None, + interface_id: Optional[int] = None, label: Optional[str] = None, label__empty: Optional[bool] = None, label__ic: Optional[str] = None, @@ -252,9 +289,13 @@ class CablesEndpoint(Endpoint): modified_by_request: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, + powerfeed_id: Optional[int] = None, + poweroutlet_id: Optional[int] = None, + powerport_id: Optional[int] = None, q: Optional[str] = None, rack: Optional[str] = None, rack_id: Optional[int] = None, + rearport_id: Optional[int] = None, site: Optional[str] = None, site_id: Optional[int] = None, status: Optional[str] = None, @@ -277,6 +318,7 @@ class CablesEndpoint(Endpoint): termination_b_type__n: Optional[str] = None, type: Optional[str] = None, type__n: Optional[str] = None, + unterminated: Optional[bool] = None, updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> RecordSet[definitions.Cable]: ... @@ -310,8 +352,11 @@ class CablesEndpoint(Endpoint): def count( self, id: Optional[int] = None, + circuittermination_id: Optional[int] = None, color: Optional[str] = None, color__n: Optional[str] = None, + consoleport_id: Optional[int] = None, + consoleserverport_id: Optional[int] = None, created: Optional[str] = None, created__empty: Optional[str] = None, created__gt: Optional[str] = None, @@ -320,14 +365,27 @@ class CablesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device: Optional[str] = None, device_id: Optional[int] = None, + frontport_id: Optional[int] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, id__lt: Optional[int] = None, id__lte: Optional[int] = None, id__n: Optional[int] = None, + interface_id: Optional[int] = None, label: Optional[str] = None, label__empty: Optional[bool] = None, label__ic: Optional[str] = None, @@ -361,9 +419,13 @@ class CablesEndpoint(Endpoint): modified_by_request: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, + powerfeed_id: Optional[int] = None, + poweroutlet_id: Optional[int] = None, + powerport_id: Optional[int] = None, q: Optional[str] = None, rack: Optional[str] = None, rack_id: Optional[int] = None, + rearport_id: Optional[int] = None, site: Optional[str] = None, site_id: Optional[int] = None, status: Optional[str] = None, @@ -386,6 +448,7 @@ class CablesEndpoint(Endpoint): termination_b_type__n: Optional[str] = None, type: Optional[str] = None, type__n: Optional[str] = None, + unterminated: Optional[bool] = None, updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> int: ... @@ -431,6 +494,17 @@ class Console_port_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -480,6 +554,17 @@ class Console_port_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -553,6 +638,17 @@ class Console_port_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -689,6 +785,10 @@ class Console_portsEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -801,6 +901,10 @@ class Console_portsEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -937,6 +1041,10 @@ class Console_portsEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -972,6 +1080,17 @@ class Console_server_port_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -1021,6 +1140,17 @@ class Console_server_port_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -1094,6 +1224,17 @@ class Console_server_port_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -1230,6 +1371,10 @@ class Console_server_portsEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -1342,6 +1487,10 @@ class Console_server_portsEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -1482,6 +1631,10 @@ class Console_server_portsEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -1517,6 +1670,17 @@ class Device_bay_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -1562,6 +1726,17 @@ class Device_bay_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -1629,6 +1804,17 @@ class Device_bay_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -1754,6 +1940,10 @@ class Device_baysEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -1857,6 +2047,10 @@ class Device_baysEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -1981,6 +2175,10 @@ class Device_baysEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -2292,7 +2490,19 @@ class Device_typesEndpoint(Endpoint): default_platform__n: Optional[str] = None, default_platform_id: Optional[int] = None, default_platform_id__n: Optional[int] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device_bays: Optional[bool] = None, + exclude_from_utilization: Optional[bool] = None, has_front_image: Optional[bool] = None, has_rear_image: Optional[bool] = None, id__empty: Optional[bool] = None, @@ -2399,7 +2609,19 @@ class Device_typesEndpoint(Endpoint): default_platform__n: Optional[str] = None, default_platform_id: Optional[int] = None, default_platform_id__n: Optional[int] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device_bays: Optional[bool] = None, + exclude_from_utilization: Optional[bool] = None, has_front_image: Optional[bool] = None, has_rear_image: Optional[bool] = None, id__empty: Optional[bool] = None, @@ -2498,6 +2720,7 @@ class Device_typesEndpoint(Endpoint): default_platform: Optional[int] = None, part_number: Optional[str] = None, u_height: Optional[float] = None, + exclude_from_utilization: Optional[bool] = None, is_full_depth: Optional[bool] = None, subdevice_role: Optional[str] = None, airflow: Optional[str] = None, @@ -2537,7 +2760,19 @@ class Device_typesEndpoint(Endpoint): default_platform__n: Optional[str] = None, default_platform_id: Optional[int] = None, default_platform_id__n: Optional[int] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device_bays: Optional[bool] = None, + exclude_from_utilization: Optional[bool] = None, has_front_image: Optional[bool] = None, has_rear_image: Optional[bool] = None, id__empty: Optional[bool] = None, @@ -2666,6 +2901,17 @@ class DevicesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device_bays: Optional[bool] = None, device_type: Optional[str] = None, device_type__n: Optional[str] = None, @@ -2673,6 +2919,7 @@ class DevicesEndpoint(Endpoint): device_type_id__n: Optional[int] = None, face: Optional[str] = None, face__n: Optional[str] = None, + has_oob_ip: Optional[bool] = None, has_primary_ip: Optional[bool] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, @@ -2689,10 +2936,24 @@ class DevicesEndpoint(Endpoint): last_updated__lt: Optional[str] = None, last_updated__lte: Optional[str] = None, last_updated__n: Optional[str] = None, + latitude: Optional[float] = None, + latitude__empty: Optional[bool] = None, + latitude__gt: Optional[float] = None, + latitude__gte: Optional[float] = None, + latitude__lt: Optional[float] = None, + latitude__lte: Optional[float] = None, + latitude__n: Optional[float] = None, limit: Optional[int] = None, local_context_data: Optional[bool] = None, location_id: Optional[int] = None, location_id__n: Optional[int] = None, + longitude: Optional[float] = None, + longitude__empty: Optional[bool] = None, + longitude__gt: Optional[float] = None, + longitude__gte: Optional[float] = None, + longitude__lt: Optional[float] = None, + longitude__lte: Optional[float] = None, + longitude__n: Optional[float] = None, mac_address: Optional[str] = None, mac_address__ic: Optional[str] = None, mac_address__ie: Optional[str] = None, @@ -2723,6 +2984,8 @@ class DevicesEndpoint(Endpoint): name__niew: Optional[str] = None, name__nisw: Optional[str] = None, offset: Optional[int] = None, + oob_ip_id: Optional[int] = None, + oob_ip_id__n: Optional[int] = None, ordering: Optional[str] = None, parent_device_id: Optional[int] = None, parent_device_id__n: Optional[int] = None, @@ -2842,6 +3105,17 @@ class DevicesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device_bays: Optional[bool] = None, device_type: Optional[str] = None, device_type__n: Optional[str] = None, @@ -2849,6 +3123,7 @@ class DevicesEndpoint(Endpoint): device_type_id__n: Optional[int] = None, face: Optional[str] = None, face__n: Optional[str] = None, + has_oob_ip: Optional[bool] = None, has_primary_ip: Optional[bool] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, @@ -2865,10 +3140,24 @@ class DevicesEndpoint(Endpoint): last_updated__lt: Optional[str] = None, last_updated__lte: Optional[str] = None, last_updated__n: Optional[str] = None, + latitude: Optional[float] = None, + latitude__empty: Optional[bool] = None, + latitude__gt: Optional[float] = None, + latitude__gte: Optional[float] = None, + latitude__lt: Optional[float] = None, + latitude__lte: Optional[float] = None, + latitude__n: Optional[float] = None, limit: Optional[int] = None, local_context_data: Optional[bool] = None, location_id: Optional[int] = None, location_id__n: Optional[int] = None, + longitude: Optional[float] = None, + longitude__empty: Optional[bool] = None, + longitude__gt: Optional[float] = None, + longitude__gte: Optional[float] = None, + longitude__lt: Optional[float] = None, + longitude__lte: Optional[float] = None, + longitude__n: Optional[float] = None, mac_address: Optional[str] = None, mac_address__ic: Optional[str] = None, mac_address__ie: Optional[str] = None, @@ -2899,6 +3188,8 @@ class DevicesEndpoint(Endpoint): name__niew: Optional[str] = None, name__nisw: Optional[str] = None, offset: Optional[int] = None, + oob_ip_id: Optional[int] = None, + oob_ip_id__n: Optional[int] = None, ordering: Optional[str] = None, parent_device_id: Optional[int] = None, parent_device_id__n: Optional[int] = None, @@ -2990,7 +3281,7 @@ class DevicesEndpoint(Endpoint): def create( self, device_type: int, - device_role: int, + role: int, site: int, name: Optional[str] = None, tenant: Optional[int] = None, @@ -3001,20 +3292,23 @@ class DevicesEndpoint(Endpoint): rack: Optional[int] = None, position: Optional[float] = None, face: Optional[str] = None, + latitude: Optional[float] = None, + longitude: Optional[float] = None, status: Optional[str] = None, airflow: Optional[str] = None, primary_ip4: Optional[int] = None, primary_ip6: Optional[int] = None, + oob_ip: Optional[int] = None, cluster: Optional[int] = None, virtual_chassis: Optional[int] = None, vc_position: Optional[int] = None, vc_priority: Optional[int] = None, description: Optional[str] = None, comments: Optional[str] = None, + config_template: Optional[int] = None, local_context_data: Optional[Any] = None, tags: Optional[List[Any]] = None, custom_fields: Optional[Any] = None, - config_template: Optional[int] = None, ) -> definitions.DeviceWithConfigContext: ... def create( self, *args: Dict[str, Any], **kwargs: Any @@ -3062,6 +3356,17 @@ class DevicesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device_bays: Optional[bool] = None, device_type: Optional[str] = None, device_type__n: Optional[str] = None, @@ -3069,6 +3374,7 @@ class DevicesEndpoint(Endpoint): device_type_id__n: Optional[int] = None, face: Optional[str] = None, face__n: Optional[str] = None, + has_oob_ip: Optional[bool] = None, has_primary_ip: Optional[bool] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, @@ -3085,10 +3391,24 @@ class DevicesEndpoint(Endpoint): last_updated__lt: Optional[str] = None, last_updated__lte: Optional[str] = None, last_updated__n: Optional[str] = None, + latitude: Optional[float] = None, + latitude__empty: Optional[bool] = None, + latitude__gt: Optional[float] = None, + latitude__gte: Optional[float] = None, + latitude__lt: Optional[float] = None, + latitude__lte: Optional[float] = None, + latitude__n: Optional[float] = None, limit: Optional[int] = None, local_context_data: Optional[bool] = None, location_id: Optional[int] = None, location_id__n: Optional[int] = None, + longitude: Optional[float] = None, + longitude__empty: Optional[bool] = None, + longitude__gt: Optional[float] = None, + longitude__gte: Optional[float] = None, + longitude__lt: Optional[float] = None, + longitude__lte: Optional[float] = None, + longitude__n: Optional[float] = None, mac_address: Optional[str] = None, mac_address__ic: Optional[str] = None, mac_address__ie: Optional[str] = None, @@ -3119,6 +3439,8 @@ class DevicesEndpoint(Endpoint): name__niew: Optional[str] = None, name__nisw: Optional[str] = None, offset: Optional[int] = None, + oob_ip_id: Optional[int] = None, + oob_ip_id__n: Optional[int] = None, ordering: Optional[str] = None, parent_device_id: Optional[int] = None, parent_device_id__n: Optional[int] = None, @@ -3229,6 +3551,17 @@ class Front_port_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -3289,6 +3622,17 @@ class Front_port_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -3376,6 +3720,17 @@ class Front_port_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -3522,6 +3877,10 @@ class Front_portsEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -3644,6 +4003,10 @@ class Front_portsEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -3792,6 +4155,10 @@ class Front_portsEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -3829,6 +4196,17 @@ class Interface_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, enabled: Optional[bool] = None, @@ -3868,6 +4246,8 @@ class Interface_templatesEndpoint(Endpoint): poe_type: Optional[str] = None, poe_type__n: Optional[str] = None, q: Optional[str] = None, + rf_role: Optional[str] = None, + rf_role__n: Optional[str] = None, type: Optional[str] = None, type__n: Optional[str] = None, updated_by_request: Optional[str] = None, @@ -3886,6 +4266,17 @@ class Interface_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, enabled: Optional[bool] = None, @@ -3925,6 +4316,8 @@ class Interface_templatesEndpoint(Endpoint): poe_type: Optional[str] = None, poe_type__n: Optional[str] = None, q: Optional[str] = None, + rf_role: Optional[str] = None, + rf_role__n: Optional[str] = None, type: Optional[str] = None, type__n: Optional[str] = None, updated_by_request: Optional[str] = None, @@ -3948,6 +4341,7 @@ class Interface_templatesEndpoint(Endpoint): bridge: Optional[int] = None, poe_mode: Optional[str] = None, poe_type: Optional[str] = None, + rf_role: Optional[str] = None, ) -> definitions.InterfaceTemplate: ... def create( self, *args: Dict[str, Any], **kwargs: Any @@ -3972,6 +4366,17 @@ class Interface_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, enabled: Optional[bool] = None, @@ -4011,6 +4416,8 @@ class Interface_templatesEndpoint(Endpoint): poe_type: Optional[str] = None, poe_type__n: Optional[str] = None, q: Optional[str] = None, + rf_role: Optional[str] = None, + rf_role__n: Optional[str] = None, type: Optional[str] = None, type__n: Optional[str] = None, updated_by_request: Optional[str] = None, @@ -4050,7 +4457,9 @@ class InterfacesEndpoint(Endpoint): description__niew: Optional[str] = None, description__nisw: Optional[str] = None, device: Optional[str] = None, + device__n: Optional[str] = None, device_id: Optional[int] = None, + device_id__n: Optional[int] = None, device_role: Optional[str] = None, device_role__n: Optional[str] = None, device_role_id: Optional[int] = None, @@ -4168,6 +4577,10 @@ class InterfacesEndpoint(Endpoint): rf_channel_width__n: Optional[float] = None, rf_role: Optional[str] = None, rf_role__n: Optional[str] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -4205,6 +4618,8 @@ class InterfacesEndpoint(Endpoint): virtual_chassis__n: Optional[str] = None, virtual_chassis_id: Optional[int] = None, virtual_chassis_id__n: Optional[int] = None, + virtual_chassis_member: Optional[str] = None, + virtual_chassis_member_id: Optional[int] = None, vlan: Optional[str] = None, vlan_id: Optional[str | int] = None, vrf: Optional[str] = None, @@ -4252,7 +4667,9 @@ class InterfacesEndpoint(Endpoint): description__niew: Optional[str] = None, description__nisw: Optional[str] = None, device: Optional[str] = None, + device__n: Optional[str] = None, device_id: Optional[int] = None, + device_id__n: Optional[int] = None, device_role: Optional[str] = None, device_role__n: Optional[str] = None, device_role_id: Optional[int] = None, @@ -4370,6 +4787,10 @@ class InterfacesEndpoint(Endpoint): rf_channel_width__n: Optional[float] = None, rf_role: Optional[str] = None, rf_role__n: Optional[str] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -4407,6 +4828,8 @@ class InterfacesEndpoint(Endpoint): virtual_chassis__n: Optional[str] = None, virtual_chassis_id: Optional[int] = None, virtual_chassis_id__n: Optional[int] = None, + virtual_chassis_member: Optional[str] = None, + virtual_chassis_member_id: Optional[int] = None, vlan: Optional[str] = None, vlan_id: Optional[str | int] = None, vrf: Optional[str] = None, @@ -4500,7 +4923,9 @@ class InterfacesEndpoint(Endpoint): description__niew: Optional[str] = None, description__nisw: Optional[str] = None, device: Optional[str] = None, + device__n: Optional[str] = None, device_id: Optional[int] = None, + device_id__n: Optional[int] = None, device_role: Optional[str] = None, device_role__n: Optional[str] = None, device_role_id: Optional[int] = None, @@ -4618,6 +5043,10 @@ class InterfacesEndpoint(Endpoint): rf_channel_width__n: Optional[float] = None, rf_role: Optional[str] = None, rf_role__n: Optional[str] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -4655,6 +5084,8 @@ class InterfacesEndpoint(Endpoint): virtual_chassis__n: Optional[str] = None, virtual_chassis_id: Optional[int] = None, virtual_chassis_id__n: Optional[int] = None, + virtual_chassis_member: Optional[str] = None, + virtual_chassis_member_id: Optional[int] = None, vlan: Optional[str] = None, vlan_id: Optional[str | int] = None, vrf: Optional[str] = None, @@ -4700,6 +5131,17 @@ class Inventory_item_rolesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -4767,6 +5209,17 @@ class Inventory_item_rolesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -4858,6 +5311,17 @@ class Inventory_item_rolesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -4928,6 +5392,17 @@ class Inventory_item_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -5014,6 +5489,17 @@ class Inventory_item_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -5128,6 +5614,17 @@ class Inventory_item_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -6245,6 +6742,17 @@ class Module_bay_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -6290,6 +6798,17 @@ class Module_bay_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -6358,6 +6877,17 @@ class Module_bay_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -6483,6 +7013,10 @@ class Module_baysEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -6586,6 +7120,10 @@ class Module_baysEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -6711,6 +7249,10 @@ class Module_baysEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -6746,6 +7288,17 @@ class Module_typesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -6821,6 +7374,17 @@ class Module_typesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -6919,6 +7483,17 @@ class Module_typesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -7006,6 +7581,17 @@ class ModulesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device_id: Optional[int] = None, device_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -7076,6 +7662,17 @@ class ModulesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device_id: Optional[int] = None, device_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -7170,6 +7767,17 @@ class ModulesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device_id: Optional[int] = None, device_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -7224,6 +7832,7 @@ class PlatformsEndpoint(Endpoint): def get( self, id: Optional[int] = None, + available_for_device_type: Optional[str] = None, config_template_id: Optional[int] = None, config_template_id__n: Optional[int] = None, created: Optional[str] = None, @@ -7275,17 +7884,6 @@ class PlatformsEndpoint(Endpoint): name__nie: Optional[str] = None, name__niew: Optional[str] = None, name__nisw: Optional[str] = None, - napalm_driver: Optional[str] = None, - napalm_driver__empty: Optional[bool] = None, - napalm_driver__ic: Optional[str] = None, - napalm_driver__ie: Optional[str] = None, - napalm_driver__iew: Optional[str] = None, - napalm_driver__isw: Optional[str] = None, - napalm_driver__n: Optional[str] = None, - napalm_driver__nic: Optional[str] = None, - napalm_driver__nie: Optional[str] = None, - napalm_driver__niew: Optional[str] = None, - napalm_driver__nisw: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, q: Optional[str] = None, @@ -7308,6 +7906,7 @@ class PlatformsEndpoint(Endpoint): def filter( self, id: Optional[int] = None, + available_for_device_type: Optional[str] = None, config_template_id: Optional[int] = None, config_template_id__n: Optional[int] = None, created: Optional[str] = None, @@ -7359,17 +7958,6 @@ class PlatformsEndpoint(Endpoint): name__nie: Optional[str] = None, name__niew: Optional[str] = None, name__nisw: Optional[str] = None, - napalm_driver: Optional[str] = None, - napalm_driver__empty: Optional[bool] = None, - napalm_driver__ic: Optional[str] = None, - napalm_driver__ie: Optional[str] = None, - napalm_driver__iew: Optional[str] = None, - napalm_driver__isw: Optional[str] = None, - napalm_driver__n: Optional[str] = None, - napalm_driver__nic: Optional[str] = None, - napalm_driver__nie: Optional[str] = None, - napalm_driver__niew: Optional[str] = None, - napalm_driver__nisw: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, q: Optional[str] = None, @@ -7398,8 +7986,6 @@ class PlatformsEndpoint(Endpoint): slug: str, manufacturer: Optional[int] = None, config_template: Optional[int] = None, - napalm_driver: Optional[str] = None, - napalm_args: Optional[Any] = None, description: Optional[str] = None, tags: Optional[List[Any]] = None, custom_fields: Optional[Any] = None, @@ -7415,6 +8001,7 @@ class PlatformsEndpoint(Endpoint): def count( self, id: Optional[int] = None, + available_for_device_type: Optional[str] = None, config_template_id: Optional[int] = None, config_template_id__n: Optional[int] = None, created: Optional[str] = None, @@ -7466,17 +8053,6 @@ class PlatformsEndpoint(Endpoint): name__nie: Optional[str] = None, name__niew: Optional[str] = None, name__nisw: Optional[str] = None, - napalm_driver: Optional[str] = None, - napalm_driver__empty: Optional[bool] = None, - napalm_driver__ic: Optional[str] = None, - napalm_driver__ie: Optional[str] = None, - napalm_driver__iew: Optional[str] = None, - napalm_driver__isw: Optional[str] = None, - napalm_driver__n: Optional[str] = None, - napalm_driver__nic: Optional[str] = None, - napalm_driver__nie: Optional[str] = None, - napalm_driver__niew: Optional[str] = None, - napalm_driver__nisw: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, q: Optional[str] = None, @@ -7523,6 +8099,17 @@ class Power_feedsEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -7584,6 +8171,14 @@ class Power_feedsEndpoint(Endpoint): supply__n: Optional[str] = None, tag: Optional[str] = None, tag__n: Optional[str] = None, + tenant: Optional[str] = None, + tenant__n: Optional[str] = None, + tenant_group: Optional[int] = None, + tenant_group__n: Optional[int] = None, + tenant_group_id: Optional[int] = None, + tenant_group_id__n: Optional[int] = None, + tenant_id: Optional[int] = None, + tenant_id__n: Optional[int] = None, type: Optional[str] = None, type__n: Optional[str] = None, updated_by_request: Optional[str] = None, @@ -7618,6 +8213,17 @@ class Power_feedsEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -7679,6 +8285,14 @@ class Power_feedsEndpoint(Endpoint): supply__n: Optional[str] = None, tag: Optional[str] = None, tag__n: Optional[str] = None, + tenant: Optional[str] = None, + tenant__n: Optional[str] = None, + tenant_group: Optional[int] = None, + tenant_group__n: Optional[int] = None, + tenant_group_id: Optional[int] = None, + tenant_group_id__n: Optional[int] = None, + tenant_id: Optional[int] = None, + tenant_id__n: Optional[int] = None, type: Optional[str] = None, type__n: Optional[str] = None, updated_by_request: Optional[str] = None, @@ -7708,6 +8322,7 @@ class Power_feedsEndpoint(Endpoint): max_utilization: Optional[int] = None, mark_connected: Optional[bool] = None, description: Optional[str] = None, + tenant: Optional[int] = None, comments: Optional[str] = None, tags: Optional[List[Any]] = None, custom_fields: Optional[Any] = None, @@ -7742,6 +8357,17 @@ class Power_feedsEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -7803,6 +8429,14 @@ class Power_feedsEndpoint(Endpoint): supply__n: Optional[str] = None, tag: Optional[str] = None, tag__n: Optional[str] = None, + tenant: Optional[str] = None, + tenant__n: Optional[str] = None, + tenant_group: Optional[int] = None, + tenant_group__n: Optional[int] = None, + tenant_group_id: Optional[int] = None, + tenant_group_id__n: Optional[int] = None, + tenant_id: Optional[int] = None, + tenant_id__n: Optional[int] = None, type: Optional[str] = None, type__n: Optional[str] = None, updated_by_request: Optional[str] = None, @@ -7831,6 +8465,17 @@ class Power_outlet_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, feed_leg: Optional[str] = None, @@ -7882,6 +8527,17 @@ class Power_outlet_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, feed_leg: Optional[str] = None, @@ -7959,6 +8615,17 @@ class Power_outlet_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, feed_leg: Optional[str] = None, @@ -8099,6 +8766,10 @@ class Power_outletsEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -8213,6 +8884,10 @@ class Power_outletsEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -8352,6 +9027,10 @@ class Power_outletsEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -8393,6 +9072,17 @@ class Power_panelsEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -8458,6 +9148,17 @@ class Power_panelsEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -8544,6 +9245,17 @@ class Power_panelsEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -8615,6 +9327,17 @@ class Power_port_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -8678,6 +9401,17 @@ class Power_port_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -8767,6 +9501,17 @@ class Power_port_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -8924,6 +9669,10 @@ class Power_portsEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -9050,6 +9799,10 @@ class Power_portsEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -9201,6 +9954,10 @@ class Power_portsEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -9763,6 +10520,17 @@ class RacksEndpoint(Endpoint): created__n: Optional[str] = None, created_by_request: Optional[str] = None, desc_units: Optional[bool] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, facility_id: Optional[str | int] = None, facility_id__empty: Optional[bool] = None, facility_id__ic: Optional[str] = None, @@ -9864,6 +10632,13 @@ class RacksEndpoint(Endpoint): site_group_id__n: Optional[int] = None, site_id: Optional[int] = None, site_id__n: Optional[int] = None, + starting_unit: Optional[int] = None, + starting_unit__empty: Optional[bool] = None, + starting_unit__gt: Optional[int] = None, + starting_unit__gte: Optional[int] = None, + starting_unit__lt: Optional[int] = None, + starting_unit__lte: Optional[int] = None, + starting_unit__n: Optional[int] = None, status: Optional[str] = None, status__n: Optional[str] = None, tag: Optional[str] = None, @@ -9928,6 +10703,17 @@ class RacksEndpoint(Endpoint): created__n: Optional[str] = None, created_by_request: Optional[str] = None, desc_units: Optional[bool] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, facility_id: Optional[str | int] = None, facility_id__empty: Optional[bool] = None, facility_id__ic: Optional[str] = None, @@ -10029,6 +10815,13 @@ class RacksEndpoint(Endpoint): site_group_id__n: Optional[int] = None, site_id: Optional[int] = None, site_id__n: Optional[int] = None, + starting_unit: Optional[int] = None, + starting_unit__empty: Optional[bool] = None, + starting_unit__gt: Optional[int] = None, + starting_unit__gte: Optional[int] = None, + starting_unit__lt: Optional[int] = None, + starting_unit__lte: Optional[int] = None, + starting_unit__n: Optional[int] = None, status: Optional[str] = None, status__n: Optional[str] = None, tag: Optional[str] = None, @@ -10081,6 +10874,7 @@ class RacksEndpoint(Endpoint): type: Optional[str] = None, width: Optional[int] = None, u_height: Optional[int] = None, + starting_unit: Optional[int] = None, weight: Optional[float] = None, max_weight: Optional[int] = None, weight_unit: Optional[str] = None, @@ -10131,6 +10925,17 @@ class RacksEndpoint(Endpoint): created__n: Optional[str] = None, created_by_request: Optional[str] = None, desc_units: Optional[bool] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, facility_id: Optional[str | int] = None, facility_id__empty: Optional[bool] = None, facility_id__ic: Optional[str] = None, @@ -10232,6 +11037,13 @@ class RacksEndpoint(Endpoint): site_group_id__n: Optional[int] = None, site_id: Optional[int] = None, site_id__n: Optional[int] = None, + starting_unit: Optional[int] = None, + starting_unit__empty: Optional[bool] = None, + starting_unit__gt: Optional[int] = None, + starting_unit__gte: Optional[int] = None, + starting_unit__lt: Optional[int] = None, + starting_unit__lte: Optional[int] = None, + starting_unit__n: Optional[int] = None, status: Optional[str] = None, status__n: Optional[str] = None, tag: Optional[str] = None, @@ -10294,6 +11106,17 @@ class Rear_port_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -10361,6 +11184,17 @@ class Rear_port_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -10454,6 +11288,17 @@ class Rear_port_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, devicetype_id: Optional[int] = None, devicetype_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -10612,6 +11457,10 @@ class Rear_portsEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -10741,6 +11590,10 @@ class Rear_portsEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -10895,6 +11748,10 @@ class Rear_portsEndpoint(Endpoint): region__n: Optional[int] = None, region_id: Optional[int] = None, region_id__n: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, site: Optional[str] = None, site__n: Optional[str] = None, site_group: Optional[int] = None, @@ -11834,6 +12691,17 @@ class Virtual_chassisEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, domain: Optional[str] = None, domain__empty: Optional[bool] = None, domain__ic: Optional[str] = None, @@ -11910,6 +12778,17 @@ class Virtual_chassisEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, domain: Optional[str] = None, domain__empty: Optional[bool] = None, domain__ic: Optional[str] = None, @@ -12009,6 +12888,17 @@ class Virtual_chassisEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, domain: Optional[str] = None, domain__empty: Optional[bool] = None, domain__ic: Optional[str] = None, @@ -12090,6 +12980,17 @@ class Virtual_device_contextsEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device: Optional[int] = None, device__n: Optional[int] = None, device_id: Optional[int] = None, @@ -12123,6 +13024,10 @@ class Virtual_device_contextsEndpoint(Endpoint): name__nisw: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, + primary_ip4_id: Optional[int] = None, + primary_ip4_id__n: Optional[int] = None, + primary_ip6_id: Optional[int] = None, + primary_ip6_id__n: Optional[int] = None, q: Optional[str] = None, status: Optional[str] = None, status__n: Optional[str] = None, @@ -12150,6 +13055,17 @@ class Virtual_device_contextsEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device: Optional[int] = None, device__n: Optional[int] = None, device_id: Optional[int] = None, @@ -12183,6 +13099,10 @@ class Virtual_device_contextsEndpoint(Endpoint): name__nisw: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, + primary_ip4_id: Optional[int] = None, + primary_ip4_id__n: Optional[int] = None, + primary_ip6_id: Optional[int] = None, + primary_ip6_id__n: Optional[int] = None, q: Optional[str] = None, status: Optional[str] = None, status__n: Optional[str] = None, @@ -12239,6 +13159,17 @@ class Virtual_device_contextsEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device: Optional[int] = None, device__n: Optional[int] = None, device_id: Optional[int] = None, @@ -12272,6 +13203,10 @@ class Virtual_device_contextsEndpoint(Endpoint): name__nisw: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, + primary_ip4_id: Optional[int] = None, + primary_ip4_id__n: Optional[int] = None, + primary_ip6_id: Optional[int] = None, + primary_ip6_id__n: Optional[int] = None, q: Optional[str] = None, status: Optional[str] = None, status__n: Optional[str] = None, @@ -12296,9 +13231,9 @@ class DcimApp(App): self.connected_device: Connected_deviceEndpoint = ... self.console_port_templates: Console_port_templatesEndpoint = ... self.console_ports: Console_portsEndpoint = ... - self.console_server_port_templates: Console_server_port_templatesEndpoint = ( - ... - ) + self.console_server_port_templates: ( + Console_server_port_templatesEndpoint + ) = ... self.console_server_ports: Console_server_portsEndpoint = ... self.device_bay_templates: Device_bay_templatesEndpoint = ... self.device_bays: Device_baysEndpoint = ... diff --git a/pynetbox-stubs/_gen/definitions.pyi b/pynetbox-stubs/_gen/definitions.pyi index ddad45a..411ec07 100644 --- a/pynetbox-stubs/_gen/definitions.pyi +++ b/pynetbox-stubs/_gen/definitions.pyi @@ -12,8 +12,8 @@ class ASN(Record): self.url: str self.display: str self.asn: int - self.rir: 'RIR' - self.tenant: 'Tenant' + self.rir: Any + self.tenant: Any self.description: str self.comments: str self.tags: List[Any] @@ -30,10 +30,10 @@ class ASNRange(Record): self.display: str self.name: str self.slug: str - self.rir: 'RIR' + self.rir: Any self.start: int self.end: int - self.tenant: 'Tenant' + self.tenant: Any self.description: str self.tags: List[Any] self.custom_fields: Any @@ -45,10 +45,10 @@ class ASNRangeRequest(Record): def __init__(self): self.name: str self.slug: str - self.rir: 'RIRRequest' + self.rir: Any self.start: int self.end: int - self.tenant: 'TenantRequest' + self.tenant: Any self.description: str self.tags: List[Any] self.custom_fields: Any @@ -56,8 +56,8 @@ class ASNRangeRequest(Record): class ASNRequest(Record): def __init__(self): self.asn: int - self.rir: 'RIRRequest' - self.tenant: 'TenantRequest' + self.rir: Any + self.tenant: Any self.description: str self.comments: str self.tags: List[Any] @@ -70,8 +70,8 @@ class Aggregate(Record): self.display: str self.family: Any self.prefix: str - self.rir: 'RIR' - self.tenant: 'Tenant' + self.rir: Any + self.tenant: Any self.date_added: str self.description: str self.comments: str @@ -83,8 +83,8 @@ class Aggregate(Record): class AggregateRequest(Record): def __init__(self): self.prefix: str - self.rir: 'RIRRequest' - self.tenant: 'TenantRequest' + self.rir: Any + self.tenant: Any self.date_added: str self.description: str self.comments: str @@ -94,47 +94,43 @@ class AggregateRequest(Record): class AvailableASN(Record): def __init__(self): self.asn: int + self.description: str class AvailableIP(Record): def __init__(self): self.family: int self.address: str - self.vrf: 'VRF' + self.vrf: Any + self.description: str class AvailablePrefix(Record): def __init__(self): self.family: int self.prefix: str - self.vrf: 'VRF' + self.vrf: Any class AvailableVLAN(Record): def __init__(self): self.vid: int - self.group: 'VLANGroup' + self.group: Any class BGPPeerGroup(Record): def __init__(self): self.id: int - self.tags: List[Any] - self.custom_fields: Any self.display: str - self.import_policies: List[Any] - self.export_policies: List[Any] - self.created: str - self.last_updated: str - self.custom_field_data: Any self.name: str self.description: str + self.import_policies: List[Any] + self.export_policies: List[Any] + self.comments: str class BGPPeerGroupRequest(Record): def __init__(self): - self.tags: List[Any] - self.custom_fields: Any - self.import_policies: List[Any] - self.export_policies: List[Any] - self.custom_field_data: Any self.name: str self.description: str + self.import_policies: List[Any] + self.export_policies: List[Any] + self.comments: str class BGPSession(Record): def __init__(self): @@ -143,20 +139,40 @@ class BGPSession(Record): self.custom_fields: Any self.display: str self.status: Any - self.site: 'Site' - self.tenant: 'Tenant' - self.device: 'Device' - self.local_address: 'IPAddress' - self.remote_address: 'IPAddress' - self.local_as: 'ASN' - self.remote_as: 'ASN' - self.peer_group: 'BGPPeerGroup' + self.site: Any + self.tenant: Any + self.device: Any + self.local_address: Any + self.remote_address: Any + self.local_as: Any + self.remote_as: Any + self.peer_group: Any self.import_policies: List[Any] self.export_policies: List[Any] + self.prefix_list_in: Any + self.prefix_list_out: Any self.created: str self.last_updated: str self.name: str self.description: str + self.comments: str + +class Bookmark(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.object_type: str + self.object_id: int + self.object: Any + self.user: Any + self.created: str + +class BookmarkRequest(Record): + def __init__(self): + self.object_type: str + self.object_id: int + self.user: Any class Cable(Record): def __init__(self): @@ -167,7 +183,7 @@ class Cable(Record): self.a_terminations: List[Any] self.b_terminations: List[Any] self.status: Any - self.tenant: 'Tenant' + self.tenant: Any self.label: str self.color: str self.length: float @@ -185,7 +201,7 @@ class CableRequest(Record): self.a_terminations: List[Any] self.b_terminations: List[Any] self.status: str - self.tenant: 'TenantRequest' + self.tenant: Any self.label: str self.color: str self.length: float @@ -221,17 +237,17 @@ class Circuit(Record): self.url: str self.display: str self.cid: str - self.provider: 'Provider' - self.provider_account: 'ProviderAccount' - self.type: 'CircuitType' + self.provider: Any + self.provider_account: Any + self.type: Any self.status: Any - self.tenant: 'Tenant' + self.tenant: Any self.install_date: str self.termination_date: str self.commit_rate: int self.description: str - self.termination_a: 'CircuitCircuitTermination' - self.termination_z: 'CircuitCircuitTermination' + self.termination_a: Any + self.termination_z: Any self.comments: str self.tags: List[Any] self.custom_fields: Any @@ -243,8 +259,8 @@ class CircuitCircuitTermination(Record): self.id: int self.url: str self.display: str - self.site: 'Site' - self.provider_network: 'ProviderNetwork' + self.site: Any + self.provider_network: Any self.port_speed: int self.upstream_speed: int self.xconnect_id: str @@ -252,8 +268,8 @@ class CircuitCircuitTermination(Record): class CircuitCircuitTerminationRequest(Record): def __init__(self): - self.site: 'SiteRequest' - self.provider_network: 'ProviderNetworkRequest' + self.site: Any + self.provider_network: Any self.port_speed: int self.upstream_speed: int self.xconnect_id: str @@ -262,11 +278,11 @@ class CircuitCircuitTerminationRequest(Record): class CircuitRequest(Record): def __init__(self): self.cid: str - self.provider: 'ProviderRequest' - self.provider_account: 'ProviderAccountRequest' - self.type: 'CircuitTypeRequest' + self.provider: Any + self.provider_account: Any + self.type: Any self.status: str - self.tenant: 'TenantRequest' + self.tenant: Any self.install_date: str self.termination_date: str self.commit_rate: int @@ -280,17 +296,17 @@ class CircuitTermination(Record): self.id: int self.url: str self.display: str - self.circuit: 'Circuit' + self.circuit: Any self.term_side: str - self.site: 'Site' - self.provider_network: 'ProviderNetwork' + self.site: Any + self.provider_network: Any self.port_speed: int self.upstream_speed: int self.xconnect_id: str self.pp_info: str self.description: str self.mark_connected: bool - self.cable: 'Cable' + self.cable: Any self.cable_end: str self.link_peers: List[Any] self.link_peers_type: str @@ -302,10 +318,10 @@ class CircuitTermination(Record): class CircuitTerminationRequest(Record): def __init__(self): - self.circuit: 'CircuitRequest' + self.circuit: Any self.term_side: str - self.site: 'SiteRequest' - self.provider_network: 'ProviderNetworkRequest' + self.site: Any + self.provider_network: Any self.port_speed: int self.upstream_speed: int self.xconnect_id: str @@ -322,6 +338,7 @@ class CircuitType(Record): self.display: str self.name: str self.slug: str + self.color: str self.description: str self.tags: List[Any] self.custom_fields: Any @@ -333,6 +350,7 @@ class CircuitTypeRequest(Record): def __init__(self): self.name: str self.slug: str + self.color: str self.description: str self.tags: List[Any] self.custom_fields: Any @@ -343,11 +361,11 @@ class Cluster(Record): self.url: str self.display: str self.name: str - self.type: 'ClusterType' - self.group: 'ClusterGroup' + self.type: Any + self.group: Any self.status: Any - self.tenant: 'Tenant' - self.site: 'Site' + self.tenant: Any + self.site: Any self.description: str self.comments: str self.tags: List[Any] @@ -382,11 +400,11 @@ class ClusterGroupRequest(Record): class ClusterRequest(Record): def __init__(self): self.name: str - self.type: 'ClusterTypeRequest' - self.group: 'ClusterGroupRequest' + self.type: Any + self.group: Any self.status: str - self.tenant: 'TenantRequest' - self.site: 'SiteRequest' + self.tenant: Any + self.site: Any self.description: str self.comments: str self.tags: List[Any] @@ -421,13 +439,45 @@ class Community(Record): self.custom_fields: Any self.display: str self.status: Any - self.tenant: 'Tenant' + self.tenant: Any self.created: str self.last_updated: str self.description: str self.value: str self.site: int self.role: int + self.comments: str + +class CommunityList(Record): + def __init__(self): + self.id: int + self.name: str + self.display: str + self.description: str + self.tags: List[Any] + self.custom_fields: Any + self.comments: str + +class CommunityListRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.tags: List[Any] + self.custom_fields: Any + self.comments: str + +class CommunityListRule(Record): + def __init__(self): + self.id: int + self.tags: List[Any] + self.custom_fields: Any + self.display: str + self.community_list: Any + self.created: str + self.last_updated: str + self.action: str + self.community: Any + self.comments: str class ComponentNestedModule(Record): def __init__(self): @@ -435,7 +485,7 @@ class ComponentNestedModule(Record): self.url: str self.display: str self.device: int - self.module_bay: 'ModuleNestedModuleBay' + self.module_bay: Any class ComponentNestedModuleRequest(Record): def __init__(self): @@ -463,9 +513,9 @@ class ConfigContext(Record): self.tenant_groups: List[Any] self.tenants: List[Any] self.tags: List[Any] - self.data_source: 'DataSource' + self.data_source: Any self.data_path: str - self.data_file: 'DataFile' + self.data_file: Any self.data_synced: str self.data: Any self.created: str @@ -490,7 +540,7 @@ class ConfigContextRequest(Record): self.tenant_groups: List[Any] self.tenants: List[Any] self.tags: List[Any] - self.data_source: 'DataSourceRequest' + self.data_source: Any self.data: Any class ConfigTemplate(Record): @@ -502,9 +552,9 @@ class ConfigTemplate(Record): self.description: str self.environment_params: Any self.template_code: str - self.data_source: 'DataSource' + self.data_source: Any self.data_path: str - self.data_file: 'DataFile' + self.data_file: Any self.data_synced: str self.tags: List[Any] self.created: str @@ -516,7 +566,7 @@ class ConfigTemplateRequest(Record): self.description: str self.environment_params: Any self.template_code: str - self.data_source: 'DataSourceRequest' + self.data_source: Any self.tags: List[Any] class ConsolePort(Record): @@ -524,15 +574,15 @@ class ConsolePort(Record): self.id: int self.url: str self.display: str - self.device: 'Device' - self.module: 'ComponentNestedModule' + self.device: Any + self.module: Any self.name: str self.label: str self.type: Any self.speed: Any self.description: str self.mark_connected: bool - self.cable: 'Cable' + self.cable: Any self.cable_end: str self.link_peers: List[Any] self.link_peers_type: str @@ -547,8 +597,8 @@ class ConsolePort(Record): class ConsolePortRequest(Record): def __init__(self): - self.device: 'DeviceRequest' - self.module: 'ComponentNestedModuleRequest' + self.device: Any + self.module: Any self.name: str self.label: str self.type: str @@ -563,8 +613,8 @@ class ConsolePortTemplate(Record): self.id: int self.url: str self.display: str - self.device_type: 'DeviceType' - self.module_type: 'ModuleType' + self.device_type: Any + self.module_type: Any self.name: str self.label: str self.type: Any @@ -574,8 +624,8 @@ class ConsolePortTemplate(Record): class ConsolePortTemplateRequest(Record): def __init__(self): - self.device_type: 'DeviceTypeRequest' - self.module_type: 'ModuleTypeRequest' + self.device_type: Any + self.module_type: Any self.name: str self.label: str self.type: str @@ -586,15 +636,15 @@ class ConsoleServerPort(Record): self.id: int self.url: str self.display: str - self.device: 'Device' - self.module: 'ComponentNestedModule' + self.device: Any + self.module: Any self.name: str self.label: str self.type: Any self.speed: Any self.description: str self.mark_connected: bool - self.cable: 'Cable' + self.cable: Any self.cable_end: str self.link_peers: List[Any] self.link_peers_type: str @@ -609,8 +659,8 @@ class ConsoleServerPort(Record): class ConsoleServerPortRequest(Record): def __init__(self): - self.device: 'DeviceRequest' - self.module: 'ComponentNestedModuleRequest' + self.device: Any + self.module: Any self.name: str self.label: str self.type: str @@ -625,8 +675,8 @@ class ConsoleServerPortTemplate(Record): self.id: int self.url: str self.display: str - self.device_type: 'DeviceType' - self.module_type: 'ModuleType' + self.device_type: Any + self.module_type: Any self.name: str self.label: str self.type: Any @@ -636,8 +686,8 @@ class ConsoleServerPortTemplate(Record): class ConsoleServerPortTemplateRequest(Record): def __init__(self): - self.device_type: 'DeviceTypeRequest' - self.module_type: 'ModuleTypeRequest' + self.device_type: Any + self.module_type: Any self.name: str self.label: str self.type: str @@ -648,7 +698,7 @@ class Contact(Record): self.id: int self.url: str self.display: str - self.group: 'ContactGroup' + self.group: Any self.name: str self.title: str self.phone: str @@ -670,9 +720,11 @@ class ContactAssignment(Record): self.content_type: str self.object_id: int self.object: Any - self.contact: 'Contact' - self.role: 'ContactRole' + self.contact: Any + self.role: Any self.priority: Any + self.tags: List[Any] + self.custom_fields: Any self.created: str self.last_updated: str @@ -680,9 +732,11 @@ class ContactAssignmentRequest(Record): def __init__(self): self.content_type: str self.object_id: int - self.contact: 'ContactRequest' - self.role: 'ContactRoleRequest' + self.contact: Any + self.role: Any self.priority: str + self.tags: List[Any] + self.custom_fields: Any class ContactGroup(Record): def __init__(self): @@ -691,7 +745,7 @@ class ContactGroup(Record): self.display: str self.name: str self.slug: str - self.parent: 'ContactGroup' + self.parent: Any self.description: str self.tags: List[Any] self.custom_fields: Any @@ -704,14 +758,14 @@ class ContactGroupRequest(Record): def __init__(self): self.name: str self.slug: str - self.parent: 'ContactGroupRequest' + self.parent: Any self.description: str self.tags: List[Any] self.custom_fields: Any class ContactRequest(Record): def __init__(self): - self.group: 'ContactGroupRequest' + self.group: Any self.name: str self.title: str self.phone: str @@ -768,17 +822,40 @@ class CustomField(Record): self.required: bool self.search_weight: int self.filter_logic: Any - self.ui_visibility: Any + self.ui_visible: Any + self.ui_editable: Any self.is_cloneable: bool self.default: Any self.weight: int self.validation_minimum: int self.validation_maximum: int self.validation_regex: str - self.choices: List[Any] + self.choice_set: Any + self.created: str + self.last_updated: str + +class CustomFieldChoiceSet(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.name: str + self.description: str + self.base_choices: Any + self.extra_choices: List[Any] + self.order_alphabetically: bool + self.choices_count: str self.created: str self.last_updated: str +class CustomFieldChoiceSetRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.base_choices: str + self.extra_choices: List[Any] + self.order_alphabetically: bool + class CustomFieldRequest(Record): def __init__(self): self.content_types: List[Any] @@ -791,14 +868,15 @@ class CustomFieldRequest(Record): self.required: bool self.search_weight: int self.filter_logic: str - self.ui_visibility: str + self.ui_visible: str + self.ui_editable: str self.is_cloneable: bool self.default: Any self.weight: int self.validation_minimum: int self.validation_maximum: int self.validation_regex: str - self.choices: List[Any] + self.choice_set: Any class CustomLink(Record): def __init__(self): @@ -844,7 +922,7 @@ class DataFile(Record): self.id: int self.url: str self.display: str - self.source: 'DataSource' + self.source: Any self.path: str self.last_updated: str self.size: int @@ -864,6 +942,7 @@ class DataSource(Record): self.comments: str self.parameters: Any self.ignore_rules: str + self.custom_fields: Any self.created: str self.last_updated: str self.file_count: int @@ -871,13 +950,14 @@ class DataSource(Record): class DataSourceRequest(Record): def __init__(self): self.name: str - self.type: str + self.type: Any self.source_url: str self.enabled: bool self.description: str self.comments: str self.parameters: Any self.ignore_rules: str + self.custom_fields: Any class Device(Record): def __init__(self): @@ -885,46 +965,60 @@ class Device(Record): self.url: str self.display: str self.name: str - self.device_type: 'DeviceType' - self.device_role: 'DeviceRole' - self.tenant: 'Tenant' - self.platform: 'Platform' + self.device_type: Any + self.role: Any + self.device_role: Any + self.tenant: Any + self.platform: Any self.serial: str self.asset_tag: str - self.site: 'Site' - self.location: 'Location' - self.rack: 'Rack' + self.site: Any + self.location: Any + self.rack: Any self.position: float self.face: Any - self.parent_device: 'Device' + self.latitude: float + self.longitude: float + self.parent_device: Any self.status: Any self.airflow: Any - self.primary_ip: 'IPAddress' - self.primary_ip4: 'IPAddress' - self.primary_ip6: 'IPAddress' - self.cluster: 'Cluster' - self.virtual_chassis: 'VirtualChassis' + self.primary_ip: Any + self.primary_ip4: Any + self.primary_ip6: Any + self.oob_ip: Any + self.cluster: Any + self.virtual_chassis: Any self.vc_position: int self.vc_priority: int self.description: str self.comments: str - self.config_template: 'ConfigTemplate' + self.config_template: Any self.local_context_data: Any self.tags: List[Any] self.custom_fields: Any self.created: str self.last_updated: str + self.console_port_count: int + self.console_server_port_count: int + self.power_port_count: int + self.power_outlet_count: int + self.interface_count: int + self.front_port_count: int + self.rear_port_count: int + self.device_bay_count: int + self.module_bay_count: int + self.inventory_item_count: int class DeviceBay(Record): def __init__(self): self.id: int self.url: str self.display: str - self.device: 'Device' + self.device: Any self.name: str self.label: str self.description: str - self.installed_device: 'Device' + self.installed_device: Any self.tags: List[Any] self.custom_fields: Any self.created: str @@ -932,11 +1026,11 @@ class DeviceBay(Record): class DeviceBayRequest(Record): def __init__(self): - self.device: 'DeviceRequest' + self.device: Any self.name: str self.label: str self.description: str - self.installed_device: 'DeviceRequest' + self.installed_device: Any self.tags: List[Any] self.custom_fields: Any @@ -945,7 +1039,7 @@ class DeviceBayTemplate(Record): self.id: int self.url: str self.display: str - self.device_type: 'DeviceType' + self.device_type: Any self.name: str self.label: str self.description: str @@ -954,7 +1048,7 @@ class DeviceBayTemplate(Record): class DeviceBayTemplateRequest(Record): def __init__(self): - self.device_type: 'DeviceTypeRequest' + self.device_type: Any self.name: str self.label: str self.description: str @@ -968,7 +1062,7 @@ class DeviceRole(Record): self.slug: str self.color: str self.vm_role: bool - self.config_template: 'ConfigTemplate' + self.config_template: Any self.description: str self.tags: List[Any] self.custom_fields: Any @@ -983,7 +1077,7 @@ class DeviceRoleRequest(Record): self.slug: str self.color: str self.vm_role: bool - self.config_template: 'ConfigTemplateRequest' + self.config_template: Any self.description: str self.tags: List[Any] self.custom_fields: Any @@ -993,12 +1087,13 @@ class DeviceType(Record): self.id: int self.url: str self.display: str - self.manufacturer: 'Manufacturer' - self.default_platform: 'Platform' + self.manufacturer: Any + self.default_platform: Any self.model: str self.slug: str self.part_number: str self.u_height: float + self.exclude_from_utilization: bool self.is_full_depth: bool self.subdevice_role: Any self.airflow: Any @@ -1013,15 +1108,26 @@ class DeviceType(Record): self.created: str self.last_updated: str self.device_count: int + self.console_port_template_count: int + self.console_server_port_template_count: int + self.power_port_template_count: int + self.power_outlet_template_count: int + self.interface_template_count: int + self.front_port_template_count: int + self.rear_port_template_count: int + self.device_bay_template_count: int + self.module_bay_template_count: int + self.inventory_item_template_count: int class DeviceTypeRequest(Record): def __init__(self): - self.manufacturer: 'ManufacturerRequest' - self.default_platform: 'PlatformRequest' + self.manufacturer: Any + self.default_platform: Any self.model: str self.slug: str self.part_number: str self.u_height: float + self.exclude_from_utilization: bool self.is_full_depth: bool self.subdevice_role: str self.airflow: str @@ -1040,65 +1146,124 @@ class DeviceWithConfigContext(Record): self.url: str self.display: str self.name: str - self.device_type: 'DeviceType' - self.device_role: 'DeviceRole' - self.tenant: 'Tenant' - self.platform: 'Platform' + self.device_type: Any + self.role: Any + self.device_role: Any + self.tenant: Any + self.platform: Any self.serial: str self.asset_tag: str - self.site: 'Site' - self.location: 'Location' - self.rack: 'Rack' + self.site: Any + self.location: Any + self.rack: Any self.position: float self.face: Any - self.parent_device: 'Device' + self.latitude: float + self.longitude: float + self.parent_device: Any self.status: Any self.airflow: Any - self.primary_ip: 'IPAddress' - self.primary_ip4: 'IPAddress' - self.primary_ip6: 'IPAddress' - self.cluster: 'Cluster' - self.virtual_chassis: 'VirtualChassis' + self.primary_ip: Any + self.primary_ip4: Any + self.primary_ip6: Any + self.oob_ip: Any + self.cluster: Any + self.virtual_chassis: Any self.vc_position: int self.vc_priority: int self.description: str self.comments: str + self.config_template: Any + self.config_context: Any self.local_context_data: Any self.tags: List[Any] self.custom_fields: Any - self.config_context: Any - self.config_template: 'ConfigTemplate' self.created: str self.last_updated: str + self.console_port_count: int + self.console_server_port_count: int + self.power_port_count: int + self.power_outlet_count: int + self.interface_count: int + self.front_port_count: int + self.rear_port_count: int + self.device_bay_count: int + self.module_bay_count: int + self.inventory_item_count: int class DeviceWithConfigContextRequest(Record): def __init__(self): self.name: str - self.device_type: 'DeviceTypeRequest' - self.device_role: 'DeviceRoleRequest' - self.tenant: 'TenantRequest' - self.platform: 'PlatformRequest' + self.device_type: Any + self.role: Any + self.tenant: Any + self.platform: Any self.serial: str self.asset_tag: str - self.site: 'SiteRequest' - self.location: 'LocationRequest' - self.rack: 'RackRequest' + self.site: Any + self.location: Any + self.rack: Any self.position: float self.face: str + self.latitude: float + self.longitude: float self.status: str self.airflow: str - self.primary_ip4: 'IPAddressRequest' - self.primary_ip6: 'IPAddressRequest' - self.cluster: 'ClusterRequest' - self.virtual_chassis: 'VirtualChassisRequest' + self.primary_ip4: Any + self.primary_ip6: Any + self.oob_ip: Any + self.cluster: Any + self.virtual_chassis: Any self.vc_position: int self.vc_priority: int self.description: str self.comments: str + self.config_template: Any self.local_context_data: Any self.tags: List[Any] self.custom_fields: Any - self.config_template: 'ConfigTemplateRequest' + +class EventRule(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.content_types: List[Any] + self.name: str + self.type_create: bool + self.type_update: bool + self.type_delete: bool + self.type_job_start: bool + self.type_job_end: bool + self.enabled: bool + self.conditions: Any + self.action_type: Any + self.action_object_type: str + self.action_object_id: int + self.action_object: Any + self.description: str + self.custom_fields: Any + self.tags: List[Any] + self.created: str + self.last_updated: str + +class EventRuleRequest(Record): + def __init__(self): + self.content_types: List[Any] + self.name: str + self.type_create: bool + self.type_update: bool + self.type_delete: bool + self.type_job_start: bool + self.type_job_end: bool + self.enabled: bool + self.conditions: Any + self.action_type: str + self.action_object_type: str + self.action_object_id: int + self.description: str + self.custom_fields: Any + self.tags: List[Any] class ExportTemplate(Record): def __init__(self): @@ -1112,9 +1277,9 @@ class ExportTemplate(Record): self.mime_type: str self.file_extension: str self.as_attachment: bool - self.data_source: 'DataSource' + self.data_source: Any self.data_path: str - self.data_file: 'DataFile' + self.data_file: Any self.data_synced: str self.created: str self.last_updated: str @@ -1128,7 +1293,7 @@ class ExportTemplateRequest(Record): self.mime_type: str self.file_extension: str self.as_attachment: bool - self.data_source: 'DataSourceRequest' + self.data_source: Any class FHRPGroup(Record): def __init__(self): @@ -1153,7 +1318,7 @@ class FHRPGroupAssignment(Record): self.id: int self.url: str self.display: str - self.group: 'FHRPGroup' + self.group: Any self.interface_type: str self.interface_id: int self.interface: Any @@ -1163,7 +1328,7 @@ class FHRPGroupAssignment(Record): class FHRPGroupAssignmentRequest(Record): def __init__(self): - self.group: 'FHRPGroupRequest' + self.group: Any self.interface_type: str self.interface_id: int self.priority: int @@ -1185,17 +1350,17 @@ class FrontPort(Record): self.id: int self.url: str self.display: str - self.device: 'Device' - self.module: 'ComponentNestedModule' + self.device: Any + self.module: Any self.name: str self.label: str self.type: Any self.color: str - self.rear_port: 'FrontPortRearPort' + self.rear_port: Any self.rear_port_position: int self.description: str self.mark_connected: bool - self.cable: 'Cable' + self.cable: Any self.cable_end: str self.link_peers: List[Any] self.link_peers_type: str @@ -1222,13 +1387,13 @@ class FrontPortRearPortRequest(Record): class FrontPortRequest(Record): def __init__(self): - self.device: 'DeviceRequest' - self.module: 'ComponentNestedModuleRequest' + self.device: Any + self.module: Any self.name: str self.label: str self.type: str self.color: str - self.rear_port: 'FrontPortRearPortRequest' + self.rear_port: Any self.rear_port_position: int self.description: str self.mark_connected: bool @@ -1240,13 +1405,13 @@ class FrontPortTemplate(Record): self.id: int self.url: str self.display: str - self.device_type: 'DeviceType' - self.module_type: 'ModuleType' + self.device_type: Any + self.module_type: Any self.name: str self.label: str self.type: Any self.color: str - self.rear_port: 'RearPortTemplate' + self.rear_port: Any self.rear_port_position: int self.description: str self.created: str @@ -1254,13 +1419,13 @@ class FrontPortTemplate(Record): class FrontPortTemplateRequest(Record): def __init__(self): - self.device_type: 'DeviceTypeRequest' - self.module_type: 'ModuleTypeRequest' + self.device_type: Any + self.module_type: Any self.name: str self.label: str self.type: str self.color: str - self.rear_port: 'RearPortTemplateRequest' + self.rear_port: Any self.rear_port_position: int self.description: str @@ -1287,6 +1452,66 @@ class GroupRequest(Record): def __init__(self): self.name: str +class IKEPolicy(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.name: str + self.description: str + self.version: Any + self.mode: Any + self.proposals: List[Any] + self.preshared_key: str + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + self.created: str + self.last_updated: str + +class IKEPolicyRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.version: int + self.mode: str + self.proposals: List[Any] + self.preshared_key: str + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + +class IKEProposal(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.name: str + self.description: str + self.authentication_method: Any + self.encryption_algorithm: Any + self.authentication_algorithm: Any + self.group: Any + self.sa_lifetime: int + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + self.created: str + self.last_updated: str + +class IKEProposalRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.authentication_method: str + self.encryption_algorithm: str + self.authentication_algorithm: str + self.group: int + self.sa_lifetime: int + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + class IPAddress(Record): def __init__(self): self.id: int @@ -1294,14 +1519,14 @@ class IPAddress(Record): self.display: str self.family: Any self.address: str - self.vrf: 'VRF' - self.tenant: 'Tenant' + self.vrf: Any + self.tenant: Any self.status: Any self.role: Any self.assigned_object_type: str self.assigned_object_id: int self.assigned_object: Any - self.nat_inside: 'IPAddress' + self.nat_inside: Any self.nat_outside: List[Any] self.dns_name: str self.description: str @@ -1314,13 +1539,13 @@ class IPAddress(Record): class IPAddressRequest(Record): def __init__(self): self.address: str - self.vrf: 'VRFRequest' - self.tenant: 'TenantRequest' + self.vrf: Any + self.tenant: Any self.status: str self.role: str self.assigned_object_type: str self.assigned_object_id: int - self.nat_inside: 'IPAddressRequest' + self.nat_inside: Any self.dns_name: str self.description: str self.comments: str @@ -1336,10 +1561,10 @@ class IPRange(Record): self.start_address: str self.end_address: str self.size: int - self.vrf: 'VRF' - self.tenant: 'Tenant' + self.vrf: Any + self.tenant: Any self.status: Any - self.role: 'Role' + self.role: Any self.description: str self.comments: str self.tags: List[Any] @@ -1352,16 +1577,97 @@ class IPRangeRequest(Record): def __init__(self): self.start_address: str self.end_address: str - self.vrf: 'VRFRequest' - self.tenant: 'TenantRequest' + self.vrf: Any + self.tenant: Any self.status: str - self.role: 'RoleRequest' + self.role: Any self.description: str self.comments: str self.tags: List[Any] self.custom_fields: Any self.mark_utilized: bool +class IPSecPolicy(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.name: str + self.description: str + self.proposals: List[Any] + self.pfs_group: Any + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + self.created: str + self.last_updated: str + +class IPSecPolicyRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.proposals: List[Any] + self.pfs_group: int + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + +class IPSecProfile(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.name: str + self.description: str + self.mode: Any + self.ike_policy: Any + self.ipsec_policy: Any + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + self.created: str + self.last_updated: str + +class IPSecProfileRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.mode: str + self.ike_policy: Any + self.ipsec_policy: Any + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + +class IPSecProposal(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.name: str + self.description: str + self.encryption_algorithm: Any + self.authentication_algorithm: Any + self.sa_lifetime_seconds: int + self.sa_lifetime_data: int + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + self.created: str + self.last_updated: str + +class IPSecProposalRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.encryption_algorithm: str + self.authentication_algorithm: str + self.sa_lifetime_seconds: int + self.sa_lifetime_data: int + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + class ImageAttachment(Record): def __init__(self): self.id: int @@ -1391,16 +1697,16 @@ class Interface(dcim.Interfaces): self.id: int self.url: str self.display: str - self.device: 'Device' + self.device: Any self.vdcs: List[Any] - self.module: 'ComponentNestedModule' + self.module: Any self.name: str self.label: str self.type: Any self.enabled: bool - self.parent: 'Interface' - self.bridge: 'Interface' - self.lag: 'Interface' + self.parent: Any + self.bridge: Any + self.lag: Any self.mtu: int self.mac_address: str self.speed: int @@ -1416,17 +1722,17 @@ class Interface(dcim.Interfaces): self.rf_channel_frequency: float self.rf_channel_width: float self.tx_power: int - self.untagged_vlan: 'VLAN' + self.untagged_vlan: Any self.tagged_vlans: List[Any] self.mark_connected: bool - self.cable: 'Cable' + self.cable: Any self.cable_end: str - self.wireless_link: 'WirelessLink' + self.wireless_link: Any self.link_peers: List[Any] self.link_peers_type: str self.wireless_lans: List[Any] - self.vrf: 'VRF' - self.l2vpn_termination: 'L2VPNTermination' + self.vrf: Any + self.l2vpn_termination: Any self.connected_endpoints: List[Any] self.connected_endpoints_type: str self.connected_endpoints_reachable: bool @@ -1440,16 +1746,16 @@ class Interface(dcim.Interfaces): class InterfaceRequest(Record): def __init__(self): - self.device: 'DeviceRequest' + self.device: Any self.vdcs: List[Any] - self.module: 'ComponentNestedModuleRequest' + self.module: Any self.name: str self.label: str self.type: str self.enabled: bool - self.parent: 'InterfaceRequest' - self.bridge: 'InterfaceRequest' - self.lag: 'InterfaceRequest' + self.parent: Any + self.bridge: Any + self.lag: Any self.mtu: int self.mac_address: str self.speed: int @@ -1465,11 +1771,11 @@ class InterfaceRequest(Record): self.rf_channel_frequency: float self.rf_channel_width: float self.tx_power: int - self.untagged_vlan: 'VLANRequest' + self.untagged_vlan: Any self.tagged_vlans: List[Any] self.mark_connected: bool self.wireless_lans: List[Any] - self.vrf: 'VRFRequest' + self.vrf: Any self.tags: List[Any] self.custom_fields: Any @@ -1478,45 +1784,47 @@ class InterfaceTemplate(Record): self.id: int self.url: str self.display: str - self.device_type: 'DeviceType' - self.module_type: 'ModuleType' + self.device_type: Any + self.module_type: Any self.name: str self.label: str self.type: Any self.enabled: bool self.mgmt_only: bool self.description: str - self.bridge: 'InterfaceTemplate' + self.bridge: Any self.poe_mode: Any self.poe_type: Any + self.rf_role: Any self.created: str self.last_updated: str class InterfaceTemplateRequest(Record): def __init__(self): - self.device_type: 'DeviceTypeRequest' - self.module_type: 'ModuleTypeRequest' + self.device_type: Any + self.module_type: Any self.name: str self.label: str self.type: str self.enabled: bool self.mgmt_only: bool self.description: str - self.bridge: 'InterfaceTemplateRequest' + self.bridge: Any self.poe_mode: str self.poe_type: str + self.rf_role: str class InventoryItem(Record): def __init__(self): self.id: int self.url: str self.display: str - self.device: 'Device' + self.device: Any self.parent: int self.name: str self.label: str - self.role: 'InventoryItemRole' - self.manufacturer: 'Manufacturer' + self.role: Any + self.manufacturer: Any self.part_id: str self.serial: str self.asset_tag: str @@ -1533,12 +1841,12 @@ class InventoryItem(Record): class InventoryItemRequest(Record): def __init__(self): - self.device: 'DeviceRequest' + self.device: Any self.parent: int self.name: str self.label: str - self.role: 'InventoryItemRoleRequest' - self.manufacturer: 'ManufacturerRequest' + self.role: Any + self.manufacturer: Any self.part_id: str self.serial: str self.asset_tag: str @@ -1578,12 +1886,12 @@ class InventoryItemTemplate(Record): self.id: int self.url: str self.display: str - self.device_type: 'DeviceType' + self.device_type: Any self.parent: int self.name: str self.label: str - self.role: 'InventoryItemRole' - self.manufacturer: 'Manufacturer' + self.role: Any + self.manufacturer: Any self.part_id: str self.description: str self.component_type: str @@ -1595,12 +1903,12 @@ class InventoryItemTemplate(Record): class InventoryItemTemplateRequest(Record): def __init__(self): - self.device_type: 'DeviceTypeRequest' + self.device_type: Any self.parent: int self.name: str self.label: str - self.role: 'InventoryItemRoleRequest' - self.manufacturer: 'ManufacturerRequest' + self.role: Any + self.manufacturer: Any self.part_id: str self.description: str self.component_type: str @@ -1620,8 +1928,9 @@ class Job(Record): self.interval: int self.started: str self.completed: str - self.user: 'User' + self.user: Any self.data: Any + self.error: str self.job_id: str class JournalEntry(Record): @@ -1663,7 +1972,7 @@ class L2VPN(Record): self.export_targets: List[Any] self.description: str self.comments: str - self.tenant: 'Tenant' + self.tenant: Any self.tags: List[Any] self.custom_fields: Any self.created: str @@ -1679,7 +1988,7 @@ class L2VPNRequest(Record): self.export_targets: List[Any] self.description: str self.comments: str - self.tenant: 'TenantRequest' + self.tenant: Any self.tags: List[Any] self.custom_fields: Any @@ -1688,7 +1997,7 @@ class L2VPNTermination(Record): self.id: int self.url: str self.display: str - self.l2vpn: 'L2VPN' + self.l2vpn: Any self.assigned_object_type: str self.assigned_object_id: int self.assigned_object: Any @@ -1699,7 +2008,7 @@ class L2VPNTermination(Record): class L2VPNTerminationRequest(Record): def __init__(self): - self.l2vpn: 'L2VPNRequest' + self.l2vpn: Any self.assigned_object_type: str self.assigned_object_id: int self.tags: List[Any] @@ -1712,10 +2021,10 @@ class Location(Record): self.display: str self.name: str self.slug: str - self.site: 'Site' - self.parent: 'Location' + self.site: Any + self.parent: Any self.status: Any - self.tenant: 'Tenant' + self.tenant: Any self.description: str self.tags: List[Any] self.custom_fields: Any @@ -1729,10 +2038,10 @@ class LocationRequest(Record): def __init__(self): self.name: str self.slug: str - self.site: 'SiteRequest' - self.parent: 'LocationRequest' + self.site: Any + self.parent: Any self.status: str - self.tenant: 'TenantRequest' + self.tenant: Any self.description: str self.tags: List[Any] self.custom_fields: Any @@ -1766,9 +2075,9 @@ class Module(Record): self.id: int self.url: str self.display: str - self.device: 'Device' - self.module_bay: 'ModuleBay' - self.module_type: 'ModuleType' + self.device: Any + self.module_bay: Any + self.module_type: Any self.status: Any self.serial: str self.asset_tag: str @@ -1784,9 +2093,9 @@ class ModuleBay(Record): self.id: int self.url: str self.display: str - self.device: 'Device' + self.device: Any self.name: str - self.installed_module: 'ModuleBayNestedModule' + self.installed_module: Any self.label: str self.position: str self.description: str @@ -1808,9 +2117,9 @@ class ModuleBayNestedModuleRequest(Record): class ModuleBayRequest(Record): def __init__(self): - self.device: 'DeviceRequest' + self.device: Any self.name: str - self.installed_module: 'ModuleBayNestedModuleRequest' + self.installed_module: Any self.label: str self.position: str self.description: str @@ -1822,7 +2131,7 @@ class ModuleBayTemplate(Record): self.id: int self.url: str self.display: str - self.device_type: 'DeviceType' + self.device_type: Any self.name: str self.label: str self.position: str @@ -1832,7 +2141,7 @@ class ModuleBayTemplate(Record): class ModuleBayTemplateRequest(Record): def __init__(self): - self.device_type: 'DeviceTypeRequest' + self.device_type: Any self.name: str self.label: str self.position: str @@ -1851,9 +2160,9 @@ class ModuleNestedModuleBayRequest(Record): class ModuleRequest(Record): def __init__(self): - self.device: 'DeviceRequest' - self.module_bay: 'ModuleBayRequest' - self.module_type: 'ModuleTypeRequest' + self.device: Any + self.module_bay: Any + self.module_type: Any self.status: str self.serial: str self.asset_tag: str @@ -1867,7 +2176,7 @@ class ModuleType(Record): self.id: int self.url: str self.display: str - self.manufacturer: 'Manufacturer' + self.manufacturer: Any self.model: str self.part_number: str self.weight: float @@ -1881,7 +2190,7 @@ class ModuleType(Record): class ModuleTypeRequest(Record): def __init__(self): - self.manufacturer: 'ManufacturerRequest' + self.manufacturer: Any self.model: str self.part_number: str self.weight: float @@ -1901,6 +2210,7 @@ class NestedASN(Record): class NestedBGPPeerGroup(Record): def __init__(self): self.id: int + self.display: str self.url: str self.name: str self.description: str @@ -1977,14 +2287,28 @@ class NestedClusterTypeRequest(Record): self.name: str self.slug: str -class NestedConfigTemplate(Record): +class NestedCommunity(Record): def __init__(self): self.id: int self.url: str self.display: str - self.name: str + self.value: str -class NestedConfigTemplateRequest(Record): +class NestedCommunityList(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.name: str + +class NestedConfigTemplate(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.name: str + +class NestedConfigTemplateRequest(Record): def __init__(self): self.name: str @@ -2026,6 +2350,18 @@ class NestedContactRoleRequest(Record): self.name: str self.slug: str +class NestedCustomFieldChoiceSet(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.name: str + self.choices_count: str + +class NestedCustomFieldChoiceSetRequest(Record): + def __init__(self): + self.name: str + class NestedDataFile(Record): def __init__(self): self.id: int @@ -2073,7 +2409,7 @@ class NestedDeviceType(Record): self.id: int self.url: str self.display: str - self.manufacturer: 'Manufacturer' + self.manufacturer: Any self.model: str self.slug: str @@ -2095,6 +2431,17 @@ class NestedFHRPGroupRequest(Record): self.protocol: str self.group_id: int +class NestedIKEPolicy(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.name: str + +class NestedIKEPolicyRequest(Record): + def __init__(self): + self.name: str + class NestedIPAddress(Record): def __init__(self): self.id: int @@ -2107,12 +2454,34 @@ class NestedIPAddressRequest(Record): def __init__(self): self.address: str +class NestedIPSecPolicy(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.name: str + +class NestedIPSecPolicyRequest(Record): + def __init__(self): + self.name: str + +class NestedIPSecProfile(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.name: str + +class NestedIPSecProfileRequest(Record): + def __init__(self): + self.name: str + class NestedInterface(Record): def __init__(self): self.id: int self.url: str self.display: str - self.device: 'Device' + self.device: Any self.name: str self.cable: int self._occupied: bool @@ -2168,11 +2537,11 @@ class NestedL2VPNTermination(Record): self.id: int self.url: str self.display: str - self.l2vpn: 'L2VPN' + self.l2vpn: Any class NestedL2VPNTerminationRequest(Record): def __init__(self): - self.l2vpn: 'L2VPNRequest' + self.l2vpn: Any class NestedLocation(Record): def __init__(self): @@ -2201,25 +2570,17 @@ class NestedManufacturerRequest(Record): self.name: str self.slug: str -class NestedModule(Record): - def __init__(self): - self.id: int - self.url: str - self.display: str - self.device: 'Device' - self.module_bay: 'ModuleNestedModuleBay' - self.module_type: 'ModuleType' - class NestedModuleBay(Record): def __init__(self): self.id: int self.url: str self.display: str - self.module: 'Module' + self.installed_module: Any self.name: str class NestedModuleBayRequest(Record): def __init__(self): + self.installed_module: Any self.name: str class NestedModuleType(Record): @@ -2227,7 +2588,7 @@ class NestedModuleType(Record): self.id: int self.url: str self.display: str - self.manufacturer: 'Manufacturer' + self.manufacturer: Any self.model: str class NestedModuleTypeRequest(Record): @@ -2263,7 +2624,7 @@ class NestedPowerPort(Record): self.id: int self.url: str self.display: str - self.device: 'Device' + self.device: Any self.name: str self.cable: int self._occupied: bool @@ -2284,6 +2645,15 @@ class NestedPowerPortTemplateRequest(Record): def __init__(self): self.name: str +class NestedPrefix(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.family: int + self.prefix: str + self._depth: int + class NestedPrefixList(Record): def __init__(self): self.id: int @@ -2403,6 +2773,14 @@ class NestedRoleRequest(Record): self.name: str self.slug: str +class NestedRoutingPolicy(Record): + def __init__(self): + self.id: int + self.url: str + self.name: str + self.display: str + self.description: str + class NestedSite(Record): def __init__(self): self.id: int @@ -2472,6 +2850,30 @@ class NestedTenantRequest(Record): self.name: str self.slug: str +class NestedTunnel(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.name: str + +class NestedTunnelGroup(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.name: str + self.slug: str + +class NestedTunnelGroupRequest(Record): + def __init__(self): + self.name: str + self.slug: str + +class NestedTunnelRequest(Record): + def __init__(self): + self.name: str + class NestedUser(Record): def __init__(self): self.id: int @@ -2514,7 +2916,7 @@ class NestedVMInterface(Record): self.id: int self.url: str self.display: str - self.virtual_machine: 'VirtualMachineWithConfigContext' + self.virtual_machine: Any self.name: str class NestedVMInterfaceRequest(Record): @@ -2540,12 +2942,12 @@ class NestedVirtualChassis(Record): self.url: str self.display: str self.name: str - self.master: 'Device' + self.master: Any class NestedVirtualChassisRequest(Record): def __init__(self): self.name: str - self.master: 'DeviceRequest' + self.master: Any class NestedVirtualMachine(Record): def __init__(self): @@ -2589,7 +2991,7 @@ class ObjectChange(Record): self.url: str self.display: str self.time: str - self.user: 'User' + self.user: Any self.user_name: str self.request_id: str self.action: Any @@ -2659,6 +3061,13 @@ class PaginatedBGPSessionList(Record): self.previous: str self.results: List[Any] +class PaginatedBookmarkList(Record): + def __init__(self): + self.count: int + self.next: str + self.previous: str + self.results: List[Any] + class PaginatedCableList(Record): def __init__(self): self.count: int @@ -2722,6 +3131,20 @@ class PaginatedCommunityList(Record): self.previous: str self.results: List[Any] +class PaginatedCommunityListList(Record): + def __init__(self): + self.count: int + self.next: str + self.previous: str + self.results: List[Any] + +class PaginatedCommunityListRuleList(Record): + def __init__(self): + self.count: int + self.next: str + self.previous: str + self.results: List[Any] + class PaginatedConfigContextList(Record): def __init__(self): self.count: int @@ -2799,6 +3222,13 @@ class PaginatedContentTypeList(Record): self.previous: str self.results: List[Any] +class PaginatedCustomFieldChoiceSetList(Record): + def __init__(self): + self.count: int + self.next: str + self.previous: str + self.results: List[Any] + class PaginatedCustomFieldList(Record): def __init__(self): self.count: int @@ -2862,6 +3292,13 @@ class PaginatedDeviceWithConfigContextList(Record): self.previous: str self.results: List[Any] +class PaginatedEventRuleList(Record): + def __init__(self): + self.count: int + self.next: str + self.previous: str + self.results: List[Any] + class PaginatedExportTemplateList(Record): def __init__(self): self.count: int @@ -2904,6 +3341,20 @@ class PaginatedGroupList(Record): self.previous: str self.results: List[Any] +class PaginatedIKEPolicyList(Record): + def __init__(self): + self.count: int + self.next: str + self.previous: str + self.results: List[Any] + +class PaginatedIKEProposalList(Record): + def __init__(self): + self.count: int + self.next: str + self.previous: str + self.results: List[Any] + class PaginatedIPAddressList(Record): def __init__(self): self.count: int @@ -2918,6 +3369,27 @@ class PaginatedIPRangeList(Record): self.previous: str self.results: List[Any] +class PaginatedIPSecPolicyList(Record): + def __init__(self): + self.count: int + self.next: str + self.previous: str + self.results: List[Any] + +class PaginatedIPSecProfileList(Record): + def __init__(self): + self.count: int + self.next: str + self.previous: str + self.results: List[Any] + +class PaginatedIPSecProposalList(Record): + def __init__(self): + self.count: int + self.next: str + self.previous: str + self.results: List[Any] + class PaginatedImageAttachmentList(Record): def __init__(self): self.count: int @@ -3163,6 +3635,13 @@ class PaginatedRackRoleList(Record): self.previous: str self.results: List[Any] +class PaginatedRackUnitList(Record): + def __init__(self): + self.count: int + self.next: str + self.previous: str + self.results: List[Any] + class PaginatedRearPortList(Record): def __init__(self): self.count: int @@ -3275,6 +3754,27 @@ class PaginatedTokenList(Record): self.previous: str self.results: List[Any] +class PaginatedTunnelGroupList(Record): + def __init__(self): + self.count: int + self.next: str + self.previous: str + self.results: List[Any] + +class PaginatedTunnelList(Record): + def __init__(self): + self.count: int + self.next: str + self.previous: str + self.results: List[Any] + +class PaginatedTunnelTerminationList(Record): + def __init__(self): + self.count: int + self.next: str + self.previous: str + self.results: List[Any] + class PaginatedUserList(Record): def __init__(self): self.count: int @@ -3324,6 +3824,13 @@ class PaginatedVirtualDeviceContextList(Record): self.previous: str self.results: List[Any] +class PaginatedVirtualDiskList(Record): + def __init__(self): + self.count: int + self.next: str + self.previous: str + self.results: List[Any] + class PaginatedVirtualMachineWithConfigContextList(Record): def __init__(self): self.count: int @@ -3361,13 +3868,11 @@ class PaginatedWirelessLinkList(Record): class PatchedBGPPeerGroupRequest(Record): def __init__(self): - self.tags: List[Any] - self.custom_fields: Any - self.import_policies: List[Any] - self.export_policies: List[Any] - self.custom_field_data: Any self.name: str self.description: str + self.import_policies: List[Any] + self.export_policies: List[Any] + self.comments: str class PatchedCableTerminationRequest(Record): def __init__(self): @@ -3380,6 +3885,7 @@ class PatchedCircuitTypeRequest(Record): def __init__(self): self.name: str self.slug: str + self.color: str self.description: str self.tags: List[Any] self.custom_fields: Any @@ -3400,6 +3906,14 @@ class PatchedClusterTypeRequest(Record): self.tags: List[Any] self.custom_fields: Any +class PatchedCommunityListRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.tags: List[Any] + self.custom_fields: Any + self.comments: str + class PatchedContactRoleRequest(Record): def __init__(self): self.name: str @@ -3469,12 +3983,12 @@ class PatchedManufacturerRequest(Record): class PatchedPrefixListRequest(Record): def __init__(self): - self.tags: List[Any] - self.custom_fields: Any - self.custom_field_data: Any self.name: str self.description: str self.family: str + self.tags: List[Any] + self.custom_fields: Any + self.comments: str class PatchedRIRRequest(Record): def __init__(self): @@ -3505,27 +4019,11 @@ class PatchedRoleRequest(Record): class PatchedRoutingPolicyRequest(Record): def __init__(self): - self.tags: List[Any] - self.custom_fields: Any - self.custom_field_data: Any self.name: str self.description: str - -class PatchedRoutingPolicyRuleRequest(Record): - def __init__(self): self.tags: List[Any] self.custom_fields: Any - self.custom_field_data: Any - self.index: int - self.action: str - self.description: str - self.continue_entry: int - self.match_custom: Any - self.set_actions: Any - self.routing_policy: int - self.match_community: List[Any] - self.match_ip_address: List[Any] - self.match_ipv6_address: List[Any] + self.comments: str class PatchedSavedFilterRequest(Record): def __init__(self): @@ -3545,6 +4043,15 @@ class PatchedTagRequest(Record): self.slug: str self.color: str self.description: str + self.object_types: List[Any] + +class PatchedTunnelGroupRequest(Record): + def __init__(self): + self.name: str + self.slug: str + self.description: str + self.tags: List[Any] + self.custom_fields: Any class PatchedVLANGroupRequest(Record): def __init__(self): @@ -3560,23 +4067,18 @@ class PatchedVLANGroupRequest(Record): class PatchedWebhookRequest(Record): def __init__(self): - self.content_types: List[Any] self.name: str - self.type_create: bool - self.type_update: bool - self.type_delete: bool - self.type_job_start: bool - self.type_job_end: bool + self.description: str self.payload_url: str - self.enabled: bool self.http_method: str self.http_content_type: str self.additional_headers: str self.body_template: str self.secret: str - self.conditions: Any self.ssl_verification: bool self.ca_file_path: str + self.custom_fields: Any + self.tags: List[Any] class PatchedWritableASNRangeRequest(Record): def __init__(self): @@ -3626,8 +4128,17 @@ class PatchedWritableBGPSessionRequest(Record): self.peer_group: int self.import_policies: List[Any] self.export_policies: List[Any] + self.prefix_list_in: int + self.prefix_list_out: int self.name: str self.description: str + self.comments: str + +class PatchedWritableBookmarkRequest(Record): + def __init__(self): + self.object_type: str + self.object_id: int + self.user: int class PatchedWritableCableRequest(Record): def __init__(self): @@ -3689,6 +4200,15 @@ class PatchedWritableClusterRequest(Record): self.tags: List[Any] self.custom_fields: Any +class PatchedWritableCommunityListRuleRequest(Record): + def __init__(self): + self.tags: List[Any] + self.custom_fields: Any + self.community_list: int + self.action: str + self.community: int + self.comments: str + class PatchedWritableCommunityRequest(Record): def __init__(self): self.tags: List[Any] @@ -3699,6 +4219,7 @@ class PatchedWritableCommunityRequest(Record): self.value: str self.site: int self.role: int + self.comments: str class PatchedWritableConfigContextRequest(Record): def __init__(self): @@ -3729,6 +4250,7 @@ class PatchedWritableConfigTemplateRequest(Record): self.environment_params: Any self.template_code: str self.data_source: int + self.data_file: int self.tags: List[Any] class PatchedWritableConsolePortRequest(Record): @@ -3782,6 +4304,8 @@ class PatchedWritableContactAssignmentRequest(Record): self.contact: int self.role: int self.priority: str + self.tags: List[Any] + self.custom_fields: Any class PatchedWritableContactGroupRequest(Record): def __init__(self): @@ -3806,6 +4330,14 @@ class PatchedWritableContactRequest(Record): self.tags: List[Any] self.custom_fields: Any +class PatchedWritableCustomFieldChoiceSetRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.base_choices: str + self.extra_choices: List[Any] + self.order_alphabetically: bool + class PatchedWritableCustomFieldRequest(Record): def __init__(self): self.content_types: List[Any] @@ -3818,14 +4350,15 @@ class PatchedWritableCustomFieldRequest(Record): self.required: bool self.search_weight: int self.filter_logic: str - self.ui_visibility: str + self.ui_visible: str + self.ui_editable: str self.is_cloneable: bool self.default: Any self.weight: int self.validation_minimum: int self.validation_maximum: int self.validation_regex: str - self.choices: List[Any] + self.choice_set: int class PatchedWritableDataSourceRequest(Record): def __init__(self): @@ -3837,6 +4370,7 @@ class PatchedWritableDataSourceRequest(Record): self.comments: str self.parameters: Any self.ignore_rules: str + self.custom_fields: Any class PatchedWritableDeviceBayRequest(Record): def __init__(self): @@ -3874,6 +4408,7 @@ class PatchedWritableDeviceTypeRequest(Record): self.slug: str self.part_number: str self.u_height: float + self.exclude_from_utilization: bool self.is_full_depth: bool self.subdevice_role: str self.airflow: str @@ -3890,7 +4425,7 @@ class PatchedWritableDeviceWithConfigContextRequest(Record): def __init__(self): self.name: str self.device_type: int - self.device_role: int + self.role: int self.tenant: int self.platform: int self.serial: str @@ -3900,22 +4435,43 @@ class PatchedWritableDeviceWithConfigContextRequest(Record): self.rack: int self.position: float self.face: str + self.latitude: float + self.longitude: float self.status: str self.airflow: str self.primary_ip4: int self.primary_ip6: int + self.oob_ip: int self.cluster: int self.virtual_chassis: int self.vc_position: int self.vc_priority: int self.description: str self.comments: str + self.config_template: int self.local_context_data: Any self.tags: List[Any] self.custom_fields: Any - self.config_template: int -class PatchedWritableExportTemplateRequest(Record): +class PatchedWritableEventRuleRequest(Record): + def __init__(self): + self.content_types: List[Any] + self.name: str + self.type_create: bool + self.type_update: bool + self.type_delete: bool + self.type_job_start: bool + self.type_job_end: bool + self.enabled: bool + self.conditions: Any + self.action_type: str + self.action_object_type: str + self.action_object_id: int + self.description: str + self.custom_fields: Any + self.tags: List[Any] + +class PatchedWritableExportTemplateRequest(Record): def __init__(self): self.content_types: List[Any] self.name: str @@ -3960,6 +4516,31 @@ class PatchedWritableFrontPortTemplateRequest(Record): self.rear_port_position: int self.description: str +class PatchedWritableIKEPolicyRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.version: int + self.mode: str + self.proposals: List[Any] + self.preshared_key: str + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + +class PatchedWritableIKEProposalRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.authentication_method: str + self.encryption_algorithm: str + self.authentication_algorithm: str + self.group: int + self.sa_lifetime: int + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + class PatchedWritableIPAddressRequest(Record): def __init__(self): self.address: str @@ -3990,6 +4571,39 @@ class PatchedWritableIPRangeRequest(Record): self.custom_fields: Any self.mark_utilized: bool +class PatchedWritableIPSecPolicyRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.proposals: List[Any] + self.pfs_group: int + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + +class PatchedWritableIPSecProfileRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.mode: str + self.ike_policy: int + self.ipsec_policy: int + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + +class PatchedWritableIPSecProposalRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.encryption_algorithm: str + self.authentication_algorithm: str + self.sa_lifetime_seconds: int + self.sa_lifetime_data: int + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + class PatchedWritableInterfaceRequest(Record): def __init__(self): self.device: int @@ -4038,6 +4652,7 @@ class PatchedWritableInterfaceTemplateRequest(Record): self.bridge: int self.poe_mode: str self.poe_type: str + self.rf_role: str class PatchedWritableInventoryItemRequest(Record): def __init__(self): @@ -4175,8 +4790,6 @@ class PatchedWritablePlatformRequest(Record): self.slug: str self.manufacturer: int self.config_template: int - self.napalm_driver: str - self.napalm_args: Any self.description: str self.tags: List[Any] self.custom_fields: Any @@ -4195,6 +4808,7 @@ class PatchedWritablePowerFeedRequest(Record): self.max_utilization: int self.mark_connected: bool self.description: str + self.tenant: int self.comments: str self.tags: List[Any] self.custom_fields: Any @@ -4270,6 +4884,7 @@ class PatchedWritablePrefixListRuleRequest(Record): self.ge: int self.le: int self.prefix: int + self.comments: str class PatchedWritablePrefixRequest(Record): def __init__(self): @@ -4332,6 +4947,7 @@ class PatchedWritableRackRequest(Record): self.type: str self.width: int self.u_height: int + self.starting_unit: int self.weight: float self.max_weight: int self.weight_unit: str @@ -4399,6 +5015,21 @@ class PatchedWritableRouteTargetRequest(Record): self.tags: List[Any] self.custom_fields: Any +class PatchedWritableRoutingPolicyRuleRequest(Record): + def __init__(self): + self.index: int + self.action: str + self.match_ip_address: List[Any] + self.routing_policy: int + self.match_community: List[Any] + self.match_custom: Any + self.set_actions: Any + self.match_ipv6_address: List[Any] + self.description: str + self.tags: List[Any] + self.custom_fields: Any + self.comments: str + class PatchedWritableServiceRequest(Record): def __init__(self): self.device: int @@ -4479,6 +5110,30 @@ class PatchedWritableTokenRequest(Record): self.write_enabled: bool self.description: str +class PatchedWritableTunnelRequest(Record): + def __init__(self): + self.name: str + self.status: str + self.group: int + self.encapsulation: str + self.ipsec_profile: int + self.tenant: int + self.tunnel_id: int + self.description: str + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + +class PatchedWritableTunnelTerminationRequest(Record): + def __init__(self): + self.tunnel: int + self.role: str + self.termination_type: str + self.termination_id: int + self.outside_ip: int + self.tags: List[Any] + self.custom_fields: Any + class PatchedWritableUserRequest(Record): def __init__(self): self.username: str @@ -4489,6 +5144,7 @@ class PatchedWritableUserRequest(Record): self.is_staff: bool self.is_active: bool self.date_joined: str + self.last_login: str self.groups: List[Any] class PatchedWritableVLANRequest(Record): @@ -4559,6 +5215,15 @@ class PatchedWritableVirtualDeviceContextRequest(Record): self.tags: List[Any] self.custom_fields: Any +class PatchedWritableVirtualDiskRequest(Record): + def __init__(self): + self.virtual_machine: int + self.name: str + self.description: str + self.size: int + self.tags: List[Any] + self.custom_fields: Any + class PatchedWritableVirtualMachineWithConfigContextRequest(Record): def __init__(self): self.name: str @@ -4576,6 +5241,7 @@ class PatchedWritableVirtualMachineWithConfigContextRequest(Record): self.disk: int self.description: str self.comments: str + self.config_template: int self.local_context_data: Any self.tags: List[Any] self.custom_fields: Any @@ -4626,10 +5292,8 @@ class Platform(Record): self.display: str self.name: str self.slug: str - self.manufacturer: 'Manufacturer' - self.config_template: 'ConfigTemplate' - self.napalm_driver: str - self.napalm_args: Any + self.manufacturer: Any + self.config_template: Any self.description: str self.tags: List[Any] self.custom_fields: Any @@ -4642,10 +5306,8 @@ class PlatformRequest(Record): def __init__(self): self.name: str self.slug: str - self.manufacturer: 'ManufacturerRequest' - self.config_template: 'ConfigTemplateRequest' - self.napalm_driver: str - self.napalm_args: Any + self.manufacturer: Any + self.config_template: Any self.description: str self.tags: List[Any] self.custom_fields: Any @@ -4655,8 +5317,8 @@ class PowerFeed(Record): self.id: int self.url: str self.display: str - self.power_panel: 'PowerPanel' - self.rack: 'Rack' + self.power_panel: Any + self.rack: Any self.name: str self.status: Any self.type: Any @@ -4666,7 +5328,7 @@ class PowerFeed(Record): self.amperage: int self.max_utilization: int self.mark_connected: bool - self.cable: 'Cable' + self.cable: Any self.cable_end: str self.link_peers: List[Any] self.link_peers_type: str @@ -4674,6 +5336,7 @@ class PowerFeed(Record): self.connected_endpoints_type: str self.connected_endpoints_reachable: bool self.description: str + self.tenant: Any self.comments: str self.tags: List[Any] self.custom_fields: Any @@ -4683,8 +5346,8 @@ class PowerFeed(Record): class PowerFeedRequest(Record): def __init__(self): - self.power_panel: 'PowerPanelRequest' - self.rack: 'RackRequest' + self.power_panel: Any + self.rack: Any self.name: str self.status: str self.type: str @@ -4695,6 +5358,7 @@ class PowerFeedRequest(Record): self.max_utilization: int self.mark_connected: bool self.description: str + self.tenant: Any self.comments: str self.tags: List[Any] self.custom_fields: Any @@ -4704,16 +5368,16 @@ class PowerOutlet(Record): self.id: int self.url: str self.display: str - self.device: 'Device' - self.module: 'ComponentNestedModule' + self.device: Any + self.module: Any self.name: str self.label: str self.type: Any - self.power_port: 'PowerPort' + self.power_port: Any self.feed_leg: Any self.description: str self.mark_connected: bool - self.cable: 'Cable' + self.cable: Any self.cable_end: str self.link_peers: List[Any] self.link_peers_type: str @@ -4728,12 +5392,12 @@ class PowerOutlet(Record): class PowerOutletRequest(Record): def __init__(self): - self.device: 'DeviceRequest' - self.module: 'ComponentNestedModuleRequest' + self.device: Any + self.module: Any self.name: str self.label: str self.type: str - self.power_port: 'PowerPortRequest' + self.power_port: Any self.feed_leg: str self.description: str self.mark_connected: bool @@ -4745,12 +5409,12 @@ class PowerOutletTemplate(Record): self.id: int self.url: str self.display: str - self.device_type: 'DeviceType' - self.module_type: 'ModuleType' + self.device_type: Any + self.module_type: Any self.name: str self.label: str self.type: Any - self.power_port: 'PowerPortTemplate' + self.power_port: Any self.feed_leg: Any self.description: str self.created: str @@ -4758,12 +5422,12 @@ class PowerOutletTemplate(Record): class PowerOutletTemplateRequest(Record): def __init__(self): - self.device_type: 'DeviceTypeRequest' - self.module_type: 'ModuleTypeRequest' + self.device_type: Any + self.module_type: Any self.name: str self.label: str self.type: str - self.power_port: 'PowerPortTemplateRequest' + self.power_port: Any self.feed_leg: str self.description: str @@ -4772,8 +5436,8 @@ class PowerPanel(Record): self.id: int self.url: str self.display: str - self.site: 'Site' - self.location: 'Location' + self.site: Any + self.location: Any self.name: str self.description: str self.comments: str @@ -4785,8 +5449,8 @@ class PowerPanel(Record): class PowerPanelRequest(Record): def __init__(self): - self.site: 'SiteRequest' - self.location: 'LocationRequest' + self.site: Any + self.location: Any self.name: str self.description: str self.comments: str @@ -4798,8 +5462,8 @@ class PowerPort(Record): self.id: int self.url: str self.display: str - self.device: 'Device' - self.module: 'ComponentNestedModule' + self.device: Any + self.module: Any self.name: str self.label: str self.type: Any @@ -4807,7 +5471,7 @@ class PowerPort(Record): self.allocated_draw: int self.description: str self.mark_connected: bool - self.cable: 'Cable' + self.cable: Any self.cable_end: str self.link_peers: List[Any] self.link_peers_type: str @@ -4822,8 +5486,8 @@ class PowerPort(Record): class PowerPortRequest(Record): def __init__(self): - self.device: 'DeviceRequest' - self.module: 'ComponentNestedModuleRequest' + self.device: Any + self.module: Any self.name: str self.label: str self.type: str @@ -4839,8 +5503,8 @@ class PowerPortTemplate(Record): self.id: int self.url: str self.display: str - self.device_type: 'DeviceType' - self.module_type: 'ModuleType' + self.device_type: Any + self.module_type: Any self.name: str self.label: str self.type: Any @@ -4852,8 +5516,8 @@ class PowerPortTemplate(Record): class PowerPortTemplateRequest(Record): def __init__(self): - self.device_type: 'DeviceTypeRequest' - self.module_type: 'ModuleTypeRequest' + self.device_type: Any + self.module_type: Any self.name: str self.label: str self.type: str @@ -4868,12 +5532,12 @@ class Prefix(ipam.Prefixes): self.display: str self.family: Any self.prefix: str - self.site: 'Site' - self.vrf: 'VRF' - self.tenant: 'Tenant' - self.vlan: 'VLAN' + self.site: Any + self.vrf: Any + self.tenant: Any + self.vlan: Any self.status: Any - self.role: 'Role' + self.role: Any self.is_pool: bool self.mark_utilized: bool self.description: str @@ -4888,24 +5552,22 @@ class Prefix(ipam.Prefixes): class PrefixList(Record): def __init__(self): self.id: int - self.tags: List[Any] - self.custom_fields: Any - self.display: str - self.created: str - self.last_updated: str - self.custom_field_data: Any self.name: str + self.display: str self.description: str self.family: str + self.tags: List[Any] + self.custom_fields: Any + self.comments: str class PrefixListRequest(Record): def __init__(self): - self.tags: List[Any] - self.custom_fields: Any - self.custom_field_data: Any self.name: str self.description: str self.family: str + self.tags: List[Any] + self.custom_fields: Any + self.comments: str class PrefixListRule(Record): def __init__(self): @@ -4913,7 +5575,7 @@ class PrefixListRule(Record): self.tags: List[Any] self.custom_fields: Any self.display: str - self.prefix_list: 'PrefixList' + self.prefix_list: Any self.created: str self.last_updated: str self.index: int @@ -4921,17 +5583,18 @@ class PrefixListRule(Record): self.prefix_custom: str self.ge: int self.le: int - self.prefix: int + self.prefix: Any + self.comments: str class PrefixRequest(Record): def __init__(self): self.prefix: str - self.site: 'SiteRequest' - self.vrf: 'VRFRequest' - self.tenant: 'TenantRequest' - self.vlan: 'VLANRequest' + self.site: Any + self.vrf: Any + self.tenant: Any + self.vlan: Any self.status: str - self.role: 'RoleRequest' + self.role: Any self.is_pool: bool self.mark_utilized: bool self.description: str @@ -4961,7 +5624,7 @@ class ProviderAccount(Record): self.id: int self.url: str self.display: str - self.provider: 'Provider' + self.provider: Any self.name: str self.account: str self.description: str @@ -4973,7 +5636,7 @@ class ProviderAccount(Record): class ProviderAccountRequest(Record): def __init__(self): - self.provider: 'ProviderRequest' + self.provider: Any self.name: str self.account: str self.description: str @@ -4986,7 +5649,7 @@ class ProviderNetwork(Record): self.id: int self.url: str self.display: str - self.provider: 'Provider' + self.provider: Any self.name: str self.service_id: str self.description: str @@ -4998,7 +5661,7 @@ class ProviderNetwork(Record): class ProviderNetworkRequest(Record): def __init__(self): - self.provider: 'ProviderRequest' + self.provider: Any self.name: str self.service_id: str self.description: str @@ -5048,16 +5711,17 @@ class Rack(Record): self.display: str self.name: str self.facility_id: str - self.site: 'Site' - self.location: 'Location' - self.tenant: 'Tenant' + self.site: Any + self.location: Any + self.tenant: Any self.status: Any - self.role: 'RackRole' + self.role: Any self.serial: str self.asset_tag: str self.type: Any self.width: Any self.u_height: int + self.starting_unit: int self.weight: float self.max_weight: int self.weight_unit: Any @@ -5079,16 +5743,17 @@ class RackRequest(Record): def __init__(self): self.name: str self.facility_id: str - self.site: 'SiteRequest' - self.location: 'LocationRequest' - self.tenant: 'TenantRequest' + self.site: Any + self.location: Any + self.tenant: Any self.status: str - self.role: 'RackRoleRequest' + self.role: Any self.serial: str self.asset_tag: str self.type: str self.width: int self.u_height: int + self.starting_unit: int self.weight: float self.max_weight: int self.weight_unit: str @@ -5107,12 +5772,12 @@ class RackReservation(Record): self.id: int self.url: str self.display: str - self.rack: 'Rack' + self.rack: Any self.units: List[Any] self.created: str self.last_updated: str - self.user: 'User' - self.tenant: 'Tenant' + self.user: Any + self.tenant: Any self.description: str self.comments: str self.tags: List[Any] @@ -5120,10 +5785,10 @@ class RackReservation(Record): class RackReservationRequest(Record): def __init__(self): - self.rack: 'RackRequest' + self.rack: Any self.units: List[Any] - self.user: 'UserRequest' - self.tenant: 'TenantRequest' + self.user: Any + self.tenant: Any self.description: str self.comments: str self.tags: List[Any] @@ -5153,13 +5818,22 @@ class RackRoleRequest(Record): self.tags: List[Any] self.custom_fields: Any +class RackUnit(Record): + def __init__(self): + self.id: float + self.name: str + self.face: Any + self.device: Any + self.occupied: bool + self.display: str + class RearPort(Record): def __init__(self): self.id: int self.url: str self.display: str - self.device: 'Device' - self.module: 'ComponentNestedModule' + self.device: Any + self.module: Any self.name: str self.label: str self.type: Any @@ -5167,7 +5841,7 @@ class RearPort(Record): self.positions: int self.description: str self.mark_connected: bool - self.cable: 'Cable' + self.cable: Any self.cable_end: str self.link_peers: List[Any] self.link_peers_type: str @@ -5179,8 +5853,8 @@ class RearPort(Record): class RearPortRequest(Record): def __init__(self): - self.device: 'DeviceRequest' - self.module: 'ComponentNestedModuleRequest' + self.device: Any + self.module: Any self.name: str self.label: str self.type: str @@ -5196,8 +5870,8 @@ class RearPortTemplate(Record): self.id: int self.url: str self.display: str - self.device_type: 'DeviceType' - self.module_type: 'ModuleType' + self.device_type: Any + self.module_type: Any self.name: str self.label: str self.type: Any @@ -5209,8 +5883,8 @@ class RearPortTemplate(Record): class RearPortTemplateRequest(Record): def __init__(self): - self.device_type: 'DeviceTypeRequest' - self.module_type: 'ModuleTypeRequest' + self.device_type: Any + self.module_type: Any self.name: str self.label: str self.type: str @@ -5225,7 +5899,7 @@ class Region(Record): self.display: str self.name: str self.slug: str - self.parent: 'Region' + self.parent: Any self.description: str self.tags: List[Any] self.custom_fields: Any @@ -5238,7 +5912,7 @@ class RegionRequest(Record): def __init__(self): self.name: str self.slug: str - self.parent: 'RegionRequest' + self.parent: Any self.description: str self.tags: List[Any] self.custom_fields: Any @@ -5274,7 +5948,7 @@ class RouteTarget(Record): self.url: str self.display: str self.name: str - self.tenant: 'Tenant' + self.tenant: Any self.description: str self.comments: str self.tags: List[Any] @@ -5285,7 +5959,7 @@ class RouteTarget(Record): class RouteTargetRequest(Record): def __init__(self): self.name: str - self.tenant: 'TenantRequest' + self.tenant: Any self.description: str self.comments: str self.tags: List[Any] @@ -5294,58 +5968,36 @@ class RouteTargetRequest(Record): class RoutingPolicy(Record): def __init__(self): self.id: int - self.tags: List[Any] - self.custom_fields: Any - self.display: str - self.created: str - self.last_updated: str - self.custom_field_data: Any self.name: str self.description: str + self.tags: List[Any] + self.custom_fields: Any + self.comments: str class RoutingPolicyRequest(Record): def __init__(self): - self.tags: List[Any] - self.custom_fields: Any - self.custom_field_data: Any self.name: str self.description: str + self.tags: List[Any] + self.custom_fields: Any + self.comments: str class RoutingPolicyRule(Record): def __init__(self): self.id: int - self.tags: List[Any] - self.custom_fields: Any - self.display: str - self.created: str - self.last_updated: str - self.custom_field_data: Any self.index: int + self.display: str self.action: str - self.description: str - self.continue_entry: int + self.match_ip_address: List[Any] + self.routing_policy: Any + self.match_community: List[Any] self.match_custom: Any self.set_actions: Any - self.routing_policy: int - self.match_community: List[Any] - self.match_ip_address: List[Any] self.match_ipv6_address: List[Any] - -class RoutingPolicyRuleRequest(Record): - def __init__(self): + self.description: str self.tags: List[Any] self.custom_fields: Any - self.custom_field_data: Any - self.index: int - self.action: str - self.description: str - self.continue_entry: int - self.match_custom: Any - self.set_actions: Any - self.routing_policy: int - self.match_community: List[Any] - self.match_ip_address: List[Any] - self.match_ipv6_address: List[Any] + self.comments: str class SavedFilter(Record): def __init__(self): @@ -5381,8 +6033,8 @@ class Service(Record): self.id: int self.url: str self.display: str - self.device: 'Device' - self.virtual_machine: 'VirtualMachineWithConfigContext' + self.device: Any + self.virtual_machine: Any self.name: str self.ports: List[Any] self.protocol: Any @@ -5396,8 +6048,8 @@ class Service(Record): class ServiceRequest(Record): def __init__(self): - self.device: 'DeviceRequest' - self.virtual_machine: 'VirtualMachineRequest' + self.device: Any + self.virtual_machine: Any self.name: str self.ports: List[Any] self.protocol: str @@ -5440,9 +6092,9 @@ class Site(Record): self.name: str self.slug: str self.status: Any - self.region: 'Region' - self.group: 'SiteGroup' - self.tenant: 'Tenant' + self.region: Any + self.group: Any + self.tenant: Any self.facility: str self.time_zone: str self.description: str @@ -5470,7 +6122,7 @@ class SiteGroup(Record): self.display: str self.name: str self.slug: str - self.parent: 'SiteGroup' + self.parent: Any self.description: str self.tags: List[Any] self.custom_fields: Any @@ -5483,7 +6135,7 @@ class SiteGroupRequest(Record): def __init__(self): self.name: str self.slug: str - self.parent: 'SiteGroupRequest' + self.parent: Any self.description: str self.tags: List[Any] self.custom_fields: Any @@ -5493,9 +6145,9 @@ class SiteRequest(Record): self.name: str self.slug: str self.status: str - self.region: 'RegionRequest' - self.group: 'SiteGroupRequest' - self.tenant: 'TenantRequest' + self.region: Any + self.group: Any + self.tenant: Any self.facility: str self.time_zone: str self.description: str @@ -5517,6 +6169,7 @@ class Tag(Record): self.slug: str self.color: str self.description: str + self.object_types: List[Any] self.tagged_items: int self.created: str self.last_updated: str @@ -5527,6 +6180,7 @@ class TagRequest(Record): self.slug: str self.color: str self.description: str + self.object_types: List[Any] class Tenant(Record): def __init__(self): @@ -5535,7 +6189,7 @@ class Tenant(Record): self.display: str self.name: str self.slug: str - self.group: 'TenantGroup' + self.group: Any self.description: str self.comments: str self.tags: List[Any] @@ -5560,7 +6214,7 @@ class TenantGroup(Record): self.display: str self.name: str self.slug: str - self.parent: 'TenantGroup' + self.parent: Any self.description: str self.tags: List[Any] self.custom_fields: Any @@ -5573,7 +6227,7 @@ class TenantGroupRequest(Record): def __init__(self): self.name: str self.slug: str - self.parent: 'TenantGroupRequest' + self.parent: Any self.description: str self.tags: List[Any] self.custom_fields: Any @@ -5582,7 +6236,7 @@ class TenantRequest(Record): def __init__(self): self.name: str self.slug: str - self.group: 'TenantGroupRequest' + self.group: Any self.description: str self.comments: str self.tags: List[Any] @@ -5593,7 +6247,20 @@ class Token(Record): self.id: int self.url: str self.display: str - self.user: 'User' + self.user: Any + self.created: str + self.expires: str + self.last_used: str + self.key: str + self.write_enabled: bool + self.description: str + +class TokenProvision(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.user: Any self.created: str self.expires: str self.last_used: str @@ -5603,18 +6270,102 @@ class Token(Record): class TokenProvisionRequest(Record): def __init__(self): + self.expires: str + self.write_enabled: bool + self.description: str self.username: str self.password: str class TokenRequest(Record): def __init__(self): - self.user: 'UserRequest' + self.user: Any self.expires: str self.last_used: str self.key: str self.write_enabled: bool self.description: str +class Tunnel(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.name: str + self.status: Any + self.group: Any + self.encapsulation: Any + self.ipsec_profile: Any + self.tenant: Any + self.tunnel_id: int + self.description: str + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + self.created: str + self.last_updated: str + +class TunnelGroup(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.name: str + self.slug: str + self.description: str + self.tags: List[Any] + self.custom_fields: Any + self.created: str + self.last_updated: str + self.tunnel_count: int + +class TunnelGroupRequest(Record): + def __init__(self): + self.name: str + self.slug: str + self.description: str + self.tags: List[Any] + self.custom_fields: Any + +class TunnelRequest(Record): + def __init__(self): + self.name: str + self.status: str + self.group: Any + self.encapsulation: str + self.ipsec_profile: Any + self.tenant: Any + self.tunnel_id: int + self.description: str + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + +class TunnelTermination(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.tunnel: Any + self.role: Any + self.termination_type: str + self.termination_id: int + self.termination: Any + self.outside_ip: Any + self.tags: List[Any] + self.custom_fields: Any + self.created: str + self.last_updated: str + +class TunnelTerminationRequest(Record): + def __init__(self): + self.tunnel: Any + self.role: str + self.termination_type: str + self.termination_id: int + self.outside_ip: Any + self.tags: List[Any] + self.custom_fields: Any + class User(Record): def __init__(self): self.id: int @@ -5627,6 +6378,7 @@ class User(Record): self.is_staff: bool self.is_active: bool self.date_joined: str + self.last_login: str self.groups: List[Any] class UserRequest(Record): @@ -5639,6 +6391,7 @@ class UserRequest(Record): self.is_staff: bool self.is_active: bool self.date_joined: str + self.last_login: str self.groups: List[Any] class VLAN(Record): @@ -5646,16 +6399,16 @@ class VLAN(Record): self.id: int self.url: str self.display: str - self.site: 'Site' - self.group: 'VLANGroup' + self.site: Any + self.group: Any self.vid: int self.name: str - self.tenant: 'Tenant' + self.tenant: Any self.status: Any - self.role: 'Role' + self.role: Any self.description: str self.comments: str - self.l2vpn_termination: 'L2VPNTermination' + self.l2vpn_termination: Any self.tags: List[Any] self.custom_fields: Any self.created: str @@ -5696,13 +6449,13 @@ class VLANGroupRequest(Record): class VLANRequest(Record): def __init__(self): - self.site: 'SiteRequest' - self.group: 'VLANGroupRequest' + self.site: Any + self.group: Any self.vid: int self.name: str - self.tenant: 'TenantRequest' + self.tenant: Any self.status: str - self.role: 'RoleRequest' + self.role: Any self.description: str self.comments: str self.tags: List[Any] @@ -5713,19 +6466,19 @@ class VMInterface(Record): self.id: int self.url: str self.display: str - self.virtual_machine: 'VirtualMachineWithConfigContext' + self.virtual_machine: Any self.name: str self.enabled: bool - self.parent: 'VMInterface' - self.bridge: 'VMInterface' + self.parent: Any + self.bridge: Any self.mtu: int self.mac_address: str self.description: str self.mode: Any - self.untagged_vlan: 'VLAN' + self.untagged_vlan: Any self.tagged_vlans: List[Any] - self.vrf: 'VRF' - self.l2vpn_termination: 'L2VPNTermination' + self.vrf: Any + self.l2vpn_termination: Any self.tags: List[Any] self.custom_fields: Any self.created: str @@ -5735,18 +6488,18 @@ class VMInterface(Record): class VMInterfaceRequest(Record): def __init__(self): - self.virtual_machine: 'VirtualMachineRequest' + self.virtual_machine: Any self.name: str self.enabled: bool - self.parent: 'VMInterfaceRequest' - self.bridge: 'VMInterfaceRequest' + self.parent: Any + self.bridge: Any self.mtu: int self.mac_address: str self.description: str self.mode: str - self.untagged_vlan: 'VLANRequest' + self.untagged_vlan: Any self.tagged_vlans: List[Any] - self.vrf: 'VRFRequest' + self.vrf: Any self.tags: List[Any] self.custom_fields: Any @@ -5757,7 +6510,7 @@ class VRF(Record): self.display: str self.name: str self.rd: str - self.tenant: 'Tenant' + self.tenant: Any self.enforce_unique: bool self.description: str self.comments: str @@ -5774,7 +6527,7 @@ class VRFRequest(Record): def __init__(self): self.name: str self.rd: str - self.tenant: 'TenantRequest' + self.tenant: Any self.enforce_unique: bool self.description: str self.comments: str @@ -5790,20 +6543,20 @@ class VirtualChassis(Record): self.display: str self.name: str self.domain: str - self.master: 'Device' + self.master: Any self.description: str self.comments: str self.tags: List[Any] self.custom_fields: Any - self.member_count: int self.created: str self.last_updated: str + self.member_count: int class VirtualChassisRequest(Record): def __init__(self): self.name: str self.domain: str - self.master: 'DeviceRequest' + self.master: Any self.description: str self.comments: str self.tags: List[Any] @@ -5815,12 +6568,12 @@ class VirtualDeviceContext(Record): self.url: str self.display: str self.name: str - self.device: 'Device' + self.device: Any self.identifier: int - self.tenant: 'Tenant' - self.primary_ip: 'IPAddress' - self.primary_ip4: 'IPAddress' - self.primary_ip6: 'IPAddress' + self.tenant: Any + self.primary_ip: Any + self.primary_ip4: Any + self.primary_ip6: Any self.status: Any self.description: str self.comments: str @@ -5833,17 +6586,40 @@ class VirtualDeviceContext(Record): class VirtualDeviceContextRequest(Record): def __init__(self): self.name: str - self.device: 'DeviceRequest' + self.device: Any self.identifier: int - self.tenant: 'TenantRequest' - self.primary_ip4: 'IPAddressRequest' - self.primary_ip6: 'IPAddressRequest' + self.tenant: Any + self.primary_ip4: Any + self.primary_ip6: Any self.status: str self.description: str self.comments: str self.tags: List[Any] self.custom_fields: Any +class VirtualDisk(Record): + def __init__(self): + self.id: int + self.url: str + self.display: str + self.virtual_machine: Any + self.name: str + self.description: str + self.size: int + self.tags: List[Any] + self.custom_fields: Any + self.created: str + self.last_updated: str + +class VirtualDiskRequest(Record): + def __init__(self): + self.virtual_machine: Any + self.name: str + self.description: str + self.size: int + self.tags: List[Any] + self.custom_fields: Any + class VirtualMachineWithConfigContext(Record): def __init__(self): self.id: int @@ -5851,44 +6627,48 @@ class VirtualMachineWithConfigContext(Record): self.display: str self.name: str self.status: Any - self.site: 'Site' - self.cluster: 'Cluster' - self.device: 'Device' - self.role: 'DeviceRole' - self.tenant: 'Tenant' - self.platform: 'Platform' - self.primary_ip: 'IPAddress' - self.primary_ip4: 'IPAddress' - self.primary_ip6: 'IPAddress' + self.site: Any + self.cluster: Any + self.device: Any + self.role: Any + self.tenant: Any + self.platform: Any + self.primary_ip: Any + self.primary_ip4: Any + self.primary_ip6: Any self.vcpus: float self.memory: int self.disk: int self.description: str self.comments: str + self.config_template: Any self.local_context_data: Any self.tags: List[Any] self.custom_fields: Any self.config_context: Any self.created: str self.last_updated: str + self.interface_count: int + self.virtual_disk_count: int class VirtualMachineWithConfigContextRequest(Record): def __init__(self): self.name: str self.status: str - self.site: 'SiteRequest' - self.cluster: 'ClusterRequest' - self.device: 'DeviceRequest' - self.role: 'DeviceRoleRequest' - self.tenant: 'TenantRequest' - self.platform: 'PlatformRequest' - self.primary_ip4: 'IPAddressRequest' - self.primary_ip6: 'IPAddressRequest' + self.site: Any + self.cluster: Any + self.device: Any + self.role: Any + self.tenant: Any + self.platform: Any + self.primary_ip4: Any + self.primary_ip6: Any self.vcpus: float self.memory: int self.disk: int self.description: str self.comments: str + self.config_template: Any self.local_context_data: Any self.tags: List[Any] self.custom_fields: Any @@ -5898,45 +6678,35 @@ class Webhook(Record): self.id: int self.url: str self.display: str - self.content_types: List[Any] self.name: str - self.type_create: bool - self.type_update: bool - self.type_delete: bool - self.type_job_start: bool - self.type_job_end: bool + self.description: str self.payload_url: str - self.enabled: bool self.http_method: str self.http_content_type: str self.additional_headers: str self.body_template: str self.secret: str - self.conditions: Any self.ssl_verification: bool self.ca_file_path: str + self.custom_fields: Any + self.tags: List[Any] self.created: str self.last_updated: str class WebhookRequest(Record): def __init__(self): - self.content_types: List[Any] self.name: str - self.type_create: bool - self.type_update: bool - self.type_delete: bool - self.type_job_start: bool - self.type_job_end: bool + self.description: str self.payload_url: str - self.enabled: bool self.http_method: str self.http_content_type: str self.additional_headers: str self.body_template: str self.secret: str - self.conditions: Any self.ssl_verification: bool self.ca_file_path: str + self.custom_fields: Any + self.tags: List[Any] class WirelessLAN(Record): def __init__(self): @@ -5945,10 +6715,10 @@ class WirelessLAN(Record): self.display: str self.ssid: str self.description: str - self.group: 'WirelessLANGroup' + self.group: Any self.status: Any - self.vlan: 'VLAN' - self.tenant: 'Tenant' + self.vlan: Any + self.tenant: Any self.auth_type: Any self.auth_cipher: Any self.auth_psk: str @@ -5965,7 +6735,7 @@ class WirelessLANGroup(Record): self.display: str self.name: str self.slug: str - self.parent: 'WirelessLANGroup' + self.parent: Any self.description: str self.tags: List[Any] self.custom_fields: Any @@ -5978,7 +6748,7 @@ class WirelessLANGroupRequest(Record): def __init__(self): self.name: str self.slug: str - self.parent: 'WirelessLANGroupRequest' + self.parent: Any self.description: str self.tags: List[Any] self.custom_fields: Any @@ -5987,10 +6757,10 @@ class WirelessLANRequest(Record): def __init__(self): self.ssid: str self.description: str - self.group: 'WirelessLANGroupRequest' + self.group: Any self.status: str - self.vlan: 'VLANRequest' - self.tenant: 'TenantRequest' + self.vlan: Any + self.tenant: Any self.auth_type: str self.auth_cipher: str self.auth_psk: str @@ -6003,11 +6773,11 @@ class WirelessLink(Record): self.id: int self.url: str self.display: str - self.interface_a: 'Interface' - self.interface_b: 'Interface' + self.interface_a: Any + self.interface_b: Any self.ssid: str self.status: Any - self.tenant: 'Tenant' + self.tenant: Any self.auth_type: Any self.auth_cipher: Any self.auth_psk: str @@ -6020,11 +6790,11 @@ class WirelessLink(Record): class WirelessLinkRequest(Record): def __init__(self): - self.interface_a: 'InterfaceRequest' - self.interface_b: 'InterfaceRequest' + self.interface_a: Any + self.interface_b: Any self.ssid: str self.status: str - self.tenant: 'TenantRequest' + self.tenant: Any self.auth_type: str self.auth_cipher: str self.auth_psk: str @@ -6081,8 +6851,17 @@ class WritableBGPSessionRequest(Record): self.peer_group: int self.import_policies: List[Any] self.export_policies: List[Any] + self.prefix_list_in: int + self.prefix_list_out: int self.name: str self.description: str + self.comments: str + +class WritableBookmarkRequest(Record): + def __init__(self): + self.object_type: str + self.object_id: int + self.user: int class WritableCableRequest(Record): def __init__(self): @@ -6144,6 +6923,15 @@ class WritableClusterRequest(Record): self.tags: List[Any] self.custom_fields: Any +class WritableCommunityListRuleRequest(Record): + def __init__(self): + self.tags: List[Any] + self.custom_fields: Any + self.community_list: int + self.action: str + self.community: int + self.comments: str + class WritableCommunityRequest(Record): def __init__(self): self.tags: List[Any] @@ -6154,6 +6942,7 @@ class WritableCommunityRequest(Record): self.value: str self.site: int self.role: int + self.comments: str class WritableConfigContextRequest(Record): def __init__(self): @@ -6184,6 +6973,7 @@ class WritableConfigTemplateRequest(Record): self.environment_params: Any self.template_code: str self.data_source: int + self.data_file: int self.tags: List[Any] class WritableConsolePortRequest(Record): @@ -6237,6 +7027,8 @@ class WritableContactAssignmentRequest(Record): self.contact: int self.role: int self.priority: str + self.tags: List[Any] + self.custom_fields: Any class WritableContactGroupRequest(Record): def __init__(self): @@ -6261,6 +7053,14 @@ class WritableContactRequest(Record): self.tags: List[Any] self.custom_fields: Any +class WritableCustomFieldChoiceSetRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.base_choices: str + self.extra_choices: List[Any] + self.order_alphabetically: bool + class WritableCustomFieldRequest(Record): def __init__(self): self.content_types: List[Any] @@ -6273,14 +7073,15 @@ class WritableCustomFieldRequest(Record): self.required: bool self.search_weight: int self.filter_logic: str - self.ui_visibility: str + self.ui_visible: str + self.ui_editable: str self.is_cloneable: bool self.default: Any self.weight: int self.validation_minimum: int self.validation_maximum: int self.validation_regex: str - self.choices: List[Any] + self.choice_set: int class WritableDataSourceRequest(Record): def __init__(self): @@ -6292,6 +7093,7 @@ class WritableDataSourceRequest(Record): self.comments: str self.parameters: Any self.ignore_rules: str + self.custom_fields: Any class WritableDeviceBayRequest(Record): def __init__(self): @@ -6329,6 +7131,7 @@ class WritableDeviceTypeRequest(Record): self.slug: str self.part_number: str self.u_height: float + self.exclude_from_utilization: bool self.is_full_depth: bool self.subdevice_role: str self.airflow: str @@ -6345,7 +7148,7 @@ class WritableDeviceWithConfigContextRequest(Record): def __init__(self): self.name: str self.device_type: int - self.device_role: int + self.role: int self.tenant: int self.platform: int self.serial: str @@ -6355,20 +7158,41 @@ class WritableDeviceWithConfigContextRequest(Record): self.rack: int self.position: float self.face: str + self.latitude: float + self.longitude: float self.status: str self.airflow: str self.primary_ip4: int self.primary_ip6: int + self.oob_ip: int self.cluster: int self.virtual_chassis: int self.vc_position: int self.vc_priority: int self.description: str self.comments: str + self.config_template: int self.local_context_data: Any self.tags: List[Any] self.custom_fields: Any - self.config_template: int + +class WritableEventRuleRequest(Record): + def __init__(self): + self.content_types: List[Any] + self.name: str + self.type_create: bool + self.type_update: bool + self.type_delete: bool + self.type_job_start: bool + self.type_job_end: bool + self.enabled: bool + self.conditions: Any + self.action_type: str + self.action_object_type: str + self.action_object_id: int + self.description: str + self.custom_fields: Any + self.tags: List[Any] class WritableExportTemplateRequest(Record): def __init__(self): @@ -6415,6 +7239,31 @@ class WritableFrontPortTemplateRequest(Record): self.rear_port_position: int self.description: str +class WritableIKEPolicyRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.version: int + self.mode: str + self.proposals: List[Any] + self.preshared_key: str + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + +class WritableIKEProposalRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.authentication_method: str + self.encryption_algorithm: str + self.authentication_algorithm: str + self.group: int + self.sa_lifetime: int + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + class WritableIPAddressRequest(Record): def __init__(self): self.address: str @@ -6445,6 +7294,39 @@ class WritableIPRangeRequest(Record): self.custom_fields: Any self.mark_utilized: bool +class WritableIPSecPolicyRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.proposals: List[Any] + self.pfs_group: int + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + +class WritableIPSecProfileRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.mode: str + self.ike_policy: int + self.ipsec_policy: int + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + +class WritableIPSecProposalRequest(Record): + def __init__(self): + self.name: str + self.description: str + self.encryption_algorithm: str + self.authentication_algorithm: str + self.sa_lifetime_seconds: int + self.sa_lifetime_data: int + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + class WritableInterfaceRequest(Record): def __init__(self): self.device: int @@ -6493,6 +7375,7 @@ class WritableInterfaceTemplateRequest(Record): self.bridge: int self.poe_mode: str self.poe_type: str + self.rf_role: str class WritableInventoryItemRequest(Record): def __init__(self): @@ -6630,8 +7513,6 @@ class WritablePlatformRequest(Record): self.slug: str self.manufacturer: int self.config_template: int - self.napalm_driver: str - self.napalm_args: Any self.description: str self.tags: List[Any] self.custom_fields: Any @@ -6650,6 +7531,7 @@ class WritablePowerFeedRequest(Record): self.max_utilization: int self.mark_connected: bool self.description: str + self.tenant: int self.comments: str self.tags: List[Any] self.custom_fields: Any @@ -6725,6 +7607,7 @@ class WritablePrefixListRuleRequest(Record): self.ge: int self.le: int self.prefix: int + self.comments: str class WritablePrefixRequest(Record): def __init__(self): @@ -6787,6 +7670,7 @@ class WritableRackRequest(Record): self.type: str self.width: int self.u_height: int + self.starting_unit: int self.weight: float self.max_weight: int self.weight_unit: str @@ -6854,6 +7738,21 @@ class WritableRouteTargetRequest(Record): self.tags: List[Any] self.custom_fields: Any +class WritableRoutingPolicyRuleRequest(Record): + def __init__(self): + self.index: int + self.action: str + self.match_ip_address: List[Any] + self.routing_policy: int + self.match_community: List[Any] + self.match_custom: Any + self.set_actions: Any + self.match_ipv6_address: List[Any] + self.description: str + self.tags: List[Any] + self.custom_fields: Any + self.comments: str + class WritableServiceRequest(Record): def __init__(self): self.device: int @@ -6934,6 +7833,30 @@ class WritableTokenRequest(Record): self.write_enabled: bool self.description: str +class WritableTunnelRequest(Record): + def __init__(self): + self.name: str + self.status: str + self.group: int + self.encapsulation: str + self.ipsec_profile: int + self.tenant: int + self.tunnel_id: int + self.description: str + self.comments: str + self.tags: List[Any] + self.custom_fields: Any + +class WritableTunnelTerminationRequest(Record): + def __init__(self): + self.tunnel: int + self.role: str + self.termination_type: str + self.termination_id: int + self.outside_ip: int + self.tags: List[Any] + self.custom_fields: Any + class WritableUserRequest(Record): def __init__(self): self.username: str @@ -6944,6 +7867,7 @@ class WritableUserRequest(Record): self.is_staff: bool self.is_active: bool self.date_joined: str + self.last_login: str self.groups: List[Any] class WritableVLANRequest(Record): @@ -7014,6 +7938,15 @@ class WritableVirtualDeviceContextRequest(Record): self.tags: List[Any] self.custom_fields: Any +class WritableVirtualDiskRequest(Record): + def __init__(self): + self.virtual_machine: int + self.name: str + self.description: str + self.size: int + self.tags: List[Any] + self.custom_fields: Any + class WritableVirtualMachineWithConfigContextRequest(Record): def __init__(self): self.name: str @@ -7031,6 +7964,7 @@ class WritableVirtualMachineWithConfigContextRequest(Record): self.disk: int self.description: str self.comments: str + self.config_template: int self.local_context_data: Any self.tags: List[Any] self.custom_fields: Any diff --git a/pynetbox-stubs/_gen/extras.pyi b/pynetbox-stubs/_gen/extras.pyi index 92c217d..e497926 100644 --- a/pynetbox-stubs/_gen/extras.pyi +++ b/pynetbox-stubs/_gen/extras.pyi @@ -6,6 +6,128 @@ from pynetbox.core.app import App from pynetbox.core.endpoint import Endpoint from pynetbox.core.response import Record, RecordSet +class BookmarksEndpoint(Endpoint): + def all(self, limit=0, offset=None) -> RecordSet[definitions.Bookmark]: ... + def get( + self, + id: Optional[int] = None, + created: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + limit: Optional[int] = None, + object_id: Optional[int] = None, + object_id__empty: Optional[bool] = None, + object_id__gt: Optional[int] = None, + object_id__gte: Optional[int] = None, + object_id__lt: Optional[int] = None, + object_id__lte: Optional[int] = None, + object_id__n: Optional[int] = None, + object_type: Optional[str] = None, + object_type__n: Optional[str] = None, + object_type_id: Optional[int] = None, + object_type_id__empty: Optional[int] = None, + object_type_id__gt: Optional[int] = None, + object_type_id__gte: Optional[int] = None, + object_type_id__lt: Optional[int] = None, + object_type_id__lte: Optional[int] = None, + object_type_id__n: Optional[int] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + user: Optional[str] = None, + user__n: Optional[str] = None, + user_id: Optional[int] = None, + user_id__n: Optional[int] = None, + **kwargs: Optional[Any] + ) -> Optional[definitions.Bookmark]: ... + def filter( + self, + id: Optional[int] = None, + created: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + limit: Optional[int] = None, + object_id: Optional[int] = None, + object_id__empty: Optional[bool] = None, + object_id__gt: Optional[int] = None, + object_id__gte: Optional[int] = None, + object_id__lt: Optional[int] = None, + object_id__lte: Optional[int] = None, + object_id__n: Optional[int] = None, + object_type: Optional[str] = None, + object_type__n: Optional[str] = None, + object_type_id: Optional[int] = None, + object_type_id__empty: Optional[int] = None, + object_type_id__gt: Optional[int] = None, + object_type_id__gte: Optional[int] = None, + object_type_id__lt: Optional[int] = None, + object_type_id__lte: Optional[int] = None, + object_type_id__n: Optional[int] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + user: Optional[str] = None, + user__n: Optional[str] = None, + user_id: Optional[int] = None, + user_id__n: Optional[int] = None, + **kwargs: Optional[Any] + ) -> RecordSet[definitions.Bookmark]: ... + @overload + def create(self, *args: Dict[str, Any]) -> definitions.Bookmark: ... + @overload + def create( + self, object_type: str, object_id: int, user: int + ) -> definitions.Bookmark: ... + def create( + self, *args: Dict[str, Any], **kwargs: Any + ) -> definitions.Bookmark: ... + def update( + self, objects: Iterable[definitions.Bookmark] + ) -> RecordSet[definitions.Bookmark]: ... + def delete(self, objects: Iterable[definitions.Bookmark]) -> bool: ... + def choices(self) -> dict: ... + def count( + self, + id: Optional[int] = None, + created: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + limit: Optional[int] = None, + object_id: Optional[int] = None, + object_id__empty: Optional[bool] = None, + object_id__gt: Optional[int] = None, + object_id__gte: Optional[int] = None, + object_id__lt: Optional[int] = None, + object_id__lte: Optional[int] = None, + object_id__n: Optional[int] = None, + object_type: Optional[str] = None, + object_type__n: Optional[str] = None, + object_type_id: Optional[int] = None, + object_type_id__empty: Optional[int] = None, + object_type_id__gt: Optional[int] = None, + object_type_id__gte: Optional[int] = None, + object_type_id__lt: Optional[int] = None, + object_type_id__lte: Optional[int] = None, + object_type_id__n: Optional[int] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + user: Optional[str] = None, + user__n: Optional[str] = None, + user_id: Optional[int] = None, + user_id__n: Optional[int] = None, + **kwargs: Optional[Any] + ) -> int: ... + class Config_contextsEndpoint(Endpoint): def all( self, limit=0, offset=None @@ -42,6 +164,17 @@ class Config_contextsEndpoint(Endpoint): data_synced__lt: Optional[str] = None, data_synced__lte: Optional[str] = None, data_synced__n: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device_type_id: Optional[int] = None, device_type_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -145,6 +278,17 @@ class Config_contextsEndpoint(Endpoint): data_synced__lt: Optional[str] = None, data_synced__lte: Optional[str] = None, data_synced__n: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device_type_id: Optional[int] = None, device_type_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -281,6 +425,17 @@ class Config_contextsEndpoint(Endpoint): data_synced__lt: Optional[str] = None, data_synced__lte: Optional[str] = None, data_synced__n: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device_type_id: Optional[int] = None, device_type_id__n: Optional[int] = None, id__empty: Optional[bool] = None, @@ -467,6 +622,7 @@ class Config_templatesEndpoint(Endpoint): description: Optional[str] = None, environment_params: Optional[Any] = None, data_source: Optional[int] = None, + data_file: Optional[int] = None, tags: Optional[List[Any]] = None, ) -> definitions.ConfigTemplate: ... def create( @@ -582,6 +738,157 @@ class Content_typesEndpoint(Endpoint): **kwargs: Optional[Any] ) -> int: ... +class Custom_field_choice_setsEndpoint(Endpoint): + def all( + self, limit=0, offset=None + ) -> RecordSet[definitions.CustomFieldChoiceSet]: ... + def get( + self, + id: Optional[int] = None, + base_choices: Optional[str] = None, + base_choices__n: Optional[str] = None, + choice: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + limit: Optional[int] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + order_alphabetically: Optional[bool] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + **kwargs: Optional[Any] + ) -> Optional[definitions.CustomFieldChoiceSet]: ... + def filter( + self, + id: Optional[int] = None, + base_choices: Optional[str] = None, + base_choices__n: Optional[str] = None, + choice: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + limit: Optional[int] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + order_alphabetically: Optional[bool] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + **kwargs: Optional[Any] + ) -> RecordSet[definitions.CustomFieldChoiceSet]: ... + @overload + def create( + self, *args: Dict[str, Any] + ) -> definitions.CustomFieldChoiceSet: ... + @overload + def create( + self, + name: str, + extra_choices: List[Any], + description: Optional[str] = None, + base_choices: Optional[str] = None, + order_alphabetically: Optional[bool] = None, + ) -> definitions.CustomFieldChoiceSet: ... + def create( + self, *args: Dict[str, Any], **kwargs: Any + ) -> definitions.CustomFieldChoiceSet: ... + def update( + self, objects: Iterable[definitions.CustomFieldChoiceSet] + ) -> RecordSet[definitions.CustomFieldChoiceSet]: ... + def delete( + self, objects: Iterable[definitions.CustomFieldChoiceSet] + ) -> bool: ... + def choices(self) -> dict: ... + def count( + self, + id: Optional[int] = None, + base_choices: Optional[str] = None, + base_choices__n: Optional[str] = None, + choice: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + limit: Optional[int] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + order_alphabetically: Optional[bool] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + **kwargs: Optional[Any] + ) -> int: ... + class Custom_fieldsEndpoint(Endpoint): def all( self, limit=0, offset=None @@ -589,6 +896,10 @@ class Custom_fieldsEndpoint(Endpoint): def get( self, id: Optional[int] = None, + choice_set: Optional[str] = None, + choice_set__n: Optional[str] = None, + choice_set_id: Optional[int] = None, + choice_set_id__n: Optional[int] = None, content_type_id: Optional[int] = None, content_type_id__empty: Optional[int] = None, content_type_id__gt: Optional[int] = None, @@ -662,8 +973,10 @@ class Custom_fieldsEndpoint(Endpoint): search_weight__n: Optional[int] = None, type: Optional[str] = None, type__n: Optional[str] = None, - ui_visibility: Optional[str] = None, - ui_visibility__n: Optional[str] = None, + ui_editable: Optional[str] = None, + ui_editable__n: Optional[str] = None, + ui_visible: Optional[str] = None, + ui_visible__n: Optional[str] = None, weight: Optional[int] = None, weight__empty: Optional[bool] = None, weight__gt: Optional[int] = None, @@ -676,6 +989,10 @@ class Custom_fieldsEndpoint(Endpoint): def filter( self, id: Optional[int] = None, + choice_set: Optional[str] = None, + choice_set__n: Optional[str] = None, + choice_set_id: Optional[int] = None, + choice_set_id__n: Optional[int] = None, content_type_id: Optional[int] = None, content_type_id__empty: Optional[int] = None, content_type_id__gt: Optional[int] = None, @@ -749,8 +1066,10 @@ class Custom_fieldsEndpoint(Endpoint): search_weight__n: Optional[int] = None, type: Optional[str] = None, type__n: Optional[str] = None, - ui_visibility: Optional[str] = None, - ui_visibility__n: Optional[str] = None, + ui_editable: Optional[str] = None, + ui_editable__n: Optional[str] = None, + ui_visible: Optional[str] = None, + ui_visible__n: Optional[str] = None, weight: Optional[int] = None, weight__empty: Optional[bool] = None, weight__gt: Optional[int] = None, @@ -775,14 +1094,15 @@ class Custom_fieldsEndpoint(Endpoint): required: Optional[bool] = None, search_weight: Optional[int] = None, filter_logic: Optional[str] = None, - ui_visibility: Optional[str] = None, + ui_visible: Optional[str] = None, + ui_editable: Optional[str] = None, is_cloneable: Optional[bool] = None, default: Optional[Any] = None, weight: Optional[int] = None, validation_minimum: Optional[int] = None, validation_maximum: Optional[int] = None, validation_regex: Optional[str] = None, - choices: Optional[List[Any]] = None, + choice_set: Optional[int] = None, ) -> definitions.CustomField: ... def create( self, *args: Dict[str, Any], **kwargs: Any @@ -795,6 +1115,10 @@ class Custom_fieldsEndpoint(Endpoint): def count( self, id: Optional[int] = None, + choice_set: Optional[str] = None, + choice_set__n: Optional[str] = None, + choice_set_id: Optional[int] = None, + choice_set_id__n: Optional[int] = None, content_type_id: Optional[int] = None, content_type_id__empty: Optional[int] = None, content_type_id__gt: Optional[int] = None, @@ -868,8 +1192,10 @@ class Custom_fieldsEndpoint(Endpoint): search_weight__n: Optional[int] = None, type: Optional[str] = None, type__n: Optional[str] = None, - ui_visibility: Optional[str] = None, - ui_visibility__n: Optional[str] = None, + ui_editable: Optional[str] = None, + ui_editable__n: Optional[str] = None, + ui_visible: Optional[str] = None, + ui_visible__n: Optional[str] = None, weight: Optional[int] = None, weight__empty: Optional[bool] = None, weight__gt: Optional[int] = None, @@ -1094,44 +1420,374 @@ class Custom_linksEndpoint(Endpoint): content_types__niew: Optional[str] = None, content_types__nisw: Optional[str] = None, enabled: Optional[bool] = None, - group_name: Optional[str] = None, - group_name__empty: Optional[bool] = None, - group_name__ic: Optional[str] = None, - group_name__ie: Optional[str] = None, - group_name__iew: Optional[str] = None, - group_name__isw: Optional[str] = None, - group_name__n: Optional[str] = None, - group_name__nic: Optional[str] = None, - group_name__nie: Optional[str] = None, - group_name__niew: Optional[str] = None, - group_name__nisw: Optional[str] = None, + group_name: Optional[str] = None, + group_name__empty: Optional[bool] = None, + group_name__ic: Optional[str] = None, + group_name__ie: Optional[str] = None, + group_name__iew: Optional[str] = None, + group_name__isw: Optional[str] = None, + group_name__n: Optional[str] = None, + group_name__nic: Optional[str] = None, + group_name__nie: Optional[str] = None, + group_name__niew: Optional[str] = None, + group_name__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + limit: Optional[int] = None, + link_text: Optional[str] = None, + link_text__ic: Optional[str] = None, + link_text__ie: Optional[str] = None, + link_text__iew: Optional[str] = None, + link_text__isw: Optional[str] = None, + link_text__n: Optional[str] = None, + link_text__nic: Optional[str] = None, + link_text__nie: Optional[str] = None, + link_text__niew: Optional[str] = None, + link_text__nisw: Optional[str] = None, + link_url: Optional[str] = None, + link_url__ic: Optional[str] = None, + link_url__ie: Optional[str] = None, + link_url__iew: Optional[str] = None, + link_url__isw: Optional[str] = None, + link_url__n: Optional[str] = None, + link_url__nic: Optional[str] = None, + link_url__nie: Optional[str] = None, + link_url__niew: Optional[str] = None, + link_url__nisw: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + new_window: Optional[bool] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + weight: Optional[int] = None, + weight__empty: Optional[bool] = None, + weight__gt: Optional[int] = None, + weight__gte: Optional[int] = None, + weight__lt: Optional[int] = None, + weight__lte: Optional[int] = None, + weight__n: Optional[int] = None, + **kwargs: Optional[Any] + ) -> int: ... + +class DashboardEndpoint(Endpoint): + def all( + self, limit=0, offset=None + ) -> RecordSet[definitions.Dashboard]: ... + def get( + self, **kwargs: Optional[Any] + ) -> Optional[definitions.Dashboard]: ... + def filter( + self, **kwargs: Optional[Any] + ) -> RecordSet[definitions.Dashboard]: ... + @overload + def create(self, *args: Dict[str, Any]) -> definitions.Dashboard: ... + @overload + def create( + self, + ) -> definitions.Dashboard: ... + def create( + self, *args: Dict[str, Any], **kwargs: Any + ) -> definitions.Dashboard: ... + def update( + self, objects: Iterable[definitions.Dashboard] + ) -> RecordSet[definitions.Dashboard]: ... + def delete(self, objects: Iterable[definitions.Dashboard]) -> bool: ... + def choices(self) -> dict: ... + def count(self, **kwargs: Optional[Any]) -> int: ... + +class Event_rulesEndpoint(Endpoint): + def all( + self, limit=0, offset=None + ) -> RecordSet[definitions.EventRule]: ... + def get( + self, + id: Optional[int] = None, + action_object_id: Optional[int] = None, + action_object_id__empty: Optional[int] = None, + action_object_id__gt: Optional[int] = None, + action_object_id__gte: Optional[int] = None, + action_object_id__lt: Optional[int] = None, + action_object_id__lte: Optional[int] = None, + action_object_id__n: Optional[int] = None, + action_object_type: Optional[str] = None, + action_object_type__n: Optional[str] = None, + action_type: Optional[str] = None, + action_type__n: Optional[str] = None, + content_type_id: Optional[int] = None, + content_type_id__empty: Optional[int] = None, + content_type_id__gt: Optional[int] = None, + content_type_id__gte: Optional[int] = None, + content_type_id__lt: Optional[int] = None, + content_type_id__lte: Optional[int] = None, + content_type_id__n: Optional[int] = None, + content_types: Optional[str] = None, + content_types__ic: Optional[str] = None, + content_types__ie: Optional[str] = None, + content_types__iew: Optional[str] = None, + content_types__isw: Optional[str] = None, + content_types__n: Optional[str] = None, + content_types__nic: Optional[str] = None, + content_types__nie: Optional[str] = None, + content_types__niew: Optional[str] = None, + content_types__nisw: Optional[str] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + enabled: Optional[bool] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + type_create: Optional[bool] = None, + type_delete: Optional[bool] = None, + type_job_end: Optional[bool] = None, + type_job_start: Optional[bool] = None, + type_update: Optional[bool] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> Optional[definitions.EventRule]: ... + def filter( + self, + id: Optional[int] = None, + action_object_id: Optional[int] = None, + action_object_id__empty: Optional[int] = None, + action_object_id__gt: Optional[int] = None, + action_object_id__gte: Optional[int] = None, + action_object_id__lt: Optional[int] = None, + action_object_id__lte: Optional[int] = None, + action_object_id__n: Optional[int] = None, + action_object_type: Optional[str] = None, + action_object_type__n: Optional[str] = None, + action_type: Optional[str] = None, + action_type__n: Optional[str] = None, + content_type_id: Optional[int] = None, + content_type_id__empty: Optional[int] = None, + content_type_id__gt: Optional[int] = None, + content_type_id__gte: Optional[int] = None, + content_type_id__lt: Optional[int] = None, + content_type_id__lte: Optional[int] = None, + content_type_id__n: Optional[int] = None, + content_types: Optional[str] = None, + content_types__ic: Optional[str] = None, + content_types__ie: Optional[str] = None, + content_types__iew: Optional[str] = None, + content_types__isw: Optional[str] = None, + content_types__n: Optional[str] = None, + content_types__nic: Optional[str] = None, + content_types__nie: Optional[str] = None, + content_types__niew: Optional[str] = None, + content_types__nisw: Optional[str] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + enabled: Optional[bool] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + type_create: Optional[bool] = None, + type_delete: Optional[bool] = None, + type_job_end: Optional[bool] = None, + type_job_start: Optional[bool] = None, + type_update: Optional[bool] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> RecordSet[definitions.EventRule]: ... + @overload + def create(self, *args: Dict[str, Any]) -> definitions.EventRule: ... + @overload + def create( + self, + content_types: List[Any], + name: str, + action_object_type: str, + type_create: Optional[bool] = None, + type_update: Optional[bool] = None, + type_delete: Optional[bool] = None, + type_job_start: Optional[bool] = None, + type_job_end: Optional[bool] = None, + enabled: Optional[bool] = None, + conditions: Optional[Any] = None, + action_type: Optional[str] = None, + action_object_id: Optional[int] = None, + description: Optional[str] = None, + custom_fields: Optional[Any] = None, + tags: Optional[List[Any]] = None, + ) -> definitions.EventRule: ... + def create( + self, *args: Dict[str, Any], **kwargs: Any + ) -> definitions.EventRule: ... + def update( + self, objects: Iterable[definitions.EventRule] + ) -> RecordSet[definitions.EventRule]: ... + def delete(self, objects: Iterable[definitions.EventRule]) -> bool: ... + def choices(self) -> dict: ... + def count( + self, + id: Optional[int] = None, + action_object_id: Optional[int] = None, + action_object_id__empty: Optional[int] = None, + action_object_id__gt: Optional[int] = None, + action_object_id__gte: Optional[int] = None, + action_object_id__lt: Optional[int] = None, + action_object_id__lte: Optional[int] = None, + action_object_id__n: Optional[int] = None, + action_object_type: Optional[str] = None, + action_object_type__n: Optional[str] = None, + action_type: Optional[str] = None, + action_type__n: Optional[str] = None, + content_type_id: Optional[int] = None, + content_type_id__empty: Optional[int] = None, + content_type_id__gt: Optional[int] = None, + content_type_id__gte: Optional[int] = None, + content_type_id__lt: Optional[int] = None, + content_type_id__lte: Optional[int] = None, + content_type_id__n: Optional[int] = None, + content_types: Optional[str] = None, + content_types__ic: Optional[str] = None, + content_types__ie: Optional[str] = None, + content_types__iew: Optional[str] = None, + content_types__isw: Optional[str] = None, + content_types__n: Optional[str] = None, + content_types__nic: Optional[str] = None, + content_types__nie: Optional[str] = None, + content_types__niew: Optional[str] = None, + content_types__nisw: Optional[str] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + enabled: Optional[bool] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, id__lt: Optional[int] = None, id__lte: Optional[int] = None, id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, limit: Optional[int] = None, - link_text: Optional[str] = None, - link_text__ic: Optional[str] = None, - link_text__ie: Optional[str] = None, - link_text__iew: Optional[str] = None, - link_text__isw: Optional[str] = None, - link_text__n: Optional[str] = None, - link_text__nic: Optional[str] = None, - link_text__nie: Optional[str] = None, - link_text__niew: Optional[str] = None, - link_text__nisw: Optional[str] = None, - link_url: Optional[str] = None, - link_url__ic: Optional[str] = None, - link_url__ie: Optional[str] = None, - link_url__iew: Optional[str] = None, - link_url__isw: Optional[str] = None, - link_url__n: Optional[str] = None, - link_url__nic: Optional[str] = None, - link_url__nie: Optional[str] = None, - link_url__niew: Optional[str] = None, - link_url__nisw: Optional[str] = None, + modified_by_request: Optional[str] = None, name: Optional[str] = None, name__empty: Optional[bool] = None, name__ic: Optional[str] = None, @@ -1143,46 +1799,20 @@ class Custom_linksEndpoint(Endpoint): name__nie: Optional[str] = None, name__niew: Optional[str] = None, name__nisw: Optional[str] = None, - new_window: Optional[bool] = None, offset: Optional[int] = None, ordering: Optional[str] = None, q: Optional[str] = None, - weight: Optional[int] = None, - weight__empty: Optional[bool] = None, - weight__gt: Optional[int] = None, - weight__gte: Optional[int] = None, - weight__lt: Optional[int] = None, - weight__lte: Optional[int] = None, - weight__n: Optional[int] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + type_create: Optional[bool] = None, + type_delete: Optional[bool] = None, + type_job_end: Optional[bool] = None, + type_job_start: Optional[bool] = None, + type_update: Optional[bool] = None, + updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> int: ... -class DashboardEndpoint(Endpoint): - def all( - self, limit=0, offset=None - ) -> RecordSet[definitions.Dashboard]: ... - def get( - self, **kwargs: Optional[Any] - ) -> Optional[definitions.Dashboard]: ... - def filter( - self, **kwargs: Optional[Any] - ) -> RecordSet[definitions.Dashboard]: ... - @overload - def create(self, *args: Dict[str, Any]) -> definitions.Dashboard: ... - @overload - def create( - self, - ) -> definitions.Dashboard: ... - def create( - self, *args: Dict[str, Any], **kwargs: Any - ) -> definitions.Dashboard: ... - def update( - self, objects: Iterable[definitions.Dashboard] - ) -> RecordSet[definitions.Dashboard]: ... - def delete(self, objects: Iterable[definitions.Dashboard]) -> bool: ... - def choices(self) -> dict: ... - def count(self, **kwargs: Optional[Any]) -> int: ... - class Export_templatesEndpoint(Endpoint): def all( self, limit=0, offset=None @@ -2204,6 +2834,7 @@ class TagsEndpoint(Endpoint): description__nie: Optional[str] = None, description__niew: Optional[str] = None, description__nisw: Optional[str] = None, + for_object_type_id: Optional[int] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -2230,6 +2861,8 @@ class TagsEndpoint(Endpoint): name__nie: Optional[str] = None, name__niew: Optional[str] = None, name__nisw: Optional[str] = None, + object_types: Optional[int] = None, + object_types__n: Optional[int] = None, offset: Optional[int] = None, ordering: Optional[str] = None, q: Optional[str] = None, @@ -2282,6 +2915,7 @@ class TagsEndpoint(Endpoint): description__nie: Optional[str] = None, description__niew: Optional[str] = None, description__nisw: Optional[str] = None, + for_object_type_id: Optional[int] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -2308,6 +2942,8 @@ class TagsEndpoint(Endpoint): name__nie: Optional[str] = None, name__niew: Optional[str] = None, name__nisw: Optional[str] = None, + object_types: Optional[int] = None, + object_types__n: Optional[int] = None, offset: Optional[int] = None, ordering: Optional[str] = None, q: Optional[str] = None, @@ -2334,6 +2970,7 @@ class TagsEndpoint(Endpoint): slug: str, color: Optional[str] = None, description: Optional[str] = None, + object_types: Optional[List[Any]] = None, ) -> definitions.Tag: ... def create( self, *args: Dict[str, Any], **kwargs: Any @@ -2378,6 +3015,7 @@ class TagsEndpoint(Endpoint): description__nie: Optional[str] = None, description__niew: Optional[str] = None, description__nisw: Optional[str] = None, + for_object_type_id: Optional[int] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -2404,6 +3042,8 @@ class TagsEndpoint(Endpoint): name__nie: Optional[str] = None, name__niew: Optional[str] = None, name__nisw: Optional[str] = None, + object_types: Optional[int] = None, + object_types__n: Optional[int] = None, offset: Optional[int] = None, ordering: Optional[str] = None, q: Optional[str] = None, @@ -2438,24 +3078,25 @@ class WebhooksEndpoint(Endpoint): ca_file_path__nie: Optional[str] = None, ca_file_path__niew: Optional[str] = None, ca_file_path__nisw: Optional[str] = None, - content_type_id: Optional[int] = None, - content_type_id__empty: Optional[int] = None, - content_type_id__gt: Optional[int] = None, - content_type_id__gte: Optional[int] = None, - content_type_id__lt: Optional[int] = None, - content_type_id__lte: Optional[int] = None, - content_type_id__n: Optional[int] = None, - content_types: Optional[str] = None, - content_types__ic: Optional[str] = None, - content_types__ie: Optional[str] = None, - content_types__iew: Optional[str] = None, - content_types__isw: Optional[str] = None, - content_types__n: Optional[str] = None, - content_types__nic: Optional[str] = None, - content_types__nie: Optional[str] = None, - content_types__niew: Optional[str] = None, - content_types__nisw: Optional[str] = None, - enabled: Optional[bool] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, http_content_type: Optional[str] = None, http_content_type__empty: Optional[bool] = None, http_content_type__ic: Optional[str] = None, @@ -2475,7 +3116,15 @@ class WebhooksEndpoint(Endpoint): id__lt: Optional[int] = None, id__lte: Optional[int] = None, id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, limit: Optional[int] = None, + modified_by_request: Optional[str] = None, name: Optional[str] = None, name__empty: Optional[bool] = None, name__ic: Optional[str] = None, @@ -2490,16 +3139,6 @@ class WebhooksEndpoint(Endpoint): offset: Optional[int] = None, ordering: Optional[str] = None, payload_url: Optional[str] = None, - payload_url__empty: Optional[bool] = None, - payload_url__ic: Optional[str] = None, - payload_url__ie: Optional[str] = None, - payload_url__iew: Optional[str] = None, - payload_url__isw: Optional[str] = None, - payload_url__n: Optional[str] = None, - payload_url__nic: Optional[str] = None, - payload_url__nie: Optional[str] = None, - payload_url__niew: Optional[str] = None, - payload_url__nisw: Optional[str] = None, q: Optional[str] = None, secret: Optional[str] = None, secret__empty: Optional[bool] = None, @@ -2513,11 +3152,9 @@ class WebhooksEndpoint(Endpoint): secret__niew: Optional[str] = None, secret__nisw: Optional[str] = None, ssl_verification: Optional[bool] = None, - type_create: Optional[bool] = None, - type_delete: Optional[bool] = None, - type_job_end: Optional[bool] = None, - type_job_start: Optional[bool] = None, - type_update: Optional[bool] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> Optional[definitions.Webhook]: ... def filter( @@ -2534,24 +3171,25 @@ class WebhooksEndpoint(Endpoint): ca_file_path__nie: Optional[str] = None, ca_file_path__niew: Optional[str] = None, ca_file_path__nisw: Optional[str] = None, - content_type_id: Optional[int] = None, - content_type_id__empty: Optional[int] = None, - content_type_id__gt: Optional[int] = None, - content_type_id__gte: Optional[int] = None, - content_type_id__lt: Optional[int] = None, - content_type_id__lte: Optional[int] = None, - content_type_id__n: Optional[int] = None, - content_types: Optional[str] = None, - content_types__ic: Optional[str] = None, - content_types__ie: Optional[str] = None, - content_types__iew: Optional[str] = None, - content_types__isw: Optional[str] = None, - content_types__n: Optional[str] = None, - content_types__nic: Optional[str] = None, - content_types__nie: Optional[str] = None, - content_types__niew: Optional[str] = None, - content_types__nisw: Optional[str] = None, - enabled: Optional[bool] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, http_content_type: Optional[str] = None, http_content_type__empty: Optional[bool] = None, http_content_type__ic: Optional[str] = None, @@ -2571,7 +3209,15 @@ class WebhooksEndpoint(Endpoint): id__lt: Optional[int] = None, id__lte: Optional[int] = None, id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, limit: Optional[int] = None, + modified_by_request: Optional[str] = None, name: Optional[str] = None, name__empty: Optional[bool] = None, name__ic: Optional[str] = None, @@ -2586,16 +3232,6 @@ class WebhooksEndpoint(Endpoint): offset: Optional[int] = None, ordering: Optional[str] = None, payload_url: Optional[str] = None, - payload_url__empty: Optional[bool] = None, - payload_url__ic: Optional[str] = None, - payload_url__ie: Optional[str] = None, - payload_url__iew: Optional[str] = None, - payload_url__isw: Optional[str] = None, - payload_url__n: Optional[str] = None, - payload_url__nic: Optional[str] = None, - payload_url__nie: Optional[str] = None, - payload_url__niew: Optional[str] = None, - payload_url__nisw: Optional[str] = None, q: Optional[str] = None, secret: Optional[str] = None, secret__empty: Optional[bool] = None, @@ -2609,11 +3245,9 @@ class WebhooksEndpoint(Endpoint): secret__niew: Optional[str] = None, secret__nisw: Optional[str] = None, ssl_verification: Optional[bool] = None, - type_create: Optional[bool] = None, - type_delete: Optional[bool] = None, - type_job_end: Optional[bool] = None, - type_job_start: Optional[bool] = None, - type_update: Optional[bool] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> RecordSet[definitions.Webhook]: ... @overload @@ -2621,23 +3255,18 @@ class WebhooksEndpoint(Endpoint): @overload def create( self, - content_types: List[Any], name: str, payload_url: str, - type_create: Optional[bool] = None, - type_update: Optional[bool] = None, - type_delete: Optional[bool] = None, - type_job_start: Optional[bool] = None, - type_job_end: Optional[bool] = None, - enabled: Optional[bool] = None, + description: Optional[str] = None, http_method: Optional[str] = None, http_content_type: Optional[str] = None, additional_headers: Optional[str] = None, body_template: Optional[str] = None, secret: Optional[str] = None, - conditions: Optional[Any] = None, ssl_verification: Optional[bool] = None, ca_file_path: Optional[str] = None, + custom_fields: Optional[Any] = None, + tags: Optional[List[Any]] = None, ) -> definitions.Webhook: ... def create( self, *args: Dict[str, Any], **kwargs: Any @@ -2661,24 +3290,25 @@ class WebhooksEndpoint(Endpoint): ca_file_path__nie: Optional[str] = None, ca_file_path__niew: Optional[str] = None, ca_file_path__nisw: Optional[str] = None, - content_type_id: Optional[int] = None, - content_type_id__empty: Optional[int] = None, - content_type_id__gt: Optional[int] = None, - content_type_id__gte: Optional[int] = None, - content_type_id__lt: Optional[int] = None, - content_type_id__lte: Optional[int] = None, - content_type_id__n: Optional[int] = None, - content_types: Optional[str] = None, - content_types__ic: Optional[str] = None, - content_types__ie: Optional[str] = None, - content_types__iew: Optional[str] = None, - content_types__isw: Optional[str] = None, - content_types__n: Optional[str] = None, - content_types__nic: Optional[str] = None, - content_types__nie: Optional[str] = None, - content_types__niew: Optional[str] = None, - content_types__nisw: Optional[str] = None, - enabled: Optional[bool] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, http_content_type: Optional[str] = None, http_content_type__empty: Optional[bool] = None, http_content_type__ic: Optional[str] = None, @@ -2698,7 +3328,15 @@ class WebhooksEndpoint(Endpoint): id__lt: Optional[int] = None, id__lte: Optional[int] = None, id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, limit: Optional[int] = None, + modified_by_request: Optional[str] = None, name: Optional[str] = None, name__empty: Optional[bool] = None, name__ic: Optional[str] = None, @@ -2713,16 +3351,6 @@ class WebhooksEndpoint(Endpoint): offset: Optional[int] = None, ordering: Optional[str] = None, payload_url: Optional[str] = None, - payload_url__empty: Optional[bool] = None, - payload_url__ic: Optional[str] = None, - payload_url__ie: Optional[str] = None, - payload_url__iew: Optional[str] = None, - payload_url__isw: Optional[str] = None, - payload_url__n: Optional[str] = None, - payload_url__nic: Optional[str] = None, - payload_url__nie: Optional[str] = None, - payload_url__niew: Optional[str] = None, - payload_url__nisw: Optional[str] = None, q: Optional[str] = None, secret: Optional[str] = None, secret__empty: Optional[bool] = None, @@ -2736,22 +3364,23 @@ class WebhooksEndpoint(Endpoint): secret__niew: Optional[str] = None, secret__nisw: Optional[str] = None, ssl_verification: Optional[bool] = None, - type_create: Optional[bool] = None, - type_delete: Optional[bool] = None, - type_job_end: Optional[bool] = None, - type_job_start: Optional[bool] = None, - type_update: Optional[bool] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> int: ... class ExtrasApp(App): def __init__(self, api: 'Api', name): + self.bookmarks: BookmarksEndpoint = ... self.config_contexts: Config_contextsEndpoint = ... self.config_templates: Config_templatesEndpoint = ... self.content_types: Content_typesEndpoint = ... + self.custom_field_choice_sets: Custom_field_choice_setsEndpoint = ... self.custom_fields: Custom_fieldsEndpoint = ... self.custom_links: Custom_linksEndpoint = ... self.dashboard: DashboardEndpoint = ... + self.event_rules: Event_rulesEndpoint = ... self.export_templates: Export_templatesEndpoint = ... self.image_attachments: Image_attachmentsEndpoint = ... self.journal_entries: Journal_entriesEndpoint = ... diff --git a/pynetbox-stubs/_gen/ipam.pyi b/pynetbox-stubs/_gen/ipam.pyi index 38ace39..d546f02 100644 --- a/pynetbox-stubs/_gen/ipam.pyi +++ b/pynetbox-stubs/_gen/ipam.pyi @@ -941,6 +941,17 @@ class Fhrp_groupsEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, group_id: Optional[int] = None, group_id__empty: Optional[bool] = None, group_id__gt: Optional[int] = None, @@ -1009,6 +1020,17 @@ class Fhrp_groupsEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, group_id: Optional[int] = None, group_id__empty: Optional[bool] = None, group_id__gt: Optional[int] = None, @@ -1100,6 +1122,17 @@ class Fhrp_groupsEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, group_id: Optional[int] = None, group_id__empty: Optional[bool] = None, group_id__gt: Optional[int] = None, @@ -1208,7 +1241,9 @@ class Ip_addressesEndpoint(Endpoint): last_updated__lte: Optional[str] = None, last_updated__n: Optional[str] = None, limit: Optional[int] = None, - mask_length: Optional[float] = None, + mask_length: Optional[int] = None, + mask_length__gte: Optional[float] = None, + mask_length__lte: Optional[float] = None, modified_by_request: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, @@ -1302,7 +1337,9 @@ class Ip_addressesEndpoint(Endpoint): last_updated__lte: Optional[str] = None, last_updated__n: Optional[str] = None, limit: Optional[int] = None, - mask_length: Optional[float] = None, + mask_length: Optional[int] = None, + mask_length__gte: Optional[float] = None, + mask_length__lte: Optional[float] = None, modified_by_request: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, @@ -1380,512 +1417,31 @@ class Ip_addressesEndpoint(Endpoint): created_by_request: Optional[str] = None, description: Optional[str] = None, description__empty: Optional[bool] = None, - description__ic: Optional[str] = None, - description__ie: Optional[str] = None, - description__iew: Optional[str] = None, - description__isw: Optional[str] = None, - description__n: Optional[str] = None, - description__nic: Optional[str] = None, - description__nie: Optional[str] = None, - description__niew: Optional[str] = None, - description__nisw: Optional[str] = None, - device: Optional[str] = None, - device_id: Optional[int] = None, - dns_name: Optional[str] = None, - dns_name__empty: Optional[bool] = None, - dns_name__ic: Optional[str] = None, - dns_name__ie: Optional[str] = None, - dns_name__iew: Optional[str] = None, - dns_name__isw: Optional[str] = None, - dns_name__n: Optional[str] = None, - dns_name__nic: Optional[str] = None, - dns_name__nie: Optional[str] = None, - dns_name__niew: Optional[str] = None, - dns_name__nisw: Optional[str] = None, - family: Optional[float] = None, - fhrpgroup_id: Optional[int] = None, - fhrpgroup_id__n: Optional[int] = None, - id__empty: Optional[bool] = None, - id__gt: Optional[int] = None, - id__gte: Optional[int] = None, - id__lt: Optional[int] = None, - id__lte: Optional[int] = None, - id__n: Optional[int] = None, - interface: Optional[str] = None, - interface__n: Optional[str] = None, - interface_id: Optional[int] = None, - interface_id__n: Optional[int] = None, - last_updated: Optional[str] = None, - last_updated__empty: Optional[str] = None, - last_updated__gt: Optional[str] = None, - last_updated__gte: Optional[str] = None, - last_updated__lt: Optional[str] = None, - last_updated__lte: Optional[str] = None, - last_updated__n: Optional[str] = None, - limit: Optional[int] = None, - mask_length: Optional[float] = None, - modified_by_request: Optional[str] = None, - offset: Optional[int] = None, - ordering: Optional[str] = None, - parent: Optional[str] = None, - present_in_vrf: Optional[str] = None, - present_in_vrf_id: Optional[str | int] = None, - q: Optional[str] = None, - role: Optional[str] = None, - role__n: Optional[str] = None, - status: Optional[str] = None, - status__n: Optional[str] = None, - tag: Optional[str] = None, - tag__n: Optional[str] = None, - tenant: Optional[str] = None, - tenant__n: Optional[str] = None, - tenant_group: Optional[int] = None, - tenant_group__n: Optional[int] = None, - tenant_group_id: Optional[int] = None, - tenant_group_id__n: Optional[int] = None, - tenant_id: Optional[int] = None, - tenant_id__n: Optional[int] = None, - updated_by_request: Optional[str] = None, - virtual_machine: Optional[str] = None, - virtual_machine_id: Optional[int] = None, - vminterface: Optional[str] = None, - vminterface__n: Optional[str] = None, - vminterface_id: Optional[int] = None, - vminterface_id__n: Optional[int] = None, - vrf: Optional[str] = None, - vrf__n: Optional[str] = None, - vrf_id: Optional[int] = None, - vrf_id__n: Optional[int] = None, - **kwargs: Optional[Any] - ) -> int: ... - -class Ip_rangesEndpoint(Endpoint): - def all(self, limit=0, offset=None) -> RecordSet[definitions.IPRange]: ... - def get( - self, - id: Optional[int] = None, - contains: Optional[str] = None, - created: Optional[str] = None, - created__empty: Optional[str] = None, - created__gt: Optional[str] = None, - created__gte: Optional[str] = None, - created__lt: Optional[str] = None, - created__lte: Optional[str] = None, - created__n: Optional[str] = None, - created_by_request: Optional[str] = None, - description: Optional[str] = None, - description__empty: Optional[bool] = None, - description__ic: Optional[str] = None, - description__ie: Optional[str] = None, - description__iew: Optional[str] = None, - description__isw: Optional[str] = None, - description__n: Optional[str] = None, - description__nic: Optional[str] = None, - description__nie: Optional[str] = None, - description__niew: Optional[str] = None, - description__nisw: Optional[str] = None, - end_address: Optional[str] = None, - family: Optional[float] = None, - id__empty: Optional[bool] = None, - id__gt: Optional[int] = None, - id__gte: Optional[int] = None, - id__lt: Optional[int] = None, - id__lte: Optional[int] = None, - id__n: Optional[int] = None, - last_updated: Optional[str] = None, - last_updated__empty: Optional[str] = None, - last_updated__gt: Optional[str] = None, - last_updated__gte: Optional[str] = None, - last_updated__lt: Optional[str] = None, - last_updated__lte: Optional[str] = None, - last_updated__n: Optional[str] = None, - limit: Optional[int] = None, - mark_utilized: Optional[bool] = None, - modified_by_request: Optional[str] = None, - offset: Optional[int] = None, - ordering: Optional[str] = None, - parent: Optional[str] = None, - q: Optional[str] = None, - role: Optional[str] = None, - role__n: Optional[str] = None, - role_id: Optional[int] = None, - role_id__n: Optional[int] = None, - start_address: Optional[str] = None, - status: Optional[str] = None, - status__n: Optional[str] = None, - tag: Optional[str] = None, - tag__n: Optional[str] = None, - tenant: Optional[str] = None, - tenant__n: Optional[str] = None, - tenant_group: Optional[int] = None, - tenant_group__n: Optional[int] = None, - tenant_group_id: Optional[int] = None, - tenant_group_id__n: Optional[int] = None, - tenant_id: Optional[int] = None, - tenant_id__n: Optional[int] = None, - updated_by_request: Optional[str] = None, - vrf: Optional[str] = None, - vrf__n: Optional[str] = None, - vrf_id: Optional[int] = None, - vrf_id__n: Optional[int] = None, - **kwargs: Optional[Any] - ) -> Optional[definitions.IPRange]: ... - def filter( - self, - id: Optional[int] = None, - contains: Optional[str] = None, - created: Optional[str] = None, - created__empty: Optional[str] = None, - created__gt: Optional[str] = None, - created__gte: Optional[str] = None, - created__lt: Optional[str] = None, - created__lte: Optional[str] = None, - created__n: Optional[str] = None, - created_by_request: Optional[str] = None, - description: Optional[str] = None, - description__empty: Optional[bool] = None, - description__ic: Optional[str] = None, - description__ie: Optional[str] = None, - description__iew: Optional[str] = None, - description__isw: Optional[str] = None, - description__n: Optional[str] = None, - description__nic: Optional[str] = None, - description__nie: Optional[str] = None, - description__niew: Optional[str] = None, - description__nisw: Optional[str] = None, - end_address: Optional[str] = None, - family: Optional[float] = None, - id__empty: Optional[bool] = None, - id__gt: Optional[int] = None, - id__gte: Optional[int] = None, - id__lt: Optional[int] = None, - id__lte: Optional[int] = None, - id__n: Optional[int] = None, - last_updated: Optional[str] = None, - last_updated__empty: Optional[str] = None, - last_updated__gt: Optional[str] = None, - last_updated__gte: Optional[str] = None, - last_updated__lt: Optional[str] = None, - last_updated__lte: Optional[str] = None, - last_updated__n: Optional[str] = None, - limit: Optional[int] = None, - mark_utilized: Optional[bool] = None, - modified_by_request: Optional[str] = None, - offset: Optional[int] = None, - ordering: Optional[str] = None, - parent: Optional[str] = None, - q: Optional[str] = None, - role: Optional[str] = None, - role__n: Optional[str] = None, - role_id: Optional[int] = None, - role_id__n: Optional[int] = None, - start_address: Optional[str] = None, - status: Optional[str] = None, - status__n: Optional[str] = None, - tag: Optional[str] = None, - tag__n: Optional[str] = None, - tenant: Optional[str] = None, - tenant__n: Optional[str] = None, - tenant_group: Optional[int] = None, - tenant_group__n: Optional[int] = None, - tenant_group_id: Optional[int] = None, - tenant_group_id__n: Optional[int] = None, - tenant_id: Optional[int] = None, - tenant_id__n: Optional[int] = None, - updated_by_request: Optional[str] = None, - vrf: Optional[str] = None, - vrf__n: Optional[str] = None, - vrf_id: Optional[int] = None, - vrf_id__n: Optional[int] = None, - **kwargs: Optional[Any] - ) -> RecordSet[definitions.IPRange]: ... - @overload - def create(self, *args: Dict[str, Any]) -> definitions.IPRange: ... - @overload - def create( - self, - start_address: str, - end_address: str, - vrf: Optional[int] = None, - tenant: Optional[int] = None, - status: Optional[str] = None, - role: Optional[int] = None, - description: Optional[str] = None, - comments: Optional[str] = None, - tags: Optional[List[Any]] = None, - custom_fields: Optional[Any] = None, - mark_utilized: Optional[bool] = None, - ) -> definitions.IPRange: ... - def create( - self, *args: Dict[str, Any], **kwargs: Any - ) -> definitions.IPRange: ... - def update( - self, objects: Iterable[definitions.IPRange] - ) -> RecordSet[definitions.IPRange]: ... - def delete(self, objects: Iterable[definitions.IPRange]) -> bool: ... - def choices(self) -> dict: ... - def count( - self, - id: Optional[int] = None, - contains: Optional[str] = None, - created: Optional[str] = None, - created__empty: Optional[str] = None, - created__gt: Optional[str] = None, - created__gte: Optional[str] = None, - created__lt: Optional[str] = None, - created__lte: Optional[str] = None, - created__n: Optional[str] = None, - created_by_request: Optional[str] = None, - description: Optional[str] = None, - description__empty: Optional[bool] = None, - description__ic: Optional[str] = None, - description__ie: Optional[str] = None, - description__iew: Optional[str] = None, - description__isw: Optional[str] = None, - description__n: Optional[str] = None, - description__nic: Optional[str] = None, - description__nie: Optional[str] = None, - description__niew: Optional[str] = None, - description__nisw: Optional[str] = None, - end_address: Optional[str] = None, - family: Optional[float] = None, - id__empty: Optional[bool] = None, - id__gt: Optional[int] = None, - id__gte: Optional[int] = None, - id__lt: Optional[int] = None, - id__lte: Optional[int] = None, - id__n: Optional[int] = None, - last_updated: Optional[str] = None, - last_updated__empty: Optional[str] = None, - last_updated__gt: Optional[str] = None, - last_updated__gte: Optional[str] = None, - last_updated__lt: Optional[str] = None, - last_updated__lte: Optional[str] = None, - last_updated__n: Optional[str] = None, - limit: Optional[int] = None, - mark_utilized: Optional[bool] = None, - modified_by_request: Optional[str] = None, - offset: Optional[int] = None, - ordering: Optional[str] = None, - parent: Optional[str] = None, - q: Optional[str] = None, - role: Optional[str] = None, - role__n: Optional[str] = None, - role_id: Optional[int] = None, - role_id__n: Optional[int] = None, - start_address: Optional[str] = None, - status: Optional[str] = None, - status__n: Optional[str] = None, - tag: Optional[str] = None, - tag__n: Optional[str] = None, - tenant: Optional[str] = None, - tenant__n: Optional[str] = None, - tenant_group: Optional[int] = None, - tenant_group__n: Optional[int] = None, - tenant_group_id: Optional[int] = None, - tenant_group_id__n: Optional[int] = None, - tenant_id: Optional[int] = None, - tenant_id__n: Optional[int] = None, - updated_by_request: Optional[str] = None, - vrf: Optional[str] = None, - vrf__n: Optional[str] = None, - vrf_id: Optional[int] = None, - vrf_id__n: Optional[int] = None, - **kwargs: Optional[Any] - ) -> int: ... - -class L2vpn_terminationsEndpoint(Endpoint): - def all( - self, limit=0, offset=None - ) -> RecordSet[definitions.L2VPNTermination]: ... - def get( - self, - id: Optional[int] = None, - assigned_object_type: Optional[str] = None, - assigned_object_type__n: Optional[str] = None, - assigned_object_type_id: Optional[int] = None, - assigned_object_type_id__n: Optional[int] = None, - created: Optional[str] = None, - created__empty: Optional[str] = None, - created__gt: Optional[str] = None, - created__gte: Optional[str] = None, - created__lt: Optional[str] = None, - created__lte: Optional[str] = None, - created__n: Optional[str] = None, - created_by_request: Optional[str] = None, - device: Optional[str] = None, - device__n: Optional[str] = None, - device_id: Optional[int] = None, - device_id__n: Optional[int] = None, - id__empty: Optional[bool] = None, - id__gt: Optional[int] = None, - id__gte: Optional[int] = None, - id__lt: Optional[int] = None, - id__lte: Optional[int] = None, - id__n: Optional[int] = None, - interface: Optional[str] = None, - interface__n: Optional[str] = None, - interface_id: Optional[int] = None, - interface_id__n: Optional[int] = None, - l2vpn: Optional[str] = None, - l2vpn__n: Optional[str] = None, - l2vpn_id: Optional[int] = None, - l2vpn_id__n: Optional[int] = None, - last_updated: Optional[str] = None, - last_updated__empty: Optional[str] = None, - last_updated__gt: Optional[str] = None, - last_updated__gte: Optional[str] = None, - last_updated__lt: Optional[str] = None, - last_updated__lte: Optional[str] = None, - last_updated__n: Optional[str] = None, - limit: Optional[int] = None, - modified_by_request: Optional[str] = None, - offset: Optional[int] = None, - ordering: Optional[str] = None, - q: Optional[str] = None, - region: Optional[str] = None, - region_id: Optional[int] = None, - site: Optional[str] = None, - site_id: Optional[int] = None, - tag: Optional[str] = None, - tag__n: Optional[str] = None, - updated_by_request: Optional[str] = None, - virtual_machine: Optional[str] = None, - virtual_machine__n: Optional[str] = None, - virtual_machine_id: Optional[int] = None, - virtual_machine_id__n: Optional[int] = None, - vlan: Optional[str] = None, - vlan__n: Optional[str] = None, - vlan_id: Optional[int] = None, - vlan_id__n: Optional[int] = None, - vlan_vid: Optional[int] = None, - vlan_vid__empty: Optional[int] = None, - vlan_vid__gt: Optional[int] = None, - vlan_vid__gte: Optional[int] = None, - vlan_vid__lt: Optional[int] = None, - vlan_vid__lte: Optional[int] = None, - vlan_vid__n: Optional[int] = None, - vminterface: Optional[str] = None, - vminterface__n: Optional[str] = None, - vminterface_id: Optional[int] = None, - vminterface_id__n: Optional[int] = None, - **kwargs: Optional[Any] - ) -> Optional[definitions.L2VPNTermination]: ... - def filter( - self, - id: Optional[int] = None, - assigned_object_type: Optional[str] = None, - assigned_object_type__n: Optional[str] = None, - assigned_object_type_id: Optional[int] = None, - assigned_object_type_id__n: Optional[int] = None, - created: Optional[str] = None, - created__empty: Optional[str] = None, - created__gt: Optional[str] = None, - created__gte: Optional[str] = None, - created__lt: Optional[str] = None, - created__lte: Optional[str] = None, - created__n: Optional[str] = None, - created_by_request: Optional[str] = None, - device: Optional[str] = None, - device__n: Optional[str] = None, - device_id: Optional[int] = None, - device_id__n: Optional[int] = None, - id__empty: Optional[bool] = None, - id__gt: Optional[int] = None, - id__gte: Optional[int] = None, - id__lt: Optional[int] = None, - id__lte: Optional[int] = None, - id__n: Optional[int] = None, - interface: Optional[str] = None, - interface__n: Optional[str] = None, - interface_id: Optional[int] = None, - interface_id__n: Optional[int] = None, - l2vpn: Optional[str] = None, - l2vpn__n: Optional[str] = None, - l2vpn_id: Optional[int] = None, - l2vpn_id__n: Optional[int] = None, - last_updated: Optional[str] = None, - last_updated__empty: Optional[str] = None, - last_updated__gt: Optional[str] = None, - last_updated__gte: Optional[str] = None, - last_updated__lt: Optional[str] = None, - last_updated__lte: Optional[str] = None, - last_updated__n: Optional[str] = None, - limit: Optional[int] = None, - modified_by_request: Optional[str] = None, - offset: Optional[int] = None, - ordering: Optional[str] = None, - q: Optional[str] = None, - region: Optional[str] = None, - region_id: Optional[int] = None, - site: Optional[str] = None, - site_id: Optional[int] = None, - tag: Optional[str] = None, - tag__n: Optional[str] = None, - updated_by_request: Optional[str] = None, - virtual_machine: Optional[str] = None, - virtual_machine__n: Optional[str] = None, - virtual_machine_id: Optional[int] = None, - virtual_machine_id__n: Optional[int] = None, - vlan: Optional[str] = None, - vlan__n: Optional[str] = None, - vlan_id: Optional[int] = None, - vlan_id__n: Optional[int] = None, - vlan_vid: Optional[int] = None, - vlan_vid__empty: Optional[int] = None, - vlan_vid__gt: Optional[int] = None, - vlan_vid__gte: Optional[int] = None, - vlan_vid__lt: Optional[int] = None, - vlan_vid__lte: Optional[int] = None, - vlan_vid__n: Optional[int] = None, - vminterface: Optional[str] = None, - vminterface__n: Optional[str] = None, - vminterface_id: Optional[int] = None, - vminterface_id__n: Optional[int] = None, - **kwargs: Optional[Any] - ) -> RecordSet[definitions.L2VPNTermination]: ... - @overload - def create( - self, *args: Dict[str, Any] - ) -> definitions.L2VPNTermination: ... - @overload - def create( - self, - l2vpn: int, - assigned_object_type: str, - assigned_object_id: int, - tags: Optional[List[Any]] = None, - custom_fields: Optional[Any] = None, - ) -> definitions.L2VPNTermination: ... - def create( - self, *args: Dict[str, Any], **kwargs: Any - ) -> definitions.L2VPNTermination: ... - def update( - self, objects: Iterable[definitions.L2VPNTermination] - ) -> RecordSet[definitions.L2VPNTermination]: ... - def delete( - self, objects: Iterable[definitions.L2VPNTermination] - ) -> bool: ... - def choices(self) -> dict: ... - def count( - self, - id: Optional[int] = None, - assigned_object_type: Optional[str] = None, - assigned_object_type__n: Optional[str] = None, - assigned_object_type_id: Optional[int] = None, - assigned_object_type_id__n: Optional[int] = None, - created: Optional[str] = None, - created__empty: Optional[str] = None, - created__gt: Optional[str] = None, - created__gte: Optional[str] = None, - created__lt: Optional[str] = None, - created__lte: Optional[str] = None, - created__n: Optional[str] = None, - created_by_request: Optional[str] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device: Optional[str] = None, - device__n: Optional[str] = None, device_id: Optional[int] = None, - device_id__n: Optional[int] = None, + dns_name: Optional[str] = None, + dns_name__empty: Optional[bool] = None, + dns_name__ic: Optional[str] = None, + dns_name__ie: Optional[str] = None, + dns_name__iew: Optional[str] = None, + dns_name__isw: Optional[str] = None, + dns_name__n: Optional[str] = None, + dns_name__nic: Optional[str] = None, + dns_name__nie: Optional[str] = None, + dns_name__niew: Optional[str] = None, + dns_name__nisw: Optional[str] = None, + family: Optional[float] = None, + fhrpgroup_id: Optional[int] = None, + fhrpgroup_id__n: Optional[int] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -1896,10 +1452,6 @@ class L2vpn_terminationsEndpoint(Endpoint): interface__n: Optional[str] = None, interface_id: Optional[int] = None, interface_id__n: Optional[int] = None, - l2vpn: Optional[str] = None, - l2vpn__n: Optional[str] = None, - l2vpn_id: Optional[int] = None, - l2vpn_id__n: Optional[int] = None, last_updated: Optional[str] = None, last_updated__empty: Optional[str] = None, last_updated__gt: Optional[str] = None, @@ -1908,44 +1460,50 @@ class L2vpn_terminationsEndpoint(Endpoint): last_updated__lte: Optional[str] = None, last_updated__n: Optional[str] = None, limit: Optional[int] = None, + mask_length: Optional[int] = None, + mask_length__gte: Optional[float] = None, + mask_length__lte: Optional[float] = None, modified_by_request: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, + parent: Optional[str] = None, + present_in_vrf: Optional[str] = None, + present_in_vrf_id: Optional[str | int] = None, q: Optional[str] = None, - region: Optional[str] = None, - region_id: Optional[int] = None, - site: Optional[str] = None, - site_id: Optional[int] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + status: Optional[str] = None, + status__n: Optional[str] = None, tag: Optional[str] = None, tag__n: Optional[str] = None, + tenant: Optional[str] = None, + tenant__n: Optional[str] = None, + tenant_group: Optional[int] = None, + tenant_group__n: Optional[int] = None, + tenant_group_id: Optional[int] = None, + tenant_group_id__n: Optional[int] = None, + tenant_id: Optional[int] = None, + tenant_id__n: Optional[int] = None, updated_by_request: Optional[str] = None, virtual_machine: Optional[str] = None, - virtual_machine__n: Optional[str] = None, virtual_machine_id: Optional[int] = None, - virtual_machine_id__n: Optional[int] = None, - vlan: Optional[str] = None, - vlan__n: Optional[str] = None, - vlan_id: Optional[int] = None, - vlan_id__n: Optional[int] = None, - vlan_vid: Optional[int] = None, - vlan_vid__empty: Optional[int] = None, - vlan_vid__gt: Optional[int] = None, - vlan_vid__gte: Optional[int] = None, - vlan_vid__lt: Optional[int] = None, - vlan_vid__lte: Optional[int] = None, - vlan_vid__n: Optional[int] = None, vminterface: Optional[str] = None, vminterface__n: Optional[str] = None, vminterface_id: Optional[int] = None, vminterface_id__n: Optional[int] = None, + vrf: Optional[str] = None, + vrf__n: Optional[str] = None, + vrf_id: Optional[int] = None, + vrf_id__n: Optional[int] = None, **kwargs: Optional[Any] ) -> int: ... -class L2vpnsEndpoint(Endpoint): - def all(self, limit=0, offset=None) -> RecordSet[definitions.L2VPN]: ... +class Ip_rangesEndpoint(Endpoint): + def all(self, limit=0, offset=None) -> RecordSet[definitions.IPRange]: ... def get( self, id: Optional[int] = None, + contains: Optional[str] = None, created: Optional[str] = None, created__empty: Optional[str] = None, created__gt: Optional[str] = None, @@ -1965,27 +1523,14 @@ class L2vpnsEndpoint(Endpoint): description__nie: Optional[str] = None, description__niew: Optional[str] = None, description__nisw: Optional[str] = None, - export_target: Optional[str] = None, - export_target__n: Optional[str] = None, - export_target_id: Optional[int] = None, - export_target_id__n: Optional[int] = None, + end_address: Optional[str] = None, + family: Optional[float] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, id__lt: Optional[int] = None, id__lte: Optional[int] = None, id__n: Optional[int] = None, - identifier: Optional[int] = None, - identifier__empty: Optional[bool] = None, - identifier__gt: Optional[int] = None, - identifier__gte: Optional[int] = None, - identifier__lt: Optional[int] = None, - identifier__lte: Optional[int] = None, - identifier__n: Optional[int] = None, - import_target: Optional[str] = None, - import_target__n: Optional[str] = None, - import_target_id: Optional[int] = None, - import_target_id__n: Optional[int] = None, last_updated: Optional[str] = None, last_updated__empty: Optional[str] = None, last_updated__gt: Optional[str] = None, @@ -1994,32 +1539,19 @@ class L2vpnsEndpoint(Endpoint): last_updated__lte: Optional[str] = None, last_updated__n: Optional[str] = None, limit: Optional[int] = None, + mark_utilized: Optional[bool] = None, modified_by_request: Optional[str] = None, - name: Optional[str] = None, - name__empty: Optional[bool] = None, - name__ic: Optional[str] = None, - name__ie: Optional[str] = None, - name__iew: Optional[str] = None, - name__isw: Optional[str] = None, - name__n: Optional[str] = None, - name__nic: Optional[str] = None, - name__nie: Optional[str] = None, - name__niew: Optional[str] = None, - name__nisw: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, + parent: Optional[str] = None, q: Optional[str] = None, - slug: Optional[str] = None, - slug__empty: Optional[bool] = None, - slug__ic: Optional[str] = None, - slug__ie: Optional[str] = None, - slug__iew: Optional[str] = None, - slug__isw: Optional[str] = None, - slug__n: Optional[str] = None, - slug__nic: Optional[str] = None, - slug__nie: Optional[str] = None, - slug__niew: Optional[str] = None, - slug__nisw: Optional[str] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, + start_address: Optional[str] = None, + status: Optional[str] = None, + status__n: Optional[str] = None, tag: Optional[str] = None, tag__n: Optional[str] = None, tenant: Optional[str] = None, @@ -2030,14 +1562,17 @@ class L2vpnsEndpoint(Endpoint): tenant_group_id__n: Optional[int] = None, tenant_id: Optional[int] = None, tenant_id__n: Optional[int] = None, - type: Optional[str] = None, - type__n: Optional[str] = None, updated_by_request: Optional[str] = None, + vrf: Optional[str] = None, + vrf__n: Optional[str] = None, + vrf_id: Optional[int] = None, + vrf_id__n: Optional[int] = None, **kwargs: Optional[Any] - ) -> Optional[definitions.L2VPN]: ... + ) -> Optional[definitions.IPRange]: ... def filter( self, id: Optional[int] = None, + contains: Optional[str] = None, created: Optional[str] = None, created__empty: Optional[str] = None, created__gt: Optional[str] = None, @@ -2057,27 +1592,14 @@ class L2vpnsEndpoint(Endpoint): description__nie: Optional[str] = None, description__niew: Optional[str] = None, description__nisw: Optional[str] = None, - export_target: Optional[str] = None, - export_target__n: Optional[str] = None, - export_target_id: Optional[int] = None, - export_target_id__n: Optional[int] = None, + end_address: Optional[str] = None, + family: Optional[float] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, id__lt: Optional[int] = None, id__lte: Optional[int] = None, id__n: Optional[int] = None, - identifier: Optional[int] = None, - identifier__empty: Optional[bool] = None, - identifier__gt: Optional[int] = None, - identifier__gte: Optional[int] = None, - identifier__lt: Optional[int] = None, - identifier__lte: Optional[int] = None, - identifier__n: Optional[int] = None, - import_target: Optional[str] = None, - import_target__n: Optional[str] = None, - import_target_id: Optional[int] = None, - import_target_id__n: Optional[int] = None, last_updated: Optional[str] = None, last_updated__empty: Optional[str] = None, last_updated__gt: Optional[str] = None, @@ -2086,32 +1608,19 @@ class L2vpnsEndpoint(Endpoint): last_updated__lte: Optional[str] = None, last_updated__n: Optional[str] = None, limit: Optional[int] = None, + mark_utilized: Optional[bool] = None, modified_by_request: Optional[str] = None, - name: Optional[str] = None, - name__empty: Optional[bool] = None, - name__ic: Optional[str] = None, - name__ie: Optional[str] = None, - name__iew: Optional[str] = None, - name__isw: Optional[str] = None, - name__n: Optional[str] = None, - name__nic: Optional[str] = None, - name__nie: Optional[str] = None, - name__niew: Optional[str] = None, - name__nisw: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, + parent: Optional[str] = None, q: Optional[str] = None, - slug: Optional[str] = None, - slug__empty: Optional[bool] = None, - slug__ic: Optional[str] = None, - slug__ie: Optional[str] = None, - slug__iew: Optional[str] = None, - slug__isw: Optional[str] = None, - slug__n: Optional[str] = None, - slug__nic: Optional[str] = None, - slug__nie: Optional[str] = None, - slug__niew: Optional[str] = None, - slug__nisw: Optional[str] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, + start_address: Optional[str] = None, + status: Optional[str] = None, + status__n: Optional[str] = None, tag: Optional[str] = None, tag__n: Optional[str] = None, tenant: Optional[str] = None, @@ -2122,39 +1631,42 @@ class L2vpnsEndpoint(Endpoint): tenant_group_id__n: Optional[int] = None, tenant_id: Optional[int] = None, tenant_id__n: Optional[int] = None, - type: Optional[str] = None, - type__n: Optional[str] = None, updated_by_request: Optional[str] = None, + vrf: Optional[str] = None, + vrf__n: Optional[str] = None, + vrf_id: Optional[int] = None, + vrf_id__n: Optional[int] = None, **kwargs: Optional[Any] - ) -> RecordSet[definitions.L2VPN]: ... + ) -> RecordSet[definitions.IPRange]: ... @overload - def create(self, *args: Dict[str, Any]) -> definitions.L2VPN: ... + def create(self, *args: Dict[str, Any]) -> definitions.IPRange: ... @overload def create( self, - name: str, - slug: str, - type: str, - identifier: Optional[int] = None, - import_targets: Optional[List[Any]] = None, - export_targets: Optional[List[Any]] = None, + start_address: str, + end_address: str, + vrf: Optional[int] = None, + tenant: Optional[int] = None, + status: Optional[str] = None, + role: Optional[int] = None, description: Optional[str] = None, comments: Optional[str] = None, - tenant: Optional[int] = None, tags: Optional[List[Any]] = None, custom_fields: Optional[Any] = None, - ) -> definitions.L2VPN: ... + mark_utilized: Optional[bool] = None, + ) -> definitions.IPRange: ... def create( self, *args: Dict[str, Any], **kwargs: Any - ) -> definitions.L2VPN: ... + ) -> definitions.IPRange: ... def update( - self, objects: Iterable[definitions.L2VPN] - ) -> RecordSet[definitions.L2VPN]: ... - def delete(self, objects: Iterable[definitions.L2VPN]) -> bool: ... + self, objects: Iterable[definitions.IPRange] + ) -> RecordSet[definitions.IPRange]: ... + def delete(self, objects: Iterable[definitions.IPRange]) -> bool: ... def choices(self) -> dict: ... def count( self, id: Optional[int] = None, + contains: Optional[str] = None, created: Optional[str] = None, created__empty: Optional[str] = None, created__gt: Optional[str] = None, @@ -2174,27 +1686,14 @@ class L2vpnsEndpoint(Endpoint): description__nie: Optional[str] = None, description__niew: Optional[str] = None, description__nisw: Optional[str] = None, - export_target: Optional[str] = None, - export_target__n: Optional[str] = None, - export_target_id: Optional[int] = None, - export_target_id__n: Optional[int] = None, + end_address: Optional[str] = None, + family: Optional[float] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, id__lt: Optional[int] = None, id__lte: Optional[int] = None, id__n: Optional[int] = None, - identifier: Optional[int] = None, - identifier__empty: Optional[bool] = None, - identifier__gt: Optional[int] = None, - identifier__gte: Optional[int] = None, - identifier__lt: Optional[int] = None, - identifier__lte: Optional[int] = None, - identifier__n: Optional[int] = None, - import_target: Optional[str] = None, - import_target__n: Optional[str] = None, - import_target_id: Optional[int] = None, - import_target_id__n: Optional[int] = None, last_updated: Optional[str] = None, last_updated__empty: Optional[str] = None, last_updated__gt: Optional[str] = None, @@ -2203,32 +1702,19 @@ class L2vpnsEndpoint(Endpoint): last_updated__lte: Optional[str] = None, last_updated__n: Optional[str] = None, limit: Optional[int] = None, + mark_utilized: Optional[bool] = None, modified_by_request: Optional[str] = None, - name: Optional[str] = None, - name__empty: Optional[bool] = None, - name__ic: Optional[str] = None, - name__ie: Optional[str] = None, - name__iew: Optional[str] = None, - name__isw: Optional[str] = None, - name__n: Optional[str] = None, - name__nic: Optional[str] = None, - name__nie: Optional[str] = None, - name__niew: Optional[str] = None, - name__nisw: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, + parent: Optional[str] = None, q: Optional[str] = None, - slug: Optional[str] = None, - slug__empty: Optional[bool] = None, - slug__ic: Optional[str] = None, - slug__ie: Optional[str] = None, - slug__iew: Optional[str] = None, - slug__isw: Optional[str] = None, - slug__n: Optional[str] = None, - slug__nic: Optional[str] = None, - slug__nie: Optional[str] = None, - slug__niew: Optional[str] = None, - slug__nisw: Optional[str] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + role_id: Optional[int] = None, + role_id__n: Optional[int] = None, + start_address: Optional[str] = None, + status: Optional[str] = None, + status__n: Optional[str] = None, tag: Optional[str] = None, tag__n: Optional[str] = None, tenant: Optional[str] = None, @@ -2239,9 +1725,11 @@ class L2vpnsEndpoint(Endpoint): tenant_group_id__n: Optional[int] = None, tenant_id: Optional[int] = None, tenant_id__n: Optional[int] = None, - type: Optional[str] = None, - type__n: Optional[str] = None, updated_by_request: Optional[str] = None, + vrf: Optional[str] = None, + vrf__n: Optional[str] = None, + vrf_id: Optional[int] = None, + vrf_id__n: Optional[int] = None, **kwargs: Optional[Any] ) -> int: ... @@ -3312,6 +2800,17 @@ class Service_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -3360,6 +2859,17 @@ class Service_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -3431,6 +2941,17 @@ class Service_templatesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -4033,6 +3554,7 @@ class VlansEndpoint(Endpoint): def get( self, id: Optional[int] = None, + available_at_site: Optional[str] = None, available_on_device: Optional[str] = None, available_on_virtualmachine: Optional[str] = None, created: Optional[str] = None, @@ -4132,6 +3654,7 @@ class VlansEndpoint(Endpoint): def filter( self, id: Optional[int] = None, + available_at_site: Optional[str] = None, available_on_device: Optional[str] = None, available_on_virtualmachine: Optional[str] = None, created: Optional[str] = None, @@ -4256,6 +3779,7 @@ class VlansEndpoint(Endpoint): def count( self, id: Optional[int] = None, + available_at_site: Optional[str] = None, available_on_device: Optional[str] = None, available_on_virtualmachine: Optional[str] = None, created: Optional[str] = None, @@ -4641,8 +4165,6 @@ class IpamApp(App): self.fhrp_groups: Fhrp_groupsEndpoint = ... self.ip_addresses: Ip_addressesEndpoint = ... self.ip_ranges: Ip_rangesEndpoint = ... - self.l2vpn_terminations: L2vpn_terminationsEndpoint = ... - self.l2vpns: L2vpnsEndpoint = ... self.prefixes: PrefixesEndpoint = ... self.rirs: RirsEndpoint = ... self.roles: RolesEndpoint = ... diff --git a/pynetbox-stubs/_gen/plugins.pyi b/pynetbox-stubs/_gen/plugins.pyi index 5b816f8..bca1b7e 100644 --- a/pynetbox-stubs/_gen/plugins.pyi +++ b/pynetbox-stubs/_gen/plugins.pyi @@ -12,24 +12,114 @@ class Bgp_bgppeergroupEndpoint(Endpoint): ) -> RecordSet[definitions.BGPPeerGroup]: ... def get( self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, limit: Optional[int] = None, + modified_by_request: Optional[str] = None, name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, q: Optional[str] = None, tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> Optional[definitions.BGPPeerGroup]: ... def filter( self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, limit: Optional[int] = None, + modified_by_request: Optional[str] = None, name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, q: Optional[str] = None, tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> RecordSet[definitions.BGPPeerGroup]: ... @overload @@ -39,11 +129,9 @@ class Bgp_bgppeergroupEndpoint(Endpoint): self, name: str, description: str, - tags: Optional[List[Any]] = None, - custom_fields: Optional[Any] = None, import_policies: Optional[List[Any]] = None, export_policies: Optional[List[Any]] = None, - custom_field_data: Optional[Any] = None, + comments: Optional[str] = None, ) -> definitions.BGPPeerGroup: ... def create( self, *args: Dict[str, Any], **kwargs: Any @@ -55,13 +143,58 @@ class Bgp_bgppeergroupEndpoint(Endpoint): def choices(self) -> dict: ... def count( self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, limit: Optional[int] = None, + modified_by_request: Optional[str] = None, name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, q: Optional[str] = None, tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> int: ... @@ -71,6 +204,7 @@ class Bgp_bgpsessionEndpoint(Endpoint): ) -> RecordSet[definitions.BGPSession]: ... def get( self, + id: Optional[int] = None, by_local_address: Optional[str] = None, by_remote_address: Optional[str] = None, created: Optional[str] = None, @@ -98,6 +232,12 @@ class Bgp_bgpsessionEndpoint(Endpoint): device_id__n: Optional[int] = None, export_policies: Optional[int] = None, export_policies__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, import_policies: Optional[int] = None, import_policies__n: Optional[int] = None, last_updated: Optional[str] = None, @@ -141,6 +281,10 @@ class Bgp_bgpsessionEndpoint(Endpoint): remote_as__n: Optional[int] = None, remote_as_id: Optional[int] = None, remote_as_id__n: Optional[int] = None, + site: Optional[str] = None, + site__n: Optional[str] = None, + site_id: Optional[int] = None, + site_id__n: Optional[int] = None, status: Optional[str] = None, status__n: Optional[str] = None, tag: Optional[str] = None, @@ -152,6 +296,7 @@ class Bgp_bgpsessionEndpoint(Endpoint): ) -> Optional[definitions.BGPSession]: ... def filter( self, + id: Optional[int] = None, by_local_address: Optional[str] = None, by_remote_address: Optional[str] = None, created: Optional[str] = None, @@ -179,6 +324,12 @@ class Bgp_bgpsessionEndpoint(Endpoint): device_id__n: Optional[int] = None, export_policies: Optional[int] = None, export_policies__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, import_policies: Optional[int] = None, import_policies__n: Optional[int] = None, last_updated: Optional[str] = None, @@ -222,6 +373,10 @@ class Bgp_bgpsessionEndpoint(Endpoint): remote_as__n: Optional[int] = None, remote_as_id: Optional[int] = None, remote_as_id__n: Optional[int] = None, + site: Optional[str] = None, + site__n: Optional[str] = None, + site_id: Optional[int] = None, + site_id__n: Optional[int] = None, status: Optional[str] = None, status__n: Optional[str] = None, tag: Optional[str] = None, @@ -249,8 +404,11 @@ class Bgp_bgpsessionEndpoint(Endpoint): peer_group: Optional[int] = None, import_policies: Optional[List[Any]] = None, export_policies: Optional[List[Any]] = None, + prefix_list_in: Optional[int] = None, + prefix_list_out: Optional[int] = None, name: Optional[str] = None, description: Optional[str] = None, + comments: Optional[str] = None, ) -> definitions.BGPSession: ... def create( self, *args: Dict[str, Any], **kwargs: Any @@ -262,6 +420,7 @@ class Bgp_bgpsessionEndpoint(Endpoint): def choices(self) -> dict: ... def count( self, + id: Optional[int] = None, by_local_address: Optional[str] = None, by_remote_address: Optional[str] = None, created: Optional[str] = None, @@ -289,6 +448,12 @@ class Bgp_bgpsessionEndpoint(Endpoint): device_id__n: Optional[int] = None, export_policies: Optional[int] = None, export_policies__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, import_policies: Optional[int] = None, import_policies__n: Optional[int] = None, last_updated: Optional[str] = None, @@ -332,6 +497,10 @@ class Bgp_bgpsessionEndpoint(Endpoint): remote_as__n: Optional[int] = None, remote_as_id: Optional[int] = None, remote_as_id__n: Optional[int] = None, + site: Optional[str] = None, + site__n: Optional[str] = None, + site_id: Optional[int] = None, + site_id__n: Optional[int] = None, status: Optional[str] = None, status__n: Optional[str] = None, tag: Optional[str] = None, @@ -348,6 +517,7 @@ class Bgp_communityEndpoint(Endpoint): ) -> RecordSet[definitions.Community]: ... def get( self, + id: Optional[int] = None, created: Optional[str] = None, created__empty: Optional[str] = None, created__gt: Optional[str] = None, @@ -367,6 +537,12 @@ class Bgp_communityEndpoint(Endpoint): description__nie: Optional[str] = None, description__niew: Optional[str] = None, description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, last_updated: Optional[str] = None, last_updated__empty: Optional[str] = None, last_updated__gt: Optional[str] = None, @@ -401,6 +577,7 @@ class Bgp_communityEndpoint(Endpoint): ) -> Optional[definitions.Community]: ... def filter( self, + id: Optional[int] = None, created: Optional[str] = None, created__empty: Optional[str] = None, created__gt: Optional[str] = None, @@ -420,6 +597,12 @@ class Bgp_communityEndpoint(Endpoint): description__nie: Optional[str] = None, description__niew: Optional[str] = None, description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, last_updated: Optional[str] = None, last_updated__empty: Optional[str] = None, last_updated__gt: Optional[str] = None, @@ -465,6 +648,7 @@ class Bgp_communityEndpoint(Endpoint): description: Optional[str] = None, site: Optional[int] = None, role: Optional[int] = None, + comments: Optional[str] = None, ) -> definitions.Community: ... def create( self, *args: Dict[str, Any], **kwargs: Any @@ -476,6 +660,469 @@ class Bgp_communityEndpoint(Endpoint): def choices(self) -> dict: ... def count( self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + status: Optional[str] = None, + status__n: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + tenant: Optional[int] = None, + tenant__n: Optional[int] = None, + updated_by_request: Optional[str] = None, + value: Optional[str] = None, + value__empty: Optional[bool] = None, + value__ic: Optional[str] = None, + value__ie: Optional[str] = None, + value__iew: Optional[str] = None, + value__isw: Optional[str] = None, + value__n: Optional[str] = None, + value__nic: Optional[str] = None, + value__nie: Optional[str] = None, + value__niew: Optional[str] = None, + value__nisw: Optional[str] = None, + **kwargs: Optional[Any] + ) -> int: ... + +class Bgp_community_listEndpoint(Endpoint): + def all( + self, limit=0, offset=None + ) -> RecordSet[definitions.CommunityList]: ... + def get( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> Optional[definitions.CommunityList]: ... + def filter( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> RecordSet[definitions.CommunityList]: ... + @overload + def create(self, *args: Dict[str, Any]) -> definitions.CommunityList: ... + @overload + def create( + self, + name: str, + description: str, + tags: Optional[List[Any]] = None, + custom_fields: Optional[Any] = None, + comments: Optional[str] = None, + ) -> definitions.CommunityList: ... + def create( + self, *args: Dict[str, Any], **kwargs: Any + ) -> definitions.CommunityList: ... + def update( + self, objects: Iterable[definitions.CommunityList] + ) -> RecordSet[definitions.CommunityList]: ... + def delete(self, objects: Iterable[definitions.CommunityList]) -> bool: ... + def choices(self) -> dict: ... + def count( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> int: ... + +class Bgp_community_list_ruleEndpoint(Endpoint): + def all( + self, limit=0, offset=None + ) -> RecordSet[definitions.CommunityListRule]: ... + def get( + self, + id: Optional[int] = None, + action: Optional[str] = None, + action__n: Optional[str] = None, + community_list: Optional[int] = None, + community_list__n: Optional[int] = None, + community_list_id: Optional[int] = None, + community_list_id__n: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> Optional[definitions.CommunityListRule]: ... + def filter( + self, + id: Optional[int] = None, + action: Optional[str] = None, + action__n: Optional[str] = None, + community_list: Optional[int] = None, + community_list__n: Optional[int] = None, + community_list_id: Optional[int] = None, + community_list_id__n: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> RecordSet[definitions.CommunityListRule]: ... + @overload + def create( + self, *args: Dict[str, Any] + ) -> definitions.CommunityListRule: ... + @overload + def create( + self, + community_list: int, + action: str, + community: int, + tags: Optional[List[Any]] = None, + custom_fields: Optional[Any] = None, + comments: Optional[str] = None, + ) -> definitions.CommunityListRule: ... + def create( + self, *args: Dict[str, Any], **kwargs: Any + ) -> definitions.CommunityListRule: ... + def update( + self, objects: Iterable[definitions.CommunityListRule] + ) -> RecordSet[definitions.CommunityListRule]: ... + def delete( + self, objects: Iterable[definitions.CommunityListRule] + ) -> bool: ... + def choices(self) -> dict: ... + def count( + self, + id: Optional[int] = None, + action: Optional[str] = None, + action__n: Optional[str] = None, + community_list: Optional[int] = None, + community_list__n: Optional[int] = None, + community_list_id: Optional[int] = None, + community_list_id__n: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> int: ... + +class Bgp_peer_groupEndpoint(Endpoint): + def all( + self, limit=0, offset=None + ) -> RecordSet[definitions.BGPPeerGroup]: ... + def get( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> Optional[definitions.BGPPeerGroup]: ... + def filter( + self, + id: Optional[int] = None, created: Optional[str] = None, created__empty: Optional[str] = None, created__gt: Optional[str] = None, @@ -495,6 +1142,12 @@ class Bgp_communityEndpoint(Endpoint): description__nie: Optional[str] = None, description__niew: Optional[str] = None, description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, last_updated: Optional[str] = None, last_updated__empty: Optional[str] = None, last_updated__gt: Optional[str] = None, @@ -504,54 +1157,23 @@ class Bgp_communityEndpoint(Endpoint): last_updated__n: Optional[str] = None, limit: Optional[int] = None, modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, q: Optional[str] = None, - status: Optional[str] = None, - status__n: Optional[str] = None, tag: Optional[str] = None, tag__n: Optional[str] = None, - tenant: Optional[int] = None, - tenant__n: Optional[int] = None, updated_by_request: Optional[str] = None, - value: Optional[str] = None, - value__empty: Optional[bool] = None, - value__ic: Optional[str] = None, - value__ie: Optional[str] = None, - value__iew: Optional[str] = None, - value__isw: Optional[str] = None, - value__n: Optional[str] = None, - value__nic: Optional[str] = None, - value__nie: Optional[str] = None, - value__niew: Optional[str] = None, - value__nisw: Optional[str] = None, - **kwargs: Optional[Any] - ) -> int: ... - -class Bgp_peer_groupEndpoint(Endpoint): - def all( - self, limit=0, offset=None - ) -> RecordSet[definitions.BGPPeerGroup]: ... - def get( - self, - description: Optional[str] = None, - limit: Optional[int] = None, - name: Optional[str] = None, - offset: Optional[int] = None, - ordering: Optional[str] = None, - q: Optional[str] = None, - tag: Optional[str] = None, - **kwargs: Optional[Any] - ) -> Optional[definitions.BGPPeerGroup]: ... - def filter( - self, - description: Optional[str] = None, - limit: Optional[int] = None, - name: Optional[str] = None, - offset: Optional[int] = None, - ordering: Optional[str] = None, - q: Optional[str] = None, - tag: Optional[str] = None, **kwargs: Optional[Any] ) -> RecordSet[definitions.BGPPeerGroup]: ... @overload @@ -561,11 +1183,9 @@ class Bgp_peer_groupEndpoint(Endpoint): self, name: str, description: str, - tags: Optional[List[Any]] = None, - custom_fields: Optional[Any] = None, import_policies: Optional[List[Any]] = None, export_policies: Optional[List[Any]] = None, - custom_field_data: Optional[Any] = None, + comments: Optional[str] = None, ) -> definitions.BGPPeerGroup: ... def create( self, *args: Dict[str, Any], **kwargs: Any @@ -577,13 +1197,58 @@ class Bgp_peer_groupEndpoint(Endpoint): def choices(self) -> dict: ... def count( self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, limit: Optional[int] = None, + modified_by_request: Optional[str] = None, name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, q: Optional[str] = None, tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> int: ... @@ -593,6 +1258,7 @@ class Bgp_prefix_listEndpoint(Endpoint): ) -> RecordSet[definitions.PrefixList]: ... def get( self, + id: Optional[int] = None, created: Optional[str] = None, created__empty: Optional[str] = None, created__gt: Optional[str] = None, @@ -612,6 +1278,12 @@ class Bgp_prefix_listEndpoint(Endpoint): description__nie: Optional[str] = None, description__niew: Optional[str] = None, description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, last_updated: Optional[str] = None, last_updated__empty: Optional[str] = None, last_updated__gt: Optional[str] = None, @@ -642,6 +1314,7 @@ class Bgp_prefix_listEndpoint(Endpoint): ) -> Optional[definitions.PrefixList]: ... def filter( self, + id: Optional[int] = None, created: Optional[str] = None, created__empty: Optional[str] = None, created__gt: Optional[str] = None, @@ -661,6 +1334,12 @@ class Bgp_prefix_listEndpoint(Endpoint): description__nie: Optional[str] = None, description__niew: Optional[str] = None, description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, last_updated: Optional[str] = None, last_updated__empty: Optional[str] = None, last_updated__gt: Optional[str] = None, @@ -699,7 +1378,7 @@ class Bgp_prefix_listEndpoint(Endpoint): family: str, tags: Optional[List[Any]] = None, custom_fields: Optional[Any] = None, - custom_field_data: Optional[Any] = None, + comments: Optional[str] = None, ) -> definitions.PrefixList: ... def create( self, *args: Dict[str, Any], **kwargs: Any @@ -711,6 +1390,7 @@ class Bgp_prefix_listEndpoint(Endpoint): def choices(self) -> dict: ... def count( self, + id: Optional[int] = None, created: Optional[str] = None, created__empty: Optional[str] = None, created__gt: Optional[str] = None, @@ -730,6 +1410,12 @@ class Bgp_prefix_listEndpoint(Endpoint): description__nie: Optional[str] = None, description__niew: Optional[str] = None, description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, last_updated: Optional[str] = None, last_updated__empty: Optional[str] = None, last_updated__gt: Optional[str] = None, @@ -767,32 +1453,122 @@ class Bgp_prefix_list_ruleEndpoint(Endpoint): self, id: Optional[int] = None, action: Optional[str] = None, + action__n: Optional[str] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, ge: Optional[int] = None, + ge__empty: Optional[bool] = None, + ge__gt: Optional[int] = None, + ge__gte: Optional[int] = None, + ge__lt: Optional[int] = None, + ge__lte: Optional[int] = None, + ge__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, index: Optional[int] = None, + index__empty: Optional[bool] = None, + index__gt: Optional[int] = None, + index__gte: Optional[int] = None, + index__lt: Optional[int] = None, + index__lte: Optional[int] = None, + index__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, le: Optional[int] = None, + le__empty: Optional[bool] = None, + le__gt: Optional[int] = None, + le__gte: Optional[int] = None, + le__lt: Optional[int] = None, + le__lte: Optional[int] = None, + le__n: Optional[int] = None, limit: Optional[int] = None, + modified_by_request: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, prefix_list: Optional[int] = None, + prefix_list__n: Optional[int] = None, prefix_list_id: Optional[int] = None, + prefix_list_id__n: Optional[int] = None, q: Optional[str] = None, tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> Optional[definitions.PrefixListRule]: ... def filter( self, id: Optional[int] = None, action: Optional[str] = None, + action__n: Optional[str] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, ge: Optional[int] = None, + ge__empty: Optional[bool] = None, + ge__gt: Optional[int] = None, + ge__gte: Optional[int] = None, + ge__lt: Optional[int] = None, + ge__lte: Optional[int] = None, + ge__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, index: Optional[int] = None, + index__empty: Optional[bool] = None, + index__gt: Optional[int] = None, + index__gte: Optional[int] = None, + index__lt: Optional[int] = None, + index__lte: Optional[int] = None, + index__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, le: Optional[int] = None, + le__empty: Optional[bool] = None, + le__gt: Optional[int] = None, + le__gte: Optional[int] = None, + le__lt: Optional[int] = None, + le__lte: Optional[int] = None, + le__n: Optional[int] = None, limit: Optional[int] = None, + modified_by_request: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, prefix_list: Optional[int] = None, + prefix_list__n: Optional[int] = None, prefix_list_id: Optional[int] = None, + prefix_list_id__n: Optional[int] = None, q: Optional[str] = None, tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> RecordSet[definitions.PrefixListRule]: ... @overload @@ -809,6 +1585,7 @@ class Bgp_prefix_list_ruleEndpoint(Endpoint): ge: Optional[int] = None, le: Optional[int] = None, prefix: Optional[int] = None, + comments: Optional[str] = None, ) -> definitions.PrefixListRule: ... def create( self, *args: Dict[str, Any], **kwargs: Any @@ -824,16 +1601,61 @@ class Bgp_prefix_list_ruleEndpoint(Endpoint): self, id: Optional[int] = None, action: Optional[str] = None, + action__n: Optional[str] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, ge: Optional[int] = None, + ge__empty: Optional[bool] = None, + ge__gt: Optional[int] = None, + ge__gte: Optional[int] = None, + ge__lt: Optional[int] = None, + ge__lte: Optional[int] = None, + ge__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, index: Optional[int] = None, + index__empty: Optional[bool] = None, + index__gt: Optional[int] = None, + index__gte: Optional[int] = None, + index__lt: Optional[int] = None, + index__lte: Optional[int] = None, + index__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, le: Optional[int] = None, + le__empty: Optional[bool] = None, + le__gt: Optional[int] = None, + le__gte: Optional[int] = None, + le__lt: Optional[int] = None, + le__lte: Optional[int] = None, + le__n: Optional[int] = None, limit: Optional[int] = None, + modified_by_request: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, prefix_list: Optional[int] = None, + prefix_list__n: Optional[int] = None, prefix_list_id: Optional[int] = None, + prefix_list_id__n: Optional[int] = None, q: Optional[str] = None, tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> int: ... @@ -843,6 +1665,7 @@ class Bgp_routing_policyEndpoint(Endpoint): ) -> RecordSet[definitions.RoutingPolicy]: ... def get( self, + id: Optional[int] = None, created: Optional[str] = None, created__empty: Optional[str] = None, created__gt: Optional[str] = None, @@ -862,6 +1685,12 @@ class Bgp_routing_policyEndpoint(Endpoint): description__nie: Optional[str] = None, description__niew: Optional[str] = None, description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, last_updated: Optional[str] = None, last_updated__empty: Optional[str] = None, last_updated__gt: Optional[str] = None, @@ -892,6 +1721,7 @@ class Bgp_routing_policyEndpoint(Endpoint): ) -> Optional[definitions.RoutingPolicy]: ... def filter( self, + id: Optional[int] = None, created: Optional[str] = None, created__empty: Optional[str] = None, created__gt: Optional[str] = None, @@ -911,6 +1741,12 @@ class Bgp_routing_policyEndpoint(Endpoint): description__nie: Optional[str] = None, description__niew: Optional[str] = None, description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, last_updated: Optional[str] = None, last_updated__empty: Optional[str] = None, last_updated__gt: Optional[str] = None, @@ -948,7 +1784,7 @@ class Bgp_routing_policyEndpoint(Endpoint): description: str, tags: Optional[List[Any]] = None, custom_fields: Optional[Any] = None, - custom_field_data: Optional[Any] = None, + comments: Optional[str] = None, ) -> definitions.RoutingPolicy: ... def create( self, *args: Dict[str, Any], **kwargs: Any @@ -960,6 +1796,7 @@ class Bgp_routing_policyEndpoint(Endpoint): def choices(self) -> dict: ... def count( self, + id: Optional[int] = None, created: Optional[str] = None, created__empty: Optional[str] = None, created__gt: Optional[str] = None, @@ -979,6 +1816,12 @@ class Bgp_routing_policyEndpoint(Endpoint): description__nie: Optional[str] = None, description__niew: Optional[str] = None, description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, last_updated: Optional[str] = None, last_updated__empty: Optional[str] = None, last_updated__gt: Optional[str] = None, @@ -1016,30 +1859,126 @@ class Bgp_routing_policy_ruleEndpoint(Endpoint): self, id: Optional[int] = None, action: Optional[str] = None, + action__n: Optional[str] = None, continue_entry: Optional[int] = None, + continue_entry__empty: Optional[bool] = None, + continue_entry__gt: Optional[int] = None, + continue_entry__gte: Optional[int] = None, + continue_entry__lt: Optional[int] = None, + continue_entry__lte: Optional[int] = None, + continue_entry__n: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, index: Optional[int] = None, + index__empty: Optional[bool] = None, + index__gt: Optional[int] = None, + index__gte: Optional[int] = None, + index__lt: Optional[int] = None, + index__lte: Optional[int] = None, + index__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, limit: Optional[int] = None, + modified_by_request: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, q: Optional[str] = None, routing_policy_id: Optional[int] = None, + routing_policy_id__n: Optional[int] = None, tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> Optional[definitions.RoutingPolicyRule]: ... def filter( self, id: Optional[int] = None, action: Optional[str] = None, + action__n: Optional[str] = None, continue_entry: Optional[int] = None, + continue_entry__empty: Optional[bool] = None, + continue_entry__gt: Optional[int] = None, + continue_entry__gte: Optional[int] = None, + continue_entry__lt: Optional[int] = None, + continue_entry__lte: Optional[int] = None, + continue_entry__n: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, index: Optional[int] = None, + index__empty: Optional[bool] = None, + index__gt: Optional[int] = None, + index__gte: Optional[int] = None, + index__lt: Optional[int] = None, + index__lte: Optional[int] = None, + index__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, limit: Optional[int] = None, + modified_by_request: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, q: Optional[str] = None, routing_policy_id: Optional[int] = None, + routing_policy_id__n: Optional[int] = None, tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> RecordSet[definitions.RoutingPolicyRule]: ... @overload @@ -1052,16 +1991,15 @@ class Bgp_routing_policy_ruleEndpoint(Endpoint): index: int, action: str, routing_policy: int, - tags: Optional[List[Any]] = None, - custom_fields: Optional[Any] = None, - custom_field_data: Optional[Any] = None, - description: Optional[str] = None, - continue_entry: Optional[int] = None, + match_ip_address: Optional[List[Any]] = None, + match_community: Optional[List[Any]] = None, match_custom: Optional[Any] = None, set_actions: Optional[Any] = None, - match_community: Optional[List[Any]] = None, - match_ip_address: Optional[List[Any]] = None, match_ipv6_address: Optional[List[Any]] = None, + description: Optional[str] = None, + tags: Optional[List[Any]] = None, + custom_fields: Optional[Any] = None, + comments: Optional[str] = None, ) -> definitions.RoutingPolicyRule: ... def create( self, *args: Dict[str, Any], **kwargs: Any @@ -1077,15 +2015,63 @@ class Bgp_routing_policy_ruleEndpoint(Endpoint): self, id: Optional[int] = None, action: Optional[str] = None, + action__n: Optional[str] = None, continue_entry: Optional[int] = None, + continue_entry__empty: Optional[bool] = None, + continue_entry__gt: Optional[int] = None, + continue_entry__gte: Optional[int] = None, + continue_entry__lt: Optional[int] = None, + continue_entry__lte: Optional[int] = None, + continue_entry__n: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, index: Optional[int] = None, + index__empty: Optional[bool] = None, + index__gt: Optional[int] = None, + index__gte: Optional[int] = None, + index__lt: Optional[int] = None, + index__lte: Optional[int] = None, + index__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, limit: Optional[int] = None, + modified_by_request: Optional[str] = None, offset: Optional[int] = None, ordering: Optional[str] = None, q: Optional[str] = None, routing_policy_id: Optional[int] = None, + routing_policy_id__n: Optional[int] = None, tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> int: ... @@ -1095,6 +2081,7 @@ class Bgp_sessionEndpoint(Endpoint): ) -> RecordSet[definitions.BGPSession]: ... def get( self, + id: Optional[int] = None, by_local_address: Optional[str] = None, by_remote_address: Optional[str] = None, created: Optional[str] = None, @@ -1122,6 +2109,12 @@ class Bgp_sessionEndpoint(Endpoint): device_id__n: Optional[int] = None, export_policies: Optional[int] = None, export_policies__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, import_policies: Optional[int] = None, import_policies__n: Optional[int] = None, last_updated: Optional[str] = None, @@ -1165,6 +2158,10 @@ class Bgp_sessionEndpoint(Endpoint): remote_as__n: Optional[int] = None, remote_as_id: Optional[int] = None, remote_as_id__n: Optional[int] = None, + site: Optional[str] = None, + site__n: Optional[str] = None, + site_id: Optional[int] = None, + site_id__n: Optional[int] = None, status: Optional[str] = None, status__n: Optional[str] = None, tag: Optional[str] = None, @@ -1176,6 +2173,7 @@ class Bgp_sessionEndpoint(Endpoint): ) -> Optional[definitions.BGPSession]: ... def filter( self, + id: Optional[int] = None, by_local_address: Optional[str] = None, by_remote_address: Optional[str] = None, created: Optional[str] = None, @@ -1203,6 +2201,12 @@ class Bgp_sessionEndpoint(Endpoint): device_id__n: Optional[int] = None, export_policies: Optional[int] = None, export_policies__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, import_policies: Optional[int] = None, import_policies__n: Optional[int] = None, last_updated: Optional[str] = None, @@ -1246,6 +2250,10 @@ class Bgp_sessionEndpoint(Endpoint): remote_as__n: Optional[int] = None, remote_as_id: Optional[int] = None, remote_as_id__n: Optional[int] = None, + site: Optional[str] = None, + site__n: Optional[str] = None, + site_id: Optional[int] = None, + site_id__n: Optional[int] = None, status: Optional[str] = None, status__n: Optional[str] = None, tag: Optional[str] = None, @@ -1273,8 +2281,11 @@ class Bgp_sessionEndpoint(Endpoint): peer_group: Optional[int] = None, import_policies: Optional[List[Any]] = None, export_policies: Optional[List[Any]] = None, + prefix_list_in: Optional[int] = None, + prefix_list_out: Optional[int] = None, name: Optional[str] = None, description: Optional[str] = None, + comments: Optional[str] = None, ) -> definitions.BGPSession: ... def create( self, *args: Dict[str, Any], **kwargs: Any @@ -1286,6 +2297,7 @@ class Bgp_sessionEndpoint(Endpoint): def choices(self) -> dict: ... def count( self, + id: Optional[int] = None, by_local_address: Optional[str] = None, by_remote_address: Optional[str] = None, created: Optional[str] = None, @@ -1313,6 +2325,12 @@ class Bgp_sessionEndpoint(Endpoint): device_id__n: Optional[int] = None, export_policies: Optional[int] = None, export_policies__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, import_policies: Optional[int] = None, import_policies__n: Optional[int] = None, last_updated: Optional[str] = None, @@ -1356,6 +2374,10 @@ class Bgp_sessionEndpoint(Endpoint): remote_as__n: Optional[int] = None, remote_as_id: Optional[int] = None, remote_as_id__n: Optional[int] = None, + site: Optional[str] = None, + site__n: Optional[str] = None, + site_id: Optional[int] = None, + site_id__n: Optional[int] = None, status: Optional[str] = None, status__n: Optional[str] = None, tag: Optional[str] = None, @@ -1371,6 +2393,8 @@ class PluginsApp(App): self.bgp_bgppeergroup: Bgp_bgppeergroupEndpoint = ... self.bgp_bgpsession: Bgp_bgpsessionEndpoint = ... self.bgp_community: Bgp_communityEndpoint = ... + self.bgp_community_list: Bgp_community_listEndpoint = ... + self.bgp_community_list_rule: Bgp_community_list_ruleEndpoint = ... self.bgp_peer_group: Bgp_peer_groupEndpoint = ... self.bgp_prefix_list: Bgp_prefix_listEndpoint = ... self.bgp_prefix_list_rule: Bgp_prefix_list_ruleEndpoint = ... diff --git a/pynetbox-stubs/_gen/tenancy.pyi b/pynetbox-stubs/_gen/tenancy.pyi index 4071ffa..0ccc8c1 100644 --- a/pynetbox-stubs/_gen/tenancy.pyi +++ b/pynetbox-stubs/_gen/tenancy.pyi @@ -27,6 +27,10 @@ class Contact_assignmentsEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + group: Optional[int] = None, + group__n: Optional[int] = None, + group_id: Optional[int] = None, + group_id__n: Optional[int] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -58,6 +62,8 @@ class Contact_assignmentsEndpoint(Endpoint): role__n: Optional[str] = None, role_id: Optional[int] = None, role_id__n: Optional[int] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> Optional[definitions.ContactAssignment]: ... @@ -78,6 +84,10 @@ class Contact_assignmentsEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + group: Optional[int] = None, + group__n: Optional[int] = None, + group_id: Optional[int] = None, + group_id__n: Optional[int] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -109,6 +119,8 @@ class Contact_assignmentsEndpoint(Endpoint): role__n: Optional[str] = None, role_id: Optional[int] = None, role_id__n: Optional[int] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> RecordSet[definitions.ContactAssignment]: ... @@ -124,6 +136,8 @@ class Contact_assignmentsEndpoint(Endpoint): contact: int, role: int, priority: Optional[str] = None, + tags: Optional[List[Any]] = None, + custom_fields: Optional[Any] = None, ) -> definitions.ContactAssignment: ... def create( self, *args: Dict[str, Any], **kwargs: Any @@ -152,6 +166,10 @@ class Contact_assignmentsEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + group: Optional[int] = None, + group__n: Optional[int] = None, + group_id: Optional[int] = None, + group_id__n: Optional[int] = None, id__empty: Optional[bool] = None, id__gt: Optional[int] = None, id__gte: Optional[int] = None, @@ -183,6 +201,8 @@ class Contact_assignmentsEndpoint(Endpoint): role__n: Optional[str] = None, role_id: Optional[int] = None, role_id__n: Optional[int] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, updated_by_request: Optional[str] = None, **kwargs: Optional[Any] ) -> int: ... @@ -674,6 +694,17 @@ class ContactsEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, email: Optional[str] = None, email__empty: Optional[bool] = None, email__ic: Optional[str] = None, @@ -778,6 +809,17 @@ class ContactsEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, email: Optional[str] = None, email__empty: Optional[bool] = None, email__ic: Optional[str] = None, @@ -907,6 +949,17 @@ class ContactsEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, email: Optional[str] = None, email__empty: Optional[bool] = None, email__ic: Optional[str] = None, diff --git a/pynetbox-stubs/_gen/users.pyi b/pynetbox-stubs/_gen/users.pyi index 2513066..ac1792c 100644 --- a/pynetbox-stubs/_gen/users.pyi +++ b/pynetbox-stubs/_gen/users.pyi @@ -122,6 +122,10 @@ class PermissionsEndpoint(Endpoint): def get( self, id: Optional[int] = None, + can_add: Optional[bool] = None, + can_change: Optional[bool] = None, + can_delete: Optional[bool] = None, + can_view: Optional[bool] = None, description: Optional[str] = None, description__empty: Optional[bool] = None, description__ic: Optional[str] = None, @@ -170,6 +174,10 @@ class PermissionsEndpoint(Endpoint): def filter( self, id: Optional[int] = None, + can_add: Optional[bool] = None, + can_change: Optional[bool] = None, + can_delete: Optional[bool] = None, + can_view: Optional[bool] = None, description: Optional[str] = None, description__empty: Optional[bool] = None, description__ic: Optional[str] = None, @@ -244,6 +252,10 @@ class PermissionsEndpoint(Endpoint): def count( self, id: Optional[int] = None, + can_add: Optional[bool] = None, + can_change: Optional[bool] = None, + can_delete: Optional[bool] = None, + can_view: Optional[bool] = None, description: Optional[str] = None, description__empty: Optional[bool] = None, description__ic: Optional[str] = None, @@ -464,7 +476,14 @@ class Tokens_provisionEndpoint(Endpoint): @overload def create(self, *args: Dict[str, Any]) -> Record: ... @overload - def create(self, username: str, password: str) -> Record: ... + def create( + self, + username: str, + password: str, + expires: Optional[str] = None, + write_enabled: Optional[bool] = None, + description: Optional[str] = None, + ) -> Record: ... def create(self, *args: Dict[str, Any], **kwargs: Any) -> Record: ... def update(self, objects: Iterable[Record]) -> RecordSet[Record]: ... def delete(self, objects: Iterable[Record]) -> bool: ... @@ -510,6 +529,7 @@ class UsersEndpoint(Endpoint): id__n: Optional[int] = None, is_active: Optional[bool] = None, is_staff: Optional[bool] = None, + is_superuser: Optional[bool] = None, last_name: Optional[str] = None, last_name__empty: Optional[bool] = None, last_name__ic: Optional[str] = None, @@ -575,6 +595,7 @@ class UsersEndpoint(Endpoint): id__n: Optional[int] = None, is_active: Optional[bool] = None, is_staff: Optional[bool] = None, + is_superuser: Optional[bool] = None, last_name: Optional[str] = None, last_name__empty: Optional[bool] = None, last_name__ic: Optional[str] = None, @@ -616,6 +637,7 @@ class UsersEndpoint(Endpoint): is_staff: Optional[bool] = None, is_active: Optional[bool] = None, date_joined: Optional[str] = None, + last_login: Optional[str] = None, groups: Optional[List[Any]] = None, ) -> definitions.User: ... def create( @@ -663,6 +685,7 @@ class UsersEndpoint(Endpoint): id__n: Optional[int] = None, is_active: Optional[bool] = None, is_staff: Optional[bool] = None, + is_superuser: Optional[bool] = None, last_name: Optional[str] = None, last_name__empty: Optional[bool] = None, last_name__ic: Optional[str] = None, diff --git a/pynetbox-stubs/_gen/virtualization.pyi b/pynetbox-stubs/_gen/virtualization.pyi index f706199..0e11447 100644 --- a/pynetbox-stubs/_gen/virtualization.pyi +++ b/pynetbox-stubs/_gen/virtualization.pyi @@ -493,6 +493,17 @@ class ClustersEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, group: Optional[str] = None, group__n: Optional[str] = None, group_id: Optional[int] = None, @@ -574,6 +585,17 @@ class ClustersEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, group: Optional[str] = None, group__n: Optional[str] = None, group_id: Optional[int] = None, @@ -679,6 +701,17 @@ class ClustersEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, group: Optional[str] = None, group__n: Optional[str] = None, group_id: Optional[int] = None, @@ -1065,6 +1098,232 @@ class InterfacesEndpoint(Endpoint): **kwargs: Optional[Any] ) -> int: ... +class Virtual_disksEndpoint(Endpoint): + def all( + self, limit=0, offset=None + ) -> RecordSet[definitions.VirtualDisk]: ... + def get( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + size: Optional[int] = None, + size__empty: Optional[bool] = None, + size__gt: Optional[int] = None, + size__gte: Optional[int] = None, + size__lt: Optional[int] = None, + size__lte: Optional[int] = None, + size__n: Optional[int] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + virtual_machine: Optional[str] = None, + virtual_machine__n: Optional[str] = None, + virtual_machine_id: Optional[int] = None, + virtual_machine_id__n: Optional[int] = None, + **kwargs: Optional[Any] + ) -> Optional[definitions.VirtualDisk]: ... + def filter( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + size: Optional[int] = None, + size__empty: Optional[bool] = None, + size__gt: Optional[int] = None, + size__gte: Optional[int] = None, + size__lt: Optional[int] = None, + size__lte: Optional[int] = None, + size__n: Optional[int] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + virtual_machine: Optional[str] = None, + virtual_machine__n: Optional[str] = None, + virtual_machine_id: Optional[int] = None, + virtual_machine_id__n: Optional[int] = None, + **kwargs: Optional[Any] + ) -> RecordSet[definitions.VirtualDisk]: ... + @overload + def create(self, *args: Dict[str, Any]) -> definitions.VirtualDisk: ... + @overload + def create( + self, + virtual_machine: int, + name: str, + size: int, + description: Optional[str] = None, + tags: Optional[List[Any]] = None, + custom_fields: Optional[Any] = None, + ) -> definitions.VirtualDisk: ... + def create( + self, *args: Dict[str, Any], **kwargs: Any + ) -> definitions.VirtualDisk: ... + def update( + self, objects: Iterable[definitions.VirtualDisk] + ) -> RecordSet[definitions.VirtualDisk]: ... + def delete(self, objects: Iterable[definitions.VirtualDisk]) -> bool: ... + def choices(self) -> dict: ... + def count( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + size: Optional[int] = None, + size__empty: Optional[bool] = None, + size__gt: Optional[int] = None, + size__gte: Optional[int] = None, + size__lt: Optional[int] = None, + size__lte: Optional[int] = None, + size__n: Optional[int] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + virtual_machine: Optional[str] = None, + virtual_machine__n: Optional[str] = None, + virtual_machine_id: Optional[int] = None, + virtual_machine_id__n: Optional[int] = None, + **kwargs: Optional[Any] + ) -> int: ... + class Virtual_machinesEndpoint(Endpoint): def all( self, limit=0, offset=None @@ -1084,6 +1343,8 @@ class Virtual_machinesEndpoint(Endpoint): cluster_type__n: Optional[str] = None, cluster_type_id: Optional[int] = None, cluster_type_id__n: Optional[int] = None, + config_template_id: Optional[int] = None, + config_template_id__n: Optional[int] = None, contact: Optional[int] = None, contact__n: Optional[int] = None, contact_group: Optional[int] = None, @@ -1098,6 +1359,17 @@ class Virtual_machinesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device: Optional[str] = None, device__n: Optional[str] = None, device_id: Optional[int] = None, @@ -1160,6 +1432,10 @@ class Virtual_machinesEndpoint(Endpoint): platform__n: Optional[str] = None, platform_id: Optional[int] = None, platform_id__n: Optional[int] = None, + primary_ip4_id: Optional[int] = None, + primary_ip4_id__n: Optional[int] = None, + primary_ip6_id: Optional[int] = None, + primary_ip6_id__n: Optional[int] = None, q: Optional[str] = None, region: Optional[int] = None, region__n: Optional[int] = None, @@ -1214,6 +1490,8 @@ class Virtual_machinesEndpoint(Endpoint): cluster_type__n: Optional[str] = None, cluster_type_id: Optional[int] = None, cluster_type_id__n: Optional[int] = None, + config_template_id: Optional[int] = None, + config_template_id__n: Optional[int] = None, contact: Optional[int] = None, contact__n: Optional[int] = None, contact_group: Optional[int] = None, @@ -1228,6 +1506,17 @@ class Virtual_machinesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device: Optional[str] = None, device__n: Optional[str] = None, device_id: Optional[int] = None, @@ -1290,6 +1579,10 @@ class Virtual_machinesEndpoint(Endpoint): platform__n: Optional[str] = None, platform_id: Optional[int] = None, platform_id__n: Optional[int] = None, + primary_ip4_id: Optional[int] = None, + primary_ip4_id__n: Optional[int] = None, + primary_ip6_id: Optional[int] = None, + primary_ip6_id__n: Optional[int] = None, q: Optional[str] = None, region: Optional[int] = None, region__n: Optional[int] = None, @@ -1351,6 +1644,7 @@ class Virtual_machinesEndpoint(Endpoint): disk: Optional[int] = None, description: Optional[str] = None, comments: Optional[str] = None, + config_template: Optional[int] = None, local_context_data: Optional[Any] = None, tags: Optional[List[Any]] = None, custom_fields: Optional[Any] = None, @@ -1380,6 +1674,8 @@ class Virtual_machinesEndpoint(Endpoint): cluster_type__n: Optional[str] = None, cluster_type_id: Optional[int] = None, cluster_type_id__n: Optional[int] = None, + config_template_id: Optional[int] = None, + config_template_id__n: Optional[int] = None, contact: Optional[int] = None, contact__n: Optional[int] = None, contact_group: Optional[int] = None, @@ -1394,6 +1690,17 @@ class Virtual_machinesEndpoint(Endpoint): created__lte: Optional[str] = None, created__n: Optional[str] = None, created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, device: Optional[str] = None, device__n: Optional[str] = None, device_id: Optional[int] = None, @@ -1456,6 +1763,10 @@ class Virtual_machinesEndpoint(Endpoint): platform__n: Optional[str] = None, platform_id: Optional[int] = None, platform_id__n: Optional[int] = None, + primary_ip4_id: Optional[int] = None, + primary_ip4_id__n: Optional[int] = None, + primary_ip6_id: Optional[int] = None, + primary_ip6_id__n: Optional[int] = None, q: Optional[str] = None, region: Optional[int] = None, region__n: Optional[int] = None, @@ -1502,4 +1813,5 @@ class VirtualizationApp(App): self.cluster_types: Cluster_typesEndpoint = ... self.clusters: ClustersEndpoint = ... self.interfaces: InterfacesEndpoint = ... + self.virtual_disks: Virtual_disksEndpoint = ... self.virtual_machines: Virtual_machinesEndpoint = ... diff --git a/pynetbox-stubs/_gen/vpn.pyi b/pynetbox-stubs/_gen/vpn.pyi new file mode 100644 index 0000000..ea54c53 --- /dev/null +++ b/pynetbox-stubs/_gen/vpn.pyi @@ -0,0 +1,2522 @@ +from typing import Any, Dict, Iterable, List, Optional, Union, overload + +from pynetbox._gen import definitions +from pynetbox.core.api import Api +from pynetbox.core.app import App +from pynetbox.core.endpoint import Endpoint +from pynetbox.core.response import Record, RecordSet + +class Ike_policiesEndpoint(Endpoint): + def all( + self, limit=0, offset=None + ) -> RecordSet[definitions.IKEPolicy]: ... + def get( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + mode: Optional[str] = None, + mode__n: Optional[str] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + preshared_key: Optional[str] = None, + preshared_key__ic: Optional[str] = None, + preshared_key__ie: Optional[str] = None, + preshared_key__iew: Optional[str] = None, + preshared_key__isw: Optional[str] = None, + preshared_key__n: Optional[str] = None, + preshared_key__nic: Optional[str] = None, + preshared_key__nie: Optional[str] = None, + preshared_key__niew: Optional[str] = None, + preshared_key__nisw: Optional[str] = None, + proposal: Optional[str] = None, + proposal__empty: Optional[bool] = None, + proposal__ic: Optional[str] = None, + proposal__ie: Optional[str] = None, + proposal__iew: Optional[str] = None, + proposal__isw: Optional[str] = None, + proposal__n: Optional[str] = None, + proposal__nic: Optional[str] = None, + proposal__nie: Optional[str] = None, + proposal__niew: Optional[str] = None, + proposal__nisw: Optional[str] = None, + proposal_id: Optional[int] = None, + proposal_id__empty: Optional[int] = None, + proposal_id__gt: Optional[int] = None, + proposal_id__gte: Optional[int] = None, + proposal_id__lt: Optional[int] = None, + proposal_id__lte: Optional[int] = None, + proposal_id__n: Optional[int] = None, + q: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + version: Optional[int] = None, + version__n: Optional[int] = None, + **kwargs: Optional[Any] + ) -> Optional[definitions.IKEPolicy]: ... + def filter( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + mode: Optional[str] = None, + mode__n: Optional[str] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + preshared_key: Optional[str] = None, + preshared_key__ic: Optional[str] = None, + preshared_key__ie: Optional[str] = None, + preshared_key__iew: Optional[str] = None, + preshared_key__isw: Optional[str] = None, + preshared_key__n: Optional[str] = None, + preshared_key__nic: Optional[str] = None, + preshared_key__nie: Optional[str] = None, + preshared_key__niew: Optional[str] = None, + preshared_key__nisw: Optional[str] = None, + proposal: Optional[str] = None, + proposal__empty: Optional[bool] = None, + proposal__ic: Optional[str] = None, + proposal__ie: Optional[str] = None, + proposal__iew: Optional[str] = None, + proposal__isw: Optional[str] = None, + proposal__n: Optional[str] = None, + proposal__nic: Optional[str] = None, + proposal__nie: Optional[str] = None, + proposal__niew: Optional[str] = None, + proposal__nisw: Optional[str] = None, + proposal_id: Optional[int] = None, + proposal_id__empty: Optional[int] = None, + proposal_id__gt: Optional[int] = None, + proposal_id__gte: Optional[int] = None, + proposal_id__lt: Optional[int] = None, + proposal_id__lte: Optional[int] = None, + proposal_id__n: Optional[int] = None, + q: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + version: Optional[int] = None, + version__n: Optional[int] = None, + **kwargs: Optional[Any] + ) -> RecordSet[definitions.IKEPolicy]: ... + @overload + def create(self, *args: Dict[str, Any]) -> definitions.IKEPolicy: ... + @overload + def create( + self, + name: str, + proposals: List[Any], + description: Optional[str] = None, + version: Optional[int] = None, + mode: Optional[str] = None, + preshared_key: Optional[str] = None, + comments: Optional[str] = None, + tags: Optional[List[Any]] = None, + custom_fields: Optional[Any] = None, + ) -> definitions.IKEPolicy: ... + def create( + self, *args: Dict[str, Any], **kwargs: Any + ) -> definitions.IKEPolicy: ... + def update( + self, objects: Iterable[definitions.IKEPolicy] + ) -> RecordSet[definitions.IKEPolicy]: ... + def delete(self, objects: Iterable[definitions.IKEPolicy]) -> bool: ... + def choices(self) -> dict: ... + def count( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + mode: Optional[str] = None, + mode__n: Optional[str] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + preshared_key: Optional[str] = None, + preshared_key__ic: Optional[str] = None, + preshared_key__ie: Optional[str] = None, + preshared_key__iew: Optional[str] = None, + preshared_key__isw: Optional[str] = None, + preshared_key__n: Optional[str] = None, + preshared_key__nic: Optional[str] = None, + preshared_key__nie: Optional[str] = None, + preshared_key__niew: Optional[str] = None, + preshared_key__nisw: Optional[str] = None, + proposal: Optional[str] = None, + proposal__empty: Optional[bool] = None, + proposal__ic: Optional[str] = None, + proposal__ie: Optional[str] = None, + proposal__iew: Optional[str] = None, + proposal__isw: Optional[str] = None, + proposal__n: Optional[str] = None, + proposal__nic: Optional[str] = None, + proposal__nie: Optional[str] = None, + proposal__niew: Optional[str] = None, + proposal__nisw: Optional[str] = None, + proposal_id: Optional[int] = None, + proposal_id__empty: Optional[int] = None, + proposal_id__gt: Optional[int] = None, + proposal_id__gte: Optional[int] = None, + proposal_id__lt: Optional[int] = None, + proposal_id__lte: Optional[int] = None, + proposal_id__n: Optional[int] = None, + q: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + version: Optional[int] = None, + version__n: Optional[int] = None, + **kwargs: Optional[Any] + ) -> int: ... + +class Ike_proposalsEndpoint(Endpoint): + def all( + self, limit=0, offset=None + ) -> RecordSet[definitions.IKEProposal]: ... + def get( + self, + id: Optional[int] = None, + authentication_algorithm: Optional[str] = None, + authentication_algorithm__n: Optional[str] = None, + authentication_method: Optional[str] = None, + authentication_method__n: Optional[str] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + encryption_algorithm: Optional[str] = None, + encryption_algorithm__n: Optional[str] = None, + group: Optional[int] = None, + group__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + sa_lifetime: Optional[int] = None, + sa_lifetime__empty: Optional[bool] = None, + sa_lifetime__gt: Optional[int] = None, + sa_lifetime__gte: Optional[int] = None, + sa_lifetime__lt: Optional[int] = None, + sa_lifetime__lte: Optional[int] = None, + sa_lifetime__n: Optional[int] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> Optional[definitions.IKEProposal]: ... + def filter( + self, + id: Optional[int] = None, + authentication_algorithm: Optional[str] = None, + authentication_algorithm__n: Optional[str] = None, + authentication_method: Optional[str] = None, + authentication_method__n: Optional[str] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + encryption_algorithm: Optional[str] = None, + encryption_algorithm__n: Optional[str] = None, + group: Optional[int] = None, + group__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + sa_lifetime: Optional[int] = None, + sa_lifetime__empty: Optional[bool] = None, + sa_lifetime__gt: Optional[int] = None, + sa_lifetime__gte: Optional[int] = None, + sa_lifetime__lt: Optional[int] = None, + sa_lifetime__lte: Optional[int] = None, + sa_lifetime__n: Optional[int] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> RecordSet[definitions.IKEProposal]: ... + @overload + def create(self, *args: Dict[str, Any]) -> definitions.IKEProposal: ... + @overload + def create( + self, + name: str, + authentication_method: str, + encryption_algorithm: str, + group: int, + description: Optional[str] = None, + authentication_algorithm: Optional[str] = None, + sa_lifetime: Optional[int] = None, + comments: Optional[str] = None, + tags: Optional[List[Any]] = None, + custom_fields: Optional[Any] = None, + ) -> definitions.IKEProposal: ... + def create( + self, *args: Dict[str, Any], **kwargs: Any + ) -> definitions.IKEProposal: ... + def update( + self, objects: Iterable[definitions.IKEProposal] + ) -> RecordSet[definitions.IKEProposal]: ... + def delete(self, objects: Iterable[definitions.IKEProposal]) -> bool: ... + def choices(self) -> dict: ... + def count( + self, + id: Optional[int] = None, + authentication_algorithm: Optional[str] = None, + authentication_algorithm__n: Optional[str] = None, + authentication_method: Optional[str] = None, + authentication_method__n: Optional[str] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + encryption_algorithm: Optional[str] = None, + encryption_algorithm__n: Optional[str] = None, + group: Optional[int] = None, + group__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + sa_lifetime: Optional[int] = None, + sa_lifetime__empty: Optional[bool] = None, + sa_lifetime__gt: Optional[int] = None, + sa_lifetime__gte: Optional[int] = None, + sa_lifetime__lt: Optional[int] = None, + sa_lifetime__lte: Optional[int] = None, + sa_lifetime__n: Optional[int] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> int: ... + +class Ipsec_policiesEndpoint(Endpoint): + def all( + self, limit=0, offset=None + ) -> RecordSet[definitions.IPSecPolicy]: ... + def get( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + pfs_group: Optional[int] = None, + pfs_group__n: Optional[int] = None, + proposal: Optional[str] = None, + proposal__empty: Optional[bool] = None, + proposal__ic: Optional[str] = None, + proposal__ie: Optional[str] = None, + proposal__iew: Optional[str] = None, + proposal__isw: Optional[str] = None, + proposal__n: Optional[str] = None, + proposal__nic: Optional[str] = None, + proposal__nie: Optional[str] = None, + proposal__niew: Optional[str] = None, + proposal__nisw: Optional[str] = None, + proposal_id: Optional[int] = None, + proposal_id__empty: Optional[int] = None, + proposal_id__gt: Optional[int] = None, + proposal_id__gte: Optional[int] = None, + proposal_id__lt: Optional[int] = None, + proposal_id__lte: Optional[int] = None, + proposal_id__n: Optional[int] = None, + q: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> Optional[definitions.IPSecPolicy]: ... + def filter( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + pfs_group: Optional[int] = None, + pfs_group__n: Optional[int] = None, + proposal: Optional[str] = None, + proposal__empty: Optional[bool] = None, + proposal__ic: Optional[str] = None, + proposal__ie: Optional[str] = None, + proposal__iew: Optional[str] = None, + proposal__isw: Optional[str] = None, + proposal__n: Optional[str] = None, + proposal__nic: Optional[str] = None, + proposal__nie: Optional[str] = None, + proposal__niew: Optional[str] = None, + proposal__nisw: Optional[str] = None, + proposal_id: Optional[int] = None, + proposal_id__empty: Optional[int] = None, + proposal_id__gt: Optional[int] = None, + proposal_id__gte: Optional[int] = None, + proposal_id__lt: Optional[int] = None, + proposal_id__lte: Optional[int] = None, + proposal_id__n: Optional[int] = None, + q: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> RecordSet[definitions.IPSecPolicy]: ... + @overload + def create(self, *args: Dict[str, Any]) -> definitions.IPSecPolicy: ... + @overload + def create( + self, + name: str, + proposals: List[Any], + description: Optional[str] = None, + pfs_group: Optional[int] = None, + comments: Optional[str] = None, + tags: Optional[List[Any]] = None, + custom_fields: Optional[Any] = None, + ) -> definitions.IPSecPolicy: ... + def create( + self, *args: Dict[str, Any], **kwargs: Any + ) -> definitions.IPSecPolicy: ... + def update( + self, objects: Iterable[definitions.IPSecPolicy] + ) -> RecordSet[definitions.IPSecPolicy]: ... + def delete(self, objects: Iterable[definitions.IPSecPolicy]) -> bool: ... + def choices(self) -> dict: ... + def count( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + pfs_group: Optional[int] = None, + pfs_group__n: Optional[int] = None, + proposal: Optional[str] = None, + proposal__empty: Optional[bool] = None, + proposal__ic: Optional[str] = None, + proposal__ie: Optional[str] = None, + proposal__iew: Optional[str] = None, + proposal__isw: Optional[str] = None, + proposal__n: Optional[str] = None, + proposal__nic: Optional[str] = None, + proposal__nie: Optional[str] = None, + proposal__niew: Optional[str] = None, + proposal__nisw: Optional[str] = None, + proposal_id: Optional[int] = None, + proposal_id__empty: Optional[int] = None, + proposal_id__gt: Optional[int] = None, + proposal_id__gte: Optional[int] = None, + proposal_id__lt: Optional[int] = None, + proposal_id__lte: Optional[int] = None, + proposal_id__n: Optional[int] = None, + q: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> int: ... + +class Ipsec_profilesEndpoint(Endpoint): + def all( + self, limit=0, offset=None + ) -> RecordSet[definitions.IPSecProfile]: ... + def get( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + ike_policy: Optional[str] = None, + ike_policy__n: Optional[str] = None, + ike_policy_id: Optional[int] = None, + ike_policy_id__n: Optional[int] = None, + ipsec_policy: Optional[str] = None, + ipsec_policy__n: Optional[str] = None, + ipsec_policy_id: Optional[int] = None, + ipsec_policy_id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + mode: Optional[str] = None, + mode__n: Optional[str] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> Optional[definitions.IPSecProfile]: ... + def filter( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + ike_policy: Optional[str] = None, + ike_policy__n: Optional[str] = None, + ike_policy_id: Optional[int] = None, + ike_policy_id__n: Optional[int] = None, + ipsec_policy: Optional[str] = None, + ipsec_policy__n: Optional[str] = None, + ipsec_policy_id: Optional[int] = None, + ipsec_policy_id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + mode: Optional[str] = None, + mode__n: Optional[str] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> RecordSet[definitions.IPSecProfile]: ... + @overload + def create(self, *args: Dict[str, Any]) -> definitions.IPSecProfile: ... + @overload + def create( + self, + name: str, + mode: str, + ike_policy: int, + ipsec_policy: int, + description: Optional[str] = None, + comments: Optional[str] = None, + tags: Optional[List[Any]] = None, + custom_fields: Optional[Any] = None, + ) -> definitions.IPSecProfile: ... + def create( + self, *args: Dict[str, Any], **kwargs: Any + ) -> definitions.IPSecProfile: ... + def update( + self, objects: Iterable[definitions.IPSecProfile] + ) -> RecordSet[definitions.IPSecProfile]: ... + def delete(self, objects: Iterable[definitions.IPSecProfile]) -> bool: ... + def choices(self) -> dict: ... + def count( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + ike_policy: Optional[str] = None, + ike_policy__n: Optional[str] = None, + ike_policy_id: Optional[int] = None, + ike_policy_id__n: Optional[int] = None, + ipsec_policy: Optional[str] = None, + ipsec_policy__n: Optional[str] = None, + ipsec_policy_id: Optional[int] = None, + ipsec_policy_id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + mode: Optional[str] = None, + mode__n: Optional[str] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> int: ... + +class Ipsec_proposalsEndpoint(Endpoint): + def all( + self, limit=0, offset=None + ) -> RecordSet[definitions.IPSecProposal]: ... + def get( + self, + id: Optional[int] = None, + authentication_algorithm: Optional[str] = None, + authentication_algorithm__n: Optional[str] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + encryption_algorithm: Optional[str] = None, + encryption_algorithm__n: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + sa_lifetime_data: Optional[int] = None, + sa_lifetime_data__empty: Optional[bool] = None, + sa_lifetime_data__gt: Optional[int] = None, + sa_lifetime_data__gte: Optional[int] = None, + sa_lifetime_data__lt: Optional[int] = None, + sa_lifetime_data__lte: Optional[int] = None, + sa_lifetime_data__n: Optional[int] = None, + sa_lifetime_seconds: Optional[int] = None, + sa_lifetime_seconds__empty: Optional[bool] = None, + sa_lifetime_seconds__gt: Optional[int] = None, + sa_lifetime_seconds__gte: Optional[int] = None, + sa_lifetime_seconds__lt: Optional[int] = None, + sa_lifetime_seconds__lte: Optional[int] = None, + sa_lifetime_seconds__n: Optional[int] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> Optional[definitions.IPSecProposal]: ... + def filter( + self, + id: Optional[int] = None, + authentication_algorithm: Optional[str] = None, + authentication_algorithm__n: Optional[str] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + encryption_algorithm: Optional[str] = None, + encryption_algorithm__n: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + sa_lifetime_data: Optional[int] = None, + sa_lifetime_data__empty: Optional[bool] = None, + sa_lifetime_data__gt: Optional[int] = None, + sa_lifetime_data__gte: Optional[int] = None, + sa_lifetime_data__lt: Optional[int] = None, + sa_lifetime_data__lte: Optional[int] = None, + sa_lifetime_data__n: Optional[int] = None, + sa_lifetime_seconds: Optional[int] = None, + sa_lifetime_seconds__empty: Optional[bool] = None, + sa_lifetime_seconds__gt: Optional[int] = None, + sa_lifetime_seconds__gte: Optional[int] = None, + sa_lifetime_seconds__lt: Optional[int] = None, + sa_lifetime_seconds__lte: Optional[int] = None, + sa_lifetime_seconds__n: Optional[int] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> RecordSet[definitions.IPSecProposal]: ... + @overload + def create(self, *args: Dict[str, Any]) -> definitions.IPSecProposal: ... + @overload + def create( + self, + name: str, + description: Optional[str] = None, + encryption_algorithm: Optional[str] = None, + authentication_algorithm: Optional[str] = None, + sa_lifetime_seconds: Optional[int] = None, + sa_lifetime_data: Optional[int] = None, + comments: Optional[str] = None, + tags: Optional[List[Any]] = None, + custom_fields: Optional[Any] = None, + ) -> definitions.IPSecProposal: ... + def create( + self, *args: Dict[str, Any], **kwargs: Any + ) -> definitions.IPSecProposal: ... + def update( + self, objects: Iterable[definitions.IPSecProposal] + ) -> RecordSet[definitions.IPSecProposal]: ... + def delete(self, objects: Iterable[definitions.IPSecProposal]) -> bool: ... + def choices(self) -> dict: ... + def count( + self, + id: Optional[int] = None, + authentication_algorithm: Optional[str] = None, + authentication_algorithm__n: Optional[str] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + encryption_algorithm: Optional[str] = None, + encryption_algorithm__n: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + sa_lifetime_data: Optional[int] = None, + sa_lifetime_data__empty: Optional[bool] = None, + sa_lifetime_data__gt: Optional[int] = None, + sa_lifetime_data__gte: Optional[int] = None, + sa_lifetime_data__lt: Optional[int] = None, + sa_lifetime_data__lte: Optional[int] = None, + sa_lifetime_data__n: Optional[int] = None, + sa_lifetime_seconds: Optional[int] = None, + sa_lifetime_seconds__empty: Optional[bool] = None, + sa_lifetime_seconds__gt: Optional[int] = None, + sa_lifetime_seconds__gte: Optional[int] = None, + sa_lifetime_seconds__lt: Optional[int] = None, + sa_lifetime_seconds__lte: Optional[int] = None, + sa_lifetime_seconds__n: Optional[int] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> int: ... + +class L2vpn_terminationsEndpoint(Endpoint): + def all( + self, limit=0, offset=None + ) -> RecordSet[definitions.L2VPNTermination]: ... + def get( + self, + id: Optional[int] = None, + assigned_object_type: Optional[str] = None, + assigned_object_type__n: Optional[str] = None, + assigned_object_type_id: Optional[int] = None, + assigned_object_type_id__n: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + device: Optional[str] = None, + device__n: Optional[str] = None, + device_id: Optional[int] = None, + device_id__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + interface: Optional[str] = None, + interface__n: Optional[str] = None, + interface_id: Optional[int] = None, + interface_id__n: Optional[int] = None, + l2vpn: Optional[str] = None, + l2vpn__n: Optional[str] = None, + l2vpn_id: Optional[int] = None, + l2vpn_id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + region: Optional[str] = None, + region_id: Optional[int] = None, + site: Optional[str] = None, + site_id: Optional[int] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + virtual_machine: Optional[str] = None, + virtual_machine__n: Optional[str] = None, + virtual_machine_id: Optional[int] = None, + virtual_machine_id__n: Optional[int] = None, + vlan: Optional[str] = None, + vlan__n: Optional[str] = None, + vlan_id: Optional[int] = None, + vlan_id__n: Optional[int] = None, + vlan_vid: Optional[int] = None, + vlan_vid__empty: Optional[int] = None, + vlan_vid__gt: Optional[int] = None, + vlan_vid__gte: Optional[int] = None, + vlan_vid__lt: Optional[int] = None, + vlan_vid__lte: Optional[int] = None, + vlan_vid__n: Optional[int] = None, + vminterface: Optional[str] = None, + vminterface__n: Optional[str] = None, + vminterface_id: Optional[int] = None, + vminterface_id__n: Optional[int] = None, + **kwargs: Optional[Any] + ) -> Optional[definitions.L2VPNTermination]: ... + def filter( + self, + id: Optional[int] = None, + assigned_object_type: Optional[str] = None, + assigned_object_type__n: Optional[str] = None, + assigned_object_type_id: Optional[int] = None, + assigned_object_type_id__n: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + device: Optional[str] = None, + device__n: Optional[str] = None, + device_id: Optional[int] = None, + device_id__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + interface: Optional[str] = None, + interface__n: Optional[str] = None, + interface_id: Optional[int] = None, + interface_id__n: Optional[int] = None, + l2vpn: Optional[str] = None, + l2vpn__n: Optional[str] = None, + l2vpn_id: Optional[int] = None, + l2vpn_id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + region: Optional[str] = None, + region_id: Optional[int] = None, + site: Optional[str] = None, + site_id: Optional[int] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + virtual_machine: Optional[str] = None, + virtual_machine__n: Optional[str] = None, + virtual_machine_id: Optional[int] = None, + virtual_machine_id__n: Optional[int] = None, + vlan: Optional[str] = None, + vlan__n: Optional[str] = None, + vlan_id: Optional[int] = None, + vlan_id__n: Optional[int] = None, + vlan_vid: Optional[int] = None, + vlan_vid__empty: Optional[int] = None, + vlan_vid__gt: Optional[int] = None, + vlan_vid__gte: Optional[int] = None, + vlan_vid__lt: Optional[int] = None, + vlan_vid__lte: Optional[int] = None, + vlan_vid__n: Optional[int] = None, + vminterface: Optional[str] = None, + vminterface__n: Optional[str] = None, + vminterface_id: Optional[int] = None, + vminterface_id__n: Optional[int] = None, + **kwargs: Optional[Any] + ) -> RecordSet[definitions.L2VPNTermination]: ... + @overload + def create( + self, *args: Dict[str, Any] + ) -> definitions.L2VPNTermination: ... + @overload + def create( + self, + l2vpn: int, + assigned_object_type: str, + assigned_object_id: int, + tags: Optional[List[Any]] = None, + custom_fields: Optional[Any] = None, + ) -> definitions.L2VPNTermination: ... + def create( + self, *args: Dict[str, Any], **kwargs: Any + ) -> definitions.L2VPNTermination: ... + def update( + self, objects: Iterable[definitions.L2VPNTermination] + ) -> RecordSet[definitions.L2VPNTermination]: ... + def delete( + self, objects: Iterable[definitions.L2VPNTermination] + ) -> bool: ... + def choices(self) -> dict: ... + def count( + self, + id: Optional[int] = None, + assigned_object_type: Optional[str] = None, + assigned_object_type__n: Optional[str] = None, + assigned_object_type_id: Optional[int] = None, + assigned_object_type_id__n: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + device: Optional[str] = None, + device__n: Optional[str] = None, + device_id: Optional[int] = None, + device_id__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + interface: Optional[str] = None, + interface__n: Optional[str] = None, + interface_id: Optional[int] = None, + interface_id__n: Optional[int] = None, + l2vpn: Optional[str] = None, + l2vpn__n: Optional[str] = None, + l2vpn_id: Optional[int] = None, + l2vpn_id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + region: Optional[str] = None, + region_id: Optional[int] = None, + site: Optional[str] = None, + site_id: Optional[int] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + virtual_machine: Optional[str] = None, + virtual_machine__n: Optional[str] = None, + virtual_machine_id: Optional[int] = None, + virtual_machine_id__n: Optional[int] = None, + vlan: Optional[str] = None, + vlan__n: Optional[str] = None, + vlan_id: Optional[int] = None, + vlan_id__n: Optional[int] = None, + vlan_vid: Optional[int] = None, + vlan_vid__empty: Optional[int] = None, + vlan_vid__gt: Optional[int] = None, + vlan_vid__gte: Optional[int] = None, + vlan_vid__lt: Optional[int] = None, + vlan_vid__lte: Optional[int] = None, + vlan_vid__n: Optional[int] = None, + vminterface: Optional[str] = None, + vminterface__n: Optional[str] = None, + vminterface_id: Optional[int] = None, + vminterface_id__n: Optional[int] = None, + **kwargs: Optional[Any] + ) -> int: ... + +class L2vpnsEndpoint(Endpoint): + def all(self, limit=0, offset=None) -> RecordSet[definitions.L2VPN]: ... + def get( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + export_target: Optional[str] = None, + export_target__n: Optional[str] = None, + export_target_id: Optional[int] = None, + export_target_id__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + identifier: Optional[int] = None, + identifier__empty: Optional[bool] = None, + identifier__gt: Optional[int] = None, + identifier__gte: Optional[int] = None, + identifier__lt: Optional[int] = None, + identifier__lte: Optional[int] = None, + identifier__n: Optional[int] = None, + import_target: Optional[str] = None, + import_target__n: Optional[str] = None, + import_target_id: Optional[int] = None, + import_target_id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + slug: Optional[str] = None, + slug__empty: Optional[bool] = None, + slug__ic: Optional[str] = None, + slug__ie: Optional[str] = None, + slug__iew: Optional[str] = None, + slug__isw: Optional[str] = None, + slug__n: Optional[str] = None, + slug__nic: Optional[str] = None, + slug__nie: Optional[str] = None, + slug__niew: Optional[str] = None, + slug__nisw: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + tenant: Optional[str] = None, + tenant__n: Optional[str] = None, + tenant_group: Optional[int] = None, + tenant_group__n: Optional[int] = None, + tenant_group_id: Optional[int] = None, + tenant_group_id__n: Optional[int] = None, + tenant_id: Optional[int] = None, + tenant_id__n: Optional[int] = None, + type: Optional[str] = None, + type__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> Optional[definitions.L2VPN]: ... + def filter( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + export_target: Optional[str] = None, + export_target__n: Optional[str] = None, + export_target_id: Optional[int] = None, + export_target_id__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + identifier: Optional[int] = None, + identifier__empty: Optional[bool] = None, + identifier__gt: Optional[int] = None, + identifier__gte: Optional[int] = None, + identifier__lt: Optional[int] = None, + identifier__lte: Optional[int] = None, + identifier__n: Optional[int] = None, + import_target: Optional[str] = None, + import_target__n: Optional[str] = None, + import_target_id: Optional[int] = None, + import_target_id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + slug: Optional[str] = None, + slug__empty: Optional[bool] = None, + slug__ic: Optional[str] = None, + slug__ie: Optional[str] = None, + slug__iew: Optional[str] = None, + slug__isw: Optional[str] = None, + slug__n: Optional[str] = None, + slug__nic: Optional[str] = None, + slug__nie: Optional[str] = None, + slug__niew: Optional[str] = None, + slug__nisw: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + tenant: Optional[str] = None, + tenant__n: Optional[str] = None, + tenant_group: Optional[int] = None, + tenant_group__n: Optional[int] = None, + tenant_group_id: Optional[int] = None, + tenant_group_id__n: Optional[int] = None, + tenant_id: Optional[int] = None, + tenant_id__n: Optional[int] = None, + type: Optional[str] = None, + type__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> RecordSet[definitions.L2VPN]: ... + @overload + def create(self, *args: Dict[str, Any]) -> definitions.L2VPN: ... + @overload + def create( + self, + name: str, + slug: str, + type: str, + identifier: Optional[int] = None, + import_targets: Optional[List[Any]] = None, + export_targets: Optional[List[Any]] = None, + description: Optional[str] = None, + comments: Optional[str] = None, + tenant: Optional[int] = None, + tags: Optional[List[Any]] = None, + custom_fields: Optional[Any] = None, + ) -> definitions.L2VPN: ... + def create( + self, *args: Dict[str, Any], **kwargs: Any + ) -> definitions.L2VPN: ... + def update( + self, objects: Iterable[definitions.L2VPN] + ) -> RecordSet[definitions.L2VPN]: ... + def delete(self, objects: Iterable[definitions.L2VPN]) -> bool: ... + def choices(self) -> dict: ... + def count( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + export_target: Optional[str] = None, + export_target__n: Optional[str] = None, + export_target_id: Optional[int] = None, + export_target_id__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + identifier: Optional[int] = None, + identifier__empty: Optional[bool] = None, + identifier__gt: Optional[int] = None, + identifier__gte: Optional[int] = None, + identifier__lt: Optional[int] = None, + identifier__lte: Optional[int] = None, + identifier__n: Optional[int] = None, + import_target: Optional[str] = None, + import_target__n: Optional[str] = None, + import_target_id: Optional[int] = None, + import_target_id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + slug: Optional[str] = None, + slug__empty: Optional[bool] = None, + slug__ic: Optional[str] = None, + slug__ie: Optional[str] = None, + slug__iew: Optional[str] = None, + slug__isw: Optional[str] = None, + slug__n: Optional[str] = None, + slug__nic: Optional[str] = None, + slug__nie: Optional[str] = None, + slug__niew: Optional[str] = None, + slug__nisw: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + tenant: Optional[str] = None, + tenant__n: Optional[str] = None, + tenant_group: Optional[int] = None, + tenant_group__n: Optional[int] = None, + tenant_group_id: Optional[int] = None, + tenant_group_id__n: Optional[int] = None, + tenant_id: Optional[int] = None, + tenant_id__n: Optional[int] = None, + type: Optional[str] = None, + type__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> int: ... + +class Tunnel_groupsEndpoint(Endpoint): + def all( + self, limit=0, offset=None + ) -> RecordSet[definitions.TunnelGroup]: ... + def get( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + slug: Optional[str] = None, + slug__empty: Optional[bool] = None, + slug__ic: Optional[str] = None, + slug__ie: Optional[str] = None, + slug__iew: Optional[str] = None, + slug__isw: Optional[str] = None, + slug__n: Optional[str] = None, + slug__nic: Optional[str] = None, + slug__nie: Optional[str] = None, + slug__niew: Optional[str] = None, + slug__nisw: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> Optional[definitions.TunnelGroup]: ... + def filter( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + slug: Optional[str] = None, + slug__empty: Optional[bool] = None, + slug__ic: Optional[str] = None, + slug__ie: Optional[str] = None, + slug__iew: Optional[str] = None, + slug__isw: Optional[str] = None, + slug__n: Optional[str] = None, + slug__nic: Optional[str] = None, + slug__nie: Optional[str] = None, + slug__niew: Optional[str] = None, + slug__nisw: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> RecordSet[definitions.TunnelGroup]: ... + @overload + def create(self, *args: Dict[str, Any]) -> definitions.TunnelGroup: ... + @overload + def create( + self, + name: str, + slug: str, + description: Optional[str] = None, + tags: Optional[List[Any]] = None, + custom_fields: Optional[Any] = None, + ) -> definitions.TunnelGroup: ... + def create( + self, *args: Dict[str, Any], **kwargs: Any + ) -> definitions.TunnelGroup: ... + def update( + self, objects: Iterable[definitions.TunnelGroup] + ) -> RecordSet[definitions.TunnelGroup]: ... + def delete(self, objects: Iterable[definitions.TunnelGroup]) -> bool: ... + def choices(self) -> dict: ... + def count( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + slug: Optional[str] = None, + slug__empty: Optional[bool] = None, + slug__ic: Optional[str] = None, + slug__ie: Optional[str] = None, + slug__iew: Optional[str] = None, + slug__isw: Optional[str] = None, + slug__n: Optional[str] = None, + slug__nic: Optional[str] = None, + slug__nie: Optional[str] = None, + slug__niew: Optional[str] = None, + slug__nisw: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> int: ... + +class Tunnel_terminationsEndpoint(Endpoint): + def all( + self, limit=0, offset=None + ) -> RecordSet[definitions.TunnelTermination]: ... + def get( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + interface: Optional[str] = None, + interface__n: Optional[str] = None, + interface_id: Optional[int] = None, + interface_id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + outside_ip_id: Optional[int] = None, + outside_ip_id__n: Optional[int] = None, + q: Optional[str] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + termination_type: Optional[str] = None, + termination_type__n: Optional[str] = None, + tunnel: Optional[str] = None, + tunnel__n: Optional[str] = None, + tunnel_id: Optional[int] = None, + tunnel_id__n: Optional[int] = None, + updated_by_request: Optional[str] = None, + vminterface: Optional[str] = None, + vminterface__n: Optional[str] = None, + vminterface_id: Optional[int] = None, + vminterface_id__n: Optional[int] = None, + **kwargs: Optional[Any] + ) -> Optional[definitions.TunnelTermination]: ... + def filter( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + interface: Optional[str] = None, + interface__n: Optional[str] = None, + interface_id: Optional[int] = None, + interface_id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + outside_ip_id: Optional[int] = None, + outside_ip_id__n: Optional[int] = None, + q: Optional[str] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + termination_type: Optional[str] = None, + termination_type__n: Optional[str] = None, + tunnel: Optional[str] = None, + tunnel__n: Optional[str] = None, + tunnel_id: Optional[int] = None, + tunnel_id__n: Optional[int] = None, + updated_by_request: Optional[str] = None, + vminterface: Optional[str] = None, + vminterface__n: Optional[str] = None, + vminterface_id: Optional[int] = None, + vminterface_id__n: Optional[int] = None, + **kwargs: Optional[Any] + ) -> RecordSet[definitions.TunnelTermination]: ... + @overload + def create( + self, *args: Dict[str, Any] + ) -> definitions.TunnelTermination: ... + @overload + def create( + self, + tunnel: int, + termination_type: str, + role: Optional[str] = None, + termination_id: Optional[int] = None, + outside_ip: Optional[int] = None, + tags: Optional[List[Any]] = None, + custom_fields: Optional[Any] = None, + ) -> definitions.TunnelTermination: ... + def create( + self, *args: Dict[str, Any], **kwargs: Any + ) -> definitions.TunnelTermination: ... + def update( + self, objects: Iterable[definitions.TunnelTermination] + ) -> RecordSet[definitions.TunnelTermination]: ... + def delete( + self, objects: Iterable[definitions.TunnelTermination] + ) -> bool: ... + def choices(self) -> dict: ... + def count( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + interface: Optional[str] = None, + interface__n: Optional[str] = None, + interface_id: Optional[int] = None, + interface_id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + outside_ip_id: Optional[int] = None, + outside_ip_id__n: Optional[int] = None, + q: Optional[str] = None, + role: Optional[str] = None, + role__n: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + termination_type: Optional[str] = None, + termination_type__n: Optional[str] = None, + tunnel: Optional[str] = None, + tunnel__n: Optional[str] = None, + tunnel_id: Optional[int] = None, + tunnel_id__n: Optional[int] = None, + updated_by_request: Optional[str] = None, + vminterface: Optional[str] = None, + vminterface__n: Optional[str] = None, + vminterface_id: Optional[int] = None, + vminterface_id__n: Optional[int] = None, + **kwargs: Optional[Any] + ) -> int: ... + +class TunnelsEndpoint(Endpoint): + def all(self, limit=0, offset=None) -> RecordSet[definitions.Tunnel]: ... + def get( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + encapsulation: Optional[str] = None, + encapsulation__n: Optional[str] = None, + group: Optional[str] = None, + group__n: Optional[str] = None, + group_id: Optional[int] = None, + group_id__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + ipsec_profile: Optional[str] = None, + ipsec_profile__n: Optional[str] = None, + ipsec_profile_id: Optional[int] = None, + ipsec_profile_id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + status: Optional[str] = None, + status__n: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + tenant: Optional[str] = None, + tenant__n: Optional[str] = None, + tenant_group: Optional[int] = None, + tenant_group__n: Optional[int] = None, + tenant_group_id: Optional[int] = None, + tenant_group_id__n: Optional[int] = None, + tenant_id: Optional[int] = None, + tenant_id__n: Optional[int] = None, + tunnel_id: Optional[int] = None, + tunnel_id__empty: Optional[bool] = None, + tunnel_id__gt: Optional[int] = None, + tunnel_id__gte: Optional[int] = None, + tunnel_id__lt: Optional[int] = None, + tunnel_id__lte: Optional[int] = None, + tunnel_id__n: Optional[int] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> Optional[definitions.Tunnel]: ... + def filter( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + encapsulation: Optional[str] = None, + encapsulation__n: Optional[str] = None, + group: Optional[str] = None, + group__n: Optional[str] = None, + group_id: Optional[int] = None, + group_id__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + ipsec_profile: Optional[str] = None, + ipsec_profile__n: Optional[str] = None, + ipsec_profile_id: Optional[int] = None, + ipsec_profile_id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + status: Optional[str] = None, + status__n: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + tenant: Optional[str] = None, + tenant__n: Optional[str] = None, + tenant_group: Optional[int] = None, + tenant_group__n: Optional[int] = None, + tenant_group_id: Optional[int] = None, + tenant_group_id__n: Optional[int] = None, + tenant_id: Optional[int] = None, + tenant_id__n: Optional[int] = None, + tunnel_id: Optional[int] = None, + tunnel_id__empty: Optional[bool] = None, + tunnel_id__gt: Optional[int] = None, + tunnel_id__gte: Optional[int] = None, + tunnel_id__lt: Optional[int] = None, + tunnel_id__lte: Optional[int] = None, + tunnel_id__n: Optional[int] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> RecordSet[definitions.Tunnel]: ... + @overload + def create(self, *args: Dict[str, Any]) -> definitions.Tunnel: ... + @overload + def create( + self, + name: str, + encapsulation: str, + status: Optional[str] = None, + group: Optional[int] = None, + ipsec_profile: Optional[int] = None, + tenant: Optional[int] = None, + tunnel_id: Optional[int] = None, + description: Optional[str] = None, + comments: Optional[str] = None, + tags: Optional[List[Any]] = None, + custom_fields: Optional[Any] = None, + ) -> definitions.Tunnel: ... + def create( + self, *args: Dict[str, Any], **kwargs: Any + ) -> definitions.Tunnel: ... + def update( + self, objects: Iterable[definitions.Tunnel] + ) -> RecordSet[definitions.Tunnel]: ... + def delete(self, objects: Iterable[definitions.Tunnel]) -> bool: ... + def choices(self) -> dict: ... + def count( + self, + id: Optional[int] = None, + created: Optional[str] = None, + created__empty: Optional[str] = None, + created__gt: Optional[str] = None, + created__gte: Optional[str] = None, + created__lt: Optional[str] = None, + created__lte: Optional[str] = None, + created__n: Optional[str] = None, + created_by_request: Optional[str] = None, + description: Optional[str] = None, + description__empty: Optional[bool] = None, + description__ic: Optional[str] = None, + description__ie: Optional[str] = None, + description__iew: Optional[str] = None, + description__isw: Optional[str] = None, + description__n: Optional[str] = None, + description__nic: Optional[str] = None, + description__nie: Optional[str] = None, + description__niew: Optional[str] = None, + description__nisw: Optional[str] = None, + encapsulation: Optional[str] = None, + encapsulation__n: Optional[str] = None, + group: Optional[str] = None, + group__n: Optional[str] = None, + group_id: Optional[int] = None, + group_id__n: Optional[int] = None, + id__empty: Optional[bool] = None, + id__gt: Optional[int] = None, + id__gte: Optional[int] = None, + id__lt: Optional[int] = None, + id__lte: Optional[int] = None, + id__n: Optional[int] = None, + ipsec_profile: Optional[str] = None, + ipsec_profile__n: Optional[str] = None, + ipsec_profile_id: Optional[int] = None, + ipsec_profile_id__n: Optional[int] = None, + last_updated: Optional[str] = None, + last_updated__empty: Optional[str] = None, + last_updated__gt: Optional[str] = None, + last_updated__gte: Optional[str] = None, + last_updated__lt: Optional[str] = None, + last_updated__lte: Optional[str] = None, + last_updated__n: Optional[str] = None, + limit: Optional[int] = None, + modified_by_request: Optional[str] = None, + name: Optional[str] = None, + name__empty: Optional[bool] = None, + name__ic: Optional[str] = None, + name__ie: Optional[str] = None, + name__iew: Optional[str] = None, + name__isw: Optional[str] = None, + name__n: Optional[str] = None, + name__nic: Optional[str] = None, + name__nie: Optional[str] = None, + name__niew: Optional[str] = None, + name__nisw: Optional[str] = None, + offset: Optional[int] = None, + ordering: Optional[str] = None, + q: Optional[str] = None, + status: Optional[str] = None, + status__n: Optional[str] = None, + tag: Optional[str] = None, + tag__n: Optional[str] = None, + tenant: Optional[str] = None, + tenant__n: Optional[str] = None, + tenant_group: Optional[int] = None, + tenant_group__n: Optional[int] = None, + tenant_group_id: Optional[int] = None, + tenant_group_id__n: Optional[int] = None, + tenant_id: Optional[int] = None, + tenant_id__n: Optional[int] = None, + tunnel_id: Optional[int] = None, + tunnel_id__empty: Optional[bool] = None, + tunnel_id__gt: Optional[int] = None, + tunnel_id__gte: Optional[int] = None, + tunnel_id__lt: Optional[int] = None, + tunnel_id__lte: Optional[int] = None, + tunnel_id__n: Optional[int] = None, + updated_by_request: Optional[str] = None, + **kwargs: Optional[Any] + ) -> int: ... + +class VpnApp(App): + def __init__(self, api: 'Api', name): + self.ike_policies: Ike_policiesEndpoint = ... + self.ike_proposals: Ike_proposalsEndpoint = ... + self.ipsec_policies: Ipsec_policiesEndpoint = ... + self.ipsec_profiles: Ipsec_profilesEndpoint = ... + self.ipsec_proposals: Ipsec_proposalsEndpoint = ... + self.l2vpn_terminations: L2vpn_terminationsEndpoint = ... + self.l2vpns: L2vpnsEndpoint = ... + self.tunnel_groups: Tunnel_groupsEndpoint = ... + self.tunnel_terminations: Tunnel_terminationsEndpoint = ... + self.tunnels: TunnelsEndpoint = ... diff --git a/pynetbox-stubs/core/api.pyi b/pynetbox-stubs/core/api.pyi index b28a1f3..df6954e 100644 --- a/pynetbox-stubs/core/api.pyi +++ b/pynetbox-stubs/core/api.pyi @@ -33,6 +33,7 @@ class Api: self.users = UsersApp(self, "users") self.wireless = WirelessApp(self, "wireless") self.plugins = PluginsApp(self) + @property def version(self) -> str: ... def openapi(self) -> dict: ... diff --git a/pynetbox-stubs/core/app.pyi b/pynetbox-stubs/core/app.pyi index 9f41577..a20dd0e 100644 --- a/pynetbox-stubs/core/app.pyi +++ b/pynetbox-stubs/core/app.pyi @@ -12,5 +12,6 @@ class App: def __init__(self, api: "Api", name: str): self.api = api self.name = name + def __getattr__(self, name: str) -> Endpoint: ... def config(self) -> str: ... diff --git a/pynetbox-stubs/core/endpoint.pyi b/pynetbox-stubs/core/endpoint.pyi index 6b23d43..af26c90 100644 --- a/pynetbox-stubs/core/endpoint.pyi +++ b/pynetbox-stubs/core/endpoint.pyi @@ -12,6 +12,7 @@ class Endpoint: self.token = api.token self.session_key = api.session_key self.url: str + def all(self, limit=0, offset=None) -> RecordSet: ... def get(self, *args, **kwargs: Optional[Any]) -> Record: ... def filter(self, *args, **kwargs: Optional[Any]) -> RecordSet: ... diff --git a/pynetbox-stubs/core/query.pyi b/pynetbox-stubs/core/query.pyi index 1eaf85c..e49122e 100644 --- a/pynetbox-stubs/core/query.pyi +++ b/pynetbox-stubs/core/query.pyi @@ -51,6 +51,7 @@ class Request: self.threading = threading self.limit = limit self.offset = offset + def get_openapi(self) -> dict: ... def get_version(self) -> str: ... def get_session_key(self) -> str: ... diff --git a/pynetbox-stubs/core/response.pyi b/pynetbox-stubs/core/response.pyi index a41be38..4010f8a 100644 --- a/pynetbox-stubs/core/response.pyi +++ b/pynetbox-stubs/core/response.pyi @@ -33,6 +33,7 @@ class RecordSet(Iterator[R]): self.request = request self.response: Iterator = ... self._response_cache: List + def __iter__(self) -> RecordSet[R]: ... def __next__(self) -> R: ... def __len__(self) -> int: ... @@ -47,6 +48,7 @@ class Record(object): self.default_ret = Record self.endpoint: Endpoint self.url: Optional[str] + def __iter__(self) -> Iterator[Tuple[str, Any]]: ... def __getitem__(self, k: str) -> Any: ... def __str__(self) -> str: ... From 2f610a737583b74fbdcb1a7c6d9c2423a0be8b06 Mon Sep 17 00:00:00 2001 From: Pierrick Thomas Date: Tue, 14 May 2024 12:29:03 +0200 Subject: [PATCH 4/4] Add vpn application --- pynetbox-stubs/core/api.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pynetbox-stubs/core/api.pyi b/pynetbox-stubs/core/api.pyi index df6954e..6fec75e 100644 --- a/pynetbox-stubs/core/api.pyi +++ b/pynetbox-stubs/core/api.pyi @@ -8,6 +8,7 @@ from pynetbox._gen.ipam import IpamApp from pynetbox._gen.tenancy import TenancyApp from pynetbox._gen.users import UsersApp from pynetbox._gen.virtualization import VirtualizationApp +from pynetbox._gen.vpn import VpnApp from pynetbox._gen.wireless import WirelessApp from pynetbox.core.app import App, PluginsApp @@ -32,6 +33,7 @@ class Api: self.virtualization = VirtualizationApp(self, "virtualization") self.users = UsersApp(self, "users") self.wireless = WirelessApp(self, "wireless") + self.vpn = VpnApp(self, "vpn") self.plugins = PluginsApp(self) @property