8
8
__all__ = [
9
9
"Location" ,
10
10
"Endpoints" ,
11
- "EndpointsDoh " ,
12
- "EndpointsDohNetwork " ,
13
- "EndpointsDot " ,
14
- "EndpointsDotNetwork " ,
11
+ "EndpointsDOH " ,
12
+ "EndpointsDOHNetwork " ,
13
+ "EndpointsDOT " ,
14
+ "EndpointsDOTNetwork " ,
15
15
"EndpointsIPV4" ,
16
16
"EndpointsIPV6" ,
17
17
"EndpointsIPV6Network" ,
18
18
"Network" ,
19
19
]
20
20
21
21
22
- class EndpointsDohNetwork (BaseModel ):
22
+ class EndpointsDOHNetwork (BaseModel ):
23
23
network : str
24
24
"""The IP address or IP CIDR."""
25
25
26
26
27
- class EndpointsDoh (BaseModel ):
27
+ class EndpointsDOH (BaseModel ):
28
28
enabled : Optional [bool ] = None
29
29
"""True if the endpoint is enabled for this location."""
30
30
31
- networks : Optional [List [EndpointsDohNetwork ]] = None
31
+ networks : Optional [List [EndpointsDOHNetwork ]] = None
32
32
"""A list of allowed source IP network ranges for this endpoint.
33
33
34
34
When empty, all source IPs are allowed. A non-empty list is only effective if
@@ -43,16 +43,16 @@ class EndpointsDoh(BaseModel):
43
43
"""
44
44
45
45
46
- class EndpointsDotNetwork (BaseModel ):
46
+ class EndpointsDOTNetwork (BaseModel ):
47
47
network : str
48
48
"""The IP address or IP CIDR."""
49
49
50
50
51
- class EndpointsDot (BaseModel ):
51
+ class EndpointsDOT (BaseModel ):
52
52
enabled : Optional [bool ] = None
53
53
"""True if the endpoint is enabled for this location."""
54
54
55
- networks : Optional [List [EndpointsDotNetwork ]] = None
55
+ networks : Optional [List [EndpointsDOTNetwork ]] = None
56
56
"""A list of allowed source IP network ranges for this endpoint.
57
57
58
58
When empty, all source IPs are allowed. A non-empty list is only effective if
@@ -83,9 +83,9 @@ class EndpointsIPV6(BaseModel):
83
83
84
84
85
85
class Endpoints (BaseModel ):
86
- doh : Optional [EndpointsDoh ] = None
86
+ doh : Optional [EndpointsDOH ] = None
87
87
88
- dot : Optional [EndpointsDot ] = None
88
+ dot : Optional [EndpointsDOT ] = None
89
89
90
90
ipv4 : Optional [EndpointsIPV4 ] = None
91
91
0 commit comments