File tree Expand file tree Collapse file tree
src/cloudflare/types/radar Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 "MetaConfidenceInfoAnnotation" ,
1616 "MetaDateRange" ,
1717 "MetaUnit" ,
18+ "AS112TimeseriesResponseItem" ,
1819]
1920
2021
@@ -93,6 +94,12 @@ class Meta(BaseModel):
9394 """Measurement units for the results."""
9495
9596
97+ class AS112TimeseriesResponseItem (BaseModel ):
98+ timestamps : List [datetime ]
99+
100+ values : List [str ]
101+
102+
96103class AS112TimeseriesResponse (BaseModel ):
97104 meta : Meta
98105 """Metadata for the results."""
@@ -101,4 +108,4 @@ class AS112TimeseriesResponse(BaseModel):
101108 # Stub to indicate that arbitrary properties are accepted.
102109 # To access properties that are not valid identifiers you can use `getattr`, e.g.
103110 # `getattr(obj, '$type')`
104- def __getattr__ (self , attr : str ) -> object : ...
111+ def __getattr__ (self , attr : str ) -> AS112TimeseriesResponseItem : ...
Original file line number Diff line number Diff line change 1515 "MetaConfidenceInfoAnnotation" ,
1616 "MetaDateRange" ,
1717 "MetaUnit" ,
18+ "Layer3TimeseriesResponseItem" ,
1819]
1920
2021
@@ -93,6 +94,12 @@ class Meta(BaseModel):
9394 """Measurement units for the results."""
9495
9596
97+ class Layer3TimeseriesResponseItem (BaseModel ):
98+ timestamps : List [datetime ]
99+
100+ values : List [str ]
101+
102+
96103class Layer3TimeseriesResponse (BaseModel ):
97104 meta : Meta
98105 """Metadata for the results."""
@@ -101,4 +108,4 @@ class Layer3TimeseriesResponse(BaseModel):
101108 # Stub to indicate that arbitrary properties are accepted.
102109 # To access properties that are not valid identifiers you can use `getattr`, e.g.
103110 # `getattr(obj, '$type')`
104- def __getattr__ (self , attr : str ) -> object : ...
111+ def __getattr__ (self , attr : str ) -> Layer3TimeseriesResponseItem : ...
Original file line number Diff line number Diff line change 1515 "MetaConfidenceInfoAnnotation" ,
1616 "MetaDateRange" ,
1717 "MetaUnit" ,
18+ "BotTimeseriesResponseItem" ,
1819]
1920
2021
@@ -93,6 +94,12 @@ class Meta(BaseModel):
9394 """Measurement units for the results."""
9495
9596
97+ class BotTimeseriesResponseItem (BaseModel ):
98+ timestamps : List [datetime ]
99+
100+ values : List [str ]
101+
102+
96103class BotTimeseriesResponse (BaseModel ):
97104 meta : Meta
98105 """Metadata for the results."""
@@ -101,4 +108,4 @@ class BotTimeseriesResponse(BaseModel):
101108 # Stub to indicate that arbitrary properties are accepted.
102109 # To access properties that are not valid identifiers you can use `getattr`, e.g.
103110 # `getattr(obj, '$type')`
104- def __getattr__ (self , attr : str ) -> object : ...
111+ def __getattr__ (self , attr : str ) -> BotTimeseriesResponseItem : ...
Original file line number Diff line number Diff line change 1515 "MetaConfidenceInfoAnnotation" ,
1616 "MetaDateRange" ,
1717 "MetaUnit" ,
18+ "DNSTimeseriesResponseItem" ,
1819]
1920
2021
@@ -93,6 +94,12 @@ class Meta(BaseModel):
9394 """Measurement units for the results."""
9495
9596
97+ class DNSTimeseriesResponseItem (BaseModel ):
98+ timestamps : List [datetime ]
99+
100+ values : List [str ]
101+
102+
96103class DNSTimeseriesResponse (BaseModel ):
97104 meta : Meta
98105 """Metadata for the results."""
@@ -101,4 +108,4 @@ class DNSTimeseriesResponse(BaseModel):
101108 # Stub to indicate that arbitrary properties are accepted.
102109 # To access properties that are not valid identifiers you can use `getattr`, e.g.
103110 # `getattr(obj, '$type')`
104- def __getattr__ (self , attr : str ) -> object : ...
111+ def __getattr__ (self , attr : str ) -> DNSTimeseriesResponseItem : ...
Original file line number Diff line number Diff line change 1515 "MetaConfidenceInfoAnnotation" ,
1616 "MetaDateRange" ,
1717 "MetaUnit" ,
18+ "HTTPTimeseriesResponseItem" ,
1819]
1920
2021
@@ -93,6 +94,12 @@ class Meta(BaseModel):
9394 """Measurement units for the results."""
9495
9596
97+ class HTTPTimeseriesResponseItem (BaseModel ):
98+ timestamps : List [datetime ]
99+
100+ values : List [str ]
101+
102+
96103class HTTPTimeseriesResponse (BaseModel ):
97104 meta : Meta
98105 """Metadata for the results."""
@@ -101,4 +108,4 @@ class HTTPTimeseriesResponse(BaseModel):
101108 # Stub to indicate that arbitrary properties are accepted.
102109 # To access properties that are not valid identifiers you can use `getattr`, e.g.
103110 # `getattr(obj, '$type')`
104- def __getattr__ (self , attr : str ) -> object : ...
111+ def __getattr__ (self , attr : str ) -> HTTPTimeseriesResponseItem : ...
You can’t perform that action at this time.
0 commit comments