@@ -32,15 +32,6 @@ class AccessListType(NetBoxObjectType):
32
32
strawberry .union ("ACLAssignmentType" ),
33
33
]
34
34
35
- class Meta :
36
- """
37
- Associates the filterset, fields, and model for the django model AccessList.
38
- """
39
-
40
- @strawberry_django .field
41
- def accesslists (self ) -> List [Annotated ["AccessList" , strawberry .lazy ("accesslists.graphql.types" )]]:
42
- return self .accesslists .all ()
43
-
44
35
45
36
@strawberry_django .type (
46
37
models .ACLInterfaceAssignment ,
@@ -63,17 +54,6 @@ class ACLInterfaceAssignmentType(NetBoxObjectType):
63
54
strawberry .union ("ACLInterfaceAssignmentType" ),
64
55
]
65
56
66
- class Meta :
67
- """
68
- Associates the filterset, fields, and model for the django model ACLInterfaceAssignment.
69
- """
70
-
71
- @strawberry_django .field
72
- def aclinterfaceassignments (
73
- self ,
74
- ) -> List [Annotated ["ACLInterfaceAssignment" , strawberry .lazy ("aclinterfaceassignments.graphql.types" )]]:
75
- return self .aclinterfaceassignments .all ()
76
-
77
57
78
58
@strawberry_django .type (
79
59
models .ACLExtendedRule ,
@@ -91,17 +71,6 @@ class ACLExtendedRuleType(NetBoxObjectType):
91
71
destination_prefix : Annotated ["PrefixType" , strawberry .lazy ("ipam.graphql.types" )]
92
72
source_prefix : Annotated ["PrefixType" , strawberry .lazy ("ipam.graphql.types" )]
93
73
94
- class Meta :
95
- """
96
- Associates the filterset, fields, and model for the django model ACLExtendedRule.
97
- """
98
-
99
- @strawberry_django .field
100
- def aclextendedrules (
101
- self ,
102
- ) -> List [Annotated ["ACLExtendedRule" , strawberry .lazy ("aclextendedrule.graphql.types" )]]:
103
- return self .aclextendedrules .all ()
104
-
105
74
106
75
@strawberry_django .type (
107
76
models .ACLStandardRule ,
@@ -115,14 +84,3 @@ class ACLStandardRuleType(NetBoxObjectType):
115
84
116
85
access_list : Annotated ["AccessListType" , strawberry .lazy ("netbox_acls.graphql.types" )]
117
86
source_prefix : Annotated ["PrefixType" , strawberry .lazy ("ipam.graphql.types" )]
118
-
119
- class Meta :
120
- """
121
- Associates the filterset, fields, and model for the django model ACLExtendedRule.
122
- """
123
-
124
- @strawberry_django .field
125
- def aclstandardrules (
126
- self ,
127
- ) -> List [Annotated ["ACLStandardRule" , strawberry .lazy ("aclstandardrule.graphql.types" )]]:
128
- return self .aclstandardrules .all ()
0 commit comments