@@ -23,6 +23,7 @@ class AccessListType(NetBoxObjectType):
23
23
Defines the object type for the django model AccessList.
24
24
"""
25
25
26
+ # Model fields
26
27
assigned_object_type : Annotated ["ContentTypeType" , strawberry .lazy ("netbox.graphql.types" )]
27
28
assigned_object : Annotated [
28
29
Union [
@@ -41,17 +42,18 @@ class AccessListType(NetBoxObjectType):
41
42
)
42
43
class ACLInterfaceAssignmentType (NetBoxObjectType ):
43
44
"""
44
- Defines the object type for the django model AccessList .
45
+ Defines the object type for the django model ACLInterfaceAssignment .
45
46
"""
46
47
48
+ # Model fields
47
49
access_list : Annotated ["AccessListType" , strawberry .lazy ("netbox_acls.graphql.types" )]
48
50
assigned_object_type : Annotated ["ContentTypeType" , strawberry .lazy ("netbox.graphql.types" )]
49
51
assigned_object : Annotated [
50
52
Union [
51
53
Annotated ["InterfaceType" , strawberry .lazy ("dcim.graphql.types" )],
52
54
Annotated ["VMInterfaceType" , strawberry .lazy ("virtualization.graphql.types" )],
53
55
],
54
- strawberry .union ("ACLInterfaceAssignmentType " ),
56
+ strawberry .union ("ACLInterfaceAssignedObjectType " ),
55
57
]
56
58
57
59
@@ -65,6 +67,7 @@ class ACLStandardRuleType(NetBoxObjectType):
65
67
Defines the object type for the django model ACLStandardRule.
66
68
"""
67
69
70
+ # Model fields
68
71
access_list : Annotated ["AccessListType" , strawberry .lazy ("netbox_acls.graphql.types" )]
69
72
source_prefix : Annotated ["PrefixType" , strawberry .lazy ("ipam.graphql.types" )] | None
70
73
@@ -79,6 +82,7 @@ class ACLExtendedRuleType(NetBoxObjectType):
79
82
Defines the object type for the django model ACLExtendedRule.
80
83
"""
81
84
85
+ # Model fields
82
86
access_list : Annotated ["AccessListType" , strawberry .lazy ("netbox_acls.graphql.types" )]
83
87
source_prefix : Annotated ["PrefixType" , strawberry .lazy ("ipam.graphql.types" )] | None
84
88
source_ports : List [int ] | None
0 commit comments