16
16
17
17
from pydantic import (
18
18
Field ,
19
+ StrictBool ,
19
20
StrictFloat ,
20
21
StrictInt ,
21
22
StrictStr ,
@@ -1971,6 +1972,30 @@ def get_logs(
1971
1972
),
1972
1973
] = None ,
1973
1974
sort_order : Optional [StrictStr ] = None ,
1975
+ data_center_region : Annotated [
1976
+ Optional [StrictStr ],
1977
+ Field (
1978
+ description = "Filters by the CDN data center region that served the request. Can be combined with other filters "
1979
+ ),
1980
+ ] = None ,
1981
+ request_country_code : Annotated [
1982
+ Optional [StrictStr ],
1983
+ Field (
1984
+ description = "Filters by the originating country of the user request. Can be combined with other filters "
1985
+ ),
1986
+ ] = None ,
1987
+ status_code : Annotated [
1988
+ Optional [StrictInt ],
1989
+ Field (
1990
+ description = "Filters by the HTTP status code returned to the client. Can be combined with other filters "
1991
+ ),
1992
+ ] = None ,
1993
+ cache_hit : Annotated [
1994
+ Optional [StrictBool ],
1995
+ Field (
1996
+ description = "Filters based on whether the request was served from the CDN cache. Can be combined with other filters "
1997
+ ),
1998
+ ] = None ,
1974
1999
_request_timeout : Union [
1975
2000
None ,
1976
2001
Annotated [StrictFloat , Field (gt = 0 )],
@@ -2000,6 +2025,14 @@ def get_logs(
2000
2025
:type sort_by: str
2001
2026
:param sort_order:
2002
2027
:type sort_order: str
2028
+ :param data_center_region: Filters by the CDN data center region that served the request. Can be combined with other filters
2029
+ :type data_center_region: str
2030
+ :param request_country_code: Filters by the originating country of the user request. Can be combined with other filters
2031
+ :type request_country_code: str
2032
+ :param status_code: Filters by the HTTP status code returned to the client. Can be combined with other filters
2033
+ :type status_code: int
2034
+ :param cache_hit: Filters based on whether the request was served from the CDN cache. Can be combined with other filters
2035
+ :type cache_hit: bool
2003
2036
:param _request_timeout: timeout setting for this request. If one
2004
2037
number provided, it will be total request
2005
2038
timeout. It can also be a pair (tuple) of
@@ -2031,6 +2064,10 @@ def get_logs(
2031
2064
page_identifier = page_identifier ,
2032
2065
sort_by = sort_by ,
2033
2066
sort_order = sort_order ,
2067
+ data_center_region = data_center_region ,
2068
+ request_country_code = request_country_code ,
2069
+ status_code = status_code ,
2070
+ cache_hit = cache_hit ,
2034
2071
_request_auth = _request_auth ,
2035
2072
_content_type = _content_type ,
2036
2073
_headers = _headers ,
@@ -2083,6 +2120,30 @@ def get_logs_with_http_info(
2083
2120
),
2084
2121
] = None ,
2085
2122
sort_order : Optional [StrictStr ] = None ,
2123
+ data_center_region : Annotated [
2124
+ Optional [StrictStr ],
2125
+ Field (
2126
+ description = "Filters by the CDN data center region that served the request. Can be combined with other filters "
2127
+ ),
2128
+ ] = None ,
2129
+ request_country_code : Annotated [
2130
+ Optional [StrictStr ],
2131
+ Field (
2132
+ description = "Filters by the originating country of the user request. Can be combined with other filters "
2133
+ ),
2134
+ ] = None ,
2135
+ status_code : Annotated [
2136
+ Optional [StrictInt ],
2137
+ Field (
2138
+ description = "Filters by the HTTP status code returned to the client. Can be combined with other filters "
2139
+ ),
2140
+ ] = None ,
2141
+ cache_hit : Annotated [
2142
+ Optional [StrictBool ],
2143
+ Field (
2144
+ description = "Filters based on whether the request was served from the CDN cache. Can be combined with other filters "
2145
+ ),
2146
+ ] = None ,
2086
2147
_request_timeout : Union [
2087
2148
None ,
2088
2149
Annotated [StrictFloat , Field (gt = 0 )],
@@ -2112,6 +2173,14 @@ def get_logs_with_http_info(
2112
2173
:type sort_by: str
2113
2174
:param sort_order:
2114
2175
:type sort_order: str
2176
+ :param data_center_region: Filters by the CDN data center region that served the request. Can be combined with other filters
2177
+ :type data_center_region: str
2178
+ :param request_country_code: Filters by the originating country of the user request. Can be combined with other filters
2179
+ :type request_country_code: str
2180
+ :param status_code: Filters by the HTTP status code returned to the client. Can be combined with other filters
2181
+ :type status_code: int
2182
+ :param cache_hit: Filters based on whether the request was served from the CDN cache. Can be combined with other filters
2183
+ :type cache_hit: bool
2115
2184
:param _request_timeout: timeout setting for this request. If one
2116
2185
number provided, it will be total request
2117
2186
timeout. It can also be a pair (tuple) of
@@ -2143,6 +2212,10 @@ def get_logs_with_http_info(
2143
2212
page_identifier = page_identifier ,
2144
2213
sort_by = sort_by ,
2145
2214
sort_order = sort_order ,
2215
+ data_center_region = data_center_region ,
2216
+ request_country_code = request_country_code ,
2217
+ status_code = status_code ,
2218
+ cache_hit = cache_hit ,
2146
2219
_request_auth = _request_auth ,
2147
2220
_content_type = _content_type ,
2148
2221
_headers = _headers ,
@@ -2195,6 +2268,30 @@ def get_logs_without_preload_content(
2195
2268
),
2196
2269
] = None ,
2197
2270
sort_order : Optional [StrictStr ] = None ,
2271
+ data_center_region : Annotated [
2272
+ Optional [StrictStr ],
2273
+ Field (
2274
+ description = "Filters by the CDN data center region that served the request. Can be combined with other filters "
2275
+ ),
2276
+ ] = None ,
2277
+ request_country_code : Annotated [
2278
+ Optional [StrictStr ],
2279
+ Field (
2280
+ description = "Filters by the originating country of the user request. Can be combined with other filters "
2281
+ ),
2282
+ ] = None ,
2283
+ status_code : Annotated [
2284
+ Optional [StrictInt ],
2285
+ Field (
2286
+ description = "Filters by the HTTP status code returned to the client. Can be combined with other filters "
2287
+ ),
2288
+ ] = None ,
2289
+ cache_hit : Annotated [
2290
+ Optional [StrictBool ],
2291
+ Field (
2292
+ description = "Filters based on whether the request was served from the CDN cache. Can be combined with other filters "
2293
+ ),
2294
+ ] = None ,
2198
2295
_request_timeout : Union [
2199
2296
None ,
2200
2297
Annotated [StrictFloat , Field (gt = 0 )],
@@ -2224,6 +2321,14 @@ def get_logs_without_preload_content(
2224
2321
:type sort_by: str
2225
2322
:param sort_order:
2226
2323
:type sort_order: str
2324
+ :param data_center_region: Filters by the CDN data center region that served the request. Can be combined with other filters
2325
+ :type data_center_region: str
2326
+ :param request_country_code: Filters by the originating country of the user request. Can be combined with other filters
2327
+ :type request_country_code: str
2328
+ :param status_code: Filters by the HTTP status code returned to the client. Can be combined with other filters
2329
+ :type status_code: int
2330
+ :param cache_hit: Filters based on whether the request was served from the CDN cache. Can be combined with other filters
2331
+ :type cache_hit: bool
2227
2332
:param _request_timeout: timeout setting for this request. If one
2228
2333
number provided, it will be total request
2229
2334
timeout. It can also be a pair (tuple) of
@@ -2255,6 +2360,10 @@ def get_logs_without_preload_content(
2255
2360
page_identifier = page_identifier ,
2256
2361
sort_by = sort_by ,
2257
2362
sort_order = sort_order ,
2363
+ data_center_region = data_center_region ,
2364
+ request_country_code = request_country_code ,
2365
+ status_code = status_code ,
2366
+ cache_hit = cache_hit ,
2258
2367
_request_auth = _request_auth ,
2259
2368
_content_type = _content_type ,
2260
2369
_headers = _headers ,
@@ -2280,6 +2389,10 @@ def _get_logs_serialize(
2280
2389
page_identifier ,
2281
2390
sort_by ,
2282
2391
sort_order ,
2392
+ data_center_region ,
2393
+ request_country_code ,
2394
+ status_code ,
2395
+ cache_hit ,
2283
2396
_request_auth ,
2284
2397
_content_type ,
2285
2398
_headers ,
@@ -2331,6 +2444,22 @@ def _get_logs_serialize(
2331
2444
2332
2445
_query_params .append (("sortOrder" , sort_order ))
2333
2446
2447
+ if data_center_region is not None :
2448
+
2449
+ _query_params .append (("dataCenterRegion" , data_center_region ))
2450
+
2451
+ if request_country_code is not None :
2452
+
2453
+ _query_params .append (("requestCountryCode" , request_country_code ))
2454
+
2455
+ if status_code is not None :
2456
+
2457
+ _query_params .append (("statusCode" , status_code ))
2458
+
2459
+ if cache_hit is not None :
2460
+
2461
+ _query_params .append (("cacheHit" , cache_hit ))
2462
+
2334
2463
# process the header parameters
2335
2464
# process the form parameters
2336
2465
# process the body parameter
0 commit comments