@@ -56,31 +56,31 @@ class ACLInterfaceAssignmentType(NetBoxObjectType):
56
56
57
57
58
58
@strawberry_django .type (
59
- models .ACLExtendedRule ,
59
+ models .ACLStandardRule ,
60
60
fields = "__all__" ,
61
- filters = filters .ACLExtendedRuleFilter ,
61
+ filters = filters .ACLStandardRuleFilter ,
62
62
)
63
- class ACLExtendedRuleType (NetBoxObjectType ):
63
+ class ACLStandardRuleType (NetBoxObjectType ):
64
64
"""
65
- Defines the object type for the django model ACLExtendedRule .
65
+ Defines the object type for the django model ACLStandardRule .
66
66
"""
67
67
68
- source_ports : List [int ]
69
- destination_ports : List [int ]
70
68
access_list : Annotated ["AccessListType" , strawberry .lazy ("netbox_acls.graphql.types" )]
71
- destination_prefix : Annotated ["PrefixType" , strawberry .lazy ("ipam.graphql.types" )]
72
69
source_prefix : Annotated ["PrefixType" , strawberry .lazy ("ipam.graphql.types" )]
73
70
74
71
75
72
@strawberry_django .type (
76
- models .ACLStandardRule ,
73
+ models .ACLExtendedRule ,
77
74
fields = "__all__" ,
78
- filters = filters .ACLStandardRuleFilter ,
75
+ filters = filters .ACLExtendedRuleFilter ,
79
76
)
80
- class ACLStandardRuleType (NetBoxObjectType ):
77
+ class ACLExtendedRuleType (NetBoxObjectType ):
81
78
"""
82
- Defines the object type for the django model ACLStandardRule .
79
+ Defines the object type for the django model ACLExtendedRule .
83
80
"""
84
81
85
82
access_list : Annotated ["AccessListType" , strawberry .lazy ("netbox_acls.graphql.types" )]
86
83
source_prefix : Annotated ["PrefixType" , strawberry .lazy ("ipam.graphql.types" )]
84
+ source_ports : List [int ]
85
+ destination_prefix : Annotated ["PrefixType" , strawberry .lazy ("ipam.graphql.types" )]
86
+ destination_ports : List [int ]
0 commit comments